登录
首页 » Windows开发 » Josephus write a problem solving function. With the sequence of integers 1, 2, 3...

Josephus write a problem solving function. With the sequence of integers 1, 2, 3...

于 2022-04-13 发布 文件大小:714.00 B
0 132
下载积分: 2 下载次数: 1

代码说明:

编写一个求解Josephus问题的函数。用整数序列1, 2, 3, ……, n表示顺序围坐在圆桌周围的人。然后使用n = 9, s = 1, m = 5,以及n = 9, s = 1, m = 0,或者n = 9, s = 1, m = 10作为输入数据,检查你的程序的正 确性和健壮性。最后分析所完成算法的时间复杂度。定义JosephusCircle类,其中含完成初始化、报数出圈成 员函数、输出显示等方法。-Josephus write a problem solving function. With the sequence of integers 1, 2, 3, ... ..., n the order of sitting around the round table, said the people around. And then use n = 9, s = 1, m = 5, and n = 9, s = 1, m = 0, or n = 9, s = 1, m = 10 as input data, check the correctness of your program and robustness. Completed the final analysis, the algorithm" s time complexity. Definition JosephusCircle class, which included the completion of initialization, reported that the number of member functions of a circle, the output display and other methods.

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

发表评论

0 个回复

  • to demonstrate ZI input method
    to demonstrate ZI input method
    2022-09-05 17:45:03下载
    积分:1
  • Get the screen size, using VC++7.0 development of a good example of a procedure...
    获取屏幕大小,用VC++7.0开发好的一个例子程序,供程序设计初学者参考。-Get the screen size, using VC++7.0 development of a good example of a procedure for the program design advanced users.
    2022-06-16 21:11:39下载
    积分:1
  • 方便的串口监事工具
    方便的串口监视工具,对于串口通讯调试非常方便,大大方便,简化了调试串口数据时的困难
    2022-02-26 01:59:48下载
    积分:1
  • vfw编程进行数字摄像头视频捕获
    vfw编程进行数字摄像头视频捕获-VFW programming for digital camera video capture
    2023-06-25 02:10:03下载
    积分:1
  • MFC+ACESS数据库基本操作
    这是一个基于MFC的单文档的应用程序,它使用了ACESS数据库,本小程序包含了操作数据库的几种基本操作:增加记录,插入记录,查询记录,修改记录,对记录进行排序等。是大家在MFC架构下操作数据的的不错参考,所有代码经过调试,均能运行。代码精简,精炼。能给初学者提供较好的知道。是连接操作数据的模板程序。
    2022-03-17 20:32:55下载
    积分:1
  • 深入浅出MFC源代码,侯老师的作品帮助了无数的程序员.
    深入浅出MFC源代码,侯老师的作品帮助了无数的程序员.-In layman
    2022-11-08 16:55:02下载
    积分:1
  • 标题栏画标题栏
    采用VC++ MFC开发,实现位图自绘标题栏。在函数中PreCreateWindow取消Title Bar上的按钮,DrawTitleBar函数中重绘标题栏,非常有参考价值。
    2022-07-21 20:15:44下载
    积分:1
  • Own a train ticketing system are welcome to instruct everyone to download my sof...
    自己编的一个火车售票系统,欢迎大家下载指点我的软件- Own arrange a train booking system, welcome everybody downloading to direct my software 【上载源码成为会员下载此源码】【成为VIP会员下载此源码】-Own a train ticketing system are welcome to instruct everyone to download my software- Own arrange a train booking system, welcome everybody downloading to direct my software [upload source to become a member download the source code] [become a VIP member to download this source]
    2022-12-21 05:15:03下载
    积分:1
  • calculator
    计算器-calculator
    2022-03-23 04:27:48下载
    积分:1
  • to DFA, c source code, please provide more valuable advice, thank you
    正则式到有穷自动机,c++源代码,请大家多提宝贵意见,-to DFA, c source code, please provide more valuable advice, thank you
    2023-05-13 19:30:03下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载