Sichuan University Programming Contest 2019 Final(team)

D: CRY cry