-
- 2022-02-12 02:32:45下载
- 积分:1
-
陈列馆问题:
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
-
a JavaScript netnew written, the effect is to follow the mouse around the halo o...
一个用JavaScript写的网页特效,效果是跟随在鼠标周围的彩色的光环。把mousefollow.txt中的代码插入到和之间或插入到和之间就能看到效果。-a JavaScript netnew written, the effect is to follow the mouse around the halo of color. Mousefollow.txt put the code inserted into lt; Bodygt; And lt;/Bodygt; Or between inserted into lt; Headgt; And lt;/Headgt; Between you can see results.
- 2023-09-07 04:25:03下载
- 积分:1
-
sdl的image开发包,挺不错的
sdl的image开发包,挺不错的-sdl the image development kits, sounds very good
- 2022-01-26 16:26:31下载
- 积分:1
-
Delaunay算法实现时效性好的算法稳定的实现…
实现Delaunay算法的实现,时效性好,算法运行稳定,节省时间-Delaunay algorithm to achieve the realization of timeliness good algorithm stable operation, saving time
- 2023-03-02 21:20:04下载
- 积分:1
-
Get CPU usage source code, you can use this function to determine the current us...
获取CPU使用率的源代码,可以通过这个函数判断当前应用使用CPU情况-Get CPU usage source code, you can use this function to determine the current use of CPU of
- 2022-06-01 05:27:15下载
- 积分:1
-
LINGO下解线性方程组!
LINGO下解线性方程组!-LINGO lower solutions of linear equations!
- 2022-01-22 02:19:41下载
- 积分:1
-
Wireless sensor network
Wireless sensor network
- 2022-08-13 22:47:29下载
- 积分:1
-
Good genetic algorithm source code c++ language
很好的遗传算法源代码,基于c++语言开发,可以运行,-Good genetic algorithm source code c++ language-based development, can run,
- 2022-05-28 08:19:36下载
- 积分:1
-
实现对数据库添加,修改和删除
数据库为access数据库
实现对数据库添加,修改和删除
数据库为access数据库-of Database add, modify and delete database access database
- 2022-01-22 17:01:21下载
- 积分:1