资源列表
[数据结构常用算法] CQueen
说明://八皇后问题:在国际象棋中,能否在空格棋盘上摆放八个皇后,并使其中任意两个皇后不能在同一行或同一列或同一对角线上,编写完整的摆放八皇后问题的程序。要求:第一个皇后的起始位置由键盘输入,国际象棋的棋盘为8*8的方格。-//Eight queens problem: In chess, can be placed in the space of eight on board the Queen, the Queen can not make any two of them in the same<赵汉卿> 在 2025-06-07 上传 | 大小:1kb | 下载:0
[数据结构常用算法] datastructureCodes
说明:数据结构课后习题的源代码,可以拿来学习一下基础知识-After-school exercise data structure source code could be used to learn about the basics<张无忌> 在 2025-06-07 上传 | 大小:96kb | 下载:0
[数据结构常用算法] diedaifa
说明:// 编程序 用迭代法求a的立方根,求立方根的迭代公式为 ::Xi+1=(2*Xi)/3+a/(3*Xi*Xi) 假定X的初值为a,迭代到|Xi+1-Xi|<10的-5次方为止. 显示a=3,27的值,并通过调用pow(a,1.0/3)函数加以验证.。-//Compile a program with Iteration Method and the cube root, find the cube root of the iteration formula is:: Xi+1 = (2*<赵汉卿> 在 2025-06-07 上传 | 大小:1kb | 下载:0
[数据结构常用算法] qishixunyou
说明:编写程序求解骑士巡游问题:在n行n列的棋盘上(如n=5),假设一位骑士(按象棋中“马走日”的行走法)从初始坐标位置(x1,y1)出发,要遍访(巡游)棋盘中的每一个位置一次。请编一个程序,为骑士求解巡游“路线图”(或告诉骑士,从某位置出发时,无法遍访整个棋盘 — 问题无解)。 当n=5时,意味着要在5行5列的棋盘的25个“点”处,按骑士行走规则,依次将1至25这25个“棋子”(数码)分别摆放到棋盘上(摆满25个位置则成功,否则失败问题无解)。 -Knight Parade prog<赵汉卿> 在 2025-06-07 上传 | 大小:2kb | 下载:0
[数据结构常用算法] shujujigoushiyanlizi
说明:数据结构实验例子及指导,其中包含大约20个实验。-Experimental examples of data structure and guidance, which contains about 20 experiments.<梁少泽> 在 2025-06-07 上传 | 大小:500kb | 下载:0
[数据结构常用算法] LCS68765873568
说明:求解序列的最长公共子序列问题,使用滚动数组的方法-Solve the sequence of the longest common subsequence problem, use the scroll method for array<李延明> 在 2025-06-07 上传 | 大小:1kb | 下载:0