文件名称:DivideCardGame
- 所属分类:
- 其他智力游戏
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 166kb
- 下载次数:
- 0次
- 提 供 者:
- 耳*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
游戏规则:将总数为M的纸牌(是N的倍数),任意的划分成成数目不等的N堆,然后经过下列规则的移动,使得每堆牌的数目相等:1.要向第i堆牌移动牌,只能从i+1堆或i-1堆中取得;2.第一堆牌只能从第二堆牌中取得;3.第N堆牌只能从第N-1堆牌中取得。
算法要求:求解均分时的最小移动次数-Rules of the game: the total M of the card (which is a multiple of N), divided into any number ranging from N into the heap, and then move through the following rules so that an equal number of cards per pile: 1. To the i-heap brand mobile card, only from the i+1 or i-1 heap heap made 2. The first pile of cards can only be obtained from the second reactor licensing 3. s N reactor license only from the first N-1 reactor license achieved. Algorithm requires: Solving the minimum number of moves when sharing
算法要求:求解均分时的最小移动次数-Rules of the game: the total M of the card (which is a multiple of N), divided into any number ranging from N into the heap, and then move through the following rules so that an equal number of cards per pile: 1. To the i-heap brand mobile card, only from the i+1 or i-1 heap heap made 2. The first pile of cards can only be obtained from the second reactor licensing 3. s N reactor license only from the first N-1 reactor license achieved. Algorithm requires: Solving the minimum number of moves when sharing
(系统自动生成,下载前可以参看下载内容)
下载文件列表
均分纸牌\Debug\test.obj
........\.....\vc60.idb
........\.....\vc60.pdb
........\.....\均分纸牌.exe
........\.....\均分纸牌.ilk
........\.....\均分纸牌.pch
........\.....\均分纸牌.pdb
........\test.cpp
........\均分纸牌.dsp
........\均分纸牌.dsw
........\均分纸牌.ncb
........\均分纸牌.opt
........\均分纸牌.plg
........\Debug
均分纸牌
........\.....\vc60.idb
........\.....\vc60.pdb
........\.....\均分纸牌.exe
........\.....\均分纸牌.ilk
........\.....\均分纸牌.pch
........\.....\均分纸牌.pdb
........\test.cpp
........\均分纸牌.dsp
........\均分纸牌.dsw
........\均分纸牌.ncb
........\均分纸牌.opt
........\均分纸牌.plg
........\Debug
均分纸牌