Don't have Telegram yet? Try it now!
https://zepto.page/post/bzoj2120
【BZOJ 2120】【国家集训队2011】数颜色 / 题解