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

N-Queen

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

  • 20dianyouxi
    20点小游戏,学会它可以让你在朋友前炫耀一下。(this case is a 20-point game, learn which will allow you to show off at a friend s before)
    2012-02-17 22:19:38下载
    积分:1
  • Source
    俄罗斯方块源码 直接运行可以看到结果。好东西大家分享嘛 (Tetris source code can be run directly see the result. Good things to share with you why)
    2009-01-01 10:22:22下载
    积分:1
  • N-Queen
    : 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))
    2012-08-31 17:31:00下载
    积分:1
  • Gomoku
    简单五子棋,简单学习算法,很弱的AI,原文是Python语句,现改写位c++(Simple backgammon, simple learning algorithm, very weak AI, the original is a Python statement, is now rewritten bit c++)
    2017-06-19 22:08:12下载
    积分:1
  • pukepaidama
    扑克牌游戏编程代码 行数不多但功能精确完好(pu ke pai you xi bian cheng dai ma )
    2012-05-04 12:57:07下载
    积分:1
  • wuziqi
    五子棋游戏源码,界面优美经典,编程思路清晰,非常适合学习。(Backgammon game source code, interface and beautiful classic programming ideas clearly, very suitable for learning.)
    2013-04-05 23:20:51下载
    积分:1
  • C-language-games--gobang-code
    C语言游戏——五子棋,文中详细描述了五子棋游戏的设计规则,如何操作,而且有注释,可以简单明了的看懂操作(C language games- backgammon, backgammon paper describes in detail the design rules of the game, how to operate, and there are notes, you can understand straightforward operation)
    2013-08-15 09:23:21下载
    积分:1
  • ttq
    VC++开发的跳跳棋益智小游戏,跳跳棋益智游戏(Jumping chess program VC++ developed jumping chess puzzle game)
    2012-07-25 22:11:54下载
    积分:1
  • wuziqi
    五子棋程序设计,设计方式步骤详尽解释,适合初学者,让你熟悉C语言(Backgammon program design, design approach procedure detailed explanation, suitable for beginners, so you are familiar with the C language)
    2013-08-13 10:31:30下载
    积分:1
  • wuziqi
    c语言版五子棋,与pc版一样,拥有良好的界面(c yuyait can run on the pc)
    2016-12-28 14:26:29下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载