C. Brutality Div2 (Codeforces)

Can anyone explain me the Question and any test case of this question of Codeforces!
C. Brutality Div2 -> https://codeforces.com/contest/1107/problem/C
Thanks in advance! :slight_smile: