Page 1 of 1

10263 - Railway : incomplete problem description

Posted: Mon Jan 21, 2013 9:31 am
by theemathas
The problem doesn't specify that the input coordinates will be integers or floating point numbers, so, after looking at the example, I assumed that they were integers.
However, my code (which reads the input into an int and then casts it into a double) gets WA, and after modifying the code (so it reads the input into a double) the code got AC!
Conclusion: the input are floating point numbers!
PLEASE CHANGE PROBLEM DESCRIPTION