Codechef conducted a short 2 hour Cook-off contest on 15th Feb and i took part in it. During the contest i managed to solve only one problem. I commited a very silly mistake with the second problem which i spot find til the contest ended. When i had a look at the editorial the next morning i realised that MY ENTIRE CODE FAIL
RANK IN THE CONTEST - 497 / 1567
LINK TO THE SCOREBOARD:
http://www.codechef.com/rankings/COOK55filterBy=&order=asc&page=21&sortBy=rank
LESSON LEARNT FROM THE CONTEST:
A SINGLE UNWANTED LINE OF CODE HAS THE POWER TO GIVE WRONG ANSWER VERDICT TO A 10000 LINE PROGRAM !!!!
ED JUST BECAUSE OF A SINGLE LINE. When i corrected that single line, i got the ACCEPTE D verdict. This bug pissed me off. Had i done this during the contest itself i would have come within top 300 coders in India. Now i think my position would remain the same.
RANK IN THE CONTEST - 497 / 1567
LINK TO THE SCOREBOARD:
http://www.codechef.com/rankings/COOK55filterBy=&order=asc&page=21&sortBy=rank
LESSON LEARNT FROM THE CONTEST:
A SINGLE UNWANTED LINE OF CODE HAS THE POWER TO GIVE WRONG ANSWER VERDICT TO A 10000 LINE PROGRAM !!!!