-
试验内容: 跳水比赛中运动员每完成一个跳水动作,都有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
-
opengl入门的例子,希望对初学者有用
opengl入门的例子,希望对初学者有用-Examples of entry-opengl, I hope useful for beginners
- 2022-04-11 11:59:55下载
- 积分:1
-
复数计算器
可以进行复数+ ―×/求模运算功能的一个计算器。...
复数计算器
可以进行复数+ ―×/求模运算功能的一个计算器。-Calculator can be plural plural+- ×/seek mode operation of a calculator function.
- 2022-02-15 14:32:44下载
- 积分:1
-
很好的
很好的-good*****************************************
- 2022-01-25 18:11:04下载
- 积分:1
-
Global Chat Sample for Windows Sockets
Global Chat Sample for Windows Sockets
- 2022-09-04 12:35:03下载
- 积分:1
-
基于SQL数据库的学生管理系统的设计
本学生管理系统是用SQL数据库,通过SQL数据库建立学生信息库,在通过MFC做学生管理系统界面,通过MFC与SQL数据库进行连接,主要通过学生管理系统界面可以实现对学生管理系统SQL数据库的更新,完成对学生信息的删除,添加,更改等功能。
- 2022-01-27 08:44:57下载
- 积分:1
-
C language prepared by the serial communication program
C语言编写的串口通讯程序-C language prepared by the serial communication program
- 2022-06-16 04:18:04下载
- 积分:1
-
为了让用户方便地通过程序访问某个网站,需要采用具有超级链接功能的控件。本程序设计了一个具有超级链接功能的控件。...
为了让用户方便地通过程序访问某个网站,需要采用具有超级链接功能的控件。本程序设计了一个具有超级链接功能的控件。-In order to allow users to easily access through a Web site, require the use of hyperlinks with the control function. This procedure is designed with a hyperlink control function.
- 2022-12-24 15:10:03下载
- 积分:1
-
Книга по С++ ,C++ Biblioteka programmista
Книга по С++ ,C++ Biblioteka programmista
- 2023-05-20 20:05:03下载
- 积分:1
-
基于ssm 的java开发的一个小小的列表查询,用到bootStarp做前台框架
基于ssm 的java开发的一个小小的列表查询,用到bootStarp做前台框架
- 2022-03-26 05:34:33下载
- 积分:1