Memory limit with Persistent Segment Tree

Revision en1, by svg_af, 2016-01-19 19:04:46

Hello There

I'm trying to solve this Problem using a persistent segment tree

I keep getting TLE for reasons i can't find

If anyone would so kindly explain the reason behind the memory leak it would be really appreciated

Here is my code

Tags persistent segment trees, mle

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English svg_af 2016-01-19 19:04:46 363 Initial revision (published)