搜索资源列表
Calculation
- 1、由于计算的的是大数且计算机表示的整数大小有限,顾考虑用抽象数据类型实现。 2、每个节点存储整数,位数最大为三位。 3、能从键盘上输入要计算的数,从终端输出结果。 4、测试数据为20以上的整数,如1000,5000 等 -1, as a result of the calculation is that large numbers of computers and that the limited size of the integer, Gu consider the rea
Unit1
- 两个极大数相乘 克服原有乘法中相乘位数的限制,可以计算无限大的乘数-2 greatly multiplied the number of multiplication in the multiplication to overcome the existing restrictions on the median, we can calculate an infinite multiplier
mul
- 计算大数阶乘,用数组的方法来计算一个大数的阶乘,可以算几万的介乘-Calculate factorial of large numbers, using an array of methods to calculate a factorial of large numbers can be counted by tens of thousands of mediated
DaShu
- 大数的计算 设计规范和绝望价位和放假很晚-Large numbers of calculation and design specifications and price, and leave late despair
BigNum
- 一个很实用的大数类,可以实现大数的计算功能-big num class
yzl
- ASM程序:计算圆周率,比上一个难度大了点儿,主要是完成了N(N>1000000000)位十进制大数的加、减、除运算及显示输出-ASM program: calculation of pi, compared with the previous one had something difficult, primarily the completion of N (N> 1000000000) large numbers of decimal places to add, subtra
cprograms
- 计算两个500位大数相加的结果,并将其打印出来!-caiculate A+B
algorithm
- 可以计算两个小于500位整数的乘法,多项式求m次阶的系数和,大数阶乘。-Can compute the two less than 500-bit integer multiplication,M second-order polynomial coefficients of demand and, factorial of large numbers .
utf8
- 基本思路很简单,就用两个大数组: UTF8 ->GBK 先从UTF8中解读出unicode值,再从数组中读出GBK值。 GBK->UTF8 直接以GBK的值为下标,查找数组中对应的UTF8值。 现在解决的问题: 1.可从UTF8转换到GBK编码 2.可对UTF8的编码格式作出判断,如某个UTF8不合要求或字节数不足,会自动跳过。 3.可从GBK编码转换到UTF8编码 未完成的问题: 1.计算字符串长度 2.在调用函数给要分
banshan
- 设有n座山,计算机与人为比赛的双方,轮流搬山。规定每次搬山的数止不能超 过k座,谁搬最后一座谁输。游戏开始时。计算机请人输入山的总数(n)和每次允许搬山的最大数止(k)。然后请人开始,等人输入了需要搬走的山的数目后,计算机马上打印出它搬多少座山,并提示尚余多少座山。双方轮流搬山直到最后一座山搬完为止。计算机会显示谁是赢家,并问人是否要继续比赛。若人不想玩了,计算机便会统计出共玩了几局,双方胜负如何。-With n mountains, both computer and human race,
mcfpfsf2_1
- 固定窗口的模重复平方算法,计算大数a的n次方模m余下的值,可以有效出理计算机计算过程中的大数溢出问题。-figure out the value of a^n(mod m) when a is large.
demo
- 模拟我们乘法计算的方式,进行大数的阶乘计算,可以计算高达12000!的数字正确输出,但缺点是比较慢,因为是一位一位计算,优点是通用性强。-a code for factorial calculation up to 12000.
demo2
- 模拟我们乘法计算的方式,进行大数的阶乘计算,可以计算高达12000!的数字正确输出,计算速度快。-a code for fast calculation of factorial up to 12000!
shuzhijisuanwendingxing
- 算法的数值稳定性实验 数值计算中要避免大数吃小数 避免绝对值很小的数作分母 避免相近的两个数相减-Numerical stability test algorithm for the numerical calculation to avoid eating large numbers to avoid small in absolute terms the number of decimal places as the denominator to avoid a similar
10000!
- 计算N的阶层(大数算法),如果在堆中申请,可计算到更大-Calculate N, class (large number algorithm), if the application heap, calculated to a greater
FibBigNum
- Fib数列的大数算法,可以精确计算到上万项-Fib series of large numbers algorithm, can be precisely calculated to last 10 000
9
- 计算大数整小数乘法9位运算 也就是含小数的大数乘法 其中运算时 采用9位9位的进行运算 大大的提高了运算速度-Calculate the multiplication of large numbers the whole nine decimal operation is the multiplication of large numbers with decimal operation which used 9 9 computing greatly improve the conduct o
ab
- 计算大数的阶乘,并输出结果的位数!计算范围为1至3-Calculate factorial of large numbers, and the output bits! Calculate the range of 1-3000
Factorial_Cal
- 用链表实现的大数阶乘。可以计算大数的阶乘。-It a programe that uses linked list to calculate the factorial of a large number,which can be very long,or cannot be calculated by int or double.
JC
- 大数阶乘的计算,字符模拟,一次进行4位的运算-Calculation of Factorial of large numbers, character modeling, computation time for 4