Sichuan University Programming Contest 2019 Preliminary

G: SCUACM