
ACM-排序
pick豆子
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU1425 sort
很简单的sort排序裸题 给你n个整数,请按从大到小的顺序输出其中前m大的数。 Input 每组测试数据有两行,第一行有两个数n,m(0 #include<cstdio> #include<algorithm> using namespace std; int s[1000005]; int main() { int n,m,i; while(sca...原创 2018-09-01 09:31:59 · 244 阅读 · 0 评论 -
结构体排序HDU 5702
Sample Input 3 3 red 1 green 2 yellow 3 1 blue 83 2 red 2 white 1 Sample Output yellow green red blue red white 题意: 输入一个字符串 一个数字 按照数字大小顺序输出字符。(从大到小) #include<algorithm> #incl...原创 2018-09-01 11:12:24 · 150 阅读 · 0 评论