登录
首页 » Windows开发 » 试验内容: 跳水比赛中运动员每完成一个跳水动作,都有J名裁判员为其打分,但每次总成绩中都要去掉一个最高分和一个最低分。每个运动员需要完成C个动作,每次动作结束都...

试验内容: 跳水比赛中运动员每完成一个跳水动作,都有J名裁判员为其打分,但每次总成绩中都要去掉一个最高分和一个最低分。每个运动员需要完成C个动作,每次动作结束都...

于 2023-07-04 发布 文件大小:8.41 kB
0 177
下载积分: 2 下载次数: 1

代码说明:

试验内容: 跳水比赛中运动员每完成一个跳水动作,都有J名裁判员为其打分,但每次总成绩中都要去掉一个最高分和一个最低分。每个运动员需要完成C个动作,每次动作结束都要按当前总成绩为全部运动员重新排序,结果在运动员出场比赛时显示出来。设总共有N个运动员参加比赛,其编号为1,2,… N。 编一个程序实现这一功能。 要求: 1、 建立一个*head为头结点的单链表 2、 以动作C为主循环,对每个动作输入每个运动员所有裁判打分。输入每个 运动员的所有打分后,立即对单链表按sum域(累计分)从小到大重新排序 3、 在每个动作之后,输出该单链表的所有结点-Note: Experimentation: When sportsman who taking part in diving game had finished each movement,there were J referees marking for sportsman,and each time the highest and lowest marks always were taken out. Each sportsman must finish C movements,no sooner did actions had be performed than current sum grades should be sorted and the final results should be displayed before athlete comes out. Supposing there are N athletes attending the game,the NO is 1,2,...N.Write an program to implement this fuction. Requires: 1 Create a single chain naming the name of headnode*head. 2 The movement C is main loop,Each sportsman s grades marked by all judges should be put in the each movement.After finished this,the

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CE下的安装程序的制作
    CE下的安装程序的制作-CE installation of the production process
    2023-07-27 09:30:03下载
    积分:1
  • 一个用.net做的email程序
    一个用.net做的发email程序-A use. Net so fat email procedures
    2022-03-17 22:34:03下载
    积分:1
  • WinSocket编程
    winsocket有线网编程,套接字编程-winsocket programming
    2022-08-13 21:06:54下载
    积分:1
  • 最近学了一段时间的C,感觉还不错,这对单片机的编程也很有帮助,在这奉上一个小程序(在VC6.0里运行的话,能看得更加清楚),其功能就是显示任何一年的万年历,没办...
    最近学了一段时间的C,感觉还不错,这对单片机的编程也很有帮助,在这奉上一个小程序(在VC6.0里运行的话,能看得更加清楚),其功能就是显示任何一年的万年历,没办法,学的不是很多,这样的程序也拿来传。。希望大家见谅,不过我觉得这也有他的好处。-Recent study for a period of time C, feeling good, and this single-chip programming is also helpful in this offer, a small program (to run in VC6.0 so, can see more clearly), its function is to display any calendar year, no way, learning is not a lot, so that the procedures used Chuan. . I hope everyone will forgive, but I think this also has the advantage of him.
    2022-05-08 07:54:29下载
    积分:1
  • 了解行政长官平台的外壳行为
    Understanding the Shell Behavior for the CE Platforms
    2022-01-25 18:40:19下载
    积分:1
  • 一个读pocket pc 电话本的程序(含 全套源码)
    一个读pocket pc 电话本的程序(含 全套源码)-a pocket pc phone this process (with full source code)
    2022-04-11 11:47:59下载
    积分:1
  • c++ 完美演绎
    c++ 完美演绎 -c++ perfect interpretation
    2022-06-29 12:51:40下载
    积分:1
  • 模板函数的源代码
    这个是c++实验课上的模板函数的压缩包,里面有实验源代码以及一些运行生成的文件,这个是用VS2010编写的,在windows7环境下运行的,其中vs里加了qt使运行出来有控制台。
    2022-09-13 09:20:04下载
    积分:1
  • SDP Search and Record generator OVERVIEW: Recognizing the difficulty in c...
    SDP Search and Record generator OVERVIEW: Recognizing the difficulty in creating an SDP service description and search from scratch, Microsoft is providing a sample utility in bthnscreate.cxx to automatically create a service or record. This utility can be run to create an SDP record or to setup an SDP Service, Attribute, or ServiceAttribute search based on information stored in a human readable file.-SDP Search and Record generator OVERVIEW: Recognizing the difficulty in creating an SDP service description and search from scratch, Microsoft is providing a sample utility in bthnscreate.cxx to automatically create a service or record. This utility can be run to create an SDP record or to setup an SDP Service, Attribute, or ServiceAttribute search based on information stored in a human readable file.
    2023-06-03 11:50:02下载
    积分:1
  • 1.程序读取服务器中的数据,实现web方式的浏览模式。 2.地图分为三个级别,分别是 河南省地图,18地市市域图,以及各个地市的城区图。 3...
    1.程序读取服务器中的数据,实现web方式的浏览模式。 2.地图分为三个级别,分别是 河南省地图,18地市市域图,以及各个地市的城区图。 3.蓝颜色的城市可以直接点击进入,先从河南省地图进入市域图,再从市域图进入城区图。 4.用鼠标滑轮缩小地图,可以从城区图退回到市域图,由市域图退回到河南省地图。-1. Procedures to read data from the server to realize the way web browser mode. 2. The map is divided into three levels, namely, Henan Province, map, 18 prefectures and cities in the city of domain maps, as well as various prefectures and cities in the City map. 3. Blue color can directly enter the city, start entering the city of Henan Province map domain map domain map from the City to enter the city map. 4. With the mouse wheel to narrow the maps, city map from the domain back to the city map, city map domain map back to the Henan Province.
    2022-03-11 19:18:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载