Abdul_Munaim's blog

By Abdul_Munaim, history, 4 years ago, In English

I had submitted question C which passed all pretest but the code showed runtime error in test case 18 , which is not a big deal but i submitted the exact same code in practise and it got accepted and i am not able to understand why there was runtime error on the exact same code.

  • Vote: I like it
  • +4
  • Vote: I do not like it

| Write comment?
»
4 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

If you definitely didn't change anything in the code, I think it's some undefined behaviour that sometimes gives runtime error and sometimes not