资源列表
[C#编程] 文曲星游戏
说明:这是文曲星里的小游戏,本人用C语言将其编出并添加破纪录功能。游戏规则:随机产生4个数字,由玩家输入4个不重复的数字(如:8 3 1 2)按回车后电脑给出提示,其形式为\"?A?B\".你所输入的四位数中,位置和数字都正确则为A,数字相同但位置不相同时为B,你只可以猜10次,若你所用的次数小于纪录保持者,则为破纪录。小作一篇,请多请教! -This is a small game, I used the C language out to be record-breaking and add<高天一> 在 2008-10-13 上传 | 大小:1.35kb | 下载:0
[C#编程] matchall
说明:看过网上很多匹配算法。都只支持一次匹配。比如aadsfasdfaa...和数据串aa。匹配一次以后另外一个就没有匹配了,这里改进了一下。上传-read many online matching algorithm. Only a matching support. For example aadsfasdfaa ... aa string and data. After a match no one other matches here to improve a bit. Upload<刘世金> 在 2008-10-13 上传 | 大小:1.36kb | 下载:0
[C#编程] 8queenc
说明:1) 【八皇后问题】设在初始状态下在国际象棋棋盘上没有任何棋子(皇后)。然后顺序在第1行,第2行,…。第8行上布放棋子。在每一行中有8个可选择位置,但在任一时刻,棋盘的合法布局都必须满足3个限制条件,即任何两个棋子不得放在棋盘上的同一行、或者同一列、或者同一斜线上。试编写一个递归算法,求解并输出此问题的所有合法布局。-1) [8 Queen's problems -- in the initial state in the international chess pieces on no<ts> 在 2008-10-13 上传 | 大小:1.36kb | 下载:0
[C#编程] 030300726_2
说明:用vc实现二叉树的各种排列。输入一颗二叉树后输出以前序后序中序排列的各节点和这棵树的高度-vc achieve binary tree with the various permutations. After the importation of a binary tree before output sequence after sequence with the order of the nodes and tree height<林天> 在 2008-10-13 上传 | 大小:1.35kb | 下载:0