搜索资源列表
bignumber.cpp
- 这是大数相乘的一般算法,采用链表的方式。实现两个大整数的加、减、乘的运算,其中乘法运算利用分治的方法解决-This is a general algorithm for multiplication of large numbers, using linked list approach. The realization of two big integer add, subtract, multiply computing, in which the use of multiplication
dashu
- 实现大数相加,大到几百位,随便你啦不论整数还是DOUBLE的-The realization of large numbers add up to as large as several hundred, not you, whether you DOUBLE integer or the
data105
- 将N(1< = N < = 200000)个整数小到大连续编号,相同的数应具有相同的编号。并按这N个数输入时的顺序输出它们的编号序列。例如,设输入数据为 5 3 4 7 3 5 6,则输出数据为3 1 2 5 1 3 4。-The N (1 < = N < = 200000) months consecutive integer number of small to large, the same number should have the same number. N num
holenumber
- 数字黑洞程序. 你输入一个不超过10的整数,然后按倍数从大到小排列,减去位数从小到大排列的数字.得出的数重复做上面的操作,最后会吸进一个数字.-digital black hole procedures. You enter a not exceed 10 Integer, and then arranged by multiples on average, less median small to large with the figures. Come do a few repeat th
MULTIPULSE-CONVERTERS
- This paper discusses the impact of using 3-phase and multipules converter circuit commonly found in unity power factor at input AC mains and regulates output voltage.3-phase thyristor rectifiers have been used in industries for obtaining a variable
lincon
- X = LINCON(A,B,N)解决线性同余的系统 A(1)* X== B(1)(MOD N(1)) A(2)* X== B(2)(MOD N(2)) ... A(M)* X== B(M)(N模(M)) 的溶液中,X,将给出作为载体[X1 X2]代表的一般的解决方案 点ˉx== X1(MOD X2)
C-algorithm
- C语言经典算法大全,其中包含了河内之塔、 生命游戏、超长整数运算(大数运算)、快速排序法等经典的C语言算法的详细介绍及源代码.-C language classical algorithm Guinness, which includes the Tower of Hanoi, Game of Life, long integer arithmetic (computing large numbers), and other classic quick sort algorithm C lang
gmp-6.1.0
- GMP 大数库是 GNU 项目的一部分,诞生于 1991 年。作为一个任意精度的大整数运算库,它包括了任意精度的整数、浮点数的各种基本运算操作。它是一个 C 语言的库,但是官方提供了 C++ 的包装类,主要的应用方向是密码学、网络安全、代数系统、计算科学等。 GMP 库的运行速度非常快,它的官方网站上称自己为地球上最快的大数库,但是 GMP 库所提供的只是数学运算功能,并没有密码学相关的高级功能。 -GMP large numbers library is part of the GNU pr
PA1-2(1)
- 描述 公司有n个员工,编号1 ~ n。员工数量众多,需要你为他们编写一个管理系统。 员工上班时都要登录管理系统登记一个code,离开要从管理系统上注销,员工也可以随时更新自己的code。到了下班时间,所有员工都会自动注销。公司管理人员随时都可能想要知道有多少员工上班,以及任一员工登记的code。 输入 第一行两个整数n、m。接下来m行,每行都是以下内容之一: I a c //Log In:员工a登录,code为c。若a已登录,则将code更新为c
big_jiecheng
- java编程,解决大数据的阶乘运算,一般程序只能承载100以内的阶乘运算,超出则运算错误,该程序不限,只要在整数内都可以运算-Java programming to solve the large data factorial operation, the general procedure can only carry less than 100 factorial operation, beyond the operation error, the program is not limite
HugeInt
- 巨型整数类,可以执行对超出long long范围的巨型整数的运算,多种构造方式,经大量数据测试无bug。(The giant integer class can perform operations on large integers over the long long range, multiple construction methods, and a large number of data tests without bug.)
multiplication
- 用C语言实现两位小于1的二进制小数的原码一位乘法。 1. 首先设置两个真值的输入形式为字符串,这样便可以输入正负号和小数点。 2. 程序将两个字符串中的0和1提出存入整形数组 3. 分别提前编写好两个整形数组的相关函数。例如:数组输出函数、全加器函数、右移函数等等。 4. 按照流程图,定义B,C,A数组,长度均为N,N值在开头用define定义。长度N要尽可能设置大一些。 5. 按照流程图的结构,设置循环,判断等结构。最终计算出最后结果真值。(Using C language to a
bluetoothDemo-master
- Bluetooth蓝牙测试的样例代码 ACM94国际大学生编程竞赛东中心区试题((Descr iption n the game of Jack Straws, a number of plastic or wooden "straws" are dumped on the table and players try to remove them one-by-one without disturbing the other straws. Here, we are onl
穷举n位二进制数
- 输入一个小于20的正整数n,要求按从小到大的顺序输出所有的n位二进制数,每个数占一行。(Enter a positive integer that is less than 20, and you want to output all of the n-bit binary Numbers in the order of small to large, each of which is a row.)
sort
- 输入: 第一行读入一个 n ( 0<n<=1000000) 第二行读入n个整数k (-2^31 <= k < 2^31 ) 输出: 按从大到小的顺序输出出现的数字,数字之间用一个空格分开(Input: The first line reads a n (0<n<=1000000) second line reads n integer k (-2^31 < K < 2^31) Output: Outpu
rsa
- 1.问题描述 RSA密码系统可具体描述为:取两个大素数p和q,令n=pq,N=(p-1)(q-1),随机选择整数d,满足gcd(d,N)=1,ed=1 modN。 公开密钥:k1=(n,e) 私有密钥:k2=(p,q,d) 加密算法:对于待加密消息m,其对应的密文为c=E(m)=me(modn) 解密算法:D(c)=cd(modn) 2.基本要求 p,q,d,e参数选取合理,程序要求界面友好,自动化程度高。 4. 实现提示 要实现一个真实的RSA密码系统,主要考虑对大整数的处理。P
Desktop
- This program takes a positive integer from the user and computes factorial using for loop. Since the factorial of a number may be very large, the type of factorial variable is declared as unsigned long long. If the user enters negative number,
cplex翻译完全版
- Cplex是一种用于GAMS (The General Algebraic Modeling System,通用代数建模系统)的求解器,它使得用户可以把GAMS(通用代数建模系统的)的高级建模功能跟Cplex优化器的优势结合起来。Cplex优化器是为能快速、最少用户干预地解决大型、复杂问题而设计的。求解线性、二次约束和混合整数规划问题的Cplex算法现在已提供访问(针对恰当的许可证)。尽管现存有多种求解工具,但是,GAMS/Cplex能自动地为特定问题计算最优值和设置大部分选项。(Cplex i
明明的随机数
- 明明想在学校中请一些同学一起做一项问卷调查,为了实验的客观性,他先用计算机生成了N个1到1000之间的随机整数(N≤1000),对于其中重复的数字,只保留一个,把其余相同的数去掉,不同的数对应着不同的学生的学号。然后再把这些数从小到大排序,按照排好的顺序去找同学做调查。请你协助明明完成“去重”与“排序”的工作。(I want to ask some students to do a questionnaire in the school. For the objective of the exp
UCI的光学字符识别数据集
- 其目标是将大量黑白矩形像素显示器中的每一个识别为英文字母中的26个大写字母之一。字符图像基于20种不同的字体,并且这20种字体中的每个字母随机失真以产生20,000个独特刺激的文件。每个刺激被转换成16个基本的数字属性(统计矩和边缘计数),然后将其缩放以适合从0到15的整数值范围。我们通常在前16000个项目上进行训练,然后使用结果模型预测剩余的4000个字母类别。请参阅上面引用的文章以获取更多详细信息。(The objective is to identify each of a large