搜索资源列表
zgqczy
- 有两个功能:把当前图形窗中已存在的任何字对象拖放到所需的位置;向当前图形窗输入字对象,并拖放到任何所需位置。-have two functions : put the current graphics window has been in existence for the drag and drop any object to the word for the position; current graphics to the window object input characters, a
myknapsack
- a) 0-1背包问题采用的是动态规划法,该算法思想简介如下: 有些问题常常没有办法把它们分成较小数目的子问题,在这种情况下,可以试着把问题分成必要多的子问题,每个子问题又可以分成数目不确定的必要多的子子问题,这样就会产生大量的子问题。如果分得的子问题界限不清,互相交叉,则在大量的子问题中会存在一些完全相同的子问题,因而在解这类问题时,将可能重复多次解同一个子问题。这种重复当然是不必要的,避免的方法可以在解决一个子问题后把它的解(包括其子子问题的解)保留下来,若遇到求解与之相同的子问题的时候,
StudentSystem
- 学生成绩查询系统,小弟初学,仅供参考。,!哪里有错还望提出。!-Inquiry System student achievement,小弟beginner, for informational purposes only. ,! Where is the wrong look to put forward. !
VC_Matlab
- Vc与Matlab混合编程的一些实例,比较有用,对于混合编程中常用的数据类型转换,系统设计以及算法设计等等,以实例展现,可以稍加修改即可投入实用。-Vc mixed with Matlab programming examples, more useful for mixed programming commonly used data type conversion, system design and algorithm design, etc., with examples to show
Glist_in_Creat_Bitree__inorder_out
- 对广义表形式的输入的字符串建二叉树,并中序输出-In put a Glist and Create a Binary Tree with it then output the Binary tree inorder
Round-Robin
- Round Robin System will automatically delete the directory of debug and release, so please do not put files on these two directory.
TotalEven
- Recursive function Called int TotalEven (int * numbers, int size, int * odd). This function takes an array of numbers, size and pointer to any number (in main) numbers representing the number of e - pair. Put function to odd numbers the number
shanchuqiantao
- 实现删除嵌套的注释。每次从键盘上读取三行字符串。若发现存在嵌套的情况,即在注释内又存在的/*或*/,就把这/*或*/删除,注释外的部分保留。/与*优先级是左结合,即当前出现/*/时,优先删除/*。-Achieve delete nested comments. Each read three lines of string from the keyboard. If it is found of the presence of nested, the comment /* or* /, put
JosephProblem
- 解决约瑟夫问题,有n个小孩报数,报到规定数时就被罚下,依次显示被罚下小孩的编号-To solve the Josephen Problem,the children who get the number was put will be out in all n,present the number of children was out.
PLC_JIXIEBI
- 本文件运用CODESYS编写一个3自由度的机械臂的上升、下降、伸长、缩回、左旋、右旋,抓取和放下等动作控制。-This document use CODESYS the preparation of a three-degree-of-freedom manipulator rise, decline, elongation, retracted, left-handed, right-handed, crawl and put down the motion control.
PUT-upload-large-files
- 命令行下的PUT方式上传大文件,需要这段代码的朋友请下载吧。-The PUT command line way to upload large files, you need to code a friend, please download it.
cycle
- 输入两个不大于100000的正整数a和b,输出a/b的结果。当然,不是只输出整数部分,小数部分也是要算出来的,不过因为是整数, 如果结果是无限小数,结果一定是循环小数,必定存在循环节,比如1/3 = 0.33333....,或者1/7 = 0.142857142857..., 所以如果是循环小数,那么仅仅输出到第一个循环节结束就可以了,如果不是循环小数,则把精确结果输出(多余的末尾0不要输出)。 输入 仅一行输入,包含两个整数a和b,中间以空格分开-Not more than 1
Hamming-Code
- Hamming code just put value and use it to play with basic hamming code output.
Knapsack
- 算法设计与分析中背包问题。 首先将最优解矩阵的第一行和第一列均赋值为0;然后从上至下、从左至右依次计算m[i][j]的值,如果第i个物品 的重量大于j的值,即第i个物品不放入背包中,则将m[i][j]赋值为m[i-1][j],否则取第i个物品放入背包和不放入背 包所得价值的最大值;最后从后往前计算最优解向量的值,如果m[i][j]=m[i-1][j],则将x[i]赋值为0,否则将x[i] 赋值为1,并将j减去第i个物品的重量。-The knapsack problem al
MyUltraEidt
- 把二进制文件读出来以16进制格式写到txt-this is a console program that can read the binary file and out put its content to txt file in hex file.
Eight-queen
- 八皇后问题,是一个古老而著名的问题,是回溯算法的典型案例。该问题是国际西洋棋棋手马克斯·贝瑟尔于1848年提出:在8X8格的国际象棋上摆放八个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法-Eight queens problem is an old and famous, is a typical case of backtracking algorithm The problem is the international chess player
Three-together-into-one-line
- 三字连珠,该程序是TICTACTOE游戏,棋盘为3*3,3个棋子连起来即为赢。输入参数时,若输入的数字超过边界或在已有棋子的地方再输入,则提示出错,要求重新输入。-Pente words, the program is TICTACTOE games, board 3* 3, 3 pieces put together is the win. When the input parameters, if digital input over the border or in a place and
NETCONQQ
- 控制台迷你局域网聊天室 V1.0 1.基于控制台的局域网聊天室程序,用C++编写,VC++6.0 VC++2010编译通过 2.程序中调用了windows API函数,利用了WinSock以及多线程等编程技巧 3.程序采用TCP-IP协议的C/S模式,并且服务端与客户端使用同一程序中 4.程序具有通过您输入的 IP地址自动运行服务端或客户端的功能,无需手动选择 5.本程序非常适合C++初学者学习修改。欢迎大家使用或修改其中的代码!6.输入的IP地址为已经运行作为服务端的机器的IP地址,格式必须如
FindStudent
- 把长度为l1,l2…ln 的n个程序放在磁带T1和T2上,并且希望按照使用最大检索时间取得最小值的方式存储,即如果存放在T1和T2上的程序集合分别为A和B,则希望所选择的A和B使得max{∑li 1,∑li2}(i1属于A,i2属于B)取得最小。 使用回溯法实现-The length of L1, L2... Ln n programs put in the tape on T1 and T2, and hope that in accordance with the maximum searc
hannuota
- c语言实现汉诺塔,有三根杆子A,B,C。A杆上有N个(N>1)穿孔圆盘,盘的尺寸由下到上依次变小。要求按下列规则将所有圆盘移至C杆:提示:可将圆盘临时置于B杆,也可将从A杆移出的圆盘重新移回A杆,但都必须尊循上述两条规则。问:如何移?最少要移动多少次?-c language HANOR has three poles A, B, C. A bar there are N (N> 1) perforated disk, the disk size bottom to top smal
