资源列表
josech
- 约瑟夫环, 任务:编号是1,2,……,n的n个人按照顺时针方向围坐一圈,每个人只有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个仍开始顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向的下一个人开始重新从1报数,如此下去,直到所有人全部出列为止。设计一个程序来求出出列顺序。 要求:利用单向循环链表存储结构模拟此过程,按照出列的顺序输出各个人的编号。 测试数据: m
bb
- 自己写的一个八皇后问题,思路清晰,完整的代码和注释。-Write an eight-queens problem, clear, complete the code and comments.
sort
- 各种排序算法,例如冒泡,快拍,归并,基数排序,交换-Various sorting algorithms, such as bubbling, snapshot, merge, etc.
m-tree
- m元树,将m元树转化为二叉树飞源代码,你懂得,很好用-m tree
the-loop-section
- 用深度搜索方法求polya定理中置换群的循环节。-Depth search method and the loop section of the permutation group in polya Theorem.
ss
- 一个快速排序的非递归实现,和大家一起分享-A non-recursive implementation of quick sort, and share with everyone
1
- 银行家算法模拟 c++编写 理利用银行家算法避免死锁-Banker' s algorithm simulation using c++ written reasons bankers algorithm avoid deadlock
algorithm
- 多种经典算法实例,包含集合,排序,搜索,矩阵等问题-Many classic algorithm example,Contains collection, sorting, search, matrix, etc
vc-Huffman-encoding
- 这是一个关于哈弗曼编码的程序,里面包含了一些算法,对于哈弗曼编码理解非常有用!-this is a procedure about Huffman-encoding,some algorithm include!very useful for you to understand the Huffman-encoding!
saichengbiao
- 设计一个满足以下要求的循环比赛日程表:() (1)每个选手必须与其他n-1个选手各赛一次; (2)每个选手一天只能赛一次; (3)当n是奇数时,循环赛一共进行n天, n是偶数时,循环赛进行n-1天。 -Meet the following requirements to design a cycle race schedule: () (1) Each player must be with the other n-1 once a player of the tournamen
cnjwy
- 徐士良《C常用算法程序集》第2版 第2部分()
bianli
- 利用Visual C++ 关于图的遍历数据结构中的经典例题-Using Visual C++ on the graph traversal