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 1185. Wall

Programmer WA12. Give me hint, plz. [3] // Problem 1185. Wall 24 Jan 2009 00:14
Programmer Help me. [1] // Problem 1185. Wall 11 Feb 2009 02:17
I don`t know what bug is in my programm. Who can give me this test.
Vedernikoff 'Goryinyich' Sergey (HSE: АОП) Re: Help me. // Problem 1185. Wall 11 Feb 2009 02:31
As I remember, in 12th test the point is in precision. If you write in Pascal, use Extended (in C++ - double), use very accurate value for PI (3.1415926 is NOT enough), in Pascal use standard constant "pi", in C - 2.0*acos(0.0)
Artem Khyzha Re: WA12. Give me hint, plz. // Problem 1185. Wall 31 Aug 2010 18:20
Well, in my case the reason for WA#12 was inproper implementation of Graham's algorithm, not a precision. Be careful with cases, when there are points with the same polar angle.