文件名称:yuesefu
- 所属分类:
- 其他小程序
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- ke we*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
经典问题——约瑟夫环,就是几个人环坐在一起,选一个数,比如m开始数数,数到m的出列,后面接着进行,直到最后剩下一个人,他/她就是赢家。代码用c++实现,采用数组,基本能完成任务,但似乎还有点问题。包中c代码应该能行。-Classic Issues- Joseph Central, is the ring a few people sit together, the election of a few, such as the beginning of a few m number, the number of out of the m, followed until the last person left, he/she is the winner. Code used c++ Achieved using an array of basic tasks to complete, but it seems that there are points. Package should be able to c code.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
yuesefu.cpp
yuesefuhuan.c
yuesefuhuan.c