I've tried everything I could but still didn't understand why my solution is failing. Here, is the link to my solution
https://codeforces.com/contest/734/submission/70750042
Please help. Thank you!
I've tried everything I could but still didn't understand why my solution is failing. Here, is the link to my solution
https://codeforces.com/contest/734/submission/70750042
Please help. Thank you!