-
约瑟夫环(Joseph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始人选一个正整数作为报数上限值m,从...
约瑟夫环(Joseph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始人选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从它在顺时针方向的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序-Joseph Central (Joseph) a description of the problem is: numbered 1,2, ..., n of n individuals according to a clockwise direction around a circle, each holding a password (positive integer). The beginning of a positive integer as a candidate at a number of upper limit of m, from the first individual to embark on the clockwise direction since the beginning of the order of 1 is reported the number of stops required to report back at a few m. Those who reported m out of his password as the new value of m, in a clockwise direction from the next person to start off again from the 1, and so on, until all that out until all. Try to design a procedure to derive the column order
- 2022-02-10 01:58:28下载
- 积分:1
-
多文本软件
文字软件,用于多功能自动翻译,目前支持6种语言的自动翻译-Text software for multi-functional automatic translation, currently supports 6 languages, automatic translation
- 2023-04-16 20:40:03下载
- 积分:1
-
用于查询体育彩票的中奖情况,先导入自己写的体育彩票号码的文本文件,再导入历来中奖的体育彩票号码的文本文件,就可以查询。...
用于查询体育彩票的中奖情况,先导入自己写的体育彩票号码的文本文件,再导入历来中奖的体育彩票号码的文本文件,就可以查询。-inquiries for the sports lottery jackpot, the first to write into their sports lottery number in a text file, then import the sport has always winning lottery number in a text file, it can inquiries.
- 2022-12-14 10:05:03下载
- 积分:1
-
各种各样的java源程序
各种各样的java源程序-variety of java source
- 2023-08-09 11:50:03下载
- 积分:1
-
实现对LSP等钩子程序的管理。对于SOCKET编程有兴趣的人可以参考。...
实现对LSP等钩子程序的管理。对于SOCKET编程有兴趣的人可以参考。-install and uninstall LSP
- 2023-03-01 18:35:04下载
- 积分:1
-
该小程序是封装,实现一个图片浏览类的实例。
该小程序是封装,实现一个图片浏览类的实例。-procedure is the small package, enabling an image viewer category examples.
- 2023-08-24 04:10:03下载
- 积分:1
-
在MATLAB下实现高斯信道的产生,
在MATLAB下实现高斯信道的产生, -guass channel
- 2022-02-22 10:22:48下载
- 积分:1
-
蓝牙OAD源码
基于TI的2540的OAD升级程序,经测试可用,可以使用IOS手机端的MUTITOOL实现空中升级。升级速度超快,大概需要1.5分钟。
- 2023-06-04 23:20:04下载
- 积分:1
-
这是一个很小很简单的程序,就是在vc++平台上,实现本地IP地址查询。现实计算机名以及IP地址。...
这是一个很小很简单的程序,就是在vc++平台上,实现本地IP地址查询。现实计算机名以及IP地址。-This is a very very simple procedure, is vc++ Platform realize the local IP address query. Reality of the computer name and IP address.
- 2022-01-22 10:58:24下载
- 积分:1
-
该程序通过二进制操作,实现磁盘的格式化。类似dos里的format...
该程序通过二进制操作,实现磁盘的格式化。类似dos里的format-the program through binary operation to achieve disk formatting. The dos similar format
- 2022-02-25 02:25:35下载
- 积分:1