搜索资源列表
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解法,效率较高,大整数乘法算法。
ddmt
- 快速傅里叶变换(Fast Fourier Transform,FFT),是离散傅里叶变换的快速算法,也可用于计算离散傅里叶变换的逆变换。快速傅里叶变换有广泛的应用,如数字信号处理、计算大整数乘法、求解偏微分方程等等。本条目只描述各种快速算法,对于离散傅里叶变换的性质和应用,请参见离散傅里叶变换。
编写重载函数Max1可分别求取两个整数
- 编写重载函数Max1可分别求取两个整数,三个整数,两个双精度数,三个双精度数的最大值。并将结果输出。 -The preparation of overloaded function Max1 strike two integers respectively, three integer, two double-precision number, the maximum number of three pairs of precision. And the resulting output.
data sort 按从大到小的顺序排列
- 由输入对话框输入100个数值,数据放入数组a,其中的整数放入数组b,然后运用选择分类法将数组b中的数据按从大到小的顺序排列,并以每行五个数据在窗体上输出。-100 from the input dialog box to enter values into the data array a, where the integer into the array b, then select the classification using the data in the array b by
someccode 象棋之马踏棋盘
- 一些c程序,象棋之马踏棋盘、把算术表达式转化未逆波兰表达式、保龄球计分规则算法、可进行多达50位的大整数运算(+X)、铁路调度算法,演示了堆栈的基本用法,Some c procedures, horse riding chess board, the arithmetic expressions are not translated into Reverse Polish expression, bowling scoring rules algorithm, can be as many as
bignumber.rar
- 能够实现大整数相乘,为初学C++的一个很好的例子.,Large integer multiplication can be achieved for the novice C++ for a good example.
CBigInt_CommonDivision.zip
- 本程序代码,主要为了测试大整数的四则运算 ,以及在此基础上进行求最大公约数的计算。 bigint_lib_dll文件夹中分别为编译好的lib库文件和dll库文件以及源代码。 test_bigintcommondevision文件夹中为测试程序,工程使用的是lib库文件。 头文件中部分函数没有定义。,This procedure code, mainly to test the four large integer arithmetic, as well as on the ba
BigData
- 设计一个类处理任意大整数。必须实现输入、输出操作、加法操作和赋值操作。-Design a class to handle arbitrarily large integers. To the input and output operations, the addition operation and assignment.
hugeintplus.rar
- 100位的大整数加减法.输入格式可以任意,要带符号+ -,不带或者只有一个带都可以.允许输入的数前面有多个0(可以超过100).,Big Integer Plus and minus.
bigint
- 用C语言写的大数加法算法,可以实现大整数的加法运算-The big integer addition operation
biginteger
- 用c语言实现大整数加减乘除, 求余, 最小公倍数等计算-C language implementation with large integer addition and subtraction multiplication and division, remainder, least common multiple and other computing