TIME LIMIT EXCEED ERROR in problem 1263E (Editor)

Revision en2, by amit_pandit_15, 2022-05-31 16:52:26

Hello everyone , I am getting time limit exceed in 1263E - Editor , I am using segment tree to find maximum prefix sum and minimum prefix sum , 158978146 is my submission to the problem.

Please help me in debugging my code.

Thanks in Advance :)

Tags segment tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English amit_pandit_15 2022-05-31 16:52:26 0 (published)
en1 English amit_pandit_15 2022-05-31 16:51:52 329 Initial revision (saved to drafts)