This problem is in Contest(s) below:
Contest 2084:26冬令营算法基础——结营测试
Contest 1750:2023语言提高班收官测试
Contest 1751:2023基础提高班收官测试——补题