![](https://img-blog.csdnimg.cn/20190927151043371.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
排序
Accept_1
这个作者很懒,什么都没留下…
展开
-
Gym - 101466 J. Jeronimo's List 桶排序
转自:https://blog.csdn.net/prolightsfxjh/article/details/79321161 题目链接:http://codeforces.com/gym/101466/problem/J 题意: 一共n个数字(3<=n<=3e7, 0<=ai<3e7 ),给出前面的m个(3<=m<=min(100, n)), a[i...转载 2018-04-01 22:01:50 · 210 阅读 · 0 评论 -
CSU1215(归并排序)
转自:http://blog.csdn.net/nameofcsdn/article/details/52334111 题目: Description 给出二元数组a[MAXN][2],按第一个关键值从小到大排序后输出,要求第一关键值相同情况下不改变原数组次序 Input 每组数据第一行为整数n,1 接下来n行每行两个整数空格隔开。 Output 输出排序原创 2017-08-14 09:07:26 · 410 阅读 · 2 评论 -
poj1318 用string.sort代码简明
Word Amalgamation Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 9491 Accepted: 4547 Description In millions of newspapers across the United States there is原创 2017-07-19 08:23:32 · 186 阅读 · 0 评论 -
CSUACM小组的成绩排名(用qsort函数对double排序需谨慎)
#include #include #include #include #include using namespace std; double a[1000001]; int cmp(const void *a, const void *b) { return *(double *)a>*(double *)b?1:-1; } int main() {原创 2017-06-08 15:25:25 · 297 阅读 · 0 评论