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

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

While trying to solve 2108D - Needle in a Numstack, I encountered a bug I could not understand. Here is the submission 329129022. Codeforces says it's an out of bound error on line 32, but I suspect that this is coming from errors that were accumulated earlier. Can someone help me identify the error? Thanks in advance.

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

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

you're simply missing a return in line 71 after giving your answer