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