资源列表
poj1201_SPFA
- poj1201,用SPFA实现的差分约束系统求解-use SPFA to slove POJ1201
Template_3
- vector<string> s s.push_back("Numero 1")
Template_2
- dibujaPila(stack<int>&s1)
sort
- 快速排序算法,三路排序算法的一些使用和比较。三路排序算法的一些性能分析-Quicksort algorithm, some use of the three sorting algorithms and compare. Performance Analysis of the three sorting algorithms
C-code
- 带有注释的B树的源代码 C语言 能够进行索引-B-tree source code in C can be indexed
N-queen-problem
- N皇后问题,解决N皇后问题,详细的C代码-N-Queens problem, solve the N queens problem, the details of the C code
BigInt
- 长整数相加源码,使用了链表,结点,还自定义了多个函数,是个好借鉴的代码-Source of long integers, the use of a linked list, nodes, and also defines a number of functions, is a good reference code
hufman
- 实现哈夫曼树的建立,对输入字符窜进行哈弗曼编码,解码-Huffman tree establishment, Ha Fuman encoding, decoding
zyyt
- 租用游艇问题 成绩: 5 / 折扣: 0.8 长江游艇俱乐部在长江上设置了n 个游艇出租站1,2,…,n。游客可在这些游艇出租站租用游艇,并在下游的任何一个游艇出租站归还游艇。游艇出租站i 到游艇出租站j 之间的租金为r(i,j),1<=i<j<=n。试设计一个算法,计算出从游艇出租站1 到游艇出租站n 所需的最少租金。 编程任务: 对于给定的游艇出租站i 到游艇出租站j 之间的租金为r(i,j),1<=i<j<=n,编程计算从游艇出租站
poly
- 一元多项式A = anxn + … + a1x + a0, B = bnxn + … + b1x + b0,根据运算符+、-、*,分别计算A + B、A - B、A * B。-A polynomial A = anxn+ ...+ a1x+ a0, B = bnxn+ ...+ b1x+ b0+ operator,-,*, respectively, to calculate the A,+ B, A- B, A* B.
gas
- 给定了n和k个加油站的位置,汽车加满油后可行驶n公里,指出应在哪些加油站停靠,使得加油次数最少,贪心选择算法-Can travel to the location given n and k gas stations, auto fill up n kilometers that should be docked in which gas stations, making refueling the least number of greedy selection algorithm
data-structure-homework
- 华南理工大学2010级数据结构与算法分析大作业 可供大家分享传阅 -South China University of Technology 2010 Data Structures and Algorithms big job available for everyone to share circulated
