摘要: 题目:Sorted Adjacent Differences 题目链接:https://vjudge.net/problem/CodeForces-1339B 思路: 题目给出一个长度为n的数列,要求把这些数重新排序,使得 |a1−a2| ≤ | a2−a3 | ≤ … ≤ | an−1−an | 阅读全文
posted @ 2020-05-29 21:49 emhhbw== 阅读(187) 评论(0) 推荐(0)