文件名称:houzixuandawang
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:162.41kb
-
已下载: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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Debug/dawang.obj
Debug/houzi.exe
Debug/houzi.ilk
Debug/houzi.pch
Debug/houzi.pdb
Debug/vc60.idb
Debug/vc60.pdb
dawang.cpp
houzi.dsp
houzi.dsw
houzi.ncb
houzi.plg
houzi.opt
题目.txt
Debug
Debug/houzi.exe
Debug/houzi.ilk
Debug/houzi.pch
Debug/houzi.pdb
Debug/vc60.idb
Debug/vc60.pdb
dawang.cpp
houzi.dsp
houzi.dsw
houzi.ncb
houzi.plg
houzi.opt
题目.txt
Debug
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.