-
八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的...
八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的皇后后,第i+1行找不到合适的位置,这时就回到第i行,把第i行的皇后放到下一个位置,继续尝试下一行。如此反复,知道找到所有的解。注意,这种算法找的解可能有等价的,某些解可由别的解经过旋转棋盘得到。-visual demostration in vc of eight queens problem.
algorithm: backtracking.
First, put a queen on first line then find a suitable position on 2nd line for next queen, and so on. When all eight lines have queens, it means we have find a solution. If we put the i-th queen, but can find a suitable position on the (i+1)th line, then back to the ith line and move the queen on the ith line to next suitable position and move on to the next line. Repeat this until we have found all the solutions. Note:By this mean, some solutions maybe equivalent to others, some can be acquired by the rotation of other solutions.
- 2022-03-23 15:20:19下载
- 积分:1
-
PXA255的外部扩展功能,使用lc4256
PXA255外围扩展功能,使用LC4256-176TQFP。扩展了CF卡、分时复用串口、电源管理、键盘等接口/功能。-PXA255 external expansion function, use the LC4256-176TQFP. Expansion of the CF card, time-sharing multiplexed serial port, power management, keyboard interface/functionality.
- 2022-03-06 13:47:36下载
- 积分:1
-
这是一个代码
IDL 应用于大气科学类 常用物理量的计算-this is a code for
idl atomoshphere
- 2022-11-09 07:25:03下载
- 积分:1
-
两个word文件:
1)、C++常用库函数,里边全都是我整理过的。
2)、c++常用数学函数,我把它们列出来了,并给出了简洁的解释...
两个word文件:
1)、C++常用库函数,里边全都是我整理过的。
2)、c++常用数学函数,我把它们列出来了,并给出了简洁的解释-Two word documents: 1), C++ Common library function, inside all that I have been collated. 2), c++ Common mathematical functions, I put them to the list, and gives a concise explanation
- 2022-03-18 20:11:37下载
- 积分:1
-
自动取款机源码
自动赚钱机源码 for delphi-automatic money machine source for delphi
- 2023-03-21 18:15:04下载
- 积分:1
-
Windows下的高精度计时和高频事件的产生 在开发 Windows 下的应用程序时,经常需要用的计时,尤其在一些对时间要求比较高的程序中,计时的精确性是很重要...
Windows下的高精度计时和高频事件的产生 在开发 Windows 下的应用程序时,经常需要用的计时,尤其在一些对时间要求比较高的程序中,计时的精确性是很重要的,本文介绍了两种精确计时的方法,计时的精度可以达到ms级,而且可以认为它是精确的,可以在大多数情况下作为时间的基准。-under Windows precision timing and the selection of high-frequency events in the development of Windows applications, we often need to use the time, especially in some of the high demand on time the procedure, the accuracy of time is very important, this paper introduces two methods of precision timing, timing accuracy can be achieved ms level, but also that it is accurate, in most cases, as time benchmarks.
- 2022-02-16 10:03:00下载
- 积分:1
-
hefty almanac IC DS1307 AT89C2051 and procedures prepared by the clock.
本程序是万年历集成电路DS1307与AT89C2051编写的时钟程序。-hefty almanac IC DS1307 AT89C2051 and procedures prepared by the clock.
- 2022-09-24 21:15:02下载
- 积分:1
-
运行环境VC++6.0, 适用于VC初学者
运行环境VC++6.0, 适用于VC初学者-operating environment VC 6.0, applicable to the VC beginners
- 2022-03-23 22:31:50下载
- 积分:1
-
各种实例的数据运算
里面有数据操作的各个例子-inside data operation of the various examples
- 2023-02-18 16:05:04下载
- 积分:1
-
单链表实现选择排序!
单链表实现选择排序!-achieve SELECTION SORT!
- 2022-01-25 21:38:07下载
- 积分:1