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 1139. City Blocks

hint
Posted by [MAI] do_v_5_strok 17 Jan 2021 21:06
check the values ​​of y[i] by x[i] - x[i-1] in the straight line equation
>
>
>
>
>
>
>
>
use ceil() and floor()