This problem is in Contest(s) below:
Contest 1066:程序设计五星活动认证赛-2024
Contest 1051:2024-WE 百题大战01:入门,顺序结构(整型)