资源列表
monkey
- 动物园里的n 只猴子编号为1,2,…,n,依次排成一队等待饲养员按规则分桃。动物 园的分桃规则是每只猴子可分得m 个桃子,但必须排队领取。饲养员循环地每次取出1 个, 2 个,…,k 个桃放入筐中,由排在队首的猴子领取。取到筐中的桃子数为k 后,又重新从 1 开始。当筐中桃子数加上队首猴子已取得的桃子数不超过m 时,队首的猴子可以全部取出 筐中桃子。取得桃子总数不足m 个的猴子,继续到队尾排队等候。当筐中桃子数加上队首猴 子已取得的桃子数超过m 时,队首的猴子只能取满m个,然
Josephus
- 约瑟夫环 杀犯人的问题 从当前人开始数一个数 数到可以赦免 最后剩一个人被杀
searchmin
- 根据分治算法策略,来实现对一个系列中最小数的查找.-under the divide-and-conquer strategy to achieve a series of the smallest number of search.
Delphi
- Delphi网络通信协议分析与应用实现(PDF)-Network communication protocol Delphi analysis and applications (PDF)
Stackdatastructure
- An implementation of Stack datastructure
FMmodulation
- Frequency Modulation Program.
sj_21_1
- 真正生成随机数的代码 并且得出最大值 简单处理 可以直接调用-Truly random number generation code and obtained the maximum value of simple processing can be called directly
1
- 用c语言分别输入三角形的三边a,b,c,并求出三角形的形状输出所求三角形的形状-Input triangle, trilateral, and calculated the shape of a triangle
hzxdw
- 猴子选大王,C语言实现,用到的是单链表循环,输入m个猴子,报数到n则退出,最后的一个是大王。内有详细注释。-The monkey king election, the C language, used in a single linked list loop input m a monkey reported to n then exit, the last one is the king. Detailed notes.
hdu2066
- dijsktra 找最短路径,杭电2066题目的一种解法。-dijsktra find the shortest way,a solution of hud2066
objects.cpp
- an example cpp source code on how objects are used
0-1-knapsack-problem
- 动态规划解决01背包问题,采用c语言实现-01 dynamic programming to solve the knapsack problem, with c language
