-
约瑟夫环:编号为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
-
马里奥游戏
这个游戏是马里奥(在日本人)的迷你版。该代码是用C写的与所谓的SDL库。
- 2022-04-24 17:31:33下载
- 积分:1
-
基于VFP开发的一个经典企业考勤管理系统,虽说界面不太好看,但功能齐全强大...
基于VFP开发的一个经典企业考勤管理系统,虽说界面不太好看,但功能齐全强大-VFP on the development of a classic enterprise management system for attendance, although not very good-looking interface, but powerful full-featured
- 2022-01-31 00:10:56下载
- 积分:1
-
MAX7219 digital tube
MAX7219数码管驱动芯片的c51驱动-MAX7219 digital tube-driven chip c51 driver
- 2023-08-09 17:45:02下载
- 积分:1
-
相关程序是一个实用的数据处理程序,非常方便
互相关计算程序
非常实用的一个数据处理程序
非常好用-interrelated program is a practical data processing procedures are very handy
- 2022-07-12 19:34:34下载
- 积分:1
-
这是一款介绍江苏省某些地区的旅游情况的,有兴趣的可以
这是一款介绍江苏省某些地区的旅游情况的,有兴趣的可以-Jiangsu Province introduced in certain areas of tourism, are interested can s
- 2023-01-03 00:20:22下载
- 积分:1
-
自动洗手器与自动干手器电路设计,有参考价值。
自动洗手器与自动干手器电路设计,有参考价值。-Automatic hand-washing device Automatic Hand Dryer with circuit design, have reference value.
- 2022-11-17 20:25:03下载
- 积分:1
-
This is a project on flight reservation system
This is a project on flight reservation system
- 2022-09-15 02:45:03下载
- 积分:1
-
数据结构中树的遍历,包括递归和非递归遍历 结构很完整
数据结构中树的遍历,包括递归和非递归遍历 结构很完整-data structure traversal of the tree, including recursive and non- recursive structure is complete traversal
- 2022-02-16 01:33:01下载
- 积分:1
-
一个小小的游戏!
为自己找回一些些童年的回忆!
仅此而已!...
一个小小的游戏!
为自己找回一些些童年的回忆!
仅此而已!-A little game! For their own back to some of those childhood memories! Nothing more!
- 2022-05-27 06:21:39下载
- 积分:1