Hello I need some help about the problem 368B (link : http://mirror.codeforces.com/problemset/problem/368/B) My solution is : http://mirror.codeforces.com/contest/368/submission/14799431
and it works perfectly on codeblocks but giving wrong answer in Codeforces. Can anyone please explain why ? Thanks in advance.








