-
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
-
a chatroom programme by winsock
简单的聊天室代码,winsock以及vc++编程实现-a chatroom programme by winsock
- 2022-03-26 06:51:54下载
- 积分:1
-
实现画图板,是很有用的程序,
实现画图板,是很有用的程序...
实现画图板,是很有用的程序,
实现画图板,是很有用的程序-Draw.rar
- 2022-06-30 13:44:41下载
- 积分:1
-
以固定格式在A4纸上打印保存重要的文本文件和源代码 (一页纸上保存尽可能多的内容)...
以固定格式在A4纸上打印保存重要的文本文件和源代码 (一页纸上保存尽可能多的内容)-a fixed format printing on A4 paper to preserve important text documents and the source code (a paper to preserve as much as possible the content)
- 2023-01-15 02:30:04下载
- 积分:1
-
Windows Mobile 平台应用开发一书所带示例源代码
Windows Mobile 平台应用开发一书所带示例源代码-Windows Mobile application development platform, the book brought the example source code
- 2023-03-13 15:30:05下载
- 积分:1
-
一个网络聊天服务端
一个网络聊天服务端-an Internet chat server
- 2022-01-31 06:46:34下载
- 积分:1
-
教你使用
teach yourself Access
- 2022-08-22 08:02:05下载
- 积分:1
-
这个fortran程序,主要是如何让fortran输出时不按列输出,而是按行输出,然后在一定条件时回车换行,如何操作里面都有详细说明(fortran)...
这个fortran程序,主要是如何让fortran输出时不按列输出,而是按行输出,然后在一定条件时回车换行,如何操作里面都有详细说明(fortran)-The fortran program, mainly how to make fortran output when the output is not listed, but by the line output, and then under certain conditions when the carriage return line feed, how to operate it has a detailed description (fortran)
- 2023-01-05 00:25:03下载
- 积分:1
-
关于日期的各种操作的C++的程序
关于日期的各种操作的C++的程序-date on the various operational procedures for the C
- 2023-08-30 05:20:03下载
- 积分:1
-
登录界面,验证密码和用户名,然后进入主界面,否则出错,退出....
登录界面,验证密码和用户名,然后进入主界面,否则出错,退出.-Login screen, verify your password and user name, and then enter the main interface, or, exit.
- 2022-02-05 11:58:52下载
- 积分:1