文件名称:houzixuandawang
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 162kb
- 下载次数:
- 0次
- 提 供 者:
- 高*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
有M只猴子围成一圈,每只各一个从1到M中的编号,打算从中选出一个大王;经过协商,决定出选大王的规则:从第一个开始循环报数,数到N的猴子出圈,最后剩下来的就是大王。要求:从键盘输入M、N,编程计算哪一个编号的猴子成为大王 -Monkeys have M circle, each one each from 1 to M in number, intended to select from a king after consultations, decided to select a king s rule: starting from the first one reported that the number of cycles, the number of monkeys to N a circle, the last remaining is the king. Requirements: from the keyboard input M, N, the calculation program which became a number of monkey king
相关搜索: houzixuandawang
(系统自动生成,下载前可以参看下载内容)
下载文件列表
dawang.cpp
Debug
.....\dawang.obj
.....\houzi.exe
.....\houzi.ilk
.....\houzi.pch
.....\houzi.pdb
.....\vc60.idb
.....\vc60.pdb
houzi.dsp
houzi.dsw
houzi.ncb
houzi.opt
houzi.plg
题目.txt
Debug
.....\dawang.obj
.....\houzi.exe
.....\houzi.ilk
.....\houzi.pch
.....\houzi.pdb
.....\vc60.idb
.....\vc60.pdb
houzi.dsp
houzi.dsw
houzi.ncb
houzi.opt
houzi.plg
题目.txt