Hello! I am trying to solve the problem 1349B - Orac and Medians And the solution from editorial answer "yes" in this test case:
1
7 3
5 0 5 1 1 1 3
I don't understand why... Can you help me, please?
UPD: Thank you so much. I was answered a question.
array: 5 0 5 1 1 1 3
array: 5 5 5 1 1 1 3
array: 5 5 5 5 5 1 3
array: 5 5 5 5 3 3 3
array: 5 3 3 3 3 3 3
array: 3 3 3 3 3 3 3
Thanks a lot!)