Help in #281 Div 2 Problem D
Can someone please help me on how the to arrive at the conclusion stated in the editorial?
Link to the problem
Link to the editorial
Thanks!
Codeforces Round 950 Solution Discussion