CODEFORCES 1795C

Revision en1, by dp_man, 2023-08-04 23:39:21

Can anyone help me debug this submission https://codeforces.com/contest/1795/submission/217168990 Here I used segment tree for range update ,I mean adding 1 to a certain range. I know that this can be done using only a loop and and an array as I have to add 1 always but I wanna do this using segment tree. Thanks in advance.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English dp_man 2023-08-04 23:39:21 347 Initial revision (published)