Hi guys.
I am having trouble understanding the tutorial to this problemin the recent Division 3 Contest.
https://codeforces.net/contest/1335/problem/F
Can anyone who has solved this problem explain the solution better?
I'm not saying explanation given in tutorial is bad but if someone could expound more, would definitely help.
Thanks!