Stuck in a problem
I am getting a WA on test 9 on this DIV 1A. Can someone please help?
This is my submission.
Codeforces Round 950 Solution Discussion