搜索资源列表
xiyangqishi
- 有多种方法喔!西洋棋中骑士的走法与象棋的马类似,只能横向二格,纵向一格或者横向一格,纵向两格(但是西洋棋棋子必须放在格子中),第1步有2种走法,第二步就有5种走法.今有5*5的棋盘,并将骑士的第一步放于左上角(0,0)的位置,试找出一个路径,使骑士在25步内把剩下的24个位置全部走完.输出结果时,将骑士的路径显示于的5*5的方格中,每一方格内显示出走到此方格内为第同步的数字. -are many ways! Chinese chess knight of the law and take a h
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
penguzzle
- 著名的15谜游戏(15-puzzle )的Tcl/Tk版本,现在它可以有 4x4, 5x5 或6x6 的格子,所以更加有趣,改变图片也更加容易。 -mystery of the famous 15 games (15-puzzle) Tcl / Tk editions, it could 4x4, 5x5 or 6x6 lattice, the more interesting and change the picture much easier.
WinNTL-5_3_1
- 密码学界牛人Victor Shoup用C++编写数论类库。 NTL is a high-performance, portable C++ library providing data structures and algorithms for arbitrary length integers for vectors, matrices, and polynomials over the integers and over finite fields and for arbitrary p
anb
- LBM Fortran code D2Q9 Model -LBM Fortran code D2Q9 Model
magicnumber
- 填数字方格的游戏有很多种变化,如下图所示的4×4方格中,我们要选择从数字1到16来填满这十六个格子(Aij,其中i=1..4,j=1..4)。为了让游戏更有挑战性,我们要求下列六项中的每一项所指定的四个格子,其数字累加的和必须为34-The game figures to fill the box there are many changes, as shown in Figure 4 × 4 grid, we have to choose from a number of 1-16 to f
nqueen
- 在n*n格的棋盘上放置彼此不受攻击的N各皇后,皇后可以攻击与其处在同一行或同一列或同一斜线上的棋子。-Lattice in the n* n chessboard placed on each other from attacks, N the Queen, the Queen can attack with in the same row or column or diagonal on the same piece.
sudou
- 数独问题 对于数独填充游戏,我们要保证在每一行,每一列,每一个方块中数字1..9 都恰好出现 一次。 ★数据输入 供输入数据包括9 行9 列,由数字1..9 和‘.’构成,其中‘.’表示未填数字的格子。 输入数据保证解唯一存在。 ★数据输出 将程序运行结果输出9 行9 列,将数独的空白的格子用正确的数字填充。-Sudoku Sudoku filled game, we want to ensure that each row, each column, each bo
k-means-2d-rand-point
- K_means经典聚类算法,用点阵可视化 通过产生随机点,不断更改中心点实现聚类-K Means classic clustering algorithm, with lattice visualization By generating random points, and constantly change the center point to achieve clustering