Page 1 of 1

693 - Digital Racing Circuit

Posted: Tue Jan 13, 2004 9:01 am
by Anders
It seems that my program is reading until it runs out of input, and then continues to wait for input, since it changed from TLE to WA when I changed my program so it would exit if it didn't get the input it wanted.

My program does not depend on the amount of whitespace in the input. It does not expect a certain amount of coordinates for the track or acceleration parameters. Neither does it expect a certain number of test cases.

BUT it expects the ending 99999 for track coordinates, acceleration parameters and test case. It also expects the 99999 to come after an even number of values (i.e. both x and y coordinate).

Are there any possibility that there can be errors in the test data, since the problem hasn't been solved yet?

Posted: Tue Jan 13, 2004 10:55 am
by Adrian Kuegel
Yes, there was an error in the input file, I also checked it with some assertions in my program. I already wrote to Olga Efimova who created the input file, I think it will be fixed soon.

Posted: Tue Jan 13, 2004 2:12 pm
by Anders
Thanks! That's great!

How will I know when the input file is fixed?

Posted: Wed Jan 14, 2004 7:49 pm
by Adrian Kuegel
Input file is fixed now.
However the old submissions are not rejudged until now, because all the runtime error submissions of me are still listed.
So you can decide if you want to wait for rejudgement, or if you want to send your program again.