Help on a problem
I am stuck on a problem. I have read the editorial but I am not able to understand it. Can someone please give some other view on the solution or explain the editorial solution in somewhat more detailed way?
Codeforces Round 950 Solution Discussion