This problem is in Contest(s) below:
Contest 1141:基础班-排序
Contest 1180:基础课程-函数排序结构体
Contest 1004:竞赛中等题型练习
Contest 1033:2020秋季基础班打卡题