-
Josephus write a problem solving function. With the sequence of integers 1, 2, 3...
编写一个求解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.
- 2022-04-13 07:18:12下载
- 积分:1
-
用七段数码管显示分秒值,程序开始运行时,时间值为00
用七段数码管显示分秒值,程序开始运行时,时间值为00-00,每隔一秒,时间值改变一次,从键盘上敲任意键,程序退出-with paragraph 107 of Digital Display Minutes value, operational procedures, time value of 00-00, every second, the time value of a change from nice arbitrary keys, exit procedures
- 2022-09-10 21:55:03下载
- 积分:1
-
显示甘特图的一个实例,很好的很好的很好的
显示甘特图的一个实例,很好的很好的很好的-show gannt
- 2023-03-29 23:40:03下载
- 积分:1
-
红楼梦人员关系查询工具
红楼梦人员关系查询工具-Dream of the Red Chamber staff relations Query Tool
- 2022-07-27 16:21:18下载
- 积分:1
-
ARM Embedded WINCE Practice Guide, using JXARM9
ARM嵌入式WINCE实践教程,采用JXARM9-2410作为实验平台-ARM Embedded WINCE Practice Guide, using JXARM9-2410 as an experimental platform
- 2022-03-20 20:58:41下载
- 积分:1
-
COM控件注册程序,注册后可以使用VB中的com控件
COM控件注册程序,注册后可以使用VB中的com控件-COM control, registration process, after registration you can use the VB controls in the com
- 2022-06-15 21:14:52下载
- 积分:1
-
本代码使用vb 编写矩阵汉字的显示
本代码使用vb 编写矩阵汉字的显示-use of the code prepared vb matrix display Chinese characters
- 2022-03-20 06:03:21下载
- 积分:1
-
用递归将整数转换为字符串的C++程序 通过求得整数每位数,再将其转为ASCII码,再调换每位顺序...
用递归将整数转换为字符串的C++程序 通过求得整数每位数,再将其转为ASCII码,再调换每位顺序-using recursive integral to the conversion to a string obtained by C program every few Integer, and then converted to ASCII and then swap each sequence
- 2023-08-07 13:55:03下载
- 积分:1
-
C8051F06X单片机编程,Blinky模块
C8051F06X单片机编程,Blinky模块-C8051F06X Microcontroller Programmer, Blinky Module
- 2022-08-12 21:51:50下载
- 积分:1
-
运行时类型识别演示
运行时类型识别演示-runtime type identification demo
- 2022-02-20 12:47:46下载
- 积分:1