WA vs PE on newlines
Moderator: Board moderators
-
- New poster
- Posts: 19
- Joined: Mon Jan 07, 2013 9:30 am
WA vs PE on newlines
Some times I get WA (Wrong Answer) for printing an extra newline, and sometimes for NOT printing an extra newline. I think the verdict for such outputs should be PE (Presentation Error). Also note that on http://uva.onlinejudge.org/index.php?op ... &Itemid=31 has mentioned about linefeeds (in the section for PE), and I think "newline" and "linefeed" are the same thing.
-
- New poster
- Posts: 19
- Joined: Mon Jan 07, 2013 9:30 am
Re: WA vs PE on newlines
HEY!!!!!!
WHY IS NOBODY EVEN REPLYING!!!!!!!!!!
AND WHY ARE THERE ONLY 95 VIEWS!!!!!!!!!!!!
WHY IS NOBODY EVEN REPLYING!!!!!!!!!!
AND WHY ARE THERE ONLY 95 VIEWS!!!!!!!!!!!!
-
- System administrator
- Posts: 1286
- Joined: Sat Oct 13, 2001 2:00 am
- Location: Valladolid, Spain
- Contact:
Re: WA vs PE on newlines
The current PE algorithm judges an extra blank line as WA. That's the way it is, sorry. In any case, PE is as wrong as WA. Only an AC code is considered correct.
DON'T PM ME --> For any doubt, suggestion or error reporting, please use the "Contact us" form in the web.