资源列表
[数据结构常用算法] Josephus
说明:有n个人围坐在一个圆桌周围,现从第s个人开始报数,数到第m的人出列,然后从出列的下一个人重新开始报数,数到第m的人又出列,…,如此反复直到所有的人全部出列为止.利用Josephus环解决此问题。-There are n personal sitting around a round table all around, from the first s personal beginning now number off, to the number of m row, then stood do<艳> 在 2025-06-14 上传 | 大小:165kb | 下载:0
[数据结构常用算法] Divide-and-conquer
说明:分支算法的VC++环境下实现,可以运行,简单适合初学者-Branch algorithm VC++ environment to achieve, you can run simple for beginners<郝乾> 在 2025-06-14 上传 | 大小:165kb | 下载:0