Page 1 of 1

11793 - Electoral Districts, bug in problem statement

Posted: Thu Oct 24, 2013 2:32 am
by brianfry713
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.

Re: 11793 - Electoral Districts, bug in problem statement

Posted: Mon Oct 12, 2015 5:10 am
by red_apricot
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.