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 1369. Cockroach Race

Is this a valid test case?
Posted by Ade [FDU] 8 Mar 2014 14:21
Is this a valid test case?

2
-9999 -1
-9999 1.00000000000000000001
1
9999 0

I know the answer should be 1. But it's hard to code.



Edited by author 08.03.2014 14:22
Re: Is this a valid test case?
Posted by Amirbekov Artem[Ivanovo SPU] 28 Mar 2014 03:36
My AC program answers 1 2
I don't think doubles allow such precision.