-
陈列馆问题:
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
-
Js控制图片的滑动移动动画
Js控制图片的滑动移动动画,在鼠标放在DIV上的时候,该DIV滑动展开,方向自定义,DIV中包括图片信息,演示中去掉了图片,不过已经实现了DIV 的滑动,只要在DIV中的对象都可以在JavaScript的作用下滑动展开。
- 2022-01-25 19:44:29下载
- 积分:1
-
ARM 指令集, 翻译:寒蝉退士,
译者声明:译者对文档的内容做了订正和改动,译者对文档不做任何形式的担保并且不承担任何责任,译者对文档不拥有任何权利并且不...
ARM 指令集, 翻译:寒蝉退士,
译者声明:译者对文档的内容做了订正和改动,译者对文档不做任何形式的担保并且不承担任何责任,译者对文档不拥有任何权利并且不负担任何义务。-ARM instruction set, translation: chilling back with disabilities, translator statement: translator for the content of the document and make the revised changes, the translator of the document to make any form of guarantee and does not assume any responsibility, the translator of the document does not possess any rights and do not bear any obligation.
- 2022-09-22 10:25:03下载
- 积分:1
-
相关器可以主要对不同的信号做相关检测,可以用于信号的提取,以及时间延迟的计算...
相关器可以主要对不同的信号做相关检测,可以用于信号的提取,以及时间延迟的计算-Correlator can be mainly related to do different signal detection, can be used for signal extraction, as well as the time delay calculation
- 2022-02-12 16:20:21下载
- 积分:1
-
学生毕业设计管理系统
这是一个C++实现的学生毕业设计管理系统,里面都是经过CodeBlock调试过的,绝对正确!
- 2022-01-22 14:50:09下载
- 积分:1
-
a very simple little game
一个十分简单的小游戏――剪刀、石头、布,供初学者参考-a very simple little game-- a pair of scissors, stone, cloth, for beginners reference
- 2022-01-26 05:07:13下载
- 积分:1
-
wbsdhb DHB经理经理经理经理经理wbsdhb wbsdhb wbsdhb wbsdhb m…
dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs -dhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbs
- 2022-07-01 01:32:10下载
- 积分:1
-
也是一个关于匹配方面的程序,希望能帮上新手的忙。
也是一个关于匹配方面的程序,希望能帮上新手的忙。-Is also an area on the matching procedure, hoping to help the novice a favor.
- 2022-03-20 22:26:29下载
- 积分:1
-
VB实现的排雷程序 ,大体功能同windows自带的游戏相同,推荐初学VB的朋友...
VB实现的排雷程序 ,大体功能同windows自带的游戏相同,推荐初学VB的朋友-VB mine procedure, generally with the functions of Microsoft"s Windows game the same and recommend that when a friend VB
- 2022-03-24 23:05:17下载
- 积分:1
-
优化系统工具,优化你的系统,使你的系统更加快捷,便利,是你用电脑的必备工具...
优化系统工具,优化你的系统,使你的系统更加快捷,便利,是你用电脑的必备工具-Optimization System Tools, and optimize your system, so that your system faster and more convenient, is your computer an indispensable tool for
- 2022-09-04 17:00:03下载
- 积分:1