This problem is in Contest(s) below:
Contest 1207:入门班测试1
Contest 1160:2024秋季入门班