-
(九宫问题)在一个3×3的九宫中有1-8这8个数及一个空格随机的摆放在其中的格子里。现在要求实现这个问题:将该九宫格调整为如图1-1右图所示的形式。调整的规则是...
(九宫问题)在一个3×3的九宫中有1-8这8个数及一个空格随机的摆放在其中的格子里。现在要求实现这个问题:将该九宫格调整为如图1-1右图所示的形式。调整的规则是:每次只能将与空格(上、下、或左、右)相邻的一个数字平移到空格中。试编程实现这一问题的求解。 -----------VC完整应用程序代码-(JiuGongTu) in a 3 3 JiuGongTu are 1-8 this August and the number of a random display spaces in which the grid yard. Now demands of the problem : this Jiugongge adjusted to the squad as shown in Figure 1-1 forms. Adjusted rules : Each will only spaces (upper and lower, or left and right), a number of adjacent spaces- were moved. Test Programming Solution of this problem.----------- VC complete application code
- 2022-05-31 10:30:23下载
- 积分:1
-
基本粒子群源代码
粒子群优化算法的基本思想是通过群体中个体之间的协作和信息共享来寻找最优解,每个粒子都有一个由目标函数决定的适应度值,并且知道自己到目前为止发现的最好位置,和现在的位置,在每次一迭代中,例子通过跟踪这两个极值来更新自己。
- 2022-05-07 20:03:10下载
- 积分:1
-
内存分配与回收设计,一个小实验
内存分配与回收设计,一个小实验-memory allocation and recovery design, a small experiment
- 2022-01-26 01:54:42下载
- 积分:1
-
strategic game writing russian programmers
strategic game writing russian programmers
- 2022-05-27 06:28:28下载
- 积分:1
-
WinCE上的图片浏览器,速度快,效果好
WinCE上的图片浏览器,速度快,效果好-WinCE image on the browser, fast, effective
- 2022-01-26 02:34:44下载
- 积分:1
-
ping 的程序,支持多种设置,包大小,时长
ping 的程序,支持多种设置,包大小,时长-ping procedures, to support a variety of settings, packet size, length of time
- 2022-01-26 03:10:31下载
- 积分:1
-
采用IO模拟I2C
该代码是基于STM107VCT6,I2C采用IO模拟的方式访问EEPROM的例程。由于网上经常出现使用STM的硬件I2C,总是会出现问题,这个代码中是采用IO模拟的方式
- 2022-04-20 10:22:41下载
- 积分:1
-
二
二维数组编程,帮助大家理解二维数组的存储和读取模式!-Two-dimensional array of programming, to help everyone understand the two-dimensional array of storage and read mode!
- 2022-05-16 00:20:08下载
- 积分:1
-
该原理是产生波形的文件,文件类型是ASM文件,欢迎下载!
该原理是产生波形的文件,文件类型是ASM文件,欢迎下载!-The principle is the waveform file, the file type is the ASM file, welcome to download!
- 2023-02-18 13:55:04下载
- 积分:1
-
vs2005_walkthroughs电子书
VS2005_Walkthroughs ebook
- 2022-04-15 08:10:19下载
- 积分:1