登录
首页 » Visual C++ » smarttoalive

smarttoalive

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

  • fgf
    学习的一个产物,供大家作为实验的参考,不好的地方见谅(A product of learning for us as a reference experiment, where poor excuse me)
    2010-05-12 10:43:30下载
    积分:1
  • EITHT
    mATLAB教程第六章案例,时间变动序列(mATLAB Tutorial Chapter VI case, the time sequence changes)
    2013-07-20 10:01:58下载
    积分:1
  • matlabtools
    介绍了MATLAB工具中的数学工具,是你用MABLAB开发时必不可少的参考书籍啊。(MATLAB tools introduced in the mathematical tools, is when you develop MABLAB indispensable reference books ah.)
    2007-11-12 22:21:01下载
    积分:1
  • ch05
    matlab学习资料 matlab自学资料 matlab
    2010-05-14 20:42:30下载
    积分:1
  • CART
    matlab中cart决策树源代码,用于数据的分类和预测。(source code in matlab cart decision tree for data classification and prediction.)
    2013-10-28 15:08:58下载
    积分:1
  • GUI_35
    matlab初学者资料 里面有M程序的详细文件 还有编程 直接运行即可(Matlab beginners material inside have M program detailed document and programming can be run directly )
    2012-03-30 11:22:52下载
    积分:1
  • PQ-daima
    包含一份程序代码、一幅运行结果图和一篇说明文档。用于电力系统稳态分析的程序,是PQ法潮流计算的典型应用,针对四机十一节点的电力系统,经仿真测试通过,有较强的参考价值。 (It contains a copy of the program code, the results of a run and a diagram documentation. A program for steady-state analysis of the power system, a typical application PQ load flow calculation method for the four planes eleven nodes power system, the simulation test is passed, there is a strong reference value.)
    2016-11-02 20:47:37下载
    积分:1
  • IEEE13MATLAB
    IEEE13节点潮流计算程序,采用了MATLAB软件进行编程,利用前退回代法进行配电网的潮流计算(IEEE13 node flow calculation program, using MATLAB software programming, before use of return on behalf of the French distribution network power flow calculation)
    2020-11-25 09:09:39下载
    积分:1
  • VCPmatlab
    本文详细介绍了如何实现VC与Matlab的混合编程,对于进行复杂的运算有很好的用处(This paper describes how the VC and Matlab programming mix, for complex calculations to good use)
    2013-09-07 11:32:39下载
    积分:1
  • Ecodynamica
    说明:  什么是Ecodynamica? Ecodynamica是普通的工具和二维元胞自动机1(CAs)。(What is Ecodynamica? Ecodynamica ordinary tools and two-dimensional cellular automata 1 (CAs).)
    2011-03-22 21:34:09下载
    积分:1
  • 696516资源总数
  • 106605会员总数
  • 12今日下载