登录
首页 » Visual C++ » smarttoalive

smarttoalive

于 2009-02-21 发布 文件大小:9KB
0 282
下载积分: 1 下载次数: 2

代码说明:

  15名基督教徒和15名异教徒同乘一船航行,途中风浪大作,危机万分,领航者告诉大家,只要将全船的一半人投入海中,其余人就能幸免。大家都同意这个办法,并协定者30人围成一圈;由第一个人起报数,每数至第9人便把他投入海中,下一个接着从1开始报数,第9人又被投入海中,依次循环,直至剩下15人为止。问题是如何排法使投入海中的人全为异教徒?(15 Christians and pagans 15 vessels with one by the way, big waves, extreme crisis, leader told everyone that as long as will be half the person boat into the sea, and the remaining person will be able to escape. We all agree that this approach, and agreements were 30 form a circle from the first reported from a few individuals, the number to 9 for each person put him into the sea, then from the next one to start off, 9 people have been invested in the sea, followed by cycle, until the remaining 15 people so far. The question is how to row Act so that the person into the sea all infidels?)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • VC6.0-MATLAB-COM-
    VC6.0通过matcom调用m文件的文章(VC6.0 m file by calling the article matcom)
    2011-05-12 16:32:19下载
    积分:1
  • FilesDragDrop_demo
    FilesDragDrop application
    2005-02-08 09:45:50下载
    积分:1
  • 1
    说明:  俄 罗 斯 方 块 小 程 序(Tetris Applet)
    2009-12-22 11:30:52下载
    积分:1
  • matlabandvc
    VC++与Matlab混合编程的快速实现。快速实现vc++与matlab的接口通信。(VC++ and Matlab Fast Implementation of mixed programming. Fast Implementation of vc++ and matlab interface communication.)
    2010-10-30 09:34:08下载
    积分:1
  • tracking
    目标追踪小程序!是入门级的基础基础小程序。。。非常简单,适合刚刚接触的新手或学生。(the source code of tracking)
    2012-05-30 14:54:59下载
    积分:1
  • vcmatlab
    VC与MatlabSimulink混合编程的实现与研究(VC and MatlabSimulink HYBRID PROGRAMMING AND RESEARCH)
    2010-10-10 10:38:36下载
    积分:1
  • TLBGmatlaabh
    毕业设计做的...用LBG算法实现矢量量化的算法法..matlab ,经测试可直接使用。 (Graduation design ... vector quantization algorithm method using the LBG algorithm .. Matlab, has been tested and can be used directly.)
    2012-07-18 11:29:00下载
    积分:1
  • Matlab2014
    关于matlab的矩阵数据结构部分,可以更深入掌握,和符号计算相衔接(About matlab matrix data structure part, you can have a better understanding, and symbolic computation convergence)
    2014-11-09 16:35:04下载
    积分:1
  • dui
    说明:  队列的新的操作,用个数number和队尾指针rear来判队空队满(Queue new operation, number and team with the number of rear end of pointers to sub-team full of air force)
    2010-04-27 18:42:35下载
    积分:1
  • matlab
    说明:  matlab课件及程序例讲解以及matlab算法实例文件(PDF)格式(courseware and procedures matlab matlab algorithm cases and practical examples to explain (PDF) format)
    2011-03-24 21:46:33下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载