-
陈列馆问题:
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
-
S3C44B0X 具有 8 路模拟信号输入的 10 位模/数转换器(ADC),它是一个逐次逼近型
的 ADC,内部结构中包括模拟输入多路复用器,自动调零比较...
S3C44B0X 具有 8 路模拟信号输入的 10 位模/数转换器(ADC),它是一个逐次逼近型
的 ADC,内部结构中包括模拟输入多路复用器,自动调零比较器,时钟产生器,10 位逐次
逼近寄存器(SAR),输出寄存器如下图所示。这个 ADC 还提供可编程选择的睡眠模式,
以节省功耗。
-S3C44B0X with eight analog signal input to the 10 analog/digital converter (ADC), It is a successive approximation type ADC, the internal structure includes analog input multiplexers, Automatic Zero comparators, Clock Generator, 10 successive approximation register (SAR), the output register as shown in the diagram below. ADC also provided the option of programmable sleep mode to save power consumption.
- 2022-06-30 08:59:07下载
- 积分:1
-
地图 服务 人物
开启程式补充
纯属开启
地图 服务 人物
开启程式补充
纯属开启-Map Service figures to open the program to add a purely open
- 2022-04-19 03:10:12下载
- 积分:1
-
软件简介:新专辑的单
软件介绍:新天堂单用户相册之巴巴变 v1.0 Alpha新巴变相册系统是一套使用PERL写的单用户相册,使用了稀饭相册系统的模板,有良好的显示效果。它基于巴巴变开放的API接口,所有的图片和数据都存放在巴巴变的服务器上,因而对于你的服务器而言不需要什么的存储空间,也不需要有大的带宽,最大限度的降低了安装和运行成本。免去了换空间时的数据转存的问题,你要做的就是把文件从这台服务器拷贝到另一台服务器,而这一切不过分分钟就解决。-Software Description: The new album of the single-user heaven Bababian v1.0 Alpha Bus Change album System is a single-user to use PERL to write albums, using the template system, rice porridge album, there is a good display. It is based on an open API interface Baba change all the pictures and data are stored in the Baba changing servers, so no need for you in terms of what the server storage space and does not require large bandwidth, the maximum reduced installation and operation costs. Eliminates the need for space maintained by the data transfer problem, you have to do is to copy the file from server to another server, and all this, but for every minute to resolve.
- 2022-11-11 15:55:03下载
- 积分:1
-
模糊控制的隶属度值的计算
Membership Value calculateion for Fuzzy Control
- 2022-01-24 17:27:54下载
- 积分:1
-
网络五子棋 有客户端和终端2个部分 用TCP包
网络五子棋 有客户端和终端2个部分 用TCP包 -Gobang network client and the terminal has two parts using TCP packets
- 2022-03-14 01:40:22下载
- 积分:1
-
它是哈希的实现。
it is c implementation of Hashing ..
all types of hashing covered in this program -it is c implementation of Hashing ..
all types of hashing covered in this program
- 2022-08-20 04:35:06下载
- 积分:1
-
各种控件功能使用VC,包含所有控件的用途,实例
各种控件功能使用VC,包含所有控件的用途,实例-Various control functions of the use of VC, contains all control purposes, examples
- 2022-04-25 12:08:28下载
- 积分:1
-
小小的软件代码
小小的软件代码-small software code
- 2023-01-05 14:05:03下载
- 积分:1
-
program for 24c02 EEPROM programing
program for 24c02 EEPROM programing
- 2022-06-30 08:31:42下载
- 积分:1