My Solution for PROBLEM [ACM-ICPC] is not getting accepted, I am instead getting runtime error. Anyone please help me what is wrong in my code.
1 Like
My guess is that something’s wrong with the test case, since even this code is getting a runtime error.
I saw the logic of your code and it appears correct to me.