Source: Super League of Chinese College Students Algorithm Design 2022, Contest 3 by Claris.
使用您的 https://new.bzoj.org:88 通用账户