Sichuan University Programming Contest 2017 Preliminary

H: 改造加基森