4o2a's blog

By 4o2a, history, 9 months ago, In English

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.

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

»
9 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

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