Hello! I might be wrong, but this is what happened to me:
I was solving this problem ( http://uva.onlinejudge.org/index.php?op ... roblem=734 ), and my logic was ok (the judge just AC'ed my code)... i get 2 WA, because on the last line, I printed a blank line, i corrected my code so it wouldn't print the last blank line, and got AC.
Maybe this should have been a PE instead of WA? there are lots of WA on this problem's statics, after all, maybe it is because of this, this isn't a very hard problem after all...
WA should have been PE on 793-network-connections?
Moderator: Board moderators
-
- New poster
- Posts: 1
- Joined: Thu Jan 16, 2014 2:01 pm
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: WA should have been PE on 793-network-connections?
Missing or extra newlines will usually result in WA. Don't ever count on getting PE.
Check input and AC output for thousands of problems on uDebug!