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 1710. Boris, You Are Wrong!

Tests
Posted by wRabbits_AlMag(VNTU) 27 Jul 2011 16:30
For wa#3:
4 0
0 3
0 0
YES

For wa#4
0 0
5 0
6 5
YES
Re: Tests
Posted by Fcdkbear[VNTU] 27 Jul 2011 21:32
For wa#5
0 0
4 0
2 3
The possible answer is:
NO
0.00000000000000000000 0.00000000000000000000
4.00000000000000000000 0.00000000000000000000
0.46153846153846145000 0.69230769230769285000

But i still have have wa#31. I think, I have problem with precision. Can anyone tell me how to avoid this problem?

UPD: Finaly AC. I think, it realy was a problem with precision, but I am not sure.

Edited by author 27.07.2011 22:20

Edited by author 27.07.2011 23:58
Re: Tests
Posted by ValentinPerm 19 Mar 2014 16:25
Yes, problem in precision.
EPS = 1e-10 AC
EPS = 1e-11 WA#36