Everything seems to work fine till test nr 18, how do I fix runtime errors when I can't see the full input, what could be the issue? I simply can't solve this thing https://codeforces.com/contest/8/submission/129956519
Everything seems to work fine till test nr 18, how do I fix runtime errors when I can't see the full input, what could be the issue? I simply can't solve this thing https://codeforces.com/contest/8/submission/129956519