ENG  RUS Timus Online Judge
Online Judge
Problems
Authors
Online contests
Site news
Webboard
Problem set
Submit solution
Judge status
Guide
Register
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

## Discussion of Problem 1504. Good Manners

To Authors! The tests are very simple!!!
Posted by Ostap Korkuna (LNU) 30 Oct 2006 00:09
I think the tests for this problem are very simple!!!
Here is the solution, which gets AC: I just divide the [-R; R] into 10 (!!!! only 10 !!!!!) parts and for every X from those 10 (!!!) values I calculate two corresponding Y => I get 20 points => calculate the nearest piece for every point and output the one with the biggest piece.

Isn't it to simple???
Re: To Authors! The tests are very simple!!!
Posted by _I_ 2 Nov 2006 03:42
i did what you said, but got WA,
i also divided the interval into 100 parts
also getting WA
could you explain clearly
Re: To Authors! The tests are very simple!!!
Posted by Vedernikoff Sergey 2 Nov 2006 16:13
I think, now the above solution is incorrect...
Re: To Authors! The tests are very simple!!!
Posted by Ostap Korkuna (LNU) 6 Nov 2006 19:22