Segment Tree Assignment is too slow

Правка en2, от SAT2020, 2023-03-13 22:40:36

Hi everyone,

I've been trying to solve this problem for a while, but keep getting TLE.

The problem requires a range-assignment segment tree, which I copied almost exactly from CP Algorithms.

And yet I keep getting TLE. Can anyone please help? This is my most recent submission,

Thank you,

  • Simon

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский SAT2020 2023-03-13 22:40:36 2 Tiny change: 'ank you,\n- Simon' -> 'ank you,\n\n- Simon'
en1 Английский SAT2020 2023-03-13 22:39:51 539 Initial revision (published)