搜索资源列表
Monkey
- 猴子吃桃数组解决 有一群猴子摘了一堆桃子,他们每天都吃当前桃子的一半且再多吃一个,到了第10天就只余下一个桃子。求出原来这群猴子共摘了多少个桃子。-Monkey eating a group of monkeys to solve an array of peach picked a bunch of peaches, peaches they currently eat every day and then eat a half, to the first 10 days left in a
houzi
- 有关猴子分桃的算法,能够取得比较好的效果,希望对大家有所帮助。-Peach monkey points about the algorithm, can achieve good results, we want to help.
efficient-monkey-king
- 猴子选大王 算法实现,即约瑟夫环问题,并不是模拟算法,而是将其转化为数学问题,从而提高算法性能-Joseph circle
baogao
- C++猴子选大王实验报告,内含源代码,还有报告模板,心得-shiyan baogao
mokey-king
- n只猴子围坐成一个圈,按顺时针方向从1到n编号。然后从1号猴子开始沿顺时针方向从1开始报数,报到m的猴子出局,再从刚出局猴子的下一个位置重新开始报数,如此重复,直至剩下一个猴子,它就是大王。设计并编写程序,实现如下功能: (1) 要求由用户输入开始时的猴子数n、报数的最后一个数m。 (2) 给出当选猴王的初始编号。-the monkey king
monkeyTest
- 利用c语言编写程序,以实现猴子选大王算法。-Using c language program, in order to realize the Monkey King of selected algorithm.
monkey
- 猴子选大王问题进行实现的代码,即Joseph算法实现-Type text or a website address or translate a document. Cancel Hóuzi xuǎn dàwáng shíxiàn de dàimǎ, jí Joseph suànfǎ shíxiàn Chinese- detected to English translation English Spanish Arabic Monkey King achieve t
houzi
- 猴子选大王,多项式计算拓扑排序,C语言编写的数据库实验-The Monkey King of choose, polynomial topological sort calculation
C
- 猴子选大王,办法如下:猴子按1,2,。。。,n编号围坐一圈,从第一只开始,按1,2,。。。, m报数,报m的退出,从下一只开始,继续循环报数,剩下的最后一只猴子就是大王, 编程输出大王的序号。 -select monkey
zuijiandanhouxixuandawang
- 猴子选大王最简单的程序,适合初学者学习c语言。-this is an easy programme.
javahouzixuandawang
- 这是用java语言编写的猴子选大王的程序,适合初学者学习java语言。-this is a good programme.
106
- 猴子吃桃子问题的VB程序示例,很不错的VB源码,适合VB爱好者学习研究。-Monkeys eat peaches problem of VB procedures example, a very good VB source code, suitable for VB enthusiasts to study.
Monkeys-Select-King
- 编程C语言:猴子选大王(关于链表的创建删除粘贴破坏等操作等等)-C programming language: the monkeys selected King to create a linked list (on delete paste the destruction operation, etc.)
houzizhaitao_wc
- 用labview制作的猴子吃桃算法,输入天数及剩余量即可得到第一天的桃子数-Use of the monkeys eat the peach labview making algorithm, and the remaining quantity input days you will get the first day of the peach number
monkey-eat-peach
- 猴子吃桃问题:猴子第一天摘下若干个桃,当即吃了一半,还不瘾,又多吃了一个 第二天早上又将剩下的桃子吃掉一半,又多吃了一个。以后每天早上都吃了前一天剩下的一半零一个。到第10天早上想再吃时,见只剩下一个桃子了。求第一天共摘了多少。 -monkey eat peach:first day ,the monkey picks some peaches,and eat half of them,but that can t satisfy him,he eat one more second day
houzichitaowenti
- 猴子吃桃问题,给定数量,问多久吃完,计算出来-The monkeys eat the peach problem, a given number, ask how often do you eat out, computed
taozi
- 海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩下的桃子又平均分成五份,又多了一个,它同样把多的一个扔入海中,拿走了一份,第三、第四、第五只猴子都是这样做的,问海滩上原来最少有多少个桃子? -Points by a bunch of peaches, five monkeys on the beach.This pile of peaches credentials of the first monkeys a
Dashengcaolian
- 大圣操练猴子的问题,考察Java中集合的各个用法。-As the problem of the Monkey King, a visit to the set of all usage in Java
The-Monkey-King
- 猴子选大王 *问题描述:一堆猴子都有编号,编号是1,2,3 ...m ,这群猴子(m个)按照1-m的顺序围坐一圈,从第1开始数,每数到第N个,该猴子就要离开此圈,这样依次下来,直到圈中只剩下最后一只猴子,则该猴子为大王。 *输入数据:输入m,n m,n 为整数,n<m *输出形式:中文提示按照m个猴子,数n 个数的方法,输出为大王的猴子是几号 ,建立一个函数来实现此功能 -* descr iption: a pile of monkeys have Numbers, Numbe
The-Monkey-King-of-choice-FOR
- 猴子选大王-FOR循环猴子选大王 *问题描述:一堆猴子都有编号,编号是1,2,3 ...m ,这群猴子(m个)按照1-m的顺序围坐一圈,从第1开始数,每数到第N个,该猴子就要离开此圈,这样依次下来,直到圈中只剩下最后一只猴子,则该猴子为大王。 *输入数据:输入m,n m,n 为整数,n<mtd *输出形式:中文提示按照m个猴子,数n 个数的方法,输出为大王的猴子是几号 ,建立一个函数来实现此功能 -The Monkey King of choice FOR circulatio