
结构体与排序
pupil_blue
这个作者很懒,什么都没留下…
展开
-
HDOJ-----1084结构体排序
“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many points can you get? Now, I told you the rules which are used原创 2016-07-19 20:36:00 · 314 阅读 · 0 评论 -
HDOJ-----1872结构体稳定排序
大家都知道,快速排序是不稳定的排序方法。如果对于数组中出现的任意a[i],a[j](i某高校招生办得到一份成绩列表,上面记录了考生名字和考生成绩。并且对其使用了某排序算法按成绩进行递减排序。现在请你判断一下该排序算法是否正确,如果正确的话,则判断该排序算法是否为稳定的。 Input本题目包含多组输入,请处理到文件结束。对于每组数据,第一行有一个正整数N(0接原创 2016-07-19 20:25:11 · 300 阅读 · 0 评论 -
HDOJ-----5499结构体排序
The Annual National Olympic of Information(NOI) will be held.The province of Shandong hold a Select(which we call SDOI for short) to choose some people to go to the NOI.n(n≤100) people comes to th原创 2016-07-19 20:50:19 · 1080 阅读 · 0 评论 -
POJ-----2299---Ultra-QuickSort---归并排序
Ultra-QuickSortTime Limit: 7000MS Memory Limit: 65536KTotal Submissions: 59469 Accepted: 22019DescriptionIn this problem, you have to analyze a particular sorting原创 2017-03-16 11:14:15 · 202 阅读 · 0 评论