登录
首页 » 文档处理 » joseph环。任务:编号是1,2,……,n的n个人按照顺时针方向围坐一圈,每个人只有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始顺...

joseph环。任务:编号是1,2,……,n的n个人按照顺时针方向围坐一圈,每个人只有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始顺...

于 2022-05-30 发布 文件大小:54.47 kB
0 166
下载积分: 2 下载次数: 1

代码说明:

joseph环。任务:编号是1,2,……,n的n个人按照顺时针方向围坐一圈,每个人只有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向的下一个人开始重新从1开始报数,如此下去,直到所有人全部出列为止-joseph ring. Tasks: number is 1,2, ... ..., n of the n individuals in accordance with the clockwise direction around a circle, each person there is only one password (positive integer). One began to choose a positive integer as the number of reported upper limit m, from the first individual to start a clockwise direction since the beginning of the order of one off, back off m stop. Reported m the person out of his password as the new m value, in a clockwise direction from his next re-started from the beginning of one off, it goes on like this until all the column until all

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 2002_sim_reconf
    2002_sim_reconf
    2022-03-30 08:06:16下载
    积分:1
  • 有关光电子学的许多论,重点是法布里泊罗干涉仪和RPG
    有关光电子学的许多论文,重点是法布里泊罗干涉仪和RPG-Many opto-electronics-related papers, with a focus on Fabry Perot interferometer and RPG
    2022-02-06 07:45:42下载
    积分:1
  • 数据结构 c + + 的源代码
    这是前 c + + 数据结构源代码) 堆栈、 列表、 队列、 堆、 树
    2022-09-10 10:30:04下载
    积分:1
  • assignment on the optimal solution set
    关于指派问题的最优解集-assignment on the optimal solution set
    2022-05-17 04:15:33下载
    积分:1
  • 制作本的精华之
    制作文本的精华之处-text produced from the best
    2022-02-05 18:17:21下载
    积分:1
  • java 2 references greatly entire
    java2 参考大全-java 2 references greatly entire
    2022-01-26 08:25:01下载
    积分:1
  • 用Visual C++对WORD进行有关操作
    用Visual C++对WORD进行有关操作-Visual C for the right to operate WORD
    2022-02-01 01:30:30下载
    积分:1
  • MySQL参考手册,的在线MySQL的大部分都是英的,T.
    MySQL中文参考手册,网上MYSQL的文档大多数是英文的,此文档是MySQL编程者的福音-MySQL reference manual, online MYSQL majority of the documents are in English, this document is MySQL Programming the Gospel
    2022-01-28 04:34:38下载
    积分:1
  • model based on the synergy turning maneuvering target Prediction Algorithm
    基于协同转弯模型的机动目标预测算法-model based on the synergy turning maneuvering target Prediction Algorithm
    2023-08-30 03:20:03下载
    积分:1
  • 程序首先定义一个hello的函数调用int 21h mov ah ,09来显示字符串,ds:dx定义字符串位置 来使用一个80×25的界面使整个程序更加美观 游...
    程序首先定义一个hello的函数调用int 21h mov ah ,09来显示字符串,ds:dx定义字符串位置 来使用一个80×25的界面使整个程序更加美观 游戏主程序调用BIOS int 10 的9号功能实现对目标文本的颜色和定位,。游戏主程序可以用int 16 mov ah,00从键盘读取输入的字符在调用int 21 mov ah,01 让键盘输入显示在屏幕中 al=输入的字符,用cmp指令对输入的文本和目标文本进行比较,再利用选择语句将错误的输入字符显示为红色,将正确的输入字符显示为绿色。在整个字符串结束后直接退到dos环境-procedures hello first definition of a function call int 21 hours mov ah, 09 to show string, ds : dx definition string position to use a 80 x 25 interface to make the whole process more attractive game int main program called BIOS on the 9th of 10 functions to achieve the goal of text color and positioning. Game int main program can use 16 mov ah, 00 input from the keyboard to read characters in the call int 21 mov ah, 01 for keyboard input the screen were al = input characters using cmp directive of input text and the text more goals and used the wrong choice of words to the imported characters shown as red, to the correct input characters shown as green. The entire string after the end of direct retreated dos environmen
    2022-04-22 08:58:00下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载