搜索资源列表
guize
- The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first charact
Generic_Pool_demo
- Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grow
SortTree
- 创建一棵二叉排序树,并采用中序遍历和层次遍历法输出其顶点序列,主要实验内容如下: 1. 定义二叉排序树的结构BiTree; 2. 编制二叉排序树的插入算法:void Insert_SortTree (BiTree ST, ElemType x); 3. 编制中序遍历函数; 4. 在main()函数中完成二叉排序树的建立,以及中序遍历的输出。(二叉排序树的各个元素从键盘输入,并利用Insert_SortTree()函数进行插入建立); 5. 编制层次遍历函数,并在main()函
PKU3264Source
- PKU3264 lineup代码 RMQ 的ST算法
st
- 添加一个Button,更新视图,在函数内输入 Invalidate() -Add a Button, update the view, enter the function Invalidate ()
RMQ
- RMQ的st算法,两道题,一个是一维的,一个是二维的-RMQ the st algorithm, two questions, one is one-dimensional, and one is two-dimensional
[sfsjyfx].(st)aswy.qxb
- [算法设计技巧与分析].(沙特)阿苏外耶.清晰版.pdf-[Algorithm design and analysis techniques]. (Saudi Arabia) Aso Foreign yeah. A clear version. Pdf
st
- 我自己写的关于后缀树的实现,可以参考。 implementation of suffix tree, just for reference.
mincostflow
- 实现的是最小费用最大流问题,在残量网络中找s-t最短路,运用bellman-ford算法。-To achieve the minimum cost maximum flow problem, in the residual network, find the shortest st, the use of bellman-ford algorithm.
recycl-queue-
- 循环队列算法的c语言实现,在ST系列的芯片中测试通过,可以结合DMA使用-Circular queue algorithm c language, in the ST series of chip test can be used with DMA
maze
- 完成迷宫程序的设计 从maze.txt文件读入迷宫。格式如下: 其中第一行为迷宫的阶数N,接下来是一个N*N的矩阵代表迷宫,0为路径,1为 障碍物。 实验要求 : 1. 打印迷宫: DisplayMaze()或者重载<< 其中(1,0)位置和(N-2,N-1)位置打印“=>,其余的1的位置打印“##”,0的位置 打印“ ”(两个空格),注意每个位置都是两个字符。 打印示例: 2. 寻找走出迷宫的路径并输出 FindPath() 输出格式为
st
- 数塔问题的解决算法,用于计算数塔中从顶层走到底层,若每一步只能走到相邻结点,则经过的结点的数字之和最大是多少。-Number of tower problem algorithm used to calculate the number of the tower from the top go bottom, each step can only be reached if the adjacent nodes, then after the number of nodes and the ma
1014
- 浙大 编程能力测试 的甲级题目 第 1014. Waiting in Line (30) 又是一道服务队列问题-uppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. The rules for the customers to wait in line are:
