文件名称:GSing

  • 所属分类:
  • STL
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2015-06-16
  • 文件大小:
  • 7kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • j**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

某学校举行一场唱歌比赛,共有24个人参加,按参加顺序设置参赛号(参赛号为100至123)。每个选手唱完一首歌之后,由10个评委分别打分。该选手的最终得分是去掉一个最高分和一个最低分,求得剩下的8个评分的平均分。



比赛共三轮,前两轮为淘汰赛,第三轮为决赛。选手的名次按得分降序排列,若得分一样,按参赛号升序排名。

第一轮分为4个小组,根据参赛号顺序依次划分,比如100-105为一组,106-111为第二组,依次类推,每组6个人,每人分别按参赛号顺序演唱。当小组演唱完后,淘汰组内排名最后的三个选手,然后继续下一个小组的比赛。



第二轮分为2个小组,每组6人,每个人分别按参赛号顺序演唱。当小组演唱完后,淘汰组内排名最后的三个选手,然后继续下一个小组的比赛。



第三轮只剩下6个人,本轮为决赛,不淘汰选手,本轮目的是赛出每个人的名次。该6人按参赛号顺序分别演唱。



请用STL解答以下问题:

请打印出所有选手的名字与参赛号,并以参赛号的升序排列。

请打印出第1轮和第2轮淘汰赛中,各小组选手的名字与选手得分,并以名次的顺序排列

请打印出第1轮淘汰赛中被淘汰的歌手的名字(不要求打印顺序)。

请打印出第2轮淘汰赛中被淘汰的歌手的分数,并以名次的降序排列

-A school held a singing contest, a total of 24 people participated, according to participate in order to set entry number (entry number is 100-123). After each player through a song by the 10 judges scoring, respectively. The final score of the player is to remove one of the highest points and a minimum score, and seek the remaining eight scoring average. A total of three matches, the first two rounds of the playoffs, the third round of the finals. Players ranking by score in descending order, if the same score, ranked in ascending order by entry number. The first round is divided into four groups, in turn divided according to the order of entry number, such as a group of 100-105, 106-111 for the second group, and so on, each with 6 individuals, respectively per person singing competition number order. When the group finished singing, eliminated in the group ranked last of the three players, then continue to the next group match. The second round is divided into two groups, each group
(系统自动生成,下载前可以参看下载内容)

下载文件列表





GSing\deployment.pri

.....\GSing.pro

.....\GSing.pro.user

.....\GSingerCompetition.cpp

.....\GSingerCompetition.h

.....\main.cpp

GSing

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org