Search found 7 matches
- Thu Apr 05, 2012 10:26 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10067 - Playing with Wheels
- Replies: 62
- Views: 32784
Re: 10067 - Playing with Wheels
Alright, even after altering my code to produce the same results as yours for the first three cases I still get WA. Is there any other critical input that could be messing it up? I thought it could be the formatting so I removed the new line from the last output (which has never been an issue in oth...
- Wed Apr 04, 2012 2:36 am
- Forum: Volume 100 (10000-10099)
- Topic: 10067 - Playing with Wheels
- Replies: 62
- Views: 32784
Re: 10067 - Playing with Wheels
But even the UVA toolkit returns exactly what I have for that input... Check it out
http://uvatoolkit.com/problemssolve.php#10067
Is it wrong then?
Thanks
http://uvatoolkit.com/problemssolve.php#10067
Is it wrong then?
Thanks
- Tue Apr 03, 2012 4:25 am
- Forum: Volume 100 (10000-10099)
- Topic: 10067 - Playing with Wheels
- Replies: 62
- Views: 32784
Re: 10067 - Playing with Wheels
Tried every test case in this thread and I pass all of them, still I keep getting WA.. Not sure what else to do, I made sure I handled cases where the start is the target, the target is in the forbidden list, 9+1 goes to 0, 0-1 goes to 9. Are there any other elementary cases I could be tripping up o...
- Mon Feb 27, 2012 12:03 pm
- Forum: Volume 8 (800-899)
- Topic: 850 - Crypt Kicker II
- Replies: 77
- Views: 47058
Re: 850 - Crypt Kicker II
I didn't have trouble with that in previous problems, also I am following what they did here. http://www.programming-challenges.com/pg.php?page=javainfo What character should I be looking for, for EOF? I tired '\0', that didn't work. I just need to know when the last line is finished so I can proces...
- Mon Feb 27, 2012 2:50 am
- Forum: Volume 8 (800-899)
- Topic: 850 - Crypt Kicker II
- Replies: 77
- Views: 47058
Re: 850 - Crypt Kicker II
The reason for that is because your input does not include a trailing new line. You need that in order to see if you are done with the input or typing a new line. Since we don't know how many lines there are for each input, I wait for the user to send a blank new line before terminating. Without tha...
- Fri Feb 17, 2012 11:36 pm
- Forum: Volume 8 (800-899)
- Topic: 850 - Crypt Kicker II
- Replies: 77
- Views: 47058
Re: 850 - Crypt Kicker II
I am not sure how that website works, but if you copy the code into a compiler like eclipse for example and run it, it will take input from the console and output.
- Fri Feb 17, 2012 10:29 am
- Forum: Volume 8 (800-899)
- Topic: 850 - Crypt Kicker II
- Replies: 77
- Views: 47058
Re: 850 - Crypt Kicker II
I am having a problem with this also. I tried every test case in this thread and I check out on all of them, however I am still getting WA. I can't think of any test cases where mine would produce a wrong output. Here is my code, import java.io.IOException; import java.util.ArrayList; import java.ut...