Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Блог пользователя Abdul_Munaim

Автор Abdul_Munaim, история, 21 месяц назад, По-английски

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.

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится

»
21 месяц назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
21 месяц назад, # |
Rev. 2   Проголосовать: нравится -7 Проголосовать: не нравится

Ping Mike. I think you deserve getting C's points. Also, put your 2 submissions in the blog's body