This problem is in Contest(s) below:
Contest 230:2025秋冬信奥语法初级班周日1400第十二次作业
Contest 105:C++初级课程第9次作业
Contest 151:25暑期语法初级——Day10