acm-排序
文章平均质量分 77
星空永恒&&卡利达
这个作者很懒,什么都没留下…
展开
-
蓝桥杯 算法训练 ALGO-1 区间k大数查询
#include#includeusing namespace std;int cmp(int a,int b){ return a>b;}int main(){ int n; int num1[2000],num2[2000]; int m; int l,r,k; while( scanf("%d",&n)!=EOF ) { int i; for(i=1;原创 2016-02-09 13:44:08 · 413 阅读 · 0 评论 -
poj 2549 Sumsets (枚举+二分)
SumsetsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10026 Accepted: 2743DescriptionGiven S, a set of integers, find the largest d such that a + b + c转载 2016-03-31 21:06:44 · 423 阅读 · 0 评论