Sichuan University Programming Contest 2019 Preliminary

H: rzyСԵ