资源列表
[数据结构常用算法] Josephus
说明:编写程序,模拟约瑟夫环(josephus)问题: n个人(编号为1,2,3,……,n (n>0) )按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出两个值:一个为首先报数的人的编号i (0<i<=n),另一个为起始报数上限值m。接着从编号为i的人开始按顺时针方向自1起顺序报数,报到m时停止报数,且报到m的人出列,并将他的密码作为新的m值,从他在顺时针方向上的下一个人起重新自1报数,……,如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,给出出列人的编号序<士大夫> 在 2025-06-19 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Hexadecimal-conversion
说明:进制间的转换,2进制,8进制,10进制,16进制间的转换-Convert between hexadecimal, binary, octal, decimal, hexadecimal conversion<姓名> 在 2025-06-19 上传 | 大小:50kb | 下载:0
[数据结构常用算法] Broken-Necklace.tar
说明:usaco上面的习题,我自己写的代码,所有数据可以AC过的。-usaco above exercises, write my own code, all data can be AC off.<李锐> 在 2025-06-19 上传 | 大小:1.13mb | 下载:0
[数据结构常用算法] VCPP-genetic-reconfiguration
说明:基于VC++的电力系统遗传算法重构实现. 用于减少系统损耗的重构,包含了潮流功能-Power genetic algorithm-based VC++ reconstruction. Used to reduce the loss of the reconstruction of the system, including the trend<ding> 在 2025-06-19 上传 | 大小:27kb | 下载:0
[数据结构常用算法] 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<> 在 2025-06-19 上传 | 大小:932kb | 下载:0
[数据结构常用算法] 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<> 在 2025-06-19 上传 | 大小:187kb | 下载:0
[数据结构常用算法] 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<> 在 2025-06-19 上传 | 大小:21kb | 下载:0
[数据结构常用算法] ComparableComparator.tar
说明:estructura de datos comparable y comparator<edwin> 在 2025-06-19 上传 | 大小:8kb | 下载:0