How is this test case correct for Div1 250 SRM 680? [Solved]

Revision en4, by rhezo, 2016-04-28 05:51:11

How is the test case given in the image for this problem correct? The only possible sets are {9,10,11} or {9,10,12}. None of them have exactly n/2 terms even or odd. The test case is : {4, 321, {6, 12, 2, 3, 9, 8, 10, 5}, {0, 3, 0, 0, 1, 0, 2, 0}}. Please help!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English rhezo 2016-04-28 05:51:11 9
en3 English rhezo 2016-04-28 03:14:01 83
en2 English rhezo 2016-04-28 03:13:02 90
en1 English rhezo 2016-04-28 03:12:10 303 Initial revision (published)