#P9163. BIT Subway

BIT Subway

Source: Super League of Chinese College Students Algorithm Design 2022, Contest 4 by BIT.