-
序列表图片拼接
说明: 将制定路径下的所有图片按照制定行,制定列拼接成序列表。(All the pictures under the established path are spliced into sequence tables according to the established rows.)
- 2020-06-19 04:00:01下载
- 积分:1
-
作业
本题编写程序模拟人进行连连看游戏,电脑模拟人玩连连看的过程如下:
1、分析本局游戏,将本局游戏转化成一个二位数组。0表示空白区域,数字表示该游戏牌为出现在游戏中的第几类游戏牌。
2、利用广度优先搜索算法,判断两个游戏牌是否可以消除。
3、程序模拟人点击可以消除的一对游戏牌进行消除。
对某局游戏转化成二维数组如下:
0 0 0 0 0
0 1 2 0 0
0 0 3 4 0
0 0 0 1 0
输入二位数组的行、列,二位数组、起始元素的的坐标、终止元素的坐标,判断起始游戏牌和终止游戏牌是否可以消除。
对上例输入
4 5
0 0 0 0 0 0 1 2 0 0 0 0 3 4 0 0 0 0 1 0
1 1
3 3
输出 TRUE(The writing program simulates the game, and the computer simulates the process of watching the game as follows:
1. Analyze the game and convert the game into a two - bit array. 0 is the blank area, the number indicates that the game card is the number of game cards that appear in the game.
2. Use the breadth first search algorithm to judge whether the two game cards can be eliminated.
3, the program simulates a pair of game cards that can be eliminated by clicking.
A game of a game is transformed into a two-dimensional array as follows:
00000
01200
00340
00010
Input the row and column of the two bit array, the coordinates of two bit array, the initial element, and the coordinates of the termination elements, so as to determine whether the initial game card and the ending game card can be eliminated.
For example input
45
0000001200 0034000010
11
33
Output TRUE)
- 2017-12-17 16:01:15下载
- 积分:1
-
sw9
Ensambla las piezas que elaboras, y dale animacion
- 2012-05-25 08:42:12下载
- 积分:1
-
j2me写的炸弹人源码,很小以前在FC机子上玩的炸弹人,就是那个炸兔子的。...
j2me写的炸弹人源码,很小以前在FC机子上玩的炸弹人,就是那个炸兔子的。-The bombs were to write j2me source code, a small machine on the previous play FC bomb people is that deep-fried rabbit.
- 2022-08-18 20:32:10下载
- 积分:1
-
DAC0832
说明: 能够调节频率,并且能够产生四种波形的AD(Able to adjust the frequency and waveform to produce four AD)
- 2009-08-21 13:21:49下载
- 积分:1
-
Delphi卡片速查填涂程序源码
一个由Delphi编写的卡片速查填涂程序源码,使用方法:
(1)输入姓名和单位,点击查询即可在姓名及单位下方出现相应汉字代码。
(2)需要批量查询时,可先重复步骤(1),然后点击“保存”按钮,将查询代码存到save.txt文件打印后,批量对照填涂以提高工作效率。
- 2022-11-11 14:15:02下载
- 积分:1
-
profibus
Profibus DP software slave for MSP430F2252. Tested on Siemens S7 with 19200 and 93750 kbit
- 2021-05-14 00:30:02下载
- 积分:1
-
dyoon
simple personal money accounting arabic language
- 2012-10-16 15:38:18下载
- 积分:1
-
ruhuajili
车轮踏面磨耗论文,对轮轨接触进行分析(Wheel tread wear paper, wheel-rail contact analysis)
- 2018-11-25 17:23:12下载
- 积分:1
-
SAR-RD
说明: 合成孔径雷达成像中的距离多普勒算法,包括回波产生,脉冲压缩,距离徙动补偿等(Range Doppler algorithm for SAR imaging)
- 2020-01-14 11:52:47下载
- 积分:1