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
789 - Indexing
Moderator: Board moderators
789 - Indexing
Last edited by brianfry713 on Tue May 20, 2014 11:44 pm, edited 3 times in total.
Reason: Thread title
Reason: Thread title
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 789 - Indexing Runtime error
This problem can't be judged and has no I/O.
Check input and AC output for thousands of problems on uDebug!
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 789 - Indexing
I just created a dataset and emailed the admins.
Check input and AC output for thousands of problems on uDebug!
-
- Guru
- Posts: 834
- Joined: Wed May 29, 2002 4:11 pm
- Location: Wroclaw, Poland
- Contact:
Re: 789 - Indexing
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?
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)
Born from ashes - restarting counter of problems (800+ solved problems)