|
|
вернуться в форумThe problem is easily solvable without segment tree. Послано Jorres 11 ноя 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. |
|
|