This problem is in Contest(s) below:
Contest 47:周日C++语法中级班第1次作业
Contest 280:2026春夏二级(1)