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

N-Queen

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

  • gvfsnakeMATLAB
    中医学是我国传统文化的瑰宝。舌诊是中医临床进行辨证论治过程中的一‘个 重要程序,其临床应用价值及理论意义得到古今医学家及不少国外医学家的充分 肯定。临床上对于各种疾病,往往结合辨舌来决定诊断和治疗,是中医诊治疾病 的特色之一,为历代医家所重视。(In traditional Chinese mescal diagnosis,tongue diagnosis is important parts)
    2020-08-17 14:08:22下载
    积分:1
  • 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
  • guojimajiang
    网狐6603国际麻将,视频麻将,完美无错,值得拥有(Fox 6603 International Mahjong, Mahjong video, perfect no mistake, worth having)
    2013-11-28 13:56:34下载
    积分:1
  • renjixiaqi
    人机下棋:在3×3棋盘上,计算机为一方,用户为一方,交替画“X”和“O”,在行、列、对角线上谁先练成一条直线谁就获得胜利。用类的思想完成,具体功能要求如下: (1)状态显示:计算机可正确显示棋盘,给出提示信息和胜负判断。 (2)用户选择:用户可以选择是先下还是后下,并选择棋子是“X”还是“O”。 (3)每一步都用图形化方式顺序输出 (Man-machine chess: on the 3 X 3 board, the computer for one party, the user for a party, draw an X and O alternately, in the row, column and diagonal who practice who would win in a straight line. Finish, with the ideas of the class specific functional requirements are as follows: (1) status display: the computer can correctly display board, giving prompt information and the outcome of judgment. (2) the user choice: the user can next is first or after, and the pieces is a X or O .)
    2020-07-04 13:00:02下载
    积分:1
  • N01111
    射击游戏,吃豆子的游戏,简单的界面,逻辑很流畅(Shooting game, Pacman game, simple interface, logic is smooth)
    2010-06-15 00:26:58下载
    积分:1
  • zhipaiyouxi
    用C++实现的制作一个简单的纸牌游戏的程序源码,大家可能在做报告时遇到(With C++ Realize the production of a simple procedure for card games source, make the report in the U.S. may encounter)
    2007-11-02 03:35:49下载
    积分: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
  • 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
  • vb_source
    VB版纸牌源码(VB source code version of Solitaire)
    2008-07-02 22:37:12下载
    积分:1
  • win32wuziqi
    没有实现所功能 请大家多多指点 本来想实现网络对打,但水平有限(not achieve functional Please have a lot to the guidance of 2-network, but is limited)
    2006-05-18 17:16:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载