-
试验内容: 跳水比赛中运动员每完成一个跳水动作,都有J名裁判员为其打分,但每次总成绩中都要去掉一个最高分和一个最低分。每个运动员需要完成C个动作,每次动作结束都...
试验内容: 跳水比赛中运动员每完成一个跳水动作,都有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
- 2023-07-04 21:45:03下载
- 积分:1
-
此程序是一个制作帮助文档的代码,运行此程序会看到一个树型的帮助文档,只要按自己的帮助信息设计好相应的文本文件即可
此程序是一个制作帮助文档的代码,运行此程序会看到一个树型的帮助文档,只要按自己的帮助信息设计好相应的文本文件即可-This program is a production to help document the code, run this program will see a tree of the help documentation, as long as the help of information in accordance with their own design to the corresponding text file
- 2022-01-27 17:28:25下载
- 积分:1
-
string handling procedures
字符串处理实例程序-string handling procedures
- 2022-03-23 15:49:19下载
- 积分:1
-
Windows下的高精度计时和高频事件的产生 在开发 Windows 下的应用程序时,经常需要用的计时,尤其在一些对时间要求比较高的程序中,计时的精确性是很重要...
Windows下的高精度计时和高频事件的产生 在开发 Windows 下的应用程序时,经常需要用的计时,尤其在一些对时间要求比较高的程序中,计时的精确性是很重要的,本文介绍了两种精确计时的方法,计时的精度可以达到ms级,而且可以认为它是精确的,可以在大多数情况下作为时间的基准。-under Windows precision timing and the selection of high-frequency events in the development of Windows applications, we often need to use the time, especially in some of the high demand on time the procedure, the accuracy of time is very important, this paper introduces two methods of precision timing, timing accuracy can be achieved ms level, but also that it is accurate, in most cases, as time benchmarks.
- 2022-02-16 10:03:00下载
- 积分:1
-
Window数据, 压缩huffman算法
Window数据, 压缩huffman算法-windows data ,compress huffman arithmetic
- 2022-07-15 15:34:28下载
- 积分:1
-
模拟银行提款机程序,用文件存储数据,实现存款、提款、转账等程序...
模拟银行提款机程序,用文件存储数据,实现存款、提款、转账等程序-ATMs simulation program, data file storage and achieve deposits, withdrawals, transfers and other procedures
- 2022-07-02 22:01:17下载
- 积分:1
-
算法的试验报告 包括斐波那契数列问题(内涵流程图等等)
算法的试验报告 包括斐波那契数列问题(内涵流程图等等)-Test report including algorithm Fibonacci sequence
- 2022-02-07 07:15:21下载
- 积分:1
-
学生系统delphi写的,能编译通过
学生系统delphi写的,能编译通过-System delphi students wrote to the compiler through
- 2022-08-21 07:44:24下载
- 积分:1
-
WebBrowser
WebBrowser
- 2022-05-18 01:36:48下载
- 积分:1
-
有关文件读取以及将所得数据整合再画出图形
有关文件读取以及将所得数据整合再画出图形-Read the relevant documents as well as the data integration re-drawn graphics
- 2022-03-15 01:51:19下载
- 积分:1