help on problem
i keep getting WA on test 5. can someone help?
https://codeforces.me/contest/4/submission/247821660
thanks!