-
陈列馆问题:
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
-
用ASM写的日历程序,代码超短,可能是世界上最精简的日历程序了。...
用ASM写的日历程序,代码超短,可能是世界上最精简的日历程序了。-written procedures for the calendar, ultrashort code, may be the world"s most streamlined procedures for the calendar.
- 2022-02-26 14:32:50下载
- 积分:1
-
这是我做的用msp430做定时数据采集,我对做这方面的有帮助!...
这是我做的用msp430做定时数据采集,我对做这方面的有帮助!-This is what I used to do the MSP430 to do from time to time data acquisition, I have to do to help in this regard!
- 2022-03-11 17:27:33下载
- 积分:1
-
GPS数据采集程序,涉及仪器接口操作,以及数据处理与解析,多线程,是个比较完善的例子...
GPS数据采集程序,涉及仪器接口操作,以及数据处理与解析,多线程,是个比较完善的例子 -GPS data collection procedures, involving operation of equipment interfaces, as well as data processing and analysis, multi-threaded, it is a relatively perfect example
- 2022-01-24 17:00:04下载
- 积分:1
-
直接带入数据..可以求解理论总塔板数以及提馏和精馏段塔板数...
直接带入数据..可以求解理论总塔板数以及提馏和精馏段塔板数-directly into the data can be solved .. Theory total plate number and stripper and distillation of the plate numbers
- 2022-07-13 22:12:30下载
- 积分:1
-
将电脑上的屏幕信息保存于磁盘的C语言源程序代码
将电脑上的屏幕信息保存于磁盘的C语言源程序代码-will screen on the computer disk information stored at the C language source code
- 2023-07-03 02:55:03下载
- 积分:1
-
with vc and mixed into Matlab example, in other circumstances combined organizat...
这是一个用vc和matlab混合变成的例子,在两者环境下结合编成是很好的思路,有很大的应用前景,希望对大家有所帮助-with vc and mixed into Matlab example, in other circumstances combined organization is a good idea, a great prospect, we hope to help
- 2023-08-31 20:50:03下载
- 积分:1
-
PDIUSBD12
PDIUSBD12 -pdf-datasheet.rar 使用LPC2XXX系列开发板-PDIUSBD12- pdf- datasheet.rar use LPC2XXX Series development board
- 2022-01-24 14:54:17下载
- 积分:1
-
AirGourmet:空中美食管理系统。国外一个学习软件工程的经典例子。...
AirGourmet:空中美食管理系统。国外一个学习软件工程的经典例子。-AirGourmet : air food management system. A foreign software engineering study of the classic examples.
- 2022-03-23 00:01:05下载
- 积分:1
-
一个复数运算的类
一个复数运算的类-a complex computing category
- 2022-03-24 00:24:23下载
- 积分:1