资源列表
[数据结构常用算法] 3016886_AC_998MS_24392K
说明:适合acmer,poj 3476 的代码,强烈推荐学习此代码-Suitable for acmer, poj 3476 code, it is strongly recommended to study this code<刘栋> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 2
说明:约瑟夫环(Joseph)问题的一种描述是:编号1,2,┉,n的n个人按顺时针方向围坐一圈,每个人持有一个密码(正整数),一开始,任选一个正整数作为报数上线值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1开始报数,如此下去,直至所有人全部出列为止。设计一个程序求出出列顺序。-Joseph Ring (Joseph) a descr iption of the problem is: No. 1,2,<飞天神> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] suffix-array
说明:A simple to code implementation of suffix array. Complexity : Nlog^2N<sn> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] LoserTree
说明:根据严蔚敏数据结构(c语言版)实现的败者树算法, 程序内含测试数据的数组, 包含详细注释. 另外程序通过大数据量测试.-According to Yan Wei-min data structure (c language version) to achieve the loser tree algorithm, the program includes an array of test data, with detailed comments. Another large amounts<魏巍> 在 2025-06-16 上传 | 大小:1kb | 下载:0