Hello! The 19th Zhejiang Provincial Collegiate Programming Contest has been uploaded to the Gym.
This contest also serves as Contest 5, Div.A in this year's Moscow Pre-Finals Workshop 2022, with problems A, B, C, and G replaced. Note that the contest version in Gym is different from the original version used in ZJCPC. We deleted some of the data constraints in K to make the problem more fun.
Official Scoreboard: Official Scoreboard
Pre-Finals Link: Pre-Finals Link
Please feel free to discuss problems in comments and hope you enjoy this contest.