I'm solving NOTATRI problem. After figuring out logic and algorithm, I submitted two solutions. One is using upper_bound from algorithm header and other one is doing just same as it. Buter later didn't succeed in getting accepted, it got TLC. How does this happen ?? 1. http://www.codechef.com/viewsolution/2387957 2. http://www.codechef.com/viewsolution/2387973
↧