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

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

于 2023-07-04 发布 文件大小:8.41 kB
0 178
下载积分: 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 个回复

  • 基于VC6.0串口调试助手
    基于VC++6.0的串口调试助手,适合菜鸟学习串口通信,或者上位机编程入门级资源!此串口调试助手,串口设置可以手工设置,数据显示格式有十进制和十六进制,当然还有正常显示的字符格式。发送格式,可以是字符发送方式,也可以选择十六进制发送方式。可以选择自动发送,发送周期可以手工设置。界面上还有显示发送和接收字符个数计数器。非常适合上位机入门学习参考!
    2022-10-06 07:20:03下载
    积分:1
  • 另上传的winSockTest.zip包含三个工程的完整代码,对初学者适用 ALLinOne提供通用用户配置接口 而工程winSockTestClient与wi...
    另上传的winSockTest.zip包含三个工程的完整代码,对初学者适用 ALLinOne提供通用用户配置接口 而工程winSockTestClient与winSocketServer配套-uploaded winSockTest.zip another three projects include the complete code for beginners applicable ALLinOne provide common user interface and configuration works with winSocketServer matching winSockTestClient
    2022-02-24 13:48:03下载
    积分:1
  • 工作需要搞得一个LIST项重定向小工具,偷懒专用
    工作需要搞得一个LIST项重定向小工具,偷懒专用-It is a trick way to obtain a simple tool for re-direction of list items.
    2022-08-07 20:57:21下载
    积分:1
  • 学生成绩查询系统源码 默认用户名、密码为:admin
    学生成绩查询系统源码 默认用户名、密码为:admin-pupils Inquiry System source default user name, password : admin
    2023-04-15 08:15:03下载
    积分:1
  • 提示输入行数、列数、列宽、行高、线型等参数,根据用户输入的上述参数在屏幕上显示对应的表格框线。...
    提示输入行数、列数、列宽、行高、线型等参数,根据用户输入的上述参数在屏幕上显示对应的表格框线。-Prompted to enter the number of rows, columns, column width, line height, line parameters, in accordance with the above-mentioned parameters entered by the user on the screen corresponds to the form border.
    2023-02-21 05:45:03下载
    积分:1
  • vc实现的windows平台下GE MMT列车监控协议
    vc实现的windows平台下GE MMT列车监控协议-vc realize the windows platform GE MMT Train Supervision agreement
    2023-04-09 03:05:04下载
    积分:1
  • 背单词,占用内存小,便捷,很容易上手,用户只需要先添加单词,然后进入背诵单词...
    背单词,占用内存小,便捷,很容易上手,用户只需要先添加单词,然后进入背诵单词-Back word memory small, convenient and very easy to use, users just have to add the word, and then enter the word recitation
    2023-06-10 04:45:03下载
    积分:1
  • bloksize.zip
    资源描述教你怎样可以让窗体的大小只保持在一定的范围内。
    2022-03-24 05:55:33下载
    积分:1
  • Loc1.0 the software version. Purpose : Major private document browser toolbar, p...
    本软件为Loc1.0版。 目的: 主要对私人文档的浏览工具,其私人文档只能用该软件才能正确浏览。 使用: 请将该软件的LocSee文件夹以及内部文件拷贝到A:磁盘根目录下, 切勿更改路径,否则后果自负。 软件使用前,请先运行LocReg.exe对程序进行注册。 MyDoc.exe为主程序,他可以将文本文件转化为Loc文档(即加密文档) 注册后,点击Loc文档将直接调入该程序。 作用: 如果将该程序拷贝到其他磁盘运行,该程序将不仅不能正常运行,而且 会自动销毁。同时会删除当前目录下的所有Loc文档。 本软件暂时免费,仅供学习讨论,若要更加完善,加强加密保护,请与本人 联系。 联系电话:0745-2383298 Email:langel197881@yahoo.com.cn 个人网站: langel.ruin.cn-Loc1.0 the software version. Purpose : Major private document browser toolbar, private documents can only use the software to ensure the proper browser. Use : Please software LocSee this folder and copy of the internal document A : disk root directory, the path not to change, otherwise bear the consequences themselves. The use of the software before running post LocReg.exe right registration procedures. MyDoc.exe mainly procedures, he can be transformed into text files for Loc documents (that is, encrypted files) After registration, click Loc document will be directly transferred to the program. Role : If this program copied to oth
    2022-01-25 17:27:55下载
    积分:1
  • 在 Python 中的 HTTP 服务器
    Web 服务器是处理请求的计算机系统通过 HTTP,基本的网络协议用于分发在万维网上的信息。这个词可以引用到整个系统,或专门软件,接受并监督 HTTP 请求。[] 1最常用的 web 服务器是主机的网站,但有其他用途,如游戏、 数据存储、 运行企业应用程序、 处理电子邮件、 FTP 或其他 web 使用。
    2022-03-25 01:39:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载