11793 - Electoral Districts, bug in problem statement

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

Moderator: Board moderators

Post Reply
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

11793 - Electoral Districts, bug in problem statement

Post by brianfry713 » Thu Oct 24, 2013 2:32 am

See http://online-judge.uva.es/board/viewtopic.php?t=50452
The third line of the sample output is incorrect in the problem statement, it should be -1 instead of 1.
The judge I/O is correct.
Check input and AC output for thousands of problems on uDebug!

red_apricot
New poster
Posts: 48
Joined: Sun Jun 22, 2014 6:14 am

Re: 11793 - Electoral Districts, bug in problem statement

Post by red_apricot » Mon Oct 12, 2015 5:10 am

The judge I/O must be weak/incomplete, albeit correct.
For one, for input

Code: Select all

5
617 17 345 931 482 
332 71 810 842 87 
414 761 622 290 883 
733 416 601 467 673 
712 195 44 828 77 
393 635 122 839 600 
588 275 604 379 127 
384 850 89 982 158 
50 715 573 333 867 
253 264 556 218 695 
the answer is 5; but udebug gives 3. And I presume udebug features only Accepted solutions.

Post Reply

Return to “Bugs and suggestions”