搜索资源列表
BigIntMultiplication
- 大整数乘法例子代码 /* 递归边界,如果是1位二进制数与1位二进制数相乘,则可以直接计算 */ /*累计做1位二进制乘法运算的次数*/ /* return (X*Y) */ /* 计算n的值 */ /* 把X和Y拆分开来,令X=A*2^(n/2)+B, 左移位运算,mod = 1<<(n/2) */ /* 计算XY=AC*2^n+(AD+CB)*2^(n/2)+BD */ /* 计算A*C,再向左移n位 */ /* 递归计算A*D */ /* 递
cctttt
- 输入一组整数存放在数组中,比较并输出其中的最大值和最小值,再将数组元素从小到大排序并输出。-importation of a group integer stored in the array, the more output and the maximum and minimum. then array elements from small to large sequencing and output.
BigNumberCounter
- 大整数计算器,数据结构里一个很著名的算法,文本计算,也是同学编的。-large integer calculators, data structure, a well-known algorithm, text, as well as classmates series.
GuessData
- (3)编写一个简单的猜数游戏程序: 利用Math.random()方法生成0-1之间的double型数dNum,将dNum转换为0-100之间的整数iNum。 利用KeyInput.readInt()方法接收键盘输入的整数inNum。如果inNum小于iNum,在屏幕上显示“输入的值小,请输入更大的数.”;如果inNum大于iNum,在屏幕上显示“输入的值大,请输入更小的数.”;如果inNum等于iNum,在屏幕上显示“猜对了.”,并结束运行。 &
java_sqr(big_int)
- java大整数开根号.txt 符合数位要求的大整数开根号,避免了c,c++高精度的麻烦,此题属高精度较难题,具有一定算法-java大整数开根号.txt
BigCalculator_src
- java开发的大整数计算器,实现基本的运算,还有sin,cos,tan,cot.-java big integer calculator developed to achieve basic computing, there is sin, cos, tan, cot.
LargeIntegerOpertion
- 这是一个用java编写的大整数加减的算法,可以输出负数,绝对正确可用。-This is a arithmetic of large integer opertion and can print negative number.
caculator
- java 编写的可进行大整数运算的计算器-a canculator wrote by java
bigh
- java书写的 大整数运算 大整数运算-Writing java big integer big integer big integer arithmetic operations
BigInteger
- 大整数实现,用java写的基本类,包含加减乘,没有除法-biginteger
test1
- 分治法实现大整数乘法,其实应该用数组来保存大整数的,再考虑如何去完善这个程序。但分治算法的核心思想已经尽在其中了。-Divide and conquer method for large integer multiplication
IntegerMultiply
- 算法分析与设计 用递归分治算法解决大整数乘积问题(java源码)-Algorithm Analysis and Design Recursive divide and conquer algorithm to solve the problem of large integer multiplication. (Java source code)
s2
- (2)编写程序,求满足1+2!+3!+…++(n-1)!+n!≤9000的最大整数n。-(2) Write a program, seeking to meet 1+2!+3!+ ...++ (n-1)!+n! The largest integer ≤ 9000 n.
Statistical_figures
- 给你一个非常大的整数x,(-10^400 <=x<= 10^400),请统计x的每一位,分别输出9,1,2出现的次数. Input 一个大整数 Output 一共三行,第一行是9出现的次数,第二行是1出现的次数,第三行是2出现的次数。 Sample Input 912912912910915902 Sample Output 6 5 4-Statistical figures
BigInteger
- BigInteger是一个自定义的大整数数据结构。可以用数组的形式实现大整数的各种操作。-BigInteger is a large integer data structure a custom. Can be achieved using the array form various operations of large integer.
ClassInteger
- C++ 大整数类 欢迎各位下载测试 可联系285153841@qq.com-C++ class to welcome you to download large integer test may contact 285153841@qq.com
HugeInteger
- 创建一个大整数类HugeInteger,该类用一个40个元素的数组来存放一个大整数(最多不超过40位)。(1)定义几个大整数算术运算的成员函数,包括inputHugeInteger、outputHugeInteger、addHugeIntegers和substractHugeIntegers-Create a large integer class HugeInteger, with such an array of 40 elements to store a large integer (u
算法分析
- 对矩阵相乘以及大整数相乘的分析以及源码,程序比较简单,没什么难度,希望有改进的算法(Analysis of matrix multiplication and multiplication of large integers and source code)
bigNumber
- 大整数相乘,java编程,代码简单,调试方便(big number multiplication)
B1
- 编写程序,求满足1+2!+3!+…+(n-1)!+n!≤10000的最大整数n。(Write programs to meet 1+2! +3! +... + (n-1)! +n! Less than or equal to the maximum integer n 10000.)