Can someone help me with Div 2 problem C of 468? I am unable to understand the editorial. Is there any easier approach, what is the thinking involved here? Thanks in advance!
Div 2 -Problem C: Codeforces Round #468 (Div. 2, based on Technocup 2018 Final Round)
Can someone help me with Div 2 problem C of 468? I am unable to understand the editorial. Is there any easier approach, what is the thinking involved here? Thanks in advance!