This problem is in Contest(s) below:
Contest 1788:【一维数组练习】(数据排序)
Contest 1733:2020暑假第一次作业