-
用C++语言来查找“迷宫”、“矩阵选择路径”、“查找矩阵”等。
运用C语言实现寻找输入的“迷宫”矩阵中的可选路径,并将找到的最短路径显示出来。-use C language to find that the "maze" matrix optional path and find the shortest path displayed.
- 2022-04-16 18:51:28下载
- 积分:1
-
实现堆栈先入后出的功能
堆栈是一种执行“先入后出”算法的存储器。数据一个一个顺序的存入(也就是压入——push)存储区中。有一个地址指针总是指向最后一个压入堆栈的数据所在的数据单元,存放这个地址的指针的寄存器叫做堆栈指示器。开始放入数据的单元叫做“栈底”,最后放入的数据的单元叫做“栈顶”。数据一个一个地存入,这个过程叫做“压栈”。在压栈的过程中,每有一个数据压入堆栈,就放在和前一个单元相连的后面的一个单元中,堆栈指示器中的地址自动加1。读取这些数据时,按照堆栈指示器中的地址读取数据,堆栈指示器的地址数自动减1,这个过程叫做“弹出——pop”。如此,就可以实现了“先入后出”的原则。
- 2022-02-14 16:34:28下载
- 积分:1
-
可以过来看看有关8皇后的相关算法.这是本人初学数据结构运用堆栈编写的小程序...
可以过来看看有关8皇后的相关算法.这是本人初学数据结构运用堆栈编写的小程序-can come look at the Statue of eight correlation algorithm. This is my beginner stack data structure prepared by the use of small programs
- 2022-01-26 01:23:41下载
- 积分:1
-
一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (1) 输入并建立多项式 (2) 输出多项式...
一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (1) 输入并建立多项式 (2) 输出多项式,输出形式为整数序列:n,c1,e1,c2,e2……cn,en,其中n是多项式的项数,ci,ei分别为第i项的系数和指数。序列按指数降序排列。 (3) 多项式a和b相加,建立多项式a+b,输出相加的多项式。 (4) 多项式a和b相减,建立多项式a-b,输出相减的多项式。 用带表头结点的单链表存储多项式。 测试数据: (1) (2x+5x8-3.1x11)+(7-5x8+11x9) (2) (6x-3-x+4.4x2-1.2x9)-(-6x-3+5.4x2+7.8x15) (3) (x+x2+x3)+0 (4) (x+x3)-(-x-x-3)-one yuan sparse polynomial calculator [Addition and multiplication] Problem description : Design one yuan polynomial coefficient counter achieve the two polynomials addition, subtraction. Basic requirements : (a) input and the establishment of polynomial (2) output polynomial, the output form of integer sequence : n, c1, e1, c2, e2 ... cn, en, where n is the polynomial Number, ci, ei for the first item i the coefficients and indexes. By sequencing index in descending order. (3) a and b polynomial addition, the establishment of a polynomial b, the combined output polynomial. (4) a and b polynomial subtraction, the establishment of a polyno
- 2022-10-15 00:45:03下载
- 积分:1
-
数据结构-3 sum
We
discussed two versions of the 3-sum problem: A "naive" implementation
(O(N^3)) and a "sophisticated" implementation (O(N^2 lg N)).
Implement these algorithms. Your implementation should
be able to read data in from regular data/text file with each entry on a
separate line.
- 2022-10-11 08:55:04下载
- 积分:1
-
hanoi
hanoi
- 2023-07-06 15:50:03下载
- 积分:1
-
用C++实现二叉树的建立,删除,添加。主要使用的是类的结构。...
用C++实现二叉树的建立,删除,添加。主要使用的是类的结构。-C realization of the establishment of binary tree, delete, add. The main category is the use of the structure.
- 2023-06-25 21:55:03下载
- 积分:1
-
用C++编写的一个迷宫游戏,专为指针和数据结构的C++编写的..
一个用C写的迷宫小游戏,旨在对C中的指针及数据结构中的单链表和栈的使用的训练。-Using C to write a maze game, designed for C of the pointer and data structure of a single linked list and stack the use of training.
- 2022-09-26 18:25:02下载
- 积分:1
-
ASP+ACCESS 的东西,请看下。我很想下载点东西。谢谢了。
ASP+ACCESS 的东西,请看下。我很想下载点东西。谢谢了。-ASP+ACCESS
- 2023-09-02 09:25:06下载
- 积分:1
-
There are a number of database vb6.0 programming reference can hope to help this...
内有多个vb6.0数据库编写程序 可以让大家参考 希望对这个站有帮助-There are a number of database vb6.0 programming reference can hope to help this station ....
- 2022-11-27 06:35:03下载
- 积分:1