登录
首页 » Visual C++ » smarttoalive

smarttoalive

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

  • filtering
    matlab编写滤波的源代码,小弟花了几天时间编写的,希望对大家有所帮助(matlab source code for the preparation of filtering, younger brother spent a few days to prepare, and I hope all of you to help)
    2008-01-19 18:54:56下载
    积分:1
  • copulaparam
    COPULAPARAM Copula 参数估计,及Kendall秩相关系数(COPULAPARAM Copula parameter, given Kendall s rank correlation)
    2013-06-23 20:58:59下载
    积分:1
  • FuzzyPAdaptivePRobustPPIDPController
    适合用来学习模糊控制的源码。模糊自适应PID效果是非常不错。PID控制器,一种工业控制方式,比例积分微分控制规律(控制器数学模型G(S)=比例+微分+积分),经常用P表示比例,用I表示积分,用D表示微分。(Suitable for learning fuzzy control of the source. Fuzzy adaptive PID effect is very good. PID controller, an industrial control, PID control law (mathematical model of the controller G (S) = ratio of+ differential+ points), often expressed by P ratio, with the points I said, with the D that differential.)
    2011-04-26 11:29:16下载
    积分:1
  • DarkShells
    gho0st rat sm elta for test only
    2015-03-15 11:38:18下载
    积分:1
  • matirx-muliplication
    矩阵相乘,基于CUDA用并行算法实现矩阵的乘法(matrix muliplication with parallel algorithm implication matrix muliplication base on CUDA )
    2011-04-29 10:19:32下载
    积分:1
  • SglMFC
    绘图函数用mcc生成的代码嵌入VC工程实例,Win32 MFC版本(mapping function using mcc generated code embedded VC engineering example, Win32 version MFC)
    2005-08-09 18:43:02下载
    积分:1
  • 2D_Elastic
    地球物理反问题的反演的正则化方法及弹性波正则化的应用(inversion algorithms )
    2012-04-12 11:13:06下载
    积分:1
  • Do2
    窗口鼠标同步器源码。可以同步多个窗口的鼠标操作(Window mouse synchronization source. You can synchronize multiple windows mouse)
    2014-01-04 21:43:10下载
    积分:1
  • gmodify
    matlab 畸变校正。功能:对发生桶形畸变的数字图像进行校正(Function: Digital image of barrel distortion correction occurs)
    2013-12-30 15:45:32下载
    积分:1
  • j
    说明:  基于Labview与Matlab混合编程的应用研究实例(Examples of applied research based on Labview and Matlab)
    2013-03-27 18:58:51下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载