资源列表
Liangyoudunsuanfa
- 梁友栋-Barskey裁剪算法,在裁剪算法中比较快的一种算法,-friends of Liang Dong-Barskey cutting algorithm, the algorithm cutting a faster algorithm,
playOnwords
- 这是一个关于字符串的问题,虽然小但是很精致.-This is a string of problems, although small but very delicate.
luxingjia
- 旅行家问题,关于旅行家问题的一小段代码。值得大家学习和参考-travelers, travel home on a small portion of the code. Worth learning and reference
TK
- 旅行家问题 一个旅行家想驾驶汽车以最少的费yi 用从一个城市到另一个城市(假设出发时油箱是空的)。给定两个城市之间的距离为D1、汽车油箱的容量为C(以升为单位),每升汽油能行驶的距离为 D2,出发点每升汽油价格P和沿途油站数N(N可以为零),油站i离出发点距离Di,每升汽油价格Pi(i=1,2...N)。计算结果四舍五入至小数点后两位。 如果无法到达目的地,则输出“No Solution\"。-issue a travel home to travel home to drive a car w
1354520
- 定义一个Shape抽象类,在此基础上派生出Rectangle和circle类,二者都有GetArea()函数计算对象面积,GetPerim()函数计算对象的周长。使用Rectangle类派生出一个新类Squre。
lallala
- 关于最佳贪婪算法的实现 关于最佳贪婪算法的实现
sort
- 先设定随机数发生公式的种子值,根据这个产生一个随机的数组,然后通过插入排序进行排序,并计算运行时间-First occurrence of the formula set random number seed value, the basis of this result in a random array, and then sort through the insertion sort, and calculate the running time
01package
- 01背包算法 解决算法 与众大侠一起参考 交流 -01 knapsack algorithm to solve algorithm and the public with reference to the exchange of heroes
BST-Binary-search-tree
- This BST algorithm,Binary Search Tr-This is BST algorithm,Binary Search Tree
Expressions
- 表达式cpp实现 数据结构实验源代码 实现前序、中序、后序表达式-Expression codes Formerorder expressions regular expression&Postorder expressions
The-most-architectural-sequence
- Java实现最大子序列问题,算法导论实验三-Java implementation of the maximum subsequence problem, algorithms, Introduction to Experimental
getPrimeNumber
- 非常快的求质数算法,百万数据在毫秒之间。以牺牲空间换取时间代价。-Very fast primes seeking algorithms, millions of data in milliseconds. At the expense of space for time costs.
