-
陈列馆问题:
1.问题描述
世界名画陈列馆有m*n个陈列室组成。为了防止名画被盗,需要在陈列室设置警卫机器人哨位,每算法个警卫机器人除了监视它所在的陈列...
陈列馆问题:
1.问题描述
世界名画陈列馆有m*n个陈列室组成。为了防止名画被盗,需要在陈列室设置警卫机器人哨位,每算法个警卫机器人除了监视它所在的陈列室之外,还可以监视与它所在的陈列室相邻的上,下,左,右4个陈列室。
2.要求
试要求,设计一个安排警卫机器人哨位的算法,使得名画陈列馆的每个陈列室都在警卫机器人监视之下,切所用的警卫机器人数目最少。
3.结果输出
将计算的警卫机器人数及其最佳哨位安排输出到文件output.txt。文件的第1行是警卫机器人数;接下来的m行中每行n个数,0表示无哨位,1表示哨位。-Gallery problem:
1. Problem Description
Painting gallery in the world there are m* n composed of a showroom. In order to prevent the paintings stolen, you need to set the security robot sentinel showroom, each algorithm is a security robot in addition to monitor it in the showroom, you can also watch it in the showroom with the adjacent upper and lower, left, Right 4 showrooms.
2. Demand
Test requirements, design an arrangement guard robot sentinel algorithm, making paintings in each gallery showroom are under the surveillance of the security robot, cutting the number of robots used by security guards at least.
3. The resulting output
Will calculate the number of security robots and the best sentinel ar
- 2022-06-27 18:30:39下载
- 积分:1
-
地震速度分析及动有限仿真速度分析程序
matlab速度分析程序,用于地震勘探速度分析及动校正(NMO)。-Matlab velocity analysis procedures for seismic velocity analysis and dynamic correction (NMO).
- 2023-08-01 06:20:02下载
- 积分:1
-
里面大多是C语言的经典算法,适合初学者学习,研究,算是入门吧...
里面大多是C语言的经典算法,适合初学者学习,研究,算是入门吧-Inside most of the classic C language algorithms, suitable for beginners to learn, research, and be regarded as entry-bar
- 2023-01-20 08:50:04下载
- 积分:1
-
拼图游戏毕业设计毕业论文 利用flash mx
对毕业生起参考作用...
拼图游戏毕业设计毕业论文 利用flash mx
对毕业生起参考作用-Jigsaw puzzle design graduate thesis on the use of flash mx reference to the role of graduates from
- 2022-01-25 23:56:22下载
- 积分:1
-
memory management, mitigation, use vc6 compile.
内存管理, 减少碎片, 使用vc6编译通过.-memory management, mitigation, use vc6 compile.
- 2022-03-02 04:39:25下载
- 积分:1
-
Rubik's cube, able to single and multiplayer mode, but there are flaws, we h...
俄罗斯方块,能实现单人和多人的模式,但还有个漏洞,希望大家指出-Rubik"s cube, able to single and multiplayer mode, but there are flaws, we hope that
- 2022-10-15 22:55:03下载
- 积分:1
-
Java结合JSP的论坛系统!
Java结合JSP的论坛系统!-forum system.
- 2022-02-16 09:14:34下载
- 积分:1
-
用VC++写的一个天上掉钱,接住加分的小游戏钱的速度与大小有关。...
用VC++写的一个天上掉钱,接住加分的小游戏钱的速度与大小有关。-VC write a sky swap money to receive extra money to the small games of the speed and size.
- 2022-06-02 21:52:13下载
- 积分:1
-
是c++语言所写,能解简单的方程组,只是一个例子
是c++语言所写,能解简单的方程组,只是一个例子-Is c++ Language, to obtain the simple equations, is just one example
- 2022-07-07 17:35:39下载
- 积分:1
-
SIMULINK 入门教程,详细讲解了SIMULINK的具体操作,参数设置,并附有练习习题....
SIMULINK 入门教程,详细讲解了SIMULINK的具体操作,参数设置,并附有练习习题.-SIMULINK Tutorial, SIMULINK detailed account of the specific operation, parameter setting, together with practice exercises.
- 2022-08-09 13:39:42下载
- 积分:1