-
试验内容: 跳水比赛中运动员每完成一个跳水动作,都有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
-
跳棋游戏VC源程序,有兴趣的朋友请多多指教,
跳棋游戏VC源程序,有兴趣的朋友请多多指教,-Jumping Chess VC Game Source Code. If you are interesting, please give me some suggestions, thanks!
- 2022-08-25 10:55:40下载
- 积分:1
-
简单人事管理系统
#include
#include
#include
#include
using namespace std;
const int Maxr=100;
int ID=10000;
class Employee //职工类
{
int tag;//删除标记
int no;//职工编号
char name[20];//职工姓名
char zw[20]; //职工职务
- 2022-03-24 22:13:18下载
- 积分:1
-
改进的 optim 代码
微分搜索算法是一种由 civicioglu 提出的新的进化搜索算法。它是比很多病提出了进化算法的更强大。
- 2022-08-22 02:33:50下载
- 积分:1
-
射频处理之 PC 仿真器, 可以在 PC 上仿真执行射频的解码过程, 并将解码结果通过串行口输出(115200bps). 另外, 该工具还有 Offline 及...
射频处理之 PC 仿真器, 可以在 PC 上仿真执行射频的解码过程, 并将解码结果通过串行口输出(115200bps). 另外, 该工具还有 Offline 及数据比较(解码前後)功能.-RF processing for PC emulator, the PC simulation of RF implementation decoding process, and will decode the results serial port output (115200bps). In addition, the tool also Offline and data comparisons (before and after decoding) function.
- 2023-04-09 22:20:46下载
- 积分:1
-
hey enjoy the photo album
hey enjoy the photo album
- 2022-02-19 23:43:40下载
- 积分:1
-
穿口调试程序,十分方便的进行计算机的穿口程序的调试
穿口调试程序,十分方便的进行计算机的穿口程序的调试 -I wear a debugger, which is very convenient to carry out the computer
- 2023-04-20 10:50:03下载
- 积分:1
-
OPC Delopment Tools
OPC Delopment Tools
- 2022-02-22 11:43:06下载
- 积分:1
-
VC++编写的一个画图小程序运行界面非常像WINDOWS自带的程序而且可以方便的继续扩充...
VC++编写的一个画图小程序运行界面非常像WINDOWS自带的程序而且可以方便的继续扩充-prepared in a small drawing running Windows interface much like its own procedures but would also facilitate the continued expansion
- 2022-01-26 04:00:13下载
- 积分:1
-
一个FFT的频谱分析的例子
一个FFT的频谱分析的例子-FFT spectrum analysis of an example
- 2022-07-18 17:58:24下载
- 积分:1