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

N-Queen

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

  • XTG-Game-Five
    一个成熟的网上五子期代码,使用层次化开发,都为控件方式,可进行扩充.(a maturity period of five children online code, the use of level of development, to have control, can be expanded.)
    2007-03-23 15:08:14下载
    积分:1
  • FIVE
    自己写的五子棋代码,可以直接执行,效率很高(Write your own backgammon code that can be executed directly, high efficiency)
    2013-10-10 10:56:31下载
    积分:1
  • MyFirstMFC
    围棋游戏源码,实现了落子、提子功能。 如果有编译错误,请去掉报错行的空格(“GoChess” Game Source code)
    2012-08-20 11:26:17下载
    积分: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
  • russiablock
    多人联网对战的俄罗斯方块程序。可以再局域网中进行(Multiplayer Battle Tetris networking programs.)
    2009-10-31 16:16:24下载
    积分:1
  • VCPP-chess
    这是一个vc++的中国象棋的程序设计,较为方便(This is a vc++ programming Chinese chess, more convenient)
    2015-05-28 10:14:40下载
    积分:1
  • Source
    俄罗斯方块源码 直接运行可以看到结果。好东西大家分享嘛 (Tetris source code can be run directly see the result. Good things to share with you why)
    2009-01-01 10:22:22下载
    积分:1
  • 111
    俄罗斯方块 Visual C++ 6 源码(Tetris Visual C++ 6 source)
    2007-11-25 09:42:25下载
    积分:1
  • C-language-games--gobang-code
    C语言游戏——五子棋,文中详细描述了五子棋游戏的设计规则,如何操作,而且有注释,可以简单明了的看懂操作(C language games- backgammon, backgammon paper describes in detail the design rules of the game, how to operate, and there are notes, you can understand straightforward operation)
    2013-08-15 09:23:21下载
    积分:1
  • wzq
    一个简单的五子棋程序,可以人机对弈,采用opencv1.0+vc6.0,来自于网上(A simple backgammon procedures can be man-machine chess, using opencv1.0+ vc6.0, the Internet)
    2016-12-23 09:57:42下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载