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

there are some bug in this problem
Posted by Rafikov Ramil 3 Apr 2010 18:47
they says "segment from ai to bi" , what it mean?
If i right , that mean that bi do not to be a repainting, then when we repaint in white color, we have line [ai] - [bi-1] right??

but in example :
40 300 w
300 634!!!!! w
43 47!!!! b
they says the answer: 47 634

why??
i think in first step we have a line 40 - 299 , then 40 - 633!!! and then 47 - 633 ... explain me where i wrong??

p.s sorry for bad english...

Edited by author 03.04.2010 18:48
Re: there are some bug in this problem
Posted by Anton 12 Apr 2011 14:55
Представьте координатную ось и попытайтесь покрасить её кусочек от какого-то x1 до x2. Тут аналогично.