摘要: B https://ac.nowcoder.com/acm/contest/2891/B 题解 简单贪心题。 对数组排序,每三个组成一组求出差值之后取最大值就是答案。 1 #include<bits/stdc++.h> 2 using namespace std; 3 4 int n; 5 int 阅读全文
posted @ 2019-11-30 16:26 Venux 阅读(223) 评论(0) 推荐(0) 编辑