文件名称:yuesifu

  • 所属分类:
  • 其他小程序
  • 资源属性:
  • [Text]
  • 上传时间:
  • 2013-06-26
  • 文件大小:
  • 1kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 顾*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

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

有N个旅客同乘一条船,因为严重超载,加上风高浪大,危险万分;因此船长告诉乘客,只有将全船一半的旅客投入海中,其余人才能幸免于难,无奈,大家只得同意这种办法,并议定N个人围成一圈,由第一个人数起,依次报数,数到第K人,便把他投入大海中,然后再从他的下一个人数起,数到第K人,再把他投入大海中,如此循环地进行,直到剩下N/2个乘客为止。问哪些位置是将被投入大海的位置?-There are N ride a boat with passengers because of severe overloading, coupled with high winds and big waves, extremely dangerous therefore captain told passengers, only half of the whole ship passengers into the sea, the other person can survive, but unfortunately, we had to agree with this approach, and agreed N individuals circle, starting from the first individual number, followed by the number reported, the number to the first K who put him into the sea, and then from his next number, the number of people to K , and then he put the sea, so the cycle manner, until the rest of N/2 passengers so far. Q. What position is the position to be put in the sea?
(系统自动生成,下载前可以参看下载内容)

下载文件列表





yuesifu.txt

相关说明

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

相关评论

暂无评论内容.

发表评论

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

源码中国 www.ymcn.org