This problem is in Contest(s) below:
Contest 1052:2021模拟练习2
Contest 1041:2020年安徽理工大学第五届程序设计大赛
Contest 1066:Test 3