ENG
RUS
Timus 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
Pushkar Mishra
How to do this problem using segment trees?
// Problem
1019. Line Painting
14 Mar 2013 11:30
I understand that we are only concerned with the points mentioned, and not all the points between 1 and 10^9. After forming a segment tree and making all the updates, how can we find the longest white colored segment?
Thank you.
© 2000–2026
Timus Online Judge Team
. All rights reserved.