文件名称:win
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 13kb
- 下载次数:
- 0次
- 提 供 者:
- f**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
问题的提出:某大学开田径运动会,现有12名选手参加100米比赛,对应的运动员号及成绩如表所示,请按照成绩排名并输出,要求每一行输出名次、运动员号及成绩。要求用冒泡法排序。
运动员号 成绩(秒) 运动员号 成绩(秒)
001 13.6 031 14.9
002 14.8 036 12.6
010 12.0 037 13.4
011 12.7 102 12.5
023 15.6 325 15.3
025 13.4 438 12.7
-Of the problem: open a university track meet, the existing 12 players participated in the 100 meters race, the corresponding number of athletes and the results shown in the table, follow the score ranking, and output requirements of each line of output ranking of No. athletes and results. Require bubble sort method. No athlete results (seconds) No. athlete results (seconds) 001 13.6 031 14.9 002 14.8 036 12.6 010 12.0 037 13.4 011 12.7 102 12.5 023 15.6 32 515 .3 025 13.4 438 12.7
运动员号 成绩(秒) 运动员号 成绩(秒)
001 13.6 031 14.9
002 14.8 036 12.6
010 12.0 037 13.4
011 12.7 102 12.5
023 15.6 325 15.3
025 13.4 438 12.7
-Of the problem: open a university track meet, the existing 12 players participated in the 100 meters race, the corresponding number of athletes and the results shown in the table, follow the score ranking, and output requirements of each line of output ranking of No. athletes and results. Require bubble sort method. No athlete results (seconds) No. athlete results (seconds) 001 13.6 031 14.9 002 14.8 036 12.6 010 12.0 037 13.4 011 12.7 102 12.5 023 15.6 32 515 .3 025 13.4 438 12.7
(系统自动生成,下载前可以参看下载内容)
下载文件列表
100米比赛排名\5_40.plg
.............\5_40.dsw
.............\5_40.cpp
.............\5_40.ncb
.............\100米比赛排名.doc
.............\5_40.opt
.............\5_40.dsp
100米比赛排名
.............\5_40.dsw
.............\5_40.cpp
.............\5_40.ncb
.............\100米比赛排名.doc
.............\5_40.opt
.............\5_40.dsp
100米比赛排名