资源列表
dituiwenti
- 递推问题 一个队伍中有n个学生,但规定女生不能独站,也就是说,要么没有女生,要么有两个或两个以上的女生站在一起,问有多少这样的队伍。 -Recursive problems in a team of n students, but the provisions of the girls alone can not stand, that is, either no girls, or two or more of the girls stand together, and ask
guaiyizhong
- 怪异钟 一个钟只有分针(仅能表示0~59分),它自己不会走,只有投入一种硬币,它才会走。硬币上标有一个数字d,则该钟向前走当前时间s(分钟)的d倍,例如当时钟分针为45分钟时(s=45),投入d=2的硬币,该钟将向前走45*2=90分钟,指向15分。现在输入时钟的当前分钟,和硬币上的数字d,问最少投入多少个这样的硬币后指针指向0点,如果永远不可能指向0点,则输出impossible。 -Weird clock a clock the minute hand only (can only
yuesefusuanfa
- 数据结构之经典算法----约瑟夫算法 问题导入: “我不入地狱谁入地狱”问题:15个和尚和15个商人在沙漠遇难,必须让一半数量的人死掉,剩余的水和粮食才能勉强维持其余的人生存,并走出沙漠。当时定一个规则,30人围成一圈,从第一个人开始报数,每当数到9时,这个人自杀;然后继续报数,知道剩下15人为止。和尚们想“我不下地狱谁下地狱”,于是都决定自己现身。编写程序,为和尚们找到位置,保证他们献身,从而保全15名商人生存 ----- Joseph algorithm for the p
gpk
- 关于二叉树的简单程序,里面有关于最小二叉树的具体程序代码.-The simple procedure on a binary tree, which has the smallest binary tree code.
form
- 用c#编写的基于冒泡排序实现的程序,适合初学者学习-Bubble sort program, written in c# for beginners to learn
time
- 获得当前电脑时间,数据结构算法 tc环境-Get the current computer time
congxiaodaoda
- 能求出所有你输入数字的从小到大的排序,所有的都可以。-Can solve for you to enter numbers from small to large sort, All all OK.
queue
- 一个简单的队列C++代码实现,该队列使用数组的实现形式-A simple queue C++ code implementation, the queue using an array of forms
hash
- 一个简单的哈希表在C++中的实现,该哈希表主要是使用二维数组的形式实现-A simple hash table implementation, the hash table is implemented using two-dimensional array in the C++
asdfasdfasdf
- 很好的课件C语言(数据结构)2版课件-源码(李云清,杨庆红)-Courseware courseware C language (data structure) version 2- source (Liyun Qing, Yang Qinghong)
include
- 数据结构的邻接矩阵,邻接表,图的遍历等功能-Data structure of the adjacency matrix, adjacency list, and graph traversal
biaoda
- 表达式求值问题,数据结构c++中表达式求值的算法过程-The expression is evaluated, expression evaluation algorithm process data structure c++,
