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

N-Queen

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

  • 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
  • C_lanugae_BlackAndWhiteGames
    黑白棋小程序的源代码,黑白棋的是一种智力游戏,采用了C++来实现这一种经典游戏(Othello applet source code, Othello is a mental game, using the C++ to achieve this a classic game)
    2010-12-23 14:10:49下载
    积分:1
  • eleeye
    著名象棋软件象棋巫师源代码。循序渐进实现象棋巫师。(Famous chess wizard chess software source code. Progressive realization of chess wizard.)
    2021-01-09 21:18:56下载
    积分: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
  • 5636457457
    VB语言写的台湾玩法的扑克牌游戏源代码。(Taiwan VB language play poker game source code.)
    2013-08-06 08:52:17下载
    积分:1
  • wuziqi
    c语言版五子棋,与pc版一样,拥有良好的界面(c yuyait can run on the pc)
    2016-12-28 14:26:29下载
    积分:1
  • heibaiqi
    人人对战的黑白棋(Everyone against Riversi)
    2008-06-08 12:23:31下载
    积分:1
  • chess
    局域网内的五子棋游戏,WIN32编程,可以很好的学习windows消息机制(Backgammon games, WIN32 programming LAN can be a good learning windows message mechanism)
    2015-06-24 15:52:06下载
    积分:1
  • gobang-game
    基于控制台的五子棋游戏,用easyX提供的图形接口进行编写,适合初学者,简单易懂,注释全面。注:安装图形库需要去EasyX官网下载“2012立冬版”,必须是这个版本,因为后来新的版本对有些函数做了调整,导致显示会有问题。(Console-based backgammon game, the graphical interface provided by easyX be written for beginners, easy to understand, comprehensive notes. Note: Installing graphics libraries need to EasyX official website to download " 2012 Lidong Edition" , must be this version, because the new version was made adjustments for some functions, resulting in the display there will be problems.)
    2014-10-11 14:53:47下载
    积分: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
  • 696518资源总数
  • 105547会员总数
  • 4今日下载