Comments

Thanks a lot, a minor tweak but it worked!

I agree

https://codeforces.me/contest/1800/submission/195826604, isn't the tc of this code same as the tc suggested for problem F? Why did it TLE? Can anyone help?