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

N-Queen

于 2012-08-31 发布 文件大小:2KB
0 281
下载积分: 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_Easy
    基于Visual C++实现的局域网象棋游戏,Socket通信,多线程。(design the chess game by use Visual C++ , Socket technology, Mutil Thread.)
    2013-09-17 19:04:26下载
    积分:1
  • 五子C++源码
    个人开发五子棋游戏的源代码,利用MFC实现,仅供参考!(personal development renju game's source code, using MFC for reference!)
    2005-06-08 15:31:50下载
    积分:1
  • black_white_chess
    black white chess black white chess black white chess black white chess
    2009-09-19 16:14:31下载
    积分: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
  • heibaiqi
    人人对战的黑白棋(Everyone against Riversi)
    2008-06-08 12:23:31下载
    积分:1
  • five
    五子棋的小程序,考虑了先手双三禁手的情况可以人和电脑,人和人,步数有统计,开始可以选择白旗或者黑棋(Gobang a small program, taking into account firstly the three pairs of hands can be cut and the computer, and the people, a few steps there are statistics, can choose to start a white flag or Black)
    2010-02-02 11:23:10下载
    积分:1
  • CardGames
    发牌程序,利用MFC编写,采用双缓冲技术实现发牌和显示(Licensing procedures, written using MFC)
    2013-04-02 19:18:01下载
    积分:1
  • wuziqi
    五子棋代码 源码 源码 源码 源码 源码 源码 源码 源码 源码 源码(wuziqi )
    2010-12-24 14:32:15下载
    积分:1
  • 5636457457
    VB语言写的台湾玩法的扑克牌游戏源代码。(Taiwan VB language play poker game source code.)
    2013-08-06 08:52:17下载
    积分:1
  • FIRlixiancundang
    五子棋人机对战,离线存档,可以悔棋,切换先手(Backgammon machine war, offline archive can undo switch the upper hand)
    2012-10-23 07:48:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载