登录
首页 » 汇编语言 » 建立循环链表,实现选猴王的程序:输入N只猴子,从第一只猴子开始报数(M),数到m的那只猴子就推出,如此循环,剩下的最后一直猴子就是猴王...

建立循环链表,实现选猴王的程序:输入N只猴子,从第一只猴子开始报数(M),数到m的那只猴子就推出,如此循环,剩下的最后一直猴子就是猴王...

于 2022-04-02 发布 文件大小:660.00 B
0 165
下载积分: 2 下载次数: 1

代码说明:

建立循环链表,实现选猴王的程序:输入N只猴子,从第一只猴子开始报数(M),数到m的那只猴子就推出,如此循环,剩下的最后一直猴子就是猴王-Circulation list set up, implementation procedures for the election of the King: Enter the N monkeys, monkeys from the first start off (M), only a few of the m Monkey on the introduction of such a cycle has been the last remaining Monkey is a monkey Wang! !

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

发表评论

0 个回复

  • RX8025时钟芯片操作程序,初始化时钟,写时间等,用(ASM)写!...
    RX8025时钟芯片操作程序,初始化时钟,写时间等,用汇编(ASM)编写!-RX8025 clock chip operating procedure, initialize the clock, the time to write, using the compilation (ASM) to prepare!
    2022-03-16 05:33:37下载
    积分:1
  • pwm modulation, proteus simulation, procedures, circuit diagrams, complete, and...
    pwm调制,proteus仿真,程序,电路图,全套,有不明白的Q我:64134703-pwm modulation, proteus simulation, procedures, circuit diagrams, complete, and I do not understand Q: 64,134,703
    2022-02-05 02:19:34下载
    积分:1
  • ds1302时钟电路的程序,译无法通过,请各位大虾指教...
    ds1302时钟电路的汇编语言程序,编译无法通过,请各位大虾指教-DS1302 clock circuit assembly language program, the compiler can not, please enlighten prawns
    2022-03-02 07:27:59下载
    积分:1
  • Verilog黄金教程,适合初学者及进阶
    Verilog黄金教程,适合初学者及进阶-Verilog Golden tutorial, suitable for beginners and advanced
    2022-08-21 05:16:39下载
    积分:1
  • STC89C51控制的点阵显示程序!实用型!已经调试过!
    STC89C51控制的点阵显示程序!实用型!已经调试过!-Dot-matrix display STC89C51 control procedures! Practical! Have been debugging!
    2022-04-01 19:04:15下载
    积分:1
  • Python对文件IO操作
    filePath="c:/test/tt.txt" #从文件中读取信息 f=open(filePath, "r")#运用读的方式打开文件, for line in f: #每次读取文件的一行内容      print(line) f.close() #向文件中写入信息 f=open(filePath, "a") #这里有两种方式:第一种是以w的形式,它写入时将会清空以前的数据然后再写入数据,第二种是以a的形式,它以追加的形式写入数据 f.write("我开始向文件中写入信息 ") f.writelines("我已经向文件写入了信息") f.close()
    2022-03-02 22:46:33下载
    积分:1
  • 中断列表(6) : WinHelp程序 263K
    中断列表(6) : WinHelp程序 263K-suspended list (6) : WinHelp procedures 263K
    2022-01-25 18:23:01下载
    积分:1
  • NN矩阵键盘的扫描,并读取键值,PIC开发源程序
    NN矩阵键盘的扫描,并读取键值,PIC开发源程序-NN matrix keyboard scanning, and reading keys, PIC development program
    2022-10-13 17:35:03下载
    积分:1
  • 9 realize elevator control layer functions as follows: 1, first assume that no p...
    实现9层电梯控制 功能如下:1,先假设没上楼之前,楼层运行看不到(没图形),可以当做随机看待。 2。当在某层按电梯开关后,在屏幕显示电梯停到该指定楼层的图形状态。 3。随后可以按想去的楼层,在屏幕显示电梯运动过程,, 4,可选择是否还执行本程序(坐电梯)-9 realize elevator control layer functions as follows: 1, first assume that no public housing, before running the floor can not see (no graphics) can be viewed as random. 2. When a layer switch by the elevator, the elevator stopped on the screen display to the graphics state designated floors. 3. Then may want to go to the floor, in the screen display elevator movement process, 4, can choose whether the implementation of this program (elevator)
    2023-05-11 11:30:03下载
    积分:1
  • 引导扇区源代码注释,用于描述系统的引导过程
    引导扇区源代码注释,用于描述系统的引导过程-Boot sector source code annotations, used to describe the system boot process
    2022-02-09 12:20:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载