For the problem 1098D I run my program at codeblock which works fine for 2nd test case. But while submitting I am getting wrong answer for 2nd test case. Here is my submission link: https://codeforces.me/contest/1098/submission/48098099
Is there anyone have any idea what to do?







