资源列表
[棋牌游戏] 0810610
说明:编写程序求解“骑士巡游”问题:在n行n列的棋盘上(如n=5),假设一位骑士(按国际象棋中“马走日”的行走法)从初始坐标位置(x,y)出发,要遍访(巡游)棋盘中的每一个位置有且仅有一次。请编一个程序,为骑士求解巡游“路线图”(或告诉骑士,从某位置出发时,无法遍访整个棋盘 — 问题无解)。由于n比较大的时候输出结果会很多,以至于运行时间很长,没有实际意义,所以本程序只做了n=5的时候的情况。-Write a program for solving the Knight Parade ": n lin<MK> 在 2025-06-23 上传 | 大小:1kb | 下载:0
[棋牌游戏] search
说明:在西洋棋中的武士(knight)与象棋中的马相似,走的是L型路线,输入一个表示期盼的大小值n,在输入一个起点坐标,找出一条从那一个起点,可以让武士棋走完n*n格而不重复的路径-Samurai (knight) in chess and chess in the horse is taking the L-shaped route, enter a size value n looking forward to enter a starting point coordinates, to iden<熊智亮> 在 2025-06-23 上传 | 大小:1kb | 下载:0
[棋牌游戏] A-source-of-guess-number
说明:猜数字游戏的源代码.就是给你一个范围,让你猜中那个数字。每输入一个数字,它会提示太大或太小,根据提示,重新猜,知道猜到为止!-It s a source code of guessing numbers game.< 窦垚> 在 2025-06-23 上传 | 大小:1kb | 下载:0
[棋牌游戏] eight-queens-puzzle
说明:皇后问题(在8*8格的国际象棋盘上放置8个皇后,使得任意两个皇后不能互相攻击,即任何行,列或对角线上不得有两个或两个以上的皇后),打印输出皇后的位置,如在第一行第二个为01000000,以此类推逐行写出-The queen s problems (in 8* 8 s international chess on placed eight queen, make any two queen can t to fight each other, which means any line, colum<小钟> 在 2025-06-23 上传 | 大小:1kb | 下载:0
[棋牌游戏] mazouqipan
说明:中国象棋中马走遍棋盘问题的深度搜索算法求解-Chinese Chess horses all over the board the depth search algorithm for solving<bill> 在 2025-06-23 上传 | 大小:1kb | 下载:0
[棋牌游戏] Horse-Stepping-on-board
说明:在传统中国象棋中,马走日型路线。本代码就是按其规则,让马从棋盘任一点开始,输出它可以行走的所有点的坐标。-In traditional Chinese chess, horse go day-type line. The code according to the rules, let the horse from checkerboard any point, the coordinates of all points of output it can walk.<生菜贝贝> 在 2025-06-23 上传 | 大小:1kb | 下载:0