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

离散化+朴素扫描 Pay attention to the last white segment!
Posted by nocLyt 29 Jul 2012 14:46
6
1 999999998 b
1 2 b
2 3 w
4 5 b
5 6 w
6 7 b

ans:
999999998 1000000000


Do you understand?