资源列表
[数据结构常用算法] CLOSESTPAIR
说明:最近点对问题,求解平面上n个点的集合中距离最近的两点的距离。-Nearest point of the problem, solving the plane the set of n points in the distance between the nearest two points.<hyqin> 在 2025-07-12 上传 | 大小:1kb | 下载:0
[数据结构常用算法] DataStructure
说明:二叉查找树数据结构及基本操作,前序遍历,中序遍历,以及其非递归算法-Binary search tree data structure and basic operation, pre-order traversal, inorder traversal, as well as its non-recursive algorithm<fibers> 在 2025-07-12 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 3016886_AC_998MS_24392K
说明:适合acmer,poj 3476 的代码,强烈推荐学习此代码-Suitable for acmer, poj 3476 code, it is strongly recommended to study this code<刘栋> 在 2025-07-12 上传 | 大小: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-07-12 上传 | 大小:1kb | 下载:0