-
陈列馆问题:
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
-
这个开源的H323。
This the H323 open source.
- 2022-02-11 14:26:19下载
- 积分:1
-
Labwindows/CVI方面的例子程序实在太少了,放上一点给大家共享
Labwindows/CVI方面的例子程序实在太少了,放上一点给大家共享-Labwindows/CVI example of the procedure is too small, place in 1:00 to share! !
- 2022-03-24 09:36:44下载
- 积分:1
-
对于java传输的一个很好的框架,著名的辛蒂,支持asynchr…
一个不错的java传输框架,著名的cindy,支持异步网络传输,基于JDK1.5以上版本-A good framework for java transmission, the famous cindy, to support the asynchronous network transmission, based on the above JDK1.5
- 2022-03-01 12:48:40下载
- 积分:1
-
java写的弹球游戏
java写的弹球游戏-the pinball game
- 2023-03-14 04:00:04下载
- 积分:1
-
tester debug belongs to avi format
tester debug belongs to avi format
- 2022-08-02 22:05:31下载
- 积分:1
-
source insight的EM文件 可以扩展SI的宏功能
source insight的EM文件 可以扩展SI的宏功能-The EM file source insight can be extended macro function SI
- 2022-03-17 19:52:32下载
- 积分:1
-
组件的进展巴尔
像 ubunto barr 颜色司的变化与进步巴尔的酒吧在节点和多 mure,我发现这分组件时寻求其他人为我的项目。
- 2022-01-24 16:08:14下载
- 积分:1
-
一个关于识别的程序,我开始学习此算法时用到的程序,希望对你有帮助...
一个关于识别的程序,我开始学习此算法时用到的程序,希望对你有帮助-one on the identification process, I started learning algorithm is used when the procedure, and I hope to help you
- 2023-06-01 02:55:02下载
- 积分:1
-
KNN分类器
基于kNN算法的网页分类器,基于Visual c++6.0环境-kNN classifier
- 2022-02-05 19:28:05下载
- 积分:1