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!
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!