-
this a simple login form
this a simple login form-this is a simple login form
- 2022-07-06 11:16:07下载
- 积分:1
-
structs +hibanate入门例子
structs +hibanate入门例子-structs+hibanate sample code
- 2023-02-05 11:50:06下载
- 积分:1
-
Dubinscartrajecorytracking-master
说明: 无人机航路规划算法,matlab m语言(pathplannig algorithm)
- 2020-08-05 00:07:47下载
- 积分:1
-
hilbert
HILBERT 变换的实现用于信号处理中(HILBERT realize Transform for Signal Processing)
- 2020-08-23 20:48:16下载
- 积分: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
-
taobao_crawled-master
说明: 爬虫/ 对淘宝商城的商品信息进行爬取,获取详情信息和评论(python crawls/The commodity information of taobao mall is crawled to obtain detailed information and comment)
- 2020-01-06 17:31:18下载
- 积分:1
-
I give you a good animation software
我给大家介绍一个好的动画制作软件――飘雪动画秀 V3.02,希望大家喜欢。-I give you a good animation software-- Falling Snow animation- V3.02, hope you like them.
- 2022-01-28 04:11:08下载
- 积分:1
-
程序实现用牛顿-拉夫逊迭代法进行潮流计算。不仅有潮流计算,还有数据处理的程序...
程序实现用牛顿-拉夫逊迭代法进行潮流计算。不仅有潮流计算,还有数据处理的程序-Procedure using the Newton- Raphson iterative method for flow calculation. Not only power flow calculation, as well as data-processing procedures
- 2022-10-03 07:15:03下载
- 积分:1
-
动态肌电图dEMG通过Matlab提取指标
说明: 通过matlab程序来提取肌电图的参数 ,如均方根值,积电值(The parameters of EMG, such as root mean square and cumulative value, are extracted by MATLAB program.)
- 2019-05-14 00:34:05下载
- 积分:1
-
npc
说明: 冒险岛npc脚本 部分自用 请勿转载传请勿转载传(ms npc scirpt,dont share with others)
- 2020-07-04 09:40:01下载
- 积分:1