I am not able to figure out the test case for which my code gives the wrong answer. Can anybody help me out on this one. Thanks in advance.
Problem link- https://codeforces.net/contest/1341/problem/C My solution- https://codeforces.net/contest/1341/submission/77847675