Don't have Telegram yet? Try it now!
https://zepto.page/post/codeforces-538f
【CodeForces 538F】A Heap of Heaps / 题解