Testcases for SANSKAR are weak and wrong. My completely brute forced code gives WA rather than TLE. When I modified my code to make it greedy, it passed all test cases.
Here is one example where my brute code gives yes but ac’ed code gives no.
1
7 3
1 1 2 2 2 5 5
Please see into this. I think test cases are wrong. Thanks.
Seems Codechef focuses more on corner test cases…!
But please do not display your cases publicly at the time when contest is going on if you have any problem please mail to admin but all this leads to a discussion about the approach for solution, and i think it do not go good with the rules of codechef…!!
my code is running flawlessly on my machine, but here I don’t know… its generating Runtime Error(NZEC)
however this is my first time here. plz help, Im using python3
Hello friends
I’m also facing the same problem. I’ve tried many test cases on my local machine and my code always gives the correct answer. My code is getting only 3 AC’s. Please help me. Here is the link to my code - http://www.codechef.com/viewsolution/5602314