-
练习程序,问题如下:进行高精度整数的加、减、乘运算。输入两个十进制大整数M和N(M、N最长可达50位),计算运算结果并输出。【输入形式】标准输入上依次分行输入以...
练习程序,问题如下:进行高精度整数的加、减、乘运算。输入两个十进制大整数M和N(M、N最长可达50位),计算运算结果并输出。【输入形式】标准输入上依次分行输入以下内容:1.第一行输入第一个大整数M。M可能带有负号,后面是最长可达50位的数字序列。2.第二行只有一个字符,可以是“+”、“-”、“*”,分别代表加、减、乘三种运算符。3. 第三行输入大整数N,格式与M相同M、N均不带有前缀的多余的0【输出形式】在标准输出上打印运算结果,输出一行字符序列,是大整数M和N和运算结果。如果该运算结果是正数,则直接输出各位数字序列;如果是负数,则首先要输出负号。各位数字紧密输出,不带有前缀的多余的0。-practice procedures, as follows : high-precision integer for the addition, subtraction, multiplication. The importation of two decimal integer big M and N (M, N up to a maximum of 50), the calculated results of operations and output. Entry forms : standard input on the importation of branches were the following : 1. The first line inputs, a large integer M. M may have negative, is back up to 50 digital sequence. 2. Only a second line of characters could be "","-","*", respectively, plus or minus, by three operators. 3. The third line inputs large integer N, M and the same format M, N are not redundant with the prefix 0 output-- in the form of print on standard out
- 2022-02-06 02:31:19下载
- 积分:1
-
一个程序来寻找频繁项集(关闭和最大)与Eclat算法…
A program to find frequent itemsets (also closed and maximal) with the eclat algorithm ,which carries out a depth first search on the subset lattice and determines the support of itemsets by intersecting transaction lists. -A program to find frequent itemsets (also c losed and maximal) with the eclat algorithm, which carries out a depth first search on the sub set lattice and determines the support of items ets by intersecting transaction lists.
- 2022-02-20 07:32:43下载
- 积分:1
-
1024点流水线结构FFT算法
FFT是离散傅立叶变换的快速算法,可以将一个信号变换到频域。有些信号在时域上是很难看出什么特征的,但是如 果变换到频域之后,就很容易看出特征了。这就是很多信号 分析采用FFT变换的原因。另外,FFT可以将一个信号的频谱 提取出来,这在频谱分析方面也是经常用的。虽然很多人都知道FFT是什么,可以用来做什么,怎么去 做,但是却不知道FFT之后的结果是什意思、如何决定要使用 多少点来做FFT。具体的频率细分法可参考相关文献。
- 2022-06-20 01:59:40下载
- 积分:1
-
数据挖掘关联规则先验算法
function.txt是测试文件,以文件形式读取,都是以字符格式读入的,已试过,可以使用,它开始会将频繁项集都展示出来,如频繁一项集频繁二项集,可以在代码开始自己设置支持度
- 2022-01-23 10:29:14下载
- 积分:1
-
多项式的根
Calculating roots of polynomial
- 2022-04-11 04:00:33下载
- 积分:1
-
a prepared using Matlab, harmonic signal for the estimated number of procedures...
一个用matlab编写的,用于估计信号谐波个数的程序,堪称经典!-a prepared using Matlab, harmonic signal for the estimated number of procedures for his classic!
- 2022-03-18 12:09:35下载
- 积分:1
-
Fractali 谢尔宾斯基
通过生成 fuctiilor Sierpinski 分形数学家的名字命名的建筑。一代人,和图像的示例包含生成的程序窗口。
- 2022-06-02 16:23:55下载
- 积分:1
-
dsp28335 spwm
采用dsp28335 产生三相的spwm信号,在微型逆变器中的应用,分析了spwm信号的产生原理与dsp28335相关的寄存器配置,
- 2022-05-13 20:50:16下载
- 积分:1
-
c语言数据结构和算法分析
改代码对于学习数据结构和算法来说是必不可少的书籍,代码中提供了各种类型算法的详细程序
- 2022-11-17 21:40:03下载
- 积分:1
-
斯蒂芬森算法;
数值计算算法:斯蒂芬森算法写的帕斯卡尔要找到一个解决方案,以G(X)= X 给定的初始近似值P0: 输入:初始近似P0;公差TOL; 迭代N 0的最大数目。 输出:近似解p或 该方法失败的消息。
- 2022-01-26 02:33:29下载
- 积分:1