资源列表
lqx10005
- 给定n 个正整数和4 个运算符+、-、*、/, 且运算符无优先级,如2+3*5=25。对于任意给定 的整数m,试设计一个算法,用以上给出的n 个数 和4 个运算符,产生整数m,且用的运算次数最少 给出的n个数中每个数最多只能用1 次,但每种运 算符可以任意使用。-given positive integer n and four Operators +,-,*,/, but Operators without precedence, if 2 3 * 5 = 25. For
SortedSet
- 本程序用VC++完成 定义类模板SortedSet (包括方法的实现) ,即元素有序的集合,集合元素的类型和集合元素的最大个数可由使用者确定。要 求该类模板对外提供以下三种操作: insert:加入一个新的元素到合适的位置上,并保证集合元素的值不重复; get:返回比给定值大的最小元素的地址。若不存在,返回-1; del:删除与给定值相等的那个元素,并保持剩余元素的有序性。-the completion of procedures with VC SortedSet clas
PATTREE
- pat-tree中文抽词,中文字词搜寻演算法.-pat-pumping tree Chinese words, the Chinese word search algorithms.
DLList
- 基于C语言的数据结构算法,双向链表定义函数.-based on the C-language algorithm data structure, two-way linked list defined functions.
hamilton9901
- 给定一个n个结点的连通图,用回溯法求出图中含有的所有哈密尔顿环。包含实验报告。 -given a n nodes in a graph, with retrospective method, the map contains all the Hamilton Central. The report contains experiments.
FJS
- 按作业效益非增序输入作业的截止期限,要求使用上述规则设计出一个算法,使得输出为一个作业可行集j[]。即如果作业i可以在截止期限前执行完毕则将其加入j[]。这样得出的一个结果是最优解,可以获得最大的效益值。-operating efficiency by increasing non-operating input sequence that the deadline for requests to use these rules to design a lgorithm, the output
SELECT2
- 通过精心挑选划分元素v,可以得到一个最坏情况时间复杂度为O(n)的选择算法。本次实习要求用c语言将此算法实现。要求实现此功能:输入一组数,返回A[i],使其为A(m:p)中第k小的元素,k是一个全局变量,取大于1的整数-division through carefully selected elements v, one can be the worst time complexity of O (n) algorithm. The internship requirement c langua
beibaowenti007
- 用动态规划的向后处理法求解背包问题的最优决策序列。即给定一个背包序列的重量和相对应的效益值。做出一个最优决策序列Xi(i=1~n),使得最终效益和最大。-dynamic planning backward processing method knapsack problem of optimal decision-making sequence. That is, given a sequence of backpack weight and the relative value of the
nqueens9901
- 著名的n皇后问题。实现结果为 请输入这是一个几皇后问题:4 4皇后问题有解为: 2 4 1 3 4皇后问题有解为: 3 1 4 2 Press any key to continue -n Queen's famous question. To achieve results Please enter several This is a Queen's : 4 Queen of the solutions to these problems : 2 4
linearhashing
- linearing hashing (with c++)-linearing hashing (with c)
vlong
- very long 整数类,可以做高精度四则运算-very long integer type, can do high-precision four Operational
dancinglink
- This a program to implement the so-called \"dancing link\" which is introduced in Knuth s paper. This is really a super acrobatic and I am sure that not many programmers can understand the algorithms. -This is a program to implement the so-c