This problem is in Contest(s) below:
Contest 1275:语言基础班最终测试
Contest 1749:2023语言基础-最终测试
Contest 1929:2024语言基础B-结营测试