This problem is in Contest(s) below:
Contest 1135:CCF GESP2024年3月认证一级-四级编程题
Contest 1136:CCF GESP2024年3月认证一级
Contest 1144:零基础班最后一次课练习
Contest 1161:GESP一级考试编程第一题汇总
Contest 1149:GESP一级历年编程题