ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1019. Line Painting

AC with interval tree but how to do it using segment tree?
Posted by muhammad 3 Aug 2010 16:18
I got AC with interval tree. but it's so painful coding it. How to do it with segment tree? The range is too large...

please help.

thanks in advance
Re: AC with interval tree but how to do it using segment tree?
Posted by tiancaihb 4 Aug 2010 05:17
to make it "discrete", is that the right word?
i mean, we only care the points mentioned in the input.

Edited by author 04.08.2010 05:18