Why this code got runtime error?

Revision en2, by dltwecntn, 2022-07-15 15:49:54

Link to the submission: Here. I don't know why it got runtime error when using reference for variable $$$i$$$ (index of the current note in the segment tree in build function).

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English dltwecntn 2022-07-15 15:49:54 4 Tiny change: 'able $i$ (the index of t' -> 'able $i$ (index of t'
en1 English dltwecntn 2022-07-15 15:49:18 269 Initial revision (published)