This problem is in Contest(s) below:
Contest 1687:NJ24秋季信息学奥赛训练9
Contest 1688:24秋季信奥提高5
Contest 1463:NJ信息学奥赛编程强化集训1-11
Contest 1587:NJ24春季信息学奥赛-4
Contest 1806:2025GESP6级集训1