搜索资源列表
6paixusuanfa
- 1、 演示程序对6种内部排序算法(堆排序、直接插入排序、简单选择排序、快速排序、希尔排序、归并排序)作输入实测比较。 2、 待排序表的元素的关键字为整数。用户可输入不同数据作测试比较。比较的指标为关键字参加的比较次数(用compCount计量)和关键字的移动次数(用shiftCount计量,关键字交换计为3次移动)。 3、 演示程序以用户和计算机的对话方式执行,即在计算机终端上显示“提示信息”下,用户可由键盘输入待排序表的表长(不大于20)和数据。 4、 每次测试完毕,显示各种
long_integer
- 对长整数的处理,编写了一个类。可以添加功能函数实现更多功能。文件中实现了任意长十进制和二进制的转换-The treatment of long integers, write a class. Utility functions can be added to achieve more. Documents of arbitrary length to achieve conversion of decimal and binary
01_BigInt_ok
- 实现计算i的i次方的加和,i从1到n,其中n为用户输入的任意整数。(要考虑结果可能超出长整数long的表示范围的情况)-big integer, implented with C++. Functions include add and multiply.
BigIntegerMultiply
- 输入两个大整数,整数长度可以很长,原则上没有长度限制,将这两个大整数进行相乘得出结果。-Enter the two big integers, integer length can be very long, in principle, there is no length limit, these two big integers multiplying the result.
long-integer-addition-
- 实现任意长整数的加法操作,输入为含有逗号的整数形式-To achieve any long-integer addition operation, the input is an integer that contains the form of a comma
computer
- 使用C++编写,具有加减乘除完整的功能,能计算无限长整数-To use C++ to write, with the full functionality of addition, subtraction, calculation of an infinitely long integer
code1104
- 求一个整数数组最长递减子序列,完整的C++代码,已测试通过。-Seeking an array of integers longest decreasing sub-sequence, complete C++ code, have been tested.