文件名称:skk
介绍说明--下载内容均来自于网络,请自行研究使用
建立循环链表,实现选猴王的程序:输入N只猴子,从第一只猴子开始报数(M),数到m的那只猴子就推出,如此循环,剩下的最后一直猴子就是猴王-Circulation list set up, implementation procedures for the election of the King: Enter the N monkeys, monkeys from the first start off (M), only a few of the m Monkey on the introduction of such a cycle has been the last remaining Monkey is a monkey Wang! !
相关搜索: 选猴王
(系统自动生成,下载前可以参看下载内容)
下载文件列表
selemonkeyking.cpp