搜索资源列表
monkey~~~~
- 一个简单的数据结构 解决经典的猴子选大王问题-a simple data structure to solve the classic problem of monkeys elected king
2006102411
- 猴子选大王,c语言,有源码,有注释,可供使用交流。-election monkey king, c language, the source code, notes, the availability of the exchange.
xyx
- 这是数据结构的应用 有小游戏的开发和计算 如猴子选大王 纸牌 文本统计等-This is the data structure of a small game development, and if the calculation monkey king playing card version of the election statistics
shujijiegou
- 用数据结构做的约瑟夫问题,其中还包括类似问题中的猴子选大王算法 -do with the data structure Joseph problems, which also included a similar problem is the monkey king algorithm election
monkey
- 猴子选大王代码 猴子选大王代码
monkey
- 该程序为猴子选大王的程序,动态分配空间产生一个顺序队列,为圈子里的猴子安排编号,通过一个指针的移动来选择退出队列的猴子,经过几次循环可以得到最终的大王
monkey
- 数据结构课上练习的有趣问题:一群猴子围成一圈通过报数选出猴王
A0_001 链表编程
- N只猴子要选大王,所有猴子按1,2,3...M报数,凡报到M的退出圈外,如此循环,直到圈内只剩一只,就是大王了. 分析:建立一个环形链表,每个猴子就是链表中的一个结点,那么猴子出圈就是对环形链表中的结点的删除,只到最后剩下的一个结点为止.-N monkeys to elect king, all the monkeys reported by a number 1,2,3 ... M, where M to report the withdrawal of outsiders, a
houzi
- 猴子摘香蕉问题使用C++语言描述,写的不好请大家多提意见!-Monkey mialaw problems using C++ language descr iption, is badly written please speak up!
Monkey
- 本代码简要的描述了队列的创建及其一些对队列元素的基本操作-Queue Descr iption
monkey_king
- 找猴王,用单项循环链表实现的c语言程序 -find monkey king
HZXDW
- 猴子选大王 数据结构经典问题 C语言实现-Monkey king selected the classic problems of data structure, C language
MONKEY
- 数据结构线性表中的循环单链表的应用实例(c语言实现)-Linear list data structure linked list in a single cycle of an application example (c language)
ChooseKing
- 约瑟夫问题,也即猴子选大王的问题。采用循环链表来实现。-Josephus problem, namely the problem of the monkey king election. Achieved using circular linked list.
houzi
- n只猴子要选猴王,所有猴子按1,2,…,n编号围坐一圈,从第1号开始按1,2, …,m报数,凡报到m号的猴子退出圈外,如此循环报数,直到圈内剩下一只猴子时,这个猴子就是猴王。编写一个程序实现上述过程,n和m由键盘输入。-n monkeys to choose the Monkey King, all the monkeys by 1,2, ..., n No sitting around, starting from No. 1 by 1,2, ..., m the number reporte
Monkey_King(1)
- 数据结构 monkey_king 算法 c语言 可运行-monkey king
gecco09
- Metaheuristic Monkey search algorithm
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
Choose-Monkey-King
- 选猴王(C语言)设置是150只,每5只去掉1只,可自行修改。-The election Monkey King (C language) setting is 150, a 5 removed, can be modified.
Monkey-king-election
- 【问题描述】 一堆猴子都有编号,编号是1,2,3 ...m ,这群猴子(m个)按照1 m的顺序围坐一圈,从第1开始数,每数到第N个,该猴子就要离开此圈,这样依次下来,直到圈中只剩下最后一只猴子,则该猴子为大王。 【基本要求】 输入数据:输入m,n。m,n 为整数,n<m; 输出形式:中文提示按照m个猴子,数n个数的方法,输出为大王的猴子是几号,建立一个函数来实现此功能。-[Problem Descr iption] a bunch of monkeys have numbe