资源列表
ceriesodd
- 用C++实现的遗传算法,属于基本算法,没有改进,但是可以给初学者一点帮助!()
spxdtter_hit
- 约瑟夫环问题算法的优化 1,问题描述: 已知n个人以编号1,2,3 n分别表示围坐在一张圆桌周围,从编号为k的人开始报数,数()
see-covcrete
- 语音编结码的基本算法,没有优化的,但是可以运行,()
dijkstra
- 求有向图中的一点到任意一点之间的最短路径,用dijkstra算法实现。(The shortest path between one point and any point in the directed graph is realized by the Dijkstra algorithm.)
Dijkstra
- 运用C++算法的模板类实现Dijkstra最短路径(Implementation of the shortest path of Dijkstra)
银行业务模拟
- 设银行有四个服务窗口,一个等待队列, 每个窗口均可以办理存款、取款、挂失、还贷业务,每种业务所需的服务时间不同,客户到达银行后,先到打号机上打号,号票上包括到达时间、编号和需要办理的业务,然后在银行内等候, 当任一服务窗口空闲时,处理等候客户中排在最前面的客户的业务。写一个上述银行业务的模拟系统,通过模拟方法求出客户在银行内逗留的平均时间和每个窗口办理的客户数及办理的每种业务数。(A bank has four service windows, a waiting queue, each win
xishuMatrixAdd
- 以三元组表示稀疏矩阵A,B,试编写矩阵相加的算法,结果存放在C矩阵。(Three tuples are represented by the sparse matrix A, B, and the matrix addition algorithm is written. The results are stored in the C matrix.)
BiTreeHeight
- 用递归方法求二叉树高。构建二叉树,并采用递归的方法求其高度(A recursive method for finding the height of two forked trees)
Fibonacci
- 基于队列设计算法,输出任意位置的Fibonacci 数列元素值。 fib(0) = 1 fib(1) = 1 fib(n) = fib(n-1)+fib(n-2)(Based on the queue design algorithm, the Fibonacci sequence element value of any location is output.)
shunxubiaonizhi
- 对顺序表元素就地逆置,将线性表(a1,a2,……,an)逆置为(an,an-1,……,a1)。(The sequential table element is placed in place, and the linear table (A1, A2,... An) inversed (an, an-1,... A1).)
中缀
- 利用栈设计算法,实现中缀表达式的求值,只考虑整除。(Stack design algorithm based on the realization of infix expression, infix expressions only consider divisibility.)
Snake_project
- 用C语言写的贪吃蛇小游戏,游戏他通过蛇身不断吃掉游戏里随机出现的食物,望采纳(Using C language to write the snake game, the game through his continuous random food eating snake game, hope to adopt)