10263 - Railway : incomplete problem description

The forum to report every bug you find or tell us what you'd like to find in UVa OJ's new system

Moderator: Board moderators

Post Reply
theemathas
New poster
Posts: 19
Joined: Mon Jan 07, 2013 9:30 am

10263 - Railway : incomplete problem description

Post 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
Post Reply

Return to “Bugs and suggestions”