This problem is in Contest(s) below:
Contest 1118:ZWL-C++编程入门1
Contest 1189:C++编程入门29
Contest 1259:暑期C++入门集训1
Contest 1288:2022秋季C++入门1
Contest 1662:2024C++入门1
Contest 1725:25春季C++零基础1
Contest 1766:2025CYX暑期编程训练1