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 1775. Space Bowling

Hint for those who have TLE
Posted by Vedernikoff Sergey (HSE: АОП) 13 Oct 2010 21:13
In the final loop, when you count the number of circles which the given line touches, use only + and * operations (without divisions and - OMG - square roots) - this will speed your code up several times.

Edited by author 13.10.2010 21:13
Re: Hint for those who have TLE
Posted by Steven Oldrich 6 Apr 2011 06:54
Throught what set of lines should i iterate??
Help pls