I keep encountering a runtime error on test case 4 in my solution. I would greatly appreciate it if someone could help me identify the reason.
Problem Link: 1931E — Codeforces My Submission: 300919011
It might be a simple issue, but I’ve spent hours figuring it out without success.