Problem: https://codeforces.net/contest/1332/problem/C I have read the tutorial of this problem and I haven't found any problem in my code .But it's getting WA. I don't know why it's getting WA. I want some critical testcases. Here is my code: https://ideone.com/DABn29
Thanks in advance..