WA plz help :P

Tle because your loop runs for the same number of times, whatever be the input. Added loop count. Your loop doesn’t break properly. Sure this time.


So, your loop doesn’t break properly! Try to figure out why! I’ll have some rest meanwhile :stuck_out_tongue:

1 Like

thanx for figuring out the loop bug :stuck_out_tongue: Here’s the updated code
http://www.codechef.com/viewsolution/5146792
But still TLE :frowning: