文件名称:DivideCardGame
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:165.98kb
-
已下载: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
均分纸牌/Debug/vc60.idb
均分纸牌/Debug/vc60.pdb
均分纸牌/Debug/均分纸牌.exe
均分纸牌/Debug/均分纸牌.ilk
均分纸牌/Debug/均分纸牌.pch
均分纸牌/Debug/均分纸牌.pdb
均分纸牌/test.cpp
均分纸牌/均分纸牌.dsp
均分纸牌/均分纸牌.dsw
均分纸牌/均分纸牌.ncb
均分纸牌/均分纸牌.opt
均分纸牌/均分纸牌.plg
均分纸牌/Debug
均分纸牌
均分纸牌/Debug/vc60.idb
均分纸牌/Debug/vc60.pdb
均分纸牌/Debug/均分纸牌.exe
均分纸牌/Debug/均分纸牌.ilk
均分纸牌/Debug/均分纸牌.pch
均分纸牌/Debug/均分纸牌.pdb
均分纸牌/test.cpp
均分纸牌/均分纸牌.dsp
均分纸牌/均分纸牌.dsw
均分纸牌/均分纸牌.ncb
均分纸牌/均分纸牌.opt
均分纸牌/均分纸牌.plg
均分纸牌/Debug
均分纸牌
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.