登录
首页 » 数据结构 » 八 方块移动游戏要求从一个含8个数字(用1

八 方块移动游戏要求从一个含8个数字(用1

于 2022-03-22 发布 文件大小:2.48 kB
0 246
下载积分: 2 下载次数: 1

代码说明:

八 方块移动游戏要求从一个含8个数字(用1-8表示)的方块以及一个空格方块(用0表示)的3x3矩阵的起始状态开始,不断移动该空格方块以使其和相邻的方 块互换,直至达到所定义的目标状态。空格方块在中间位置时有上、下、左、右4个方向可移动,在四个角落上有2个方向可移动,在其他位置上有3个方向可移 动。例如,假设一个3x3矩阵的初始状态为: 8 0 3 2 1 4 7 6 5 目标状态为: 1 2 3 8 0 4 7 6 5-Eight-box requirements of mobile games from one containing eight numbers (1-8 with express) the box, as well as a space box (with 0) of the 3x3 matrix of the initial start, and constantly move the box to make space its adjacent box and swap until they reach their defined target state. Spaces in the middle position box has the upper and lower, left and right direction of four removable, in the four corners there are two directions can be mobile, in other locations has three movable direction. For example, suppose a 3x3 matrix of the initial state as follows: 803,214,765 target state as follows: 123,804,765

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • hanoi
    hanoi
    2023-07-06 15:50:03下载
    积分:1
  • a database installed "individual job search management system" using t...
    一、数据库安装 《个人求职管理系统》使用MySQL数据库,请你先在你的数据库服务器上建立一个数据库,然后将你下载的程序解压缩后上传到你的网站空间下,接下来请将sql目录下的tdjob.sql文件导入你刚建立好的MySQL数据库中,导入的SQL文件会在数据库中新建两个数据表td_pjm_user和td_pjm_jobs。 注意:成功导入数据文件后,请修改lib目录下的config.jsp文件,该文件里包含了你的数据库连接信息,请进行相应的修改。 二、JavaBeans安装 将lib目录下的td文件夹拷贝到WEB-INF/classes目录下。td目录中有两个class文件,这两个文件的原Java文件你可以在lib目录下的source目录中找到。-a database installed "individual job search management system" using the MySQL database you, in your database server on the establishment of a database, then you download the procedures decompress after uploaded to your website space, then I would be grateful if sql directory of documents into your tdjob.sql just to establish good MySQL database, SQL file into the new database td_pjm_user two data tables and td_pjm_jobs. Note : Successful data into documents, please amend the lib directory config.jsp document, the document contains your database connection information, please amended accordingly. 2, JavaBeans lib directory will be installed under the td fo
    2023-06-16 04:55:03下载
    积分:1
  • 南开大学数据库大作业
    用Java连接数据库实现数据的插入,删除,查找,修改等功能
    2022-07-28 05:35:08下载
    积分:1
  • C语言编写的标准链表模板。包含链表的9种基本操作,链表的创建,判断,结点的增加、删除、查找,链表的删除等。...
    C语言编写的标准链表模板。包含链表的9种基本操作,链表的创建,判断,结点的增加、删除、查找,链表的删除等。-C language linked list of standard templates. Contains the list of nine kinds of basic operation, list creation, judgments node to add, delete, search, delete, etc. the list.
    2022-04-13 05:48:51下载
    积分:1
  • 在SQL archivosdedatos
    ----crear archivos.mdf.ldf和ndf
    2022-03-15 23:02:20下载
    积分:1
  • 成绩管理系统,用VC实现对ACCESS数据库的操作,实现基本的成绩管理功能!...
    成绩管理系统,用VC实现对ACCESS数据库的操作,实现基本的成绩管理功能!-performance management system, with VC right ACCESS database operation, to achieve the basic performance management functionality!
    2022-07-09 01:43:57下载
    积分:1
  • 顺序表类型的实现,数据结构清华大学严老师C语言第二版算法。...
    顺序表类型的实现,数据结构清华大学严老师C语言第二版算法。-order to achieve the type of data structure Tsinghua University teachers strict version of the second C-language algorithm.
    2022-09-28 02:05:03下载
    积分:1
  • 完全由C语言实现的图的相关操作,就是清华大学 数据结构书里的图的所有算法的实现...
    完全由C语言实现的图的相关操作,就是清华大学 数据结构书里的图的所有算法的实现-Solely by the C language implementation of related plans to operate, that is, Tsinghua University, the data structure of the book" s map of the implementation of all algorithms
    2023-04-22 07:25:03下载
    积分:1
  • 用vb6.0实现GIS的重要算法TIN的生长算法。
    用vb6.0实现GIS的重要算法TIN的生长算法。-GIS using vb6.0 an important method to achieve the growth of TIN algorithms.
    2022-12-21 20:10:03下载
    积分:1
  • libaly为OrCAD 16.2
    libaly for orcad 16.2
    2023-04-30 12:40:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载