-
陈列馆问题:
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
-
EasyPBC V.1.1
该程序是学者编写的一个插件,直接将该插件放在临时文件中即可使用,针对简单单胞施加周期性边界。(The program is a plug-in written by foreign scholars, which can be used directly in temporary files and impose periodic boundaries on simple cells.)
- 2021-04-06 08:19:02下载
- 积分:1
-
3DTetris_Java
用java开发的3D俄罗斯方块。用到些 openGL的东西。还有个版本是基于C++开发的。请在站内搜索(3D Tetris
)
- 2012-02-19 20:54:27下载
- 积分:1
-
tuopanqipaotishi
一个托盘气泡提示的软件很好用的哦,编程环境在vb6.0上可以使用(The software prompts a good tray with bubble Oh, programming environment can be used in vb6.0)
- 2010-11-26 14:50:50下载
- 积分:1
-
cj
说明: 学生成绩管理
可以对输入各科成绩分数(Student performance management can enter various accomplishments Score)
- 2008-05-17 22:36:53下载
- 积分:1
-
天线方向图
1. 运用MATLAB仿真阵列天线的方向图曲线
2. 变换各参量观察曲线变化并分析参量间的关系(1. using MATLAB to simulate the pattern curve of array antenna The parameters of the 2. transformation are observed and the relationship between the parameters is analyzed)
- 2021-04-05 16:19:03下载
- 积分:1
-
28335ModbusSlave-master
说明: 28335 MODBUS RTU SLAVE(28335 MODBUS RTU SLAV)
- 2020-09-21 09:53:59下载
- 积分:1
-
基于C的图片几何变换程序
图片几何变换,基于C语言实现,打开一幅位图,实现几何变换,包括X/Y坐标裁切、裁切、透明化、旋转、放大等。命令行编译过程如下:
vcvars32
rc bmp.rc
cl geotrans.c bmp.res user32.lib gdi32.lib
注意事项:
运行时,文件c: est.bmp必须存在
- 2022-02-02 21:28:01下载
- 积分:1
-
工厂方法-计算器
prototype design pattern implmentation
- 2020-06-24 19:40:01下载
- 积分:1
-
tom_love
说明: djidjdjdndndndndndjdkdkzkzhshshshshssvdvdbxbxnxjddjjj
- 2020-05-17 10:23:45下载
- 积分:1