文件名称:Gallery
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:395.15kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
陈列馆问题:
1.问题描述
世界名画陈列馆有m*n个陈列室组成。为了防止名画被盗,需要在陈列室设置警卫机器人哨位,每算法个警卫机器人除了监视它所在的陈列室之外,还可以监视与它所在的陈列室相邻的上,下,左,右4个陈列室。
2.要求
试要求,设计一个安排警卫机器人哨位的算法,使得名画陈列馆的每个陈列室都在警卫机器人监视之下,切所用的警卫机器人数目最少。
3.结果输出
将计算的警卫机器人数及其最佳哨位安排输出到文件output.txt。文件的第1行是警卫机器人数;接下来的m行中每行n个数,0表示无哨位,1表示哨位。-Gallery problem:
1. Problem Descr iption
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 arrange the output to the file output.txt. Document 1 of the line is the number of security robots the next m rows in each row number n, 0 means no sentinel, one that sentinel.
1.问题描述
世界名画陈列馆有m*n个陈列室组成。为了防止名画被盗,需要在陈列室设置警卫机器人哨位,每算法个警卫机器人除了监视它所在的陈列室之外,还可以监视与它所在的陈列室相邻的上,下,左,右4个陈列室。
2.要求
试要求,设计一个安排警卫机器人哨位的算法,使得名画陈列馆的每个陈列室都在警卫机器人监视之下,切所用的警卫机器人数目最少。
3.结果输出
将计算的警卫机器人数及其最佳哨位安排输出到文件output.txt。文件的第1行是警卫机器人数;接下来的m行中每行n个数,0表示无哨位,1表示哨位。-Gallery problem:
1. Problem Descr iption
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 arrange the output to the file output.txt. Document 1 of the line is the number of security robots the next m rows in each row number n, 0 means no sentinel, one that sentinel.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
陈列馆问题/Debug/Exhi_hall.exe
陈列馆问题/Debug/Exhi_hall.obj
陈列馆问题/Debug/Exhi_hall.pdb
陈列馆问题/Debug/vc60.pdb
陈列馆问题/Exhi_hall.cpp
陈列馆问题/Exhi_hall.dsp
陈列馆问题/Exhi_hall.dsw
陈列馆问题/Exhi_hall.ncb
陈列馆问题/Exhi_hall.opt
陈列馆问题/Exhi_hall.plg
陈列馆问题/input.txt
陈列馆问题/output.txt
陈列馆问题/readme.txt
陈列馆问题/testout.txt
陈列馆问题/Debug
陈列馆问题
陈列馆问题/Debug/Exhi_hall.obj
陈列馆问题/Debug/Exhi_hall.pdb
陈列馆问题/Debug/vc60.pdb
陈列馆问题/Exhi_hall.cpp
陈列馆问题/Exhi_hall.dsp
陈列馆问题/Exhi_hall.dsw
陈列馆问题/Exhi_hall.ncb
陈列馆问题/Exhi_hall.opt
陈列馆问题/Exhi_hall.plg
陈列馆问题/input.txt
陈列馆问题/output.txt
陈列馆问题/readme.txt
陈列馆问题/testout.txt
陈列馆问题/Debug
陈列馆问题
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.