- GGabbor_toolla Gabor 滤波器工具箱
- COLORATION-SYNTAXIQUE-AVEC-TPARSER TParser est une classe non documentée de Delphi. Elle est utilisée par Delphi pour lire un flux et le découper en tokens. Sa première utilisation est de convertir un fichier texte en un fichier binaire de fiche (fichier .dfm).
- SPWM_TEST 利用msp430f149做的产生SPWM程序
- Information-Estimators 这是一个有关信息熵估计
- AHRSupdate 九轴陀螺仪数据融合
- Cobject 倒立摆模型s函数
文件名称:monkey
-
所属分类:
- 标签属性:
- 上传时间:2014-04-28
-
文件大小:663byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
猴子选大王
任务:一堆猴子都有编号,编号是1,2,3 ...m ,这群猴子(m个)按照1-m的顺序围坐一圈,从第1开始数,每数到第N个,该猴子就要离开此圈,这样依次下来,直到圈中只剩下最后一只猴子,则该猴子为大王。
要求:
输入数据:输入m,n m,n 为整数,n<m
输出形式:中文提示按照m个猴子,数n 个数的方法,输出为大王的猴子是几号 ,建立一个函数来实现此功能 。
-Monkey king election tasks: a bunch of monkeys have numbers, numbers are 1,2,3 ... m, these monkeys (m) in the order of 1-m around a circle, beginning from the first number, each number through N, the monkey will leave this circle, and so on down until the circle only last a monkey, the monkey is king. Requirements: Input Data: Input m, nm, n is an integer, n <m
输出形式:中文提示按照m个猴子,数n 个数的方法,输出为大王的猴子是几号 ,建立一个函数来实现此功能 。
任务:一堆猴子都有编号,编号是1,2,3 ...m ,这群猴子(m个)按照1-m的顺序围坐一圈,从第1开始数,每数到第N个,该猴子就要离开此圈,这样依次下来,直到圈中只剩下最后一只猴子,则该猴子为大王。
要求:
输入数据:输入m,n m,n 为整数,n<m
输出形式:中文提示按照m个猴子,数n 个数的方法,输出为大王的猴子是几号 ,建立一个函数来实现此功能 。
-Monkey king election tasks: a bunch of monkeys have numbers, numbers are 1,2,3 ... m, these monkeys (m) in the order of 1-m around a circle, beginning from the first number, each number through N, the monkey will leave this circle, and so on down until the circle only last a monkey, the monkey is king. Requirements: Input Data: Input m, nm, n is an integer, n <m
输出形式:中文提示按照m个猴子,数n 个数的方法,输出为大王的猴子是几号 ,建立一个函数来实现此功能 。
(系统自动生成,下载前可以参看下载内容)
下载文件列表
monkey.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.