题目:设有n个传教士和m个野人来到河边,打算乘一只船从右岸到左岸去。该船的负载能力为两人。在任何时候,如果野人人数超过传教士人数,野人就会把传教士吃掉。他们怎样才能用这条船安全的把所有人都渡过河去? 输入m,n的数值,程序将返回操作过程
标签:
上传时间: 2014-01-12
上传用户:恋天使569
计算无限大平板波导的截止频率的matlab源代码。具体geometry信息可以查看m源文件内的说明。
上传时间: 2013-12-09
上传用户:cursor
M file for Inverted pendulum
标签: Inverted pendulum file for
上传时间: 2016-02-23
上传用户:xiaoxiang
M file for Inverted pendulum. 忘添加两个文件.补上去.
标签: Inverted pendulum file for
上传时间: 2013-12-12
上传用户:Zxcvbnm
I wrote this code early this year using ColdFire MCF5213 in codewarrior IDE. The LCD is STN B/W 320x240 dot matrix LCD. The code include 3 different fonts, and basic LCD driver. All original!
标签: this codewarrior ColdFire wrote
上传时间: 2013-12-20
上传用户:皇族传媒
数据结构B树中的增加,插入,删除,修改等具体操作
上传时间: 2013-12-13
上传用户:tedo811
1) A道和B道上均有车辆要求通过时,A、B道轮流放行。A道放行5分钟(调试时改为5秒钟),B道放行4分钟(调试时改为4秒钟)。 2) 一道有车而另一道无车(实验时用开关K0和K1控制),交通灯控制系统能立即让有车道放行。 3) 有紧急车辆要求通过时,系统要能禁止普通车辆通行,A、B道均为红灯,紧急车由K2开关模拟。 4) 绿灯转换为红灯时黄灯亮1秒钟。
标签:
上传时间: 2013-12-19
上传用户:daguda
医院医德医风管理系统 B/S架构,采用ASP.NET+AJAX
上传时间: 2013-12-06
上传用户:manlian
1. Matrix-chain product. The following are some instances a) <3, 5, 2, 1,10> b) <2, 7, 3, 6, 10> c) <10, 3, 15, 12, 7, 2> d) <7, 2, 4, 15, 20, 5>
标签: Matrix-chain following instances product
上传时间: 2014-11-28
上传用户:731140412
这是我心仪已久的一本书 顶级大师Stanley B Lippman J o s é e L a j o i e合著的
上传时间: 2014-01-01
上传用户:nanfeicui