搜索资源列表
Biginteger
- 大整数类,用于处理大整数的加减乘除等 效率较高。
bigint-2008.07.20
- 用C++ 包装了大整数这个类,超级大的整数现在也可以用了。
BigInteger
- 一个基于c#的大整数类,内含各种大整数的操作
bigNumMultiply
- 大整数相乘,本算法采用二分的方法分段相乘,算法的运行效率很高。
Intcount
- 大整数计算-large integer calculation
最大k乘积问题
- /*最大k乘积问题 问题描述: 设I是一个n位十进制整数。如果将I划分为k段,则可得到k个整数。这k个整数的乘积称为I的一个k乘积 。 试设计一个算法,对于给定的I和k,求出I的最大k乘积(n<=10)。 示例:输入为 : 4 3 结果:1234 */-/ k * Product of the biggest problems Descr iption : I set up is a n-bit decimal integer. If I will be divided into k, k
reply_1_257254
- 我写的那算法只是原理,要实用必须实现一个大整数类(用c++,我的算法是C的)。欢迎和我联系讨论-I wrote that the only algorithm principle, to be practical realization of such a large integers (with c, I C algorithms). And I welcome the discussion link
数据结构,刘大有
- 一个简单的数值计算程序所使用的数据是一些实数或整数,一个编译程序使用和加工的数据是源程序,而一个能修改自身的计算机程序使用和加工的数据(对象)就是自身。-a simple numerical calculation procedures used by the data of some real or integer, a compiler use and processing of data source, and one can amend its own procedures for th
dzint
- STL算法实现的大整数加减法的程序, 能够进行正负数的加减,而且是动态数组的, 因此可以无限输入,这是本人这学期的大作业-STL algorithms and the largest integer addition and subtraction procedures, plus or minus a few to carry out addition and subtraction, but is a dynamic array, it can be unlimited importatio
大数加减3
- 可以实现两个大整数(不限数位)相加减! 在C++中,加减法的两个数必须在系统规定内,本程序突破了这一界限!-can achieve two large integers (Open-digit) is modified! In C + +, and subtract the number two must be within the system, the process broke the limits!
大整数乘法
- n的阶乘.rar 可以求数的阶乘 是以递归算法为基础的 对学习算法设计与-n factorial. Rar can help factorial number of recursive algorithm is based on the learning algorithm design and
Big_int2to2
- 本设计完成了要求的所有功能,.能存储足够大的大整数并进行相应的加减法运算。用户界面友好,有用户使用说明,每一步操作都有说明与提示。程序运行通过,有详细的解释说明。-the design completed all the required functions. Can store large enough large integer and the corresponding addition and subtraction operations. User friendly interface
RSA解密和加密算法的实现和应用
- RSA算法 :首先, 找出三个数, p, q, r, 其中 p, q 是两个相异的质数, r 是与 (p-1)(q-1) 互质的数...... p, q, r 这三个数便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 这个 m 一定存在, 因为 r 与 (p-1)(q-1) 互质, 用辗转相除法就可以得到了..... 再来, 计算 n = pq....... m, n 这两个数便是 public_key ,编码过程是, 若资料为 a,
Hugeinteger
- 创建类Hugeinteger(大整数),使用40个元素的数组保存每个长度最大为40位的整数,每个元素表示一位。提供方法:inputHugeintteger,outputHugeinteger,addHugeintegers,substractHugeinteger,isEqualTo,isNotEqualTo,isGreatThan,isLessThan和判断方法isZero。-create Hugeinteger category (large integers), the use of 40
dividemultiply
- 这是一个分治法应用的又一个例子,利用分治技术,做大整数乘法,尤其是几百位数以上的乘法,比一般的方法快很多,仅次于快速傅立叶变换.-This is a partition of the application also an example of the use of the partition, bigger integer multiplication, especially above the median of hundreds of multiplication, than the mu
030300336cata
- 高精度整数问题« 问题描述:(1) 设计一个表示高精度整数的模板类,它支持对任意大整数的输入、输出和四则运算(+、-、´ 、¸ ),其中除法运算应输出所得的商和余数。(2) 用上述高精度整数的模板类,计算大整数组合数和Catalan数的精确值。« 编程任务:给定大整数m和n,计算÷ ÷ø ö ç ç èæ nm和C(m)的精确值。« 数据输入:由文件input.txt给出输
ACM
- 序列的第 2 k - 1 + i * 2 k = t * 2k - 1 个数是 k ,i = 1, 2, 3, ... ,t = 1, 3, 5, ... 因此对于输入的正整数 n ,只要计算 n 能被 2 整除的次数,然后输出次数加 1 即可。 使用 109 进制的大整数来表示 n , 可以提高效率。
C语言实战105例
- C语言实战105例 第1部分 基础篇 实例1 一个价值“三天”的BUG 2 实例2 灵活使用递增(递减)操作符 5 实例3 算术运算符计算器 7 实例4 逻辑运算符计算器 9 实例5 IP地址解析 11 实例6 用if…else语句解决奖金发放问题 13 实例7 用for循环模拟自由落体 16 实例8 用while语句求n! 19 实例9 模拟银行常用打印程序 22 实例10 使用一维数组统计选票 26 实例11 使用二维数组统计学生成绩 29 实例12 简单的计算器
渔业资源最大稳定开发
- fishes.m 计算各年龄组鱼的稳定收敛值 fish.m 绘c与harvest(c)的曲线图 eigns.m 计算c=0时在x*处的Jacobian矩阵的特征值 fish2.m 绘c=30,30.8,30.9,31时harvest(n)在n:20...1000的变化图 h.m 绘c取0...30的31个整数时harvest'(c)的图 solbe.m 求c给定时相应x*处的Jacobian矩阵的特征值
ACM,Exponentiation
- 北大ACM题集中的Exponentiation解法,效率较高,大整数乘法算法。