This is the problem
http://www.codechef.com/BTFR2013/problems/NITA10
And this is my solution:
http://www.codechef.com/viewplaintext/1926203
Can anyone tell me why it gives wrong answer?
This is the problem
http://www.codechef.com/BTFR2013/problems/NITA10
And this is my solution:
http://www.codechef.com/viewplaintext/1926203
Can anyone tell me why it gives wrong answer?