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

Автор tanujWF, история, 9 лет назад, По-английски

I am having no idea why there is a run-time error on test 3 in this interactive problem.Please let me know my mistake as I have tried that many times. Works fine on my system.

http://codeforces.me/contest/811/submission/32159071

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

»
9 лет назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

If all steps of your path go down, you don't initialize the variable and get undefined behavior in the last cycle.