|
|
back to boardThe problem is easily solvable without segment tree. Posted by Jorres 11 Nov 2017 22:53 Also pay attention to the fact that according to the example - segment is (a;b]. I used this approach and got accepted. (O (N*N) btw :) ) Re: The problem is easily solvable without segment tree. Yes. Compressing coordinates and painting segments straightforwardly is enough. |
|
|