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
1139
. City Blocks
can you tell me how to solve this question
Posted by
xinxin
20 Sep 2016 18:20
Re: can you tell me how to solve this question
Posted by
Egor
30 Oct 2016 22:41
Bresenham's algorithm is key here:
https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
© 2000–2024
Timus Online Judge Team
. All rights reserved.