搜索资源列表
1059
- Descr iption Calculate a+b Input Two integer a,b (0<=a,b<=101000) Output Output a + b Sample Input 5 7 Sample Output 12
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,
1006
- Descr iption Calculate a+b Input Two integer a,b (0<=a,b<=101000) Output Output a + b-Descr iption Calculate a+b Input Two integer a,b (0<=a,b<=101000) Output Output a+ b
1007
- Descr iption Calculate a*b Input Two integer a,b (0<=a,b<=101000) Output Output a * b-Descr iption Calculate a*b Input Two integer a,b (0<=a,b<=101000) Output Output a* b
add
- 利用C语言调用汇编子程序 其中5个输入参数和3个返回结果的汇编子程序调用 输入整数a,b,c,d,e, 请计算a+b+c,a+c+d+e,a-b的值 讨论a-b后算术状态标志寄存器的状态 (ASTAT) 请讨论输入整数数组e[3],f[3],参数如何传递的 写实验报告,要求有实验分析,实验程序,实验心得 -Using C language to call the assembly routines which five input parameters and
lexic
- 词法分析程序,包括双缓冲区的实现等等 内有输入源程序的样例-<html> Lexical analysis procedures, including double-buffer requirement to achieve and so the source of the form: program main: int var a: int var b: int /* calculate a, b th power, that pow (a, b)*/(var sum:
blackfin
- 利用C语言调用汇编子程序 其中5个输入参数和3个返回结果的汇编子程序调用 a) 输入整数a,b,c,d,e, b) 请计算a+b+c,a+c+d+e,a-b的值 c) 讨论a-b后算术状态标志寄存器的状态 (ASTAT) d) 请讨论输入整数数组e[3],f[3],参数如何传递的 本实验要求在Visual DSP++ ADSP-BF535 Blackfin环境中编写一个简单的程序:C语言的主程序调用汇编语言的函数,完成简单的加法、减法。实验重点在于掌握汇编程序
BSpline
- 功能为找到离散点的B样条,即找到一个多项式,使得这个多项式经过这N个点。B样条利用邻近点进行拟合。对于采样数据,根据连续的三组采样点数据计算出一个2阶B样条作为这个区间内的拟合函数,下一个三组数据再计算下一个B样条,这样就可以连续采样连续计算了。-Function to find B-spline discrete points, that is to find a polynomial, so the polynomial through the N points. B-spline fitt
Big-integer--multiplies
- 用C语言解决了大数相乘的问题,CPU时间为16ms,内存战用420kb-Calculate A × B But A and B may be big integer. The biggest integer is less than 10^500.
1
- 已知整数a,b,假设函数succ(x)=x+1,pred(x)=x-1,不许直接用‘+’、‘-’运算符号,也不许用循环语句,只能利用函数succ(x)和pred(x),试编写计算a+b,a-b的递归函数add(a,b),snb(a,b),并在主程序中验证该函数的正确性。 -Known integers a, b, assuming the function succ (x) = x+1, pred (x) = x-1, allowed the direct use of' +'
Mathematical-simulation
- 用英文单词模拟数学计算,实现功能:读入两个小于100的正整数A和B,计算A+B,需要注意的是:A和B的每一位数字对应的英文单词给出-Mathematical simulation using English words, to achieve function: reads two positive integers less than 100 A and B, calculate A+ B, be noted that: A and B, each number corresponds to
Registeruse
- 1 计算A*B+C-D,把结果输出到屏幕。 2把寄存器al中值,以二进制的形式输出到屏幕,并统计数码1的个数,输出到屏幕。 例如 al=0A6H 屏幕显示格式如下: 10100110B 4 -1 calculate A* B+ CD, the output to the screen. Two in the al register value to form a binary output to the screen, and a number of statistical
Erlang
- 爱尔兰计算器,用于计算a,b,s;在知道其中两个的情况下可以求得另一个。具体看代码!-Irish calculator used to calculate a, b, s know the two of them can be obtained another. Specifically look at the code!
dm1
- acm训练题 相加简单小程序,输入两个整数,输出两数相加之和-A+B Problem Calculate a+ b Two integer a, b (0<=a, b<=10)
A^B
- 该文件能计算a的b次方对9907取模的值-The file is able to calculate a b-th 9907 modulo value
aPbformat
- 输入-1000000 9输出:-999,991;实现加法格式化,输出按照千分制三位一组以逗号隔开-A+B Format:Calculate a+ b and output the sum in standard format-- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).
MULbignum
- c语言实现计算两大数a,b (0<=a,b<=10^1000) 相乘-Using C language to calculate a*b,Two integer a,b (0<=a,b<=10^1000)
1000
- 杭电oj第1000题答案Calculate A + B.-Hangzhou Xinhua oj 1000th answers Calculate A+ B.
6
- 输入两个数计算a+b,并且输出。数据比较小,只是做一个实验。-Calculate a+b
multip_thetas.m
- Calculate A,B,D matrices of composite laminate for random ply angle and represent diagrams of effective laminate properties vs ply angle.