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

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

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

i got the error for runtime at test case 2 for Verdict ok

Checker log ok 4 number(s): "2 4 5 7"

even the output and given output matches same with the correct format

Plz help if anyone know, it just spoils my whole program and decrease this rating

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

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

Checker says ok for the first test case only. You can check that it shows 'runtime error' on pretest 2 which means your program produced the right output only for pretest 1 and not for pretest 2.

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

    Hello bud where can i find this pretest 2 error it just shows ok 3 lines in checker log and my code is not yet accepted im a beginner on codeforces and dont know how to handle this error please guide

    • »
      »
      »
      10 месяцев назад, # ^ |
      Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

      You can't, Not for Runtime error. If you're solution is getting 'Runtime Error', try checking for infinite loops or division by Zero.