Runtime issue in CHARGES question of May lunchtime
Can anyone explain what went wrong here that i got a runtime error ?

1 Like

I did the exact same way after getting WA during contest(added a separate case for n==1).
Previously I was getting a WA but now I am getting a RE (SIGSEGV) :sob:

My code is :- CodeChef: Practical coding for everyone

I got the mistake now only , i wasn’t taking input for n=1 :cry: