Need help in segment tree problem

Revision en1, by acash, 2019-06-19 14:28:53

I tried many test cases ,I am passing all of them But it is failing at test case 5 on codeforces. Since test case are quite large ,I am unable to figure out my error.Please forgive me if my question is not good. 55748387(My submission)

https://mirror.codeforces.com/contest/52/problem/C

Tags #segment tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English acash 2019-06-19 14:28:53 332 Initial revision (published)