2018-01-26 ACM codeforces gym 101620H [Hidden Hierarchy] 2017-2018 ACM-ICPC, Central Europe Regional Contest (CERC 17) 题解