-
陈列馆问题:
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
-
声场防真文件代码
说明: 声场仿真,针对特定的探头进行声场的仿真,参数可自行更改。画出的图较为精确(sound field simulation)
- 2021-02-01 11:40:00下载
- 积分:1
-
psbdcmotor
他励直流电动机降压起动,里面有减压启动电机模型图以及参数设置(continuous current motor; direct-current motor
reduced voltage starting)
- 2018-06-02 11:07:06下载
- 积分:1
-
PVsystem_mppt_inverter
说明: 光伏并网时,采用MPPT实现,并通过SVPWM等完成并网控制。(When photovoltaic grid-connected, MPPT is used to realize the grid-connected control, and SVPWM is used to complete the grid-connected control.)
- 2019-01-11 09:37:21下载
- 积分:1
-
jquery-1.6.4
jQuery的1.6.4版本的js文件,非常方便,欢迎品尝(Document editor, can open various types of text files, very convenient. Strongly recommended)
- 2020-06-16 07:40:01下载
- 积分:1
-
VB文字游戏-爱的回忆录源代码
VB文字游戏-爱的回忆录源代码,游戏运行过程中,播放音乐wav,mid背景音乐。早期写的代码,变量命名不太规范,程序的实现代码也非常简单,制作:新林。游戏的目的是要你在三年的高校生活中追求你喜欢的邻居,当然,要有好的结局就必须提高你各方面的能力!
制作完成后,收到不少网友的来信给于我极大的支持和鼓励,并提出了许多宝贵意见和建议,在此感谢大家对我的肯定,由于"测试版"毕竟是我自学VB的"练笔"之作,的确存在不少问题,在采纳了大家的意见后我想把这部作品做的再成熟些,这是制作完成,做了重大改进,几乎废弃了80%源代码,不过即使这样实在还有不少不足之处,所以没敢称为"正式版",希望你在玩过之后仍能为我提出一些意见以便改进!谢谢!
- 2022-05-26 14:55:06下载
- 积分:1
-
一个小型的公司管理信息系统,包括基础信息管理系统,供销商管理系统,客户管理系统等等.可以查询需要的信息....
一个小型的公司管理信息系统,包括基础信息管理系统,供销商管理系统,客户管理系统等等.可以查询需要的信息.-a small corporate management information system, including infrastructure information management systems, the management and marketing systems, customer management systems. Inquiries may need information.
- 2022-04-20 04:50:50下载
- 积分:1
-
Maze Find a path through the maze to any space character in the perimeter of the...
走迷宫 Find a path through the maze to any space character in the perimeter of the maze. Paths through the maze are denoted by a space character and walls by any other non white-space character (apart from . characters). -Maze Find a path through the maze to any space character in the perimeter of the maze. Paths through the maze are denoted by a space character and walls by any other non white-space character (apart from. Characters).
- 2022-12-29 19:05:03下载
- 积分:1
-
STM8S_IR_Remote
Remote STM8S for SONY remote
- 2018-06-02 02:22:49下载
- 积分:1
-
中文版第15页第一段提到的接口例子程序
中文版第15页第一段提到的接口例子程序的学习代码(The learning code of the interface example program mentioned in the first paragraph of page 15 of the Chinese version)
- 2020-06-25 10:20:01下载
- 积分:1