This problem is in Contest(s) below:
Contest 1214:基础班练习题
Contest 1034:入门班打卡题
Contest 1197:2026春季入门班练习