693 - Digital Racing Circuit

All about problems in Volume 6. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
Anders
New poster
Posts: 6
Joined: Mon Jan 12, 2004 8:09 am
Location: Russia
Contact:

693 - Digital Racing Circuit

Post 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?
Adrian Kuegel
Guru
Posts: 724
Joined: Wed Dec 19, 2001 2:00 am
Location: Germany

Post 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.
Anders
New poster
Posts: 6
Joined: Mon Jan 12, 2004 8:09 am
Location: Russia
Contact:

Post by Anders »

Thanks! That's great!

How will I know when the input file is fixed?
Adrian Kuegel
Guru
Posts: 724
Joined: Wed Dec 19, 2001 2:00 am
Location: Germany

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

Return to “Volume 6 (600-699)”