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

N-Queen

于 2012-08-31 发布 文件大小:2KB
0 132
下载积分: 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 个回复

  • sanguo
    一款三国游戏,描述名将关羽勇猛杀敌,画面一般,新手上路(A three game, describing famous Guan Yu brave enemy, the general picture, Newbie)
    2011-11-21 22:35:05下载
    积分:1
  • source-code-VC-P-P-Othello
    说明:  带背景音乐的VC++黑白棋源代码,程序简单又娱乐(With background sound source code VC++ Othello)
    2011-03-13 18:32:24下载
    积分:1
  • sdk_dfj
    说明:  一个用SDK写的打飞机游戏 对学SDK很有帮助(an SDK with the aircraft was made to learn the game SDK helpful)
    2006-03-29 22:17:14下载
    积分:1
  • Game
    小游戏集合 五子棋+黑白棋+俄罗斯方块+井字游戏(game)
    2010-11-05 10:43:45下载
    积分:1
  • penball
    说明:  C++语言实现弹球游戏,图形界面更加美观,声音丰富(C++ language pinball game, a graphical interface even more beautiful, rich sound)
    2011-04-02 09:42:00下载
    积分:1
  • 00
    说明:  MFC中五子棋的设置,有界面,可以应用。谢谢(MFC in the backgammon set, there are interfaces that can be applied. Thank you)
    2011-05-06 19:12:41下载
    积分:1
  • wuziqi
    该工程是一个非常完整的,优化的五子棋源代码(VC),可以帮你学习路径选择算法和vc编程.(The project is a very complete, optimized Gobang source code (VC), can help you learn the path selection algorithm and programming vc.)
    2007-11-30 15:33:37下载
    积分:1
  • TicTacToe_dzy
    一个简单的井字过三关游戏,用qt实现...人机对弈AI(TipTacToe Game implementation)
    2011-11-21 13:32:20下载
    积分:1
  • wuziqiyouxi
    五子棋游戏,实现人工智能。单机游戏和多机游戏实现过程。(Backgammon games, achieve artificial intelligence. Single and multi-game machine game implementation process.)
    2013-12-09 19:04:44下载
    积分:1
  • black_white_chess
    black white chess black white chess black white chess black white chess
    2009-09-19 16:14:31下载
    积分:1
  • 696524资源总数
  • 103930会员总数
  • 47今日下载