#P9191. Map

Map

Source: Super League of Chinese College Students Algorithm Design 2022, Contest 6 by TJU.