文件名称:team1-1

  • 所属分类:
  • 其它资源
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2017-10-14
  • 文件大小:
  • 846kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • xxl***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

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

教练员 A、B 和 C 将要从编号为1到n的队员中挑选自己的队员。为公平起见,每个教练都根据自己的喜好程度将队员排序;你负责根据以下规则为他们分配队员。

  你拿到的数据是 a、b、c 三个数组,表示三个教练对队员的喜好程度排序,每个数组都是数字 1 到 n 的一个排列,下标越小表示教练越喜欢该队员(例如教练 A 最喜欢编号为 a[0] 的队员,其次是编号为 a[1] 的队员)。你的分组规则是,从还未被分配的队员中找一个教练A最喜欢的队员分到 A 组;然后,在未分配的队员中分配教练B最喜欢的队员到 B 组;然后是教练 C;再是教练 A、B......依次类推直到所有队员分配完毕。

  现在队员 k 希望知道自己被分配给哪位教练,请你来告诉他。(Coaches A, B and C will choose their players from players numbered 1 to n. To be fair, each coach orders the players according to their preferences; you are responsible for assigning them to players according to the following rules.
You got the data is a, B, C three array, said preference three coaches of the team's ranking, each array is a permutation of the numbers from 1 to N, the smaller the subscr ipt said the coach more love the players (such as the love coach A a[0] number of players, followed by the number of a[1] player). You are from the grouping rules, has not yet been assigned players find a coach A's love team assigned to the A group; then, the distribution of B in the love coach unallocated team players to group B; then the coach is coach A C; then, B... In turn until all... The completion of the distribution of players.
Now the player, K, wants to know which coach he is assigned to, so please tell him.)
相关搜索: Visual
C++

(系统自动生成,下载前可以参看下载内容)

下载文件列表

team1-1

team1-1\Debug

team1-1\Debug\team1-1.exe

team1-1\Debug\team1-1.ilk

team1-1\Debug\team1-1.pdb

team1-1\ipch

team1-1\ipch\team1-1-5f2ef35d

team1-1\team1-1

team1-1\team1-1.sdf

team1-1\team1-1.sln

team1-1\team1-1.suo

team1-1\team1-1.v11.suo

team1-1\team1-1\Debug

team1-1\team1-1\Debug\CL.read.1.tlog

team1-1\team1-1\Debug\CL.write.1.tlog

team1-1\team1-1\Debug\link-cvtres.read.1.tlog

team1-1\team1-1\Debug\link-cvtres.write.1.tlog

team1-1\team1-1\Debug\link-rc.read.1.tlog

team1-1\team1-1\Debug\link-rc.write.1.tlog

team1-1\team1-1\Debug\link.19948-cvtres.read.1.tlog

team1-1\team1-1\Debug\link.19948-cvtres.write.1.tlog

team1-1\team1-1\Debug\link.19948-rc.read.1.tlog

team1-1\team1-1\Debug\link.19948-rc.write.1.tlog

team1-1\team1-1\Debug\link.19948.read.1.tlog

team1-1\team1-1\Debug\link.19948.write.1.tlog

team1-1\team1-1\Debug\link.22680-cvtres.read.1.tlog

team1-1\team1-1\Debug\link.22680-cvtres.write.1.tlog

team1-1\team1-1\Debug\link.22680-rc.read.1.tlog

team1-1\team1-1\Debug\link.22680-rc.write.1.tlog

team1-1\team1-1\Debug\link.22680.read.1.tlog

team1-1\team1-1\Debug\link.22680.write.1.tlog

team1-1\team1-1\Debug\link.22980-cvtres.read.1.tlog

team1-1\team1-1\Debug\link.22980-cvtres.write.1.tlog

team1-1\team1-1\Debug\link.22980-rc.read.1.tlog

team1-1\team1-1\Debug\link.22980-rc.write.1.tlog

team1-1\team1-1\Debug\link.22980.read.1.tlog

team1-1\team1-1\Debug\link.22980.write.1.tlog

team1-1\team1-1\Debug\link.read.1.tlog

team1-1\team1-1\Debug\link.write.1.tlog

team1-1\team1-1\Debug\main.obj

team1-1\team1-1\Debug\team1-1.lastbuildstate

team1-1\team1-1\Debug\team1-1.log

team1-1\team1-1\Debug\vc110.idb

team1-1\team1-1\Debug\vc110.pdb

team1-1\team1-1\main.cpp

team1-1\team1-1\team1-1.vcxproj

team1-1\team1-1\team1-1.vcxproj.filters

team1-1\team1-1\team1-1.vcxproj.user

相关说明

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

相关评论

暂无评论内容.

发表评论

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

源码中国 www.ymcn.org