This problem is in Contest(s) below:
Contest 1032:程序设计五星活动认证赛-2020~2021-练习
Contest 1070:程序设计五星活动认证赛-2023
Contest 1061:2023-WE 百题大战01:入门,顺序结构(整型)