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

N-Queen

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

  • 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
  • DriectX 2D引擎
    windows下的一套棋牌游戏的代码,源码设置了多个拓展接口方面各个功能的二次开发(Windows under a set of board and card game code, the source code set up a number of expansion interface aspects of the secondary development of various functions)
    2019-05-05 11:36:22下载
    积分: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
  • console
    说明:  象棋马的哈密顿回路算法代码,分治递归的方法。当m n<24时结果正确。这是重新上传,上一次工程中疏漏没有包含源码。(Hamilton horse chess circuit algorithm code, recursive partition method. When mn &lt 24 hours was correct. This is a re-upload, the last project oversight does not include source code.)
    2010-04-14 10:50:12下载
    积分:1
  • SixChess
    六子棋人机对弈程序,本人机器人博弈参赛程序,获冠军。(Sixchess p to computer)
    2020-10-23 23:17:21下载
    积分:1
  • MFC-game-example
    说明:  [趣味程序导学Visual.Cpp].董未名.文字版MFC,全是游戏实例([gout program guiding Visual. Cpp]. Tung. Text version MFC weiming,All game example)
    2011-04-03 00:48:48下载
    积分:1
  • card
    纸牌洗牌翻拍程序,实现对纸牌的洗牌,翻牌等功能,逐步演示,形象直观(Cards shuffle licensing procedures to achieve the cards of the reshuffle, flop and other functions, step by step demonstration, the visual image)
    2016-09-28 13:05:10下载
    积分:1
  • PlantomGo
    幻影围棋棋源代码,参加计算机博弈比大赛亚军的代码。(Phantom Go chess source code, to participate in a computer game than the runner-up code.)
    2021-01-20 22:48:43下载
    积分:1
  • 中国象源码
    运用vc开发的界面象棋游戏,主要运用基本的vc 函数编写.可帮助vc朋友运用算法及函数调用,进一步理解vc的机理.(use vc development of the interface chess games, primarily using basic function vc prepared. Friends can help vc used algorithm and function call, vc further understand the mechanism.)
    2005-05-24 14:11:28下载
    积分:1
  • 0206220330
    一个用Visal C++编写的俄罗斯方块小程序。(A used Visal C++ Prepared Tetris applet.)
    2008-07-15 08:44:06下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载