登录
首页 » Visual C++ » smarttoalive

smarttoalive

于 2009-02-21 发布 文件大小:9KB
0 381
下载积分: 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 个回复

  • Finger-Login
    Finger print login software
    2015-01-09 00:49:36下载
    积分:1
  • gm-862
    GM 862 gsm gprs modul visual basic project and aplication. Take photo from GM 862 modul and sample project.
    2014-01-18 16:27:00下载
    积分:1
  • main
    Threshold Adaptive Threshold
    2014-01-12 22:26:26下载
    积分:1
  • 002
    一个读取mdl模型的代码,有兴趣可以看一下(read mdl model)
    2010-10-01 03:51:59下载
    积分:1
  • 12452
    在vc控制台中运行,用遗传算法求解最短路径,用邻接矩阵表示路线图。(Vc console in the run, the shortest path with the genetic algorithm, said the road map with the adjacency matrix.)
    2011-05-08 09:16:11下载
    积分:1
  • HMMDemo
    HMM人脸识别在MATLAB平台下的源代码,能够实现准确的人脸识别(HMM recognition in MATLAB platform s source code, provides a range of programs)
    2015-01-08 11:41:42下载
    积分:1
  • Stepping01
    vb digital image processing, a total of eight chapters containing code
    2009-06-02 18:46:51下载
    积分:1
  • DEA的Matlab程序
    DEA的CCR模型程序及其对偶模型(包括松弛变量)的程序计算(CCR model program and its dual DEA model (including relaxation variables) program calculation)
    2021-02-08 13:49:54下载
    积分:1
  • hanmingma
    汉明码在matlab环境下的编码程序,经本人测试好用(Hamming code in matlab coding process environment, as I use to test)
    2009-06-10 16:33:30下载
    积分:1
  • Attachments_20131118
    OPTICAL COMMUNICATION OPTICAL COMMUNICATIONS
    2013-11-28 23:41:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载