登录
首页 » 算法 » 本程序采用循环单链表的算法来解决约瑟夫环问题:建立一个循环单链表,按顺序查找指定结点,找到后删除,最后打印删除的编号序列。

本程序采用循环单链表的算法来解决约瑟夫环问题:建立一个循环单链表,按顺序查找指定结点,找到后删除,最后打印删除的编号序列。

于 2022-05-30 发布 文件大小:1.11 kB
0 228
下载积分: 2 下载次数: 1

代码说明:

本程序采用循环单链表的算法来解决约瑟夫环问题:建立一个循环单链表,按顺序查找指定结点,找到后删除,最后打印删除的编号序列。- This procedure uses circulates Shan Lianbiao algorithm to solve the Joseph link problem: Establishes to circulate Shan Lianbiao, assigns the point according to the smooth search, after found deletes, finally prints the serial number sequence which deletes.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C、 使用 ADT 包括 stack.h、 stack.c 和驱动程序的堆栈
    C、 使用 ADT 包括 stack.h、 stack.c 和驱动程序堆栈。堆栈使用 c、 ADT 包括 stack.h、 stack.c 和使用 c、 ADT 包括 stack.h、 stack.c 和使用 c、 ADT 包括 stack.h、 stack.c 和使用 c、 ADT 包括 stack.h、 stack.c 和使用 c、 ADT 包括 stack.h、 stack.c 和驱动程序的驱动程序 programStack 驱动程序 programStack 驱动程序 programStack 驱动程序 programStack
    2022-03-25 14:56:58下载
    积分:1
  • 随机生成的字符串段。
    随机产生一段字符串。-randomly generated string section.
    2023-04-08 01:15:04下载
    积分:1
  • operation of the polynomial.sdffhsfuehwauhczjcjz:)
    多项式运算,金卡国军阿肯将啊阿姐扛大个记阿肯见阿啊啊可见嘎卡带剑法口腔科阿,啊可见嘎-operation of the polynomial.sdffhsfuehwauhczjcjz:)
    2023-03-23 07:00:03下载
    积分:1
  • windows小帮手,vc6.0开发的,有点小问题
    windows小帮手,vc6.0开发的,有点小问题-windows Assistant, vc6.0 developed a bit small problem
    2022-07-21 13:20:40下载
    积分:1
  • 数学基本函数调用库
    数学基本函数调用库-basic mathematical function call library
    2023-02-07 21:30:03下载
    积分:1
  • 手写字体识别
    应用背景主要是对手写字体进行识别,首先训练手写字体库,可在官网下载手写字体库。对样本库中的样本进行训练,进而识别多种手写字体,主要针对0--9这10个数字,可以准确进行识别。关键技术主要采用C和OPENCV混合编程,提取样本HOG特征,运用SVM分类器对样本进行分类识别。获得训练分类器后,可以自己手写一个0--9中的任意字体,放入分类器中进行识别。
    2022-01-20 23:45:10下载
    积分:1
  • performance simulation of network_coding
    应用背景In generated networks, selecting one node as source and some nodes as receivers in random (single source multicast network), we make performance test for network coding based multicast route algorithm (we put forward it ourselves, corresponding to high multicast rate and low multicast rate), shortest path distribution tree route algorithm (DIJKSTRA algorithm) and Maximum-rate distribution tree route algorithm (PRIM algorithm), respectively. 关键技术 In this program, two things have been done: (1) generate random topologies (2)performance test。   network coding cap:     5.0000  dijk cap:     5.0000  prim cap:     5.0000  network coding res1:     0.0000--res2:    12.0000  dijk res:    14.0000  prim res:    14.0000  average degree:     2.
    2022-11-16 07:10:03下载
    积分:1
  • 我自己改写的Remez,FIR滤波器参数计程序
    我自己改写的Remez,FIR滤波器参数计算程序-I write in Remez, FIR filter parameter calculation procedures
    2022-01-21 04:19:19下载
    积分:1
  • 在 c + + 编译的 TMS320 ASM 语音声码器
    演讲过程 c + + 编写和编译的 TMS320 ASM 的声码器
    2022-07-27 04:22:50下载
    积分:1
  • not know if you can build success!TCwin
    也不知道大家能不能编译成功!偶在偶机器上用TC可以编译成功,但用win-tc就不能 ̄还有编译成功的.exe文件发给别人看也不能正确显示结果,郁闷,偶都不知道哪儿错了,请大虾帮我看看,还有要怎么修改计算机当前时间!-not know if you can build success!TCwin-tc.exe
    2022-03-20 20:56:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载