-
将输入的数据n分为指定的k组,返回不同的分法种数length及分组明细数组a...
将输入的数据n分为指定的k组,返回不同的分法种数length及分组明细数组a-N will be data entered into the designated group of k, a different method to return the number of species and sub-length array of a detailed
- 2023-07-07 11:40:03下载
- 积分: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
-
an experimental Chapter VII (2) the certification Goldbach conjecture. TXT
第七章实验一(2)验证歌德巴赫猜想.TXT-an experimental Chapter VII (2) the certification Goldbach conjecture. TXT
- 2022-04-18 00:25:20下载
- 积分:1
-
内排序:插入、归并、基数、堆、快速排序vc6.0环境下通过编译...
内排序:插入、归并、基数、堆、快速排序vc6.0环境下通过编译-within Ordering : insert, merging, the base, sculpture, rapid sequencing vc6.0 environment through compiler
- 2023-01-07 04:45:04下载
- 积分:1
-
动态计算网络最长最短路线
动态计算网络最长最短路线-dynamic computing network longest shortest route
- 2022-01-24 18:53:49下载
- 积分:1
-
利用labview制作的一个可以设置桌面墙纸的子vi程序
利用labview制作的一个可以设置桌面墙纸的子vi程序-Labview produced using a desktop wallpaper can be set up procedures for the sub-vi
- 2022-03-05 03:23:51下载
- 积分:1
-
Basic Nibbles (NO MFC) good
Basic Nibbles (NO MFC) good
- 2022-01-25 21:34:40下载
- 积分:1
-
串口调试,绿色软件。不需要安装..易于使用调试器
串口调试,绿色软件。无须安装即可使用..
方便调试程序-Serial debugging, green software. Do not need to install .. easy to use debugger
- 2022-01-26 08:25:59下载
- 积分:1
-
扫雷模拟游戏,仿照扫雷游戏编写,是一款简单的游戏。
扫雷模拟游戏,仿照扫雷游戏编写,是一款简单的游戏。-mine simulation games, modeled on the mine-game preparation, is a simple game.
- 2022-03-14 14:06:13下载
- 积分:1
-
文本文件转换成PDF文件并加密
文本文件转换成PDF文件并加密-text files into PDF files and encryption
- 2023-01-20 01:20:03下载
- 积分:1