搜索资源列表
longint1111
- 任意长整数相加问题 任意输入两个任意长的整数进行相加 可以得出正确结果,-arbitrary sum of long integer problem indiscriminate importation of two arbitrarily long integer can be drawn together for the right result,
FJS
- 按作业效益非增序输入作业的截止期限,要求使用上述规则设计出一个算法,使得输出为一个作业可行集j[]。即如果作业i可以在截止期限前执行完毕则将其加入j[]。这样得出的一个结果是最优解,可以获得最大的效益值。-operating efficiency by increasing non-operating input sequence that the deadline for requests to use these rules to design a lgorithm, the output
kchengji1
- k乘积问题的分支界限法实现, 并且给出了划分结果 ,很好理解-k branch of the product line Method, and the division is a result, a good understanding
AVLTreeImpl
- AVL Tree implementation: I also included a test function to compare the AVL Tree performance with STL Set and Map. Compile the source mavltree.cpp and run it to see the result!-AVL Tree implementation : I also included a test to compare the fu
bhfit
- 输入学期总数 学期的学分上限 课程数 拓扑排序所形成的课程先修关系的边数 课程号及其学分 在各学期学期负担尽量均匀和 课程集中在前几个学期进行排课两种条件下进行排课-importation of the total semester credit semester courses ceiling few topological sorting as a result of the pre-course edge courses, and credits in the semester to
Expression-D.S.Report2
- 数据结构课程设计报告,算术表达式求值,自动辨别算符优先级,括号,将char型转换成int计算,再将结果显示,具有精美用户界面-data structure curriculum design, arithmetic expression evaluates automatically identify operator precedence, in brackets, char to int conversion type, the result shows that the user inte
zsxj
- 任意长整数相加问题 任意输入两个任意长的整数进行相加 可以得出正确结果数据结构任意长的整数进行加法-arbitrary long integer column two issues indiscriminate importation arbitrarily long integer for the column can reach the right result data nodes arbitrary structure for a long integer Adder
kris_qsort_exe
- This forced me to write about more interesting and comprehensive sorting methods, the result of which is this one. Through this writing I have tried to give in-depth coverage of the entire sort algorithm I hope Peter wouldn t mind reading it. This ar
PostFixCompute
- postfixComputer, Calculate the postfix expression, such as 45+,which means 4+5,and the result is 9. The program is very applied.
SA04225140_NO5
- 红黑树:输入:在同一目录下的redblacktree.txt文件中输入十个大于0的数值,每个数值中间用空格格开 数目可以大于十个,但是要求在源程序中改变#define NUM 10 ,改成相应关键值各个数输出:按照先序输出红黑树,格式为:根节点。颜色(左子树。颜色,右子树。颜色),并输出此 树的黑高度,然后输入要删除的关键值,按回车后输出删除后的结果,并输出其高度。-RED-BLACK TREE : Admission : in the same directory under the file
sort_compare
- 常用的几种排序算法的实现源码,同时还给出了几种排序算法的比较结果,源码中的排序内容都是随机产生的-several commonly used algorithm to achieve source, but also gives several algorithm result of the comparison, the ranking source content are randomly generated
不带头结点的单向链表逆置
- 给定程序中,函数fun的功能是将不带头结点的单向链表逆置,即若原链表中从头到尾结点数据域依次为:2、4、6、8、10,逆置后,从头至尾结点数据域依次为:10、8、6、4、2。 请在程序的下划线处填入正确的内容并把下划线删除,使程序得出正确的结果。 -A given program, function fun is the function of the node will not take the lead against the home one-way linked list,
exp2_4 建立一个复数类imaginary
- 建立一个复数类imaginary,其私有数据成员x和y表示复数的实部和虚部,构造函数imaginary用于对复数的实部和虚部初始化,友员函数add,sub,mul和div分别用于进行复数的加、减、乘和除法运算,静态函数show用于显示运算结果。在主函数中,实例化两个复数,并输入一个运算符,按运算符选择相应的友员函数进行复数运算,然后输出运算结果。 -The establishment of a complex class imaginary, its private data member
eight_queen.经典的八皇后问题用VC++实现
- 经典的八皇后问题,用VC++实现,遍历各种出现的结果,MFC界面,8 Queen' s classic problem, with VC++ to achieve, the result of various traversal
从数据文件records.txt中读取学生信息
- 从数据文件records.txt中读取学生信息,建立与源数据同序的学生链表并打印在屏幕上; 统计学生链表中身高达标人数(男女生的身高达标值由键盘输入),并打印结果; 对上述学生链表按学号进行排序,然后将一位学生的相关信息插入到已按学号排序的学生链表中后仍然保持学号的有序性,将结果链表打印在屏幕上; 对上述操作后的学生链表进行倒置,结果输出到数据文件result.txt中; 删除链表中身高为指定值的所有学生结点并打印; 将当前的学生链表拆分为男生链表和女生链表(没有
BMalthorithm
- BM算法找出产生该段序列的最短级数的线性反馈移位寄存器(LFSR),如对序列a=(1001101011),结果为LFSR(25,4)即周期为25,寄存器级数为4,此处所给为固定长度。-Using BM algorithm to find the linear feedback shift registers with the least steps corresponding to certain sequence. For example, as for a=(1001101011), the
spanningtree
- 求解最小生成树问题,输入邻接矩阵权值,可以得到结果,使用于数据结构、图论和运筹学.-Solve the minimum spanning tree problem, enter the weight adjacency matrix, can be the result of the use of data structures, graph theory and operations research.
yinhangjiasuanfa
- 利用银行家算法实现资源分配。当某个进程提出资源请求是,假定先分配给它,然后查找个进程的请求,检查系统剩余资源是否由于分配而导致思死锁。若是则该进程等待;否则,为其进程所需资源。-Bankers algorithm using the allocation of resources. When a request is put forward the process, it is assumed that first be allocated to it, and then find a proc
add
- 用双向链表实现任意位数的正负整数或小数的加法、减法和乘法运算以及对文件的相关操作。 文件说明: 给定的文件a*.txt为第一个数,b*.txt为第二个数,要求加法产生的结果存储在add*.txt中,减法产生的结果存储在sub*.txt中,乘法产生的结果存储在mult*.txt中,*为对应的一组数据。 -The realization of arbitrary list with two-way median of positive and negative integers or
TranslateCalc
- 实现数据结构中的数学中序表达式转换为后继表达式. 并且运算出后序表达式的结果. 运算符号包括 + - * / & | ! ( ) 加 减 乘 除 与 或 非-Implementation data structure in the math expression in the sequence is converted to a subsequent expression. And after computing the result of the expression sequen