文件名称:118_10
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-12-03
- 文件大小:
- 669kb
- 下载次数:
- 0次
- 提 供 者:
- 王**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
狼找兔子问题:一座山周围有n个洞,顺时针编号为0,1,2,3,4,…,n-1。一只狼从狼从零号洞开始,顺时针方向计数,每当经过第m个洞时,就进洞找兔子。例如n=5,m=3,狼经过的洞依次为0,3,1,4,2,0。输入m,n。兔子有没有幸免的机会?如果有该藏在哪?-The Wolf find rabbits problem: a mountain have n holes, clockwise Numbers for 0,1,2,3,4,... , n- 1.A Wolf from the zero number hole start, clockwise count, when after the first m a hole, hole to find a rabbit. For example, n = 5, m = 3, the Wolf through hole in turn is 0,3,1,4,2,0. Input m, n. Rabbits have surviving opportunity? If there is the hidden?
(系统自动生成,下载前可以参看下载内容)
下载文件列表
118_10
......\118_10.dsp
......\118_10.dsw
......\118_10.ncb
......\118_10.opt
......\118_10.plg
......\Debug
......\.....\118_10.exe
......\.....\118_10.ilk
......\.....\118_10.pch
......\.....\118_10.pdb
......\.....\vc60.idb
......\.....\vc60.pdb
......\.....\狼找兔子.obj
......\狼找兔子.cpp