搜索资源列表
Fibonacci
- 可以实现大整数斐波那契数列元素的输出,输入元素序号,输出整数-Can achieve large integer Fibonacci sequence elements in the output, input element number, output integer
bignumber
- 大整数乘法的算法问题,嗬嗬嗬。。。是正确的-Large integer multiplication algorithm problem, ho ho ho. . . Is correct
friourchangetosolvebigvaluemultipy
- 福利叶变换用来计算大整数乘法的算法实现~~c语言哦~~欢迎下载-big value s multiplition
bigint
- 基于数组实现大整数的加减法。 最多允许位数:一百位。 数字可以是无符号数或者有符号数-big intergers operation
My-bigint
- 此代码完成了大整数(BigInt)的计算功能。作为N进制计算的基础代码,可继续拓展。-Completed a large integer code (BigInt) of computing. As the basis for calculating N binary code, can continue to expand.
BigInt
- 主要实现任意长度大整数的四则运算,包括加减乘除,求余运算只需对除法稍做改进就行。因为这是帮朋友写的,所以是按他的要求用string实现的。如果有需要,也可以改为用定长数组或者vector来实现。-This document is mainly aimed to realize the operations of addition, substraction, multiplication and division of integers which are of any length.
aaa
- 已知A[n]为整数数组,试写出实现下列运算的递归算法: (1) 求数组A中的最大整数。 (2) 求n个整数的和。 (3) 求n个整数的平均值。 -Known to A [n] is an integer array, try to write to achieve the following recursive algorithm for computing: (1) Find the largest integer in the array A. (2) Find n i
VC_Programming_calculated_unsigned_integer_type_sa
- VC编程开发计算的无符号大整数类及范例代码VC Programming calculated unsigned integer type, and sample code for large-VC Programming calculated unsigned integer type, and sample code for large
3003
- 3、大整数加法 Descr iption 求两个不超过200位的非负整数的和。 Input 有两行,每行是一个不超过200位的非负整数,没有多余的前导0。 Output 一行,即相加后的结果。结果里不能有多余的前导0,即如果结果是342,那么就不能输出为0342。 Sample Input 22222222222222222222 33333333333333333333 Sample Output 55555555555555555555 -
3004
- 4、大整数乘法 Descr iption 求两个不超过200位的非负整数的积。 Input 有两行,每行是一个不超过200位的非负整数,没有多余的前导0。 Output 一行,即相乘后的结果。结果里不能有多余的前导0,即如果结果是342,那么就不能输出为0342。 Sample Input 12345678900 98765432100 Sample Output 1219326311126352690000 -4, Large Integer
3005
- 5、大整数除法 Descr iption 求2个大的正整数相除的商 Input 第1行是测试数据的组数n,每组测试数据占2行,第1行是被除数,第2行是除数。每组测试数据之间有一个空行,每行数据不超过100个字符 Output n行,每组测试数据有一行输出是相应的整数商 Sample Input 3 2405337312963373359009260457742057439230496493930355595797660791082739646 298719
BigInt
- 程序简陋,算法也不是最优。这个大整数计算的C++类也许有人还能用上。 主要功能: 1) 支持 + - * / mod这几种运算 2) 没有设计上的限制,最大可操作的数据长度取决于内存大小和操作系统(<=8G-bit,或者说1G字节) 3) 支持2-64进制,<=36进制时字母不分大小写,>36进制时字母大写和小写不同。63进制使用+,64进制使用/,即,合法的字符集[0-9][A-Z][a-z]+/。Demo中,自动转换输入时,如果输入中存在空格、回车、换
2(2)
- 最小生成树之Prim算法 Prim算法用于求无向图的最小生成树 设图G =(V,E),其生成树的顶点集合为U。 ①、把v0放入U。 ②、在所有u∈U,v∈V-U的边(u,v)∈E中找一条最小权值的边,加入生成树。 ③、把②找到的边的v加入U集合。如果U集合已有n个元素,则结束,否则继续执行②。 其算法的时间复杂度为O(n^2) Prim算法实现: (1)集合:设置一个数组set(i=0,1,..,n-1),初始值为 0,代表对
bigIntegerMultiply
- 此程序可以求两个大整数(超出long int定义范围之内的数)的相乘结果-You can use this program to multiply two big intergers,and the integers is beyond long int
dazhengshu
- 用vc++实现大整数,这是一个很实用的小程序。-Vc++ implementation with a large integer, this is a very useful little program.
bigintsz
- 大整数加法。任何C/C++固有类型的变量都无法保存它。最直观的想法是可以用一个字符串来保存它-Large integer addition. Any C/C++ intrinsic types of variables can not save it. The most intuitive idea is to save it with a string
dazhengshu
- 大整数相乘。可以支持一百位一下大整数。可以支持小数点哦。--
15zhengchu
- 本程序的目的是求解可以被15整除的最大整数,利用C语言实现。-The purpose of this procedure is to solve for the largest integer divisible by 15, using C language.
all
- 实现大整数的加法、乘法 实现语言:c-Implement large integer addition, multiplication
1.cpp
- 实现大整数加法运算,减法运算和乘法运算,数据结构课程设计-Implement large integer addition operation, subtraction and multiplication operations, data structures curriculum