This problem is in Contest(s) below:
Contest 1388:【算法设计与分析】实验三
Contest 1396:【算法设计与分析】实验3 分治算法与排序
Contest 1524:算法实验3