Sichuan University Programming Contest 2019 Preliminary

E: 就差一个三星月骑