#P9206. Rock Tree

Rock Tree

Source: Super League of Chinese College Students Algorithm Design 2022, Contest 7 by UESTC.