This problem is in Contest(s) below:
Contest 1627:NJ24暑期信息学奥赛集训1-1
Contest 1628:NJ24暑期信息学奥赛集训2-1
Contest 1640:NJ24暑期信息学奥赛集训2-9
Contest 1687:NJ24秋季信息学奥赛训练9
Contest 1688:24秋季信奥提高5
Contest 1587:NJ24春季信息学奥赛-4
Contest 1792:2025CYX暑期编程训练9