登录
首页 » Visual C++ » N-Queen

N-Queen

于 2012-08-31 发布 文件大小:2KB
0 255
下载积分: 1 下载次数: 4

代码说明:

  : N皇后问题,在一个N×N国际象棋盘 上,有N个皇后,每个皇后占一格;要求皇后间不会出现 相互“攻击”的现象,即不能有两个皇后处在同一行、同一 列或同一对角线上。问共有多少种不同的方法。下图以4 个皇后为例,说明一个正确的解( N是一个大于等于2并 且小于等于100的整数)(: N queens problem, a NN chess disk, N-Queen, Queen of the grid requirements between each other " attack" phenomenon does not appear in the Queen' s, that can not have two queens in the same row , the same column or on the diagonal. Asked a total of a number of different ways. The following diagram 4 Queen, for example, indicating that a correct solution (N is a number greater than or equal to 2 and less than or equal to an integer of 100))

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

发表评论

0 个回复

  • chess
    局域网内的五子棋游戏,WIN32编程,可以很好的学习windows消息机制(Backgammon games, WIN32 programming LAN can be a good learning windows message mechanism)
    2015-06-24 15:52:06下载
    积分:1
  • wzq
    用c语言写的五子棋游戏,用 了人工智能的,算法很好的。(us c)
    2010-05-18 23:09:07下载
    积分:1
  • wuziqi
    实现五子棋的功能,且是一个比较简单移动的程序(Realize the function of renju, and is a relatively simple mobile program )
    2012-04-15 11:17:34下载
    积分:1
  • wuziqi
    五子棋游戏源码,界面优美经典,编程思路清晰,非常适合学习。(Backgammon game source code, interface and beautiful classic programming ideas clearly, very suitable for learning.)
    2013-04-05 23:20:51下载
    积分:1
  • VC++
    残缺棋盘问题的VC++实现,用分而治之方法解决此问题(Defective chessboard problem VC++ Realize, using divide and conquer method to solve this problem)
    2008-02-25 16:11:23下载
    积分:1
  • source-code-VC-P-P-Othello
    说明:  带背景音乐的VC++黑白棋源代码,程序简单又娱乐(With background sound source code VC++ Othello)
    2011-03-13 18:32:24下载
    积分:1
  • three
    这个包括头文件,以及具体的实现函数(This is a chess game, three sons and a chess game, I hope you all like.)
    2012-02-22 18:34:16下载
    积分:1
  • _0.5
    类似中国象棋的小游戏的实现(similar to a small Chinese chess games to achieve)
    2005-01-24 21:30:26下载
    积分:1
  • FiveChess
    网络版的VB五子棋,CS结构,含游戏大厅.(Online version of the VB backgammon, CS structures, including the game lobby.)
    2013-08-03 22:35:13下载
    积分:1
  • VCPP-chess
    这是一个vc++的中国象棋的程序设计,较为方便(This is a vc++ programming Chinese chess, more convenient)
    2015-05-28 10:14:40下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载