sort
Manton过
这个作者很懒,什么都没留下…
展开
-
Bear and Three Balls (sort)
点击打开链接Limak is a little polar bear. He has n balls, the i-th ball has size ti.Limak wants to give one ball to each of his three friends. Giving gifts isn't easy — there are two rules Limak原创 2017-07-23 16:33:09 · 265 阅读 · 0 评论 -
What Is Your Grade? (sort)
点击打开链接“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 rul原创 2017-07-23 16:39:46 · 338 阅读 · 0 评论 -
EXCEL排序 (sort)
点击打开链接Excel可以对一组纪录按任意指定列排序。现请你编写程序实现类似功能。Input测试输入包含若干测试用例。每个测试用例的第1行包含两个整数 N (行,每行包含一条学生纪录。每条学生纪录由学号(6位数字,同组测试中没有重复的学号)、姓名(不超过8位且不包含空格的字符串)、成绩(闭区间[0, 100]内的整数)组成,每个项目间用1个空格隔开。当读到 N=0原创 2017-07-23 16:46:32 · 2473 阅读 · 0 评论 -
【HDU 1069】Monkey and Banana(dp+sort结构体排序)
点击打开题目Monkey and BananaTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15927 Accepted Submission(s): 8444Problem Descriptio原创 2017-08-08 18:03:46 · 256 阅读 · 0 评论 -
【HDU 3785】寻找大富翁(sort或者优先队列-水题)
点击打开题目寻找大富翁Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7447 Accepted Submission(s): 2761Problem Description浙江原创 2017-08-02 22:23:09 · 334 阅读 · 0 评论