摘要: 题目链接: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=4102 题意: 给出一个长度为n的数组,重排它们,让相同位置的数不同,并且字典序最小 数据范围: $1 \le n \le 10^5$$1 \le a_i \le 阅读全文
posted @ 2019-05-06 19:09 czh~ 阅读(508) 评论(0) 推荐(0) 编辑