搜索资源列表
HORSEJUMPCHESS
- 马跳棋盘递归算法(TC实现,并提供示意图),可移植到任何C编译器-Ma checkerboard recursive algorithm (TC achieved, and to provide diagram), and can be transplanted to any C compiler
linkedmatrix
- 一种基于二维链表的稀疏矩阵模半板类设计 A template Class of sparse matrix. Key technology: bin,2-m linked matrix. constructors: 1.normal constuctor 2.copy constuctor. 3.assignment constructor. Basic operator: 1. addition(sub) of two matrix 2. inverse of a ma
chinahorse
- 如果車不動,請設計算法:按馬走日的方法但又不能被車吃掉,用回溯法設計馬的走法,並打印出路程.可以做為軟體設計的參考-If the car does not move, please algorithm design : taking Japan by Ma but the car can not be eaten, Design Retrospective with a horse walk, and print out distance. can be used as a reference
knight
- 骑士遍历问题,在一个n*n个方格的国际象棋棋盘上,马(骑士)从任意指定方格出发,按照横1 步竖2 步,或横2 步竖1步的跳马规则,走遍棋盘的每一个格子,且每个格子只走1次。-Knight, in an n * n box at the international chess board, Ma (Knight) from the arbitrary designation box and, in accordance with a further horizontal two-step vert
马踏棋盘(第2章)
- 1. 问题描述设计一个国际象棋的马踏遍棋盘的演示程序。2. 基本要求将马随机放在国际象棋8*8棋盘的某个方格中,马按走棋规则进行移动。编制非递归程序,求出马的行走路线,将数字1,2,3,4,…,64依次填入一个8*8方阵。-1. Problem descr iption design of a chess board Ma travels in the demonstration program. 2. Ma basic requirements on random chess 8 * 8 ch
马踏棋盘问题.
- 将马随即放在国际象棋的8×8棋盘Board[8][8]的某个方格中,马按走棋规则进行移动。要求每个方格只进入一次,走遍棋盘上全部64个方格。编制非递归程序,求出马的行走路线,并按求出的行走路线,将数字1,2,……,64依次填入一个8×8的方阵,输出之。-Ma immediately on the international chess 8 8 chessboard Board [8] [8] of a box, MA by the rules of chess go mobile. Requi
mataqipan
- 马踏棋盘的C语言代码。将马随机放在国际象棋的8X8棋盘Board[8][8]的某个方格中,马按走棋规则进行移动。要求每个方格只进入一次,走遍棋盘上全部64个方格。编制非递归程序,求出马的行走路线,并按求出的行走路线,将数字1,2,。。。,64依次填入一个8X8的方阵,输出之。-Horse riding board the C language code. Ma randomly on the 8X8 chess board Board [8] [8] of a box, the horse mo
horse
- 实现马周游的改良算法,通过平移,设优先级等方法使在每一个出发点的运行时间降到最低-Ma traveled to achieve improved algorithm, through translation, priority-based method, such as a starting point in each of the running time to a minimum
dist
- 向量距离问题:对于给定的m 个整数m a , a , ,a 1 2 组成的向量A, a m i | |£ ,1 £ i £ m,和另一个由 n个整数n b ,b , ,b 1 2 组成的向量B, b n i | |£ ,1 £ i £ n,试设计一个O(m + n)时间算法, 计算给定向量A和B的距离。-Vector distance problem: For a given m integers
1152
- 马周游问题代码,走日字形的马在 一个棋盘-Ma tour problem code
suanshu
- 本程序描述了算数编解码,首先实现了,图像的读取与显示。以及算术编码的实现,与哈夫曼编码相比较,实现了整体的编码-suan shi bian ma zhu yao shi xian le dui zheng ge maliu de bian ma ,bu zhi zhi dui mei ge fu hao de bian jie ma
madebianli
- 马的遍历,经典问题,让马随机从一个位置开始,不重复地走过8*8的棋盘。-Ma traversal, classic, and let Ma randomly from one location and will not be repeatedly passed 8* 8 board.
New-Text-Document-(2)
- 用Dijkstra算法求单源最短路径 输入参量ma是距离矩阵 输出参量是一个三行n列矩阵,每列表示顶点号及顶点到源的最短距离和前顶点-With a single-source Dijkstra shortest path algorithm for getting the input parameter ma is the output parameter from the matrix is a matrix of three rows of n columns, each colum
Knight
- 1.实验目的:通过实验理解算法的概念、算法的表示、算法的时间复杂度和空间复杂度分析;运用熟悉的编程工具对骑士周游列国问题进行求解,初步学会分析算法的时间复杂度和空间复杂度; 2.在一张国际象棋棋盘上(8*8方格),骑士(knight,马)位于任意一个位置。问如何才能让骑士不重不漏的经过棋盘上的每个格?本问题中已知骑士位置(m,n),其中0=<m,n<=8,要求给出骑士行走路径,路径可用8*8矩阵输出,其中值表示骑士到达此位置行走的步数(初始为1) -1. Experimen
gl-ma
- Gray Code是一个数列集合,每个数使用二进位来表示,假设使用n位元来表示每个数好了,任两个数之间只有一个位元值不同-Gray Code a series of collections, each use binary numbers to represent, assuming the number of n bits to represent each well, and only between any two numbers a bit different from the valu
ma-ta-qi-pan
- 纯C写的马踏棋盘经典算法,便于初学者学习-Written in pure C classical algorithm horse riding board, easy for beginners to learn
shujujiegou
- 数据结构,顺序算法实现代码!编写一个程序sqsearch,输出在表中{{黎明,男,16,计算机系},{欧阳,男,16,计算机系},{李莉,女,18,计算机系},{马金霞,女,19,计算机系},{马平,男,18,计算机系},{刘博,男,17,计算机系}}顺序查找姓名为“刘博”的过程。-Data structure, sequence algorithm code! Write a program sqsearch, output in the table {{dawn, male, 16, Dep
data-structure
- 清华 严蔚敏《数据结构》的全部代码实现(C语言)-shu ju jie gou ,dai ma
bashuma
- 八数码问题 实现八皇后的自动排列 运用人工智能技术-ba shu ma shixian ba huang hou de zi dong pai lie
suan-fa-bian-ma
- 算法编码的实现 进一步熟悉算法编码过程;掌握超长小数的转换方法和调试技术。-The realization of the algorithms