资源列表
Josephus
- 编写程序,模拟约瑟夫环(josephus)问题: n个人(编号为1,2,3,……,n (n>0) )按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出两个值:一个为首先报数的人的编号i (0<i<=n),另一个为起始报数上限值m。接着从编号为i的人开始按顺时针方向自1起顺序报数,报到m时停止报数,且报到m的人出列,并将他的密码作为新的m值,从他在顺时针方向上的下一个人起重新自1报数,……,如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,给出出列人的编号序
Hexadecimal-conversion
- 进制间的转换,2进制,8进制,10进制,16进制间的转换-Convert between hexadecimal, binary, octal, decimal, hexadecimal conversion
Broken-Necklace.tar
- usaco上面的习题,我自己写的代码,所有数据可以AC过的。-usaco above exercises, write my own code, all data can be AC off.
cpp.tar
- 这是usaco上面的全部习题代码,足够ACMer们研习一阵了,全部代码都AC过。-This is above all exercises usaco code, enough ACMer who study a while, all the code over to AC.
VCPP-genetic-reconfiguration
- 基于VC++的电力系统遗传算法重构实现. 用于减少系统损耗的重构,包含了潮流功能-Power genetic algorithm-based VC++ reconstruction. Used to reduce the loss of the reconstruction of the system, including the trend
hasher
- 设计并实现对字符串的哈希算法 实现对给定字符串集合的词频分析 实现对给定字符串是否存在的快速查找 -Designed and implemented quickly find word frequency analysis on a given collection of strings to achieve a given string if there string hash algorithm
N-huanghou
- 人工智能中的经典算法之一。对问题的多个分支选择一支进行探索,当探索到某一步时,发现原先选择并不优或达不到目标,就退回一步重新选择 回溯法适合用栈实现。探索过程当中入栈,退栈时返回分支选择的现场 -One of the classic algorithms in artificial intelligence. Multiple branches of the problem, choose one to explore, explore a step that the original
duoxiangshi
- 用链表实现一元多项式的表示 从命令行或文件中读取多项式的系数和指数 实现多项式的降幂排列 实现一元多项式的运算 加法 减法 乘法 -Implemented as a linked list of a polynomial representation of the command line or file to read the coefficients of the polynomial and exponential polynomial Descending a
Huffmana-tree
- 从终端输入字母和相应的频率 在内存中构造Huffman树 从终端输入任意的单词 以二进制形式输出编码后的文字(在屏幕上显示0或1表示相应的位) -Huffman tree constructed in memory from the terminal enter the letters and the corresponding frequency from the terminal to enter any word on the screen text to binary f
Grafos
- Estructura de grafos java
ComparableComparator.tar
- estructura de datos comparable y comparator
Dijkstra
- Dijkstra,图的单源最短路径算法的实现,包括数据结构的设计,以及方法的实现-Dijkstra, diagram of the single-source shortest path algorithm implementation, including data structure design, and methods to achieve
