Sichuan University Programming Contest 2019 Final(team)

B: CaCO3Tree