WA vs PE on newlines

The forum to report every bug you find or tell us what you'd like to find in UVa OJ's new system

Moderator: Board moderators

Locked
theemathas
New poster
Posts: 19
Joined: Mon Jan 07, 2013 9:30 am

WA vs PE on newlines

Post by theemathas »

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.
theemathas
New poster
Posts: 19
Joined: Mon Jan 07, 2013 9:30 am

Re: WA vs PE on newlines

Post by theemathas »

HEY!!!!!!
WHY IS NOBODY EVEN REPLYING!!!!!!!!!!
AND WHY ARE THERE ONLY 95 VIEWS!!!!!!!!!!!!
Carlos
System administrator
Posts: 1286
Joined: Sat Oct 13, 2001 2:00 am
Location: Valladolid, Spain
Contact:

Re: WA vs PE on newlines

Post by Carlos »

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.
Locked

Return to “Bugs and suggestions”