-
gpio
DSP2812-gpio应用。第三方地方(DSP2812SCI communication program.)
- 2013-07-15 13:54:04下载
- 积分:1
-
print
简单实现临街资源互斥的使用,用四个全局变量实现互斥。(Simple resources to achieve mutually exclusive use of the street, with four global variables to achieve mutually exclusive.)
- 2010-05-23 16:38:06下载
- 积分:1
-
总结的常用8种滤波算法C语言版 (摘自匠人日记)
在匠人日记上看到的滤波算法
摘下常用的留着备用参考
C语言编写
- 2022-05-30 17:12:12下载
- 积分:1
-
naca0012翼型网格生成
C语言生成C型网格,求解拉普拉斯方程生成网格并计算压力系数(Solve the Laplace equation to generate the grid and calculate the pressure coefficient)
- 2017-12-06 19:03:05下载
- 积分:1
-
shot.c
shortest path algorithms
- 2014-09-05 05:42:27下载
- 积分:1
-
C++tansuo
C/C++深层探索,网上下载的都没有书签阅读度起来非常不方便,这是我整理后的加上了书签,看起来就方便多了.(C/C++ Deeper exploration, have not downloaded bookmark degrees is very inconvenient to read, this is finished I added a bookmark, looks much more convenient.)
- 2009-01-08 13:50:01下载
- 积分:1
-
stuinfo
一个简单的教学管理系统的源码,吉林大学计算机学院课程设计(A simple teaching management system source code, Jilin University School of Computer Science Curriculum Design)
- 2009-12-12 14:05:14下载
- 积分:1
-
自定义标签
自定义标签
- 2013-12-06下载
- 积分: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
-
程序
说明: stm32f103vet6实现printf重载(printf function about stm32f103vet6)
- 2020-06-22 03:00:01下载
- 积分:1