2018-01-26 ACM codeforces gym 101635J [Frosting on the Cake] 2017-2018 ACM-ICPC, Southwestern European Regional Programming Contest (SWERC 2017) 题解