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








