-
总个数确定后,每张盘curDisk的移动方向maybe_To是确定的且唯一的:如共有三个盘时,盘1始终向左移动。 这里,将柱子由左向右看成A(源柱子Source...
总个数确定后,每张盘curDisk的移动方向maybe_To是确定的且唯一的:如共有三个盘时,盘1始终向左移动。 这里,将柱子由左向右看成A(源柱子Source),B(借助的柱子Borrow),C(目标柱子Target). A的左看成C,B的左看成A,C的左看成B; A的有看成B,B的右看成C,C的右看成A; 每张盘的移动方法(因为不可能连续两次移动相同的盘!): 一个盘curDisk现在在 柱子curStick上,那么curDisk另一个柱子(3个中除了2个的另1个) 只要有选择的选择一个柱子curStick,分析、判断其最上面的盘curDisk的能否向curDisk确定的唯一的方向移动;移动 完后 再 选择 另一个 柱子 分析 判断 就可以完成了 (这个算法特别适合于人玩这个“弱智”(我有同学这么说)游戏,我玩我的文曲星pc1000a上的Hanoi 9层游戏,需要5分钟就可以移动完毕)-total number identified, each set curDisk maybe_To direction of the movement of which is determined only : If there are three disk, was always left a mobile. Here, the columns from left to right as A (source pole Source), B (using the pole Borrow), C (target pole Target). A left as C, B to the left as A, C on the left as B; A as the B, B on the right side as C, the right as A; each set of mobile methods (as it is impossible for the same two mobile disk!) : a set curDisk curStick now on the pole, then curDisk another pole (three in addition to two other one), when given a choice, choose a pole
- 2022-09-17 11:25:03下载
- 积分:1
-
这个做的是模拟银行的ATM截面,很简单的一个小程序,大家参考以下把...
这个做的是模拟银行的ATM截面,很简单的一个小程序,大家参考以下把-do is the bank"s ATM simulation section, a very simple one small procedure, we put reference to the following
- 2022-01-21 05:04:12下载
- 积分:1
-
一个非常简单的使用DWM API的例子
一个使用dwmapi窗口的非常简单的例子。要求:winvista-8,Delphi XE+,对于更旧的版本Delphi,有必要修改常规用法
- 2022-02-25 22:34:02下载
- 积分:1
-
可以全屏的Vc++ SWF播放功能源码
一个VC++ Flash播放功能,可全屏播放SWF格式的动画文件,可由此扩展成一个Flash播放器,内核基于flash.ocx控件,编译本源码后,直接运行Debug目录下的exe文件,即可全屏播放测试的SWF文件,按ESC键可退出全屏播放。
- 2022-03-06 17:13:01下载
- 积分:1
-
异步电动机调压调频正弦波直流脉宽调速系统(SPWM)的仿真模型...
异步电动机调压调频正弦波直流脉宽调速系统(SPWM)的仿真模型-Induction Motor VVVF DC sinusoidal PWM system (SPWM) simulation model
- 2023-08-20 17:50:03下载
- 积分:1
-
neural network series information and construction.
neural network series information and construction.
- 2022-07-06 23:38:29下载
- 积分:1
-
用Turbo C++ 3.0开发的模拟Windows扫雷的游戏,支持键盘和鼠标两种控制方式,支持鼠标右键,支持双键功能。...
用Turbo C++ 3.0开发的模拟Windows扫雷的游戏,支持键盘和鼠标两种控制方式,支持鼠标右键,支持双键功能。-Turbo C 3.0 with the development of the mine-simulation game for Windows, support both keyboard and mouse control and support with the right mouse button, double bond support functions.
- 2022-03-02 22:35:45下载
- 积分:1
-
在turboc2低于331,两人玩,你想看的话自己…
turboc2下面的五子棋,两个人玩的,大家想看看的话可以下载来自己编译-turboc2 below the 331, two people play, you want to look at the words themselves can be downloaded to compile
- 2023-07-21 08:40:02下载
- 积分:1
-
32点FFT的实现
32 bit FFT implementation
- 2022-06-12 01:10:37下载
- 积分:1
-
msp430f149 spi fet140_spi0_01.s43
msp430f149 spi fet140_spi0_01.s43
- 2023-06-26 22:45:02下载
- 积分:1