资源列表
eightqueen
- 八皇后游戏的说明: 问题的提出:八皇后是个古老而有趣的游戏,是由高斯于1850年首先提出的。 要求在国际象棋的棋盘上放置八个皇后,使其不能相互攻击,即任意两个皇后不能处于 棋盘的同一行、同一列和同一条对角线上。试问有多少种放法? 基本思想是:先把皇后放在(0,0)位置,然后把1号皇后放在(1,j)位置, 使其满足要求。接着放2号皇后,依此类推。遇到某个皇后如把她无论放在该行的任意 位置均不满足要求,则前一个皇后放置不当,须重新放置前一皇后,如8个皇后均按要 求放置
comparestring
- 给定两个集合A、B,集合内的任一元素x满足1 ≤ x ≤ 109,并且每个集合的元素个数不大于105。我们希望求出A、B之间的关系。 任 务 :给定两个集合的描述,判断它们满足下列关系的哪一种: A是B的一个真子集,输出“A is a proper subset of B” B是A的一个真子集,输出“B is a proper subset of A” A和B是同一个集合,输出“A equals B” A和B的交集为空,输出“A and B are disjoint
goldcard
- 问题的提出:金卡在现代生活里应用广泛,无论排长队于ATM机前取款还是就餐、购物、就医等等。在国外电子货币十分流行,其实电子货币是系统工程,它涉及金融、安全、通信、计算机等领域。这里为使读者掌握动态数据的用法,仅模拟其存款于取款过程。-The question raised: Gold in the modern life are widely used, regardless of long lines at teller or ATM machine before dining, shoppi
checkarray
- 设计一个用于检查数组在使用时下标是否越界的类,如越界给出提示。(知识点:下标运算符的重载)。-Used to check the design of a current array subscr ipt is in the use of cross-border class, such as cross-border give tips. [Knowledge points: subscr ipt operator overloading].
TestDijkstraWithGPHeapSort
- 使用堆优化的最短路径算法,速度非常快,建议下载-Optimize the use of heap shortest path algorithm, very fast
TestDijkstraWithGP
- 未优化的DIjkstra算法,可以用于速度比较啊!建议下载-Dijkstra algorithm is not optimized, can be used to compare the speed of ah!
SPFA
- 自己写的SPFA,可以给初学者参考,速度比优化Dijkstra要慢-Wrote it myself SPFA, can give a reference for beginners, speed slower than Dijkstra Optimize
grapgh_prim
- 数据结构:图的Prim算法开发环境visual C/C-图的Prim算法,开发环境visual C/C++
bb_code_by_ipiszhang
- 分支界限法的C语言源码 实现了计算两个城市之间一定开销的基础上的最短路径-Broud and Branch C source code for calculating certain expenses between the two cities based on the shortest path
StelaeBridgeRiver
- 这是递归算法的一个难度较大的例子。适用于学习算法的学生使用。-This is a recursive algorithm, a more difficult example. Learning algorithm applied to the students.
11
- 一个在计算机客科学与技术专业中数据结构课程非常经典算法-classic arithmetic
planeSystem
- 数据结构课程设计的源代码,用C编写的航班票务管理系统,使用多种查询,非常适合数据结构学习者的研究-Data structure the curriculum design of source code, prepared by C Flight Ticket Management System, using a number of inquiries, the data structure is very suitable for learners study
