-
约瑟夫环:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自...
约瑟夫环:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为止。编程打印出列顺序。-Josephus : No. 1, 2, 3, ..., n n clockwise direction by individuals sitting around a circle, each holding a password (positive integers). An optional started as a positive integer reported limits on the number of m, from the first individuals to embark on the clockwise direction since the beginning of a sequence number off, the report m stop. M reported out of the list of his password as a new value m, from a clockwise direction in the next one started from a newspaper a few, like that, until the total of all listed so far. Programming print out the order.
- 2022-10-30 01:40:03下载
- 积分:1
-
fm2010 sch,it is very important
fm2010 sch,it is very important
- 2023-01-22 16:20:04下载
- 积分:1
-
一个经典的炸弹人游戏,大家可以看看,也可以自己修改一下.
一个经典的炸弹人游戏,大家可以看看,也可以自己修改一下.-a classic Bomberman game, we can see, can be their own again.
- 2022-02-24 20:24:26下载
- 积分:1
-
求电磁场边值,程序简洁,方法得当,运算速度快,是这一程序的最突出的特点...
求电磁场边值,程序简洁,方法得当,运算速度快,是这一程序的最突出的特点-For electromagnetic field boundary value, the program is simple and methodologically sound, computing speed, this procedure is the most prominent feature of
- 2022-08-07 23:16:46下载
- 积分:1
-
MIMO
MIMO-OFDM仿真程序,包含完整的信道仿真程序,信道估计程序-MIMO-OFDM simulation program, including a complete simulation program channel, channel estimation procedures
- 2023-03-28 02:10:03下载
- 积分:1
-
控制剪贴簿用两种方法,一种是利用 clipboardData,另外一种则是用 execCommand()。
这次先介绍第一种:clipboardData。...
控制剪贴簿用两种方法,一种是利用 clipboardData,另外一种则是用 execCommand()。
这次先介绍第一种:clipboardData。
-Satirical制cooked hugeous source shift using slander Gou Gou Yang , instance, using clipboardData , Hitomi Did Elsie外Gou instance, using mining Did execCommand () 。 soil Stick Um instance Ke Geng Zhuang Gou clipboardData 。 To:
- 2022-04-17 14:12:28下载
- 积分:1
-
Procedures can be obtained through the preparation of the framework of flow char...
通过编写程序即可得到程序框架流程图等的小软件工具-Procedures can be obtained through the preparation of the framework of flow chart of procedures, such as small software tool
- 2022-06-29 18:41:52下载
- 积分:1
-
VB icom控件例程,比较详细,可以参考
VB icom控件例程,比较详细,可以参考-VB icom control routines, in more detail, you can refer to
- 2022-07-09 23:28:34下载
- 积分:1
-
his little function rounds a number (or the elements of a vector ot matrix) towa...
his little function rounds a number (or the elements of a vector ot matrix) towards the nearest number with N significant digits.
Examples:
roundsd(0.012345,3) returns 0.0123
roundsd(12345,2) returns 12000
This is a useful complement to Matlab s ROUND, ROUND10 and ROUNDN (Mapping toolbox), especially when dealing with data with a large variety of order of magnitudes.
I was about to upload this file when I found "sd_round.m" by Edward Zechmann (see aknowledgment), which has similar feature (and more). But, because my script is very different in coding (much much shorter), I decided to share it anyway.
- 2022-06-30 21:07:55下载
- 积分:1
-
seg2数据格式,希望对于学相关数据格式的人有用
seg2数据格式,希望对于学相关数据格式的人有用-seg2 data format, data for the study were useful format
- 2023-08-25 15:40:03下载
- 积分:1