How is this test case correct for Div1 250 SRM 680?
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. Please help!
Codeforces Round 946 Solution Discussion