789 - Indexing

All about problems in Volume 7. 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
kagohara
New poster
Posts: 1
Joined: Thu May 31, 2012 6:03 pm

789 - Indexing

Post by kagohara »

Hi!

my problem is that the result is right, but i get Runtime error.
As i can see, the problem is on the scanner. i cant find the end of the file.

Solved, used a try catch
Last edited by brianfry713 on Tue May 20, 2014 11:44 pm, edited 3 times in total.
Reason: Thread title
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 789 - Indexing Runtime error

Post by brianfry713 »

This problem can't be judged and has no I/O.
Check input and AC output for thousands of problems on uDebug!
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 789 - Indexing

Post by brianfry713 »

I just created a dataset and emailed the admins.
Check input and AC output for thousands of problems on uDebug!
Dominik Michniewski
Guru
Posts: 834
Joined: Wed May 29, 2002 4:11 pm
Location: Wroclaw, Poland
Contact:

Re: 789 - Indexing

Post by Dominik Michniewski »

Any hints on this problem ?

I checked if my output is sorted correctly (if not I should got RTE - it did not happen).

WHat should be a correct output if input looks like :

T
T.
.T.
T

??
T 3 or T 1 2 3?
If you really want to get Accepted, try to think about possible, and after that - about impossible ... and you'll get, what you want ....
Born from ashes - restarting counter of problems (800+ solved problems)
Post Reply

Return to “Volume 7 (700-799)”