Can anyone explain me solution with interval tree? or any other solution?
P.S. I understand Russian
P___
|
13 years ago,
#
|
←
Rev. 2
→
0
Here is the explanation by kuniavski : http://codeforces.com/blog/entry/339
→
Reply
|