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

N-Queen

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

  • FIVE
    自己写的五子棋代码,可以直接执行,效率很高(Write your own backgammon code that can be executed directly, high efficiency)
    2013-10-10 10:56:31下载
    积分:1
  • 五子源码
    一个五子棋源码 .(a source.)
    2004-12-22 23:47:05下载
    积分:1
  • llk
    VC++ 6.0开发的游戏大厅,采用C/S模式,里面包含一个连连看游戏。(VC++ 6.0 developers of the game hall, with C/S model, which includes a Lianliankan game.)
    2020-12-09 11:59:19下载
    积分:1
  • CardGames
    发牌程序,利用MFC编写,采用双缓冲技术实现发牌和显示(Licensing procedures, written using MFC)
    2013-04-02 19:18:01下载
    积分:1
  • five
    五子棋程序,适合毕业设计,作业程序开发等等(very good)
    2011-12-22 20:04:11下载
    积分:1
  • fivecheer
    网络版本的五子棋.支持聊天,支持20桌同时进行游戏.(network version of the 331. Chat support, the support of 20 tables simultaneously game.)
    2007-06-07 15:25:20下载
    积分:1
  • luoxuanzhenlie
    用C++实现的螺旋阵列,代码少,且看起来简洁明了(Spiral Array Implementation)
    2010-01-11 19:57:08下载
    积分:1
  • Chess_Easy
    基于Visual C++实现的局域网象棋游戏,Socket通信,多线程。(design the chess game by use Visual C++ , Socket technology, Mutil Thread.)
    2013-09-17 19:04:26下载
    积分:1
  • QPWeb
    网狐原版网站后台,绝对完整!超值!!!!(code wh web aaaaaaa)
    2010-03-15 19:35:20下载
    积分:1
  • ttq
    VC++开发的跳跳棋益智小游戏,跳跳棋益智游戏(Jumping chess program VC++ developed jumping chess puzzle game)
    2012-07-25 22:11:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载