Explain this problem
Can someone explain for me this problem? https://codeforces.me/contest/681/problem/D
Codeforces Round 1137 Solution Discussion