- Design.core.Java.DigitalSignature Java核心DigitalSignature设计代码Design of the core Java code DigitalSignature
- KillTheBad 一个简单的触屏游戏
- Ex1 SSD 10 EXERcise 1 answer
- HHT-CODE 画出每个IMF分量及最后一个剩余分量residual的图形 画出每个IMF分量及剩余分量residual的幅频曲线 用Hilbert变换直接求该信号的瞬时频率 计算HHT时频谱和边际谱
- experiment.tar 缓存区溢出攻击实验
- 5 多模块程序设计及多语言混合编程
文件名称:chenlieguan
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:864.71kb
-
已下载:2次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
世界名画陈列馆由nm × 个排列成矩形阵列的陈列室组成。为了防止名画被盗, 需要在陈列室中设置警卫机器人哨位。每个警卫机器人除了监视它所在的陈列室外,还可以监视与它所在的陈列室相邻的上、下、左、右4 个陈列室。试设计一个安排警卫机器人哨位的算法,使得名画陈列馆中每一个陈列室都在警卫机器人的监视之下,且所用的警卫机器人数最少。
算法设计:
设计一个优先队列式分支限界法,计算警卫机器人的最佳哨位安排,使得名画陈列馆中每一个陈列室都在警卫机器人的监视之下,且所用的警卫机器人数最少。
数据输入:
第一行有2 个正整数m和n (1≤m,n≤20)。
结果输出:
第一行是警卫机器人数;接下来的m行中每行n个数,0 表示无哨位,1 表示哨位。
例如:输入
4 4
输出
4
0 0 1 0
1 0 0 0
0 0 0 1
0 1-Famous paintings gallery arranged by the nm × a rectangular array of showroom component. In order to prevent the paintings stolen, you need to set the security robot sentinel showroom. Each robot in addition to monitoring its security in the showroom, but also can monitor it in the showroom and the adjacent, down, left and right four showrooms. Try to design a robot sentinel security arrangements for the algorithm, makes the paintings galleries in every showroom are under surveillance by security robots, and robots used in the least number of guards.
Algorithm Design:
Design a priority queue-type branch and bound method to calculate the best robot sentinel security arrangements, making paintings in each gallery showroom are under surveillance by security robots, and robots used in the least number of guards.
Data entry:
The first line has two positive integers m and n (1 ≤ m, n ≤ 20).
The resulting output:
The first line is the number of security robots the next m rows in
算法设计:
设计一个优先队列式分支限界法,计算警卫机器人的最佳哨位安排,使得名画陈列馆中每一个陈列室都在警卫机器人的监视之下,且所用的警卫机器人数最少。
数据输入:
第一行有2 个正整数m和n (1≤m,n≤20)。
结果输出:
第一行是警卫机器人数;接下来的m行中每行n个数,0 表示无哨位,1 表示哨位。
例如:输入
4 4
输出
4
0 0 1 0
1 0 0 0
0 0 0 1
0 1-Famous paintings gallery arranged by the nm × a rectangular array of showroom component. In order to prevent the paintings stolen, you need to set the security robot sentinel showroom. Each robot in addition to monitoring its security in the showroom, but also can monitor it in the showroom and the adjacent, down, left and right four showrooms. Try to design a robot sentinel security arrangements for the algorithm, makes the paintings galleries in every showroom are under surveillance by security robots, and robots used in the least number of guards.
Algorithm Design:
Design a priority queue-type branch and bound method to calculate the best robot sentinel security arrangements, making paintings in each gallery showroom are under surveillance by security robots, and robots used in the least number of guards.
Data entry:
The first line has two positive integers m and n (1 ≤ m, n ≤ 20).
The resulting output:
The first line is the number of security robots the next m rows in
(系统自动生成,下载前可以参看下载内容)
下载文件列表
chenlieguan/chenlieguan.cpp
chenlieguan/chenlieguan.dsp
chenlieguan/chenlieguan.dsw
chenlieguan/chenlieguan.ncb
chenlieguan/chenlieguan.opt
chenlieguan/chenlieguan.plg
chenlieguan/Debug/chenlieguan.exe
chenlieguan/Debug/chenlieguan.ilk
chenlieguan/Debug/chenlieguan.obj
chenlieguan/Debug/chenlieguan.pch
chenlieguan/Debug/chenlieguan.pdb
chenlieguan/Debug/vc60.idb
chenlieguan/Debug/vc60.pdb
chenlieguan/Debug
chenlieguan
chenlieguan/chenlieguan.dsp
chenlieguan/chenlieguan.dsw
chenlieguan/chenlieguan.ncb
chenlieguan/chenlieguan.opt
chenlieguan/chenlieguan.plg
chenlieguan/Debug/chenlieguan.exe
chenlieguan/Debug/chenlieguan.ilk
chenlieguan/Debug/chenlieguan.obj
chenlieguan/Debug/chenlieguan.pch
chenlieguan/Debug/chenlieguan.pdb
chenlieguan/Debug/vc60.idb
chenlieguan/Debug/vc60.pdb
chenlieguan/Debug
chenlieguan
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.