资源列表
旅行商问题
- 这是一个旅行商问题的算法源程序,代码较为简短,说明详细,可读性好。压缩包里面只包含源程序文件,要在vc上面运行。-This is a traveling salesman problem algorithm source code, code brief that detailed and readable. Compressed they contain only source files to run above the vc.
parentheses-design
- 假设一个算数表达式中可包含三种括号:圆括号,方括号和花括号且这三种括号可以按任意次序嵌套使用。试利用栈的运算,编写判别表达式中所含括号是否正确配对出现的算法-Suppose an arithmetic expression can contain three brackets: parentheses, brackets and braces and three brackets can be nested in any order. The trial use of the computing
hdu3865
- 杭电3865 动态规划 +二分图 解题报告-Hang Power 3865+ bipartite graph dynamic programming problem-solving report
Cpp5
- 推箱子 自己算的算法 不知道好玩吧 大家试试吧-a box
bianmayima
- 一个用C++代码编写的简单的编码译码程序,可实现密码的反向输出-Simple codec procedures, written a use C++ code can achieve the reverse output of the password
The-Fibonacci-sequence
- 输入一个数字N,可以显示出斐波那契数列前N项的和,C++代码-Input a number 1 to n, then output the sum of the former n unmbers in The Fibonacci sequence
Dijkstra
- 用Dijkstra算法求解最短路径,按用户要求输出一个结点到其他任意结点的最短路径,也可以求任意两个结点之间的最短路径
Cpp1
- 顺序表的基本操作,实现插入、删除、合并等操作-The basic operation of the order of the table to achieve insert, delete, merge and other operations
Josephus
- 对任意输入的n和m,求出最后剩下的人的编号。要求利用线性表保存这n个人,分别用公式化、链接、模拟指针三种描述方法实现。 输入:input.txt,两个整数n(3-100),m(1-m)-N and for any input m, the remainder of the determined number of the last. This requires the use of a linear table holds n individuals, respectively formul
excise1
- 用链表存贮结构实现线性表的基本操作。(包括各种操作)
DBASE
- VC++源码,实现Dbase数据库结构查询-VC++ Source to achieve Dbase database structure query
xdsyyr
- 野人与修道士问题 这是一个古典的问题.假设有n个修道士和n个野人准备渡河,但只有一条能容纳c人的小船,为了防止野人侵犯修道士,要求无论在何处,修道士的个数不得少于野人的人数(除非修道士个数为0).如果两种人都会划船,试设计一个算法,确定他们能否渡过河去,若能,则给出一个小船来回次数最少的最佳方案. 要求: (1) 用一个三元组(x1,x2,x3)表示渡河过程中各个状态.其中,x1表示起始上岸修道士个数,x2表示起始岸上野人个数,x3表示小船位置(0-在目的岸,1-在
