任意长整数加法运算,双向循环链表实现,相加的长整数数量任意。操作环境C++-arbitrarily long integers computing, two-way cycle Chain realized, the combined number of arbitrary long integer. C operating environment 下载
|
在此程序中,实现任意长整数的加法运算,也就是高精度加法-in this process, the realization of arbitrary long integer addition operations, which is high-precision Adder 下载
|
长整数的四则运算,用双向循环链表实现,堆分配存储-long integer operations of four, with two-cycle Chain achieve stacked memory allocation 下载
|
超长整数的四则运算。此程序绝对经典,让你感到耳目一新。-long integer operations of four. This procedure absolute classic, so you feel refreshing. 下载
|
单片机浮点运算子程序,使用C51编程,可分别得到整数部分和小数部分,数据存储长度为4字节.-SCM floating point routines, the use of C51 programming, respectively integral part and be part of a minority, data storage for 4-byte length. 下载
|
练习程序,问题如下:进行高精度整数的加、减、乘运算。输入两个十进制大整数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 output Operational result, the output sequences of characters here is the large integers M and N and 下载
|
本次的FEAL8轮叠代要求将64位的密文C与64位的密钥K经过要设计的解密程序运行得到所需的64位的明文P。由于2进制输入输出的位数太长不方便,再程序的数据运算中大量用上16进制。在数据的运算过程中又常常把输入的数据平均分成等份,因此在数据处理上用上数组形式。FEAL算法的三个基本运算函数是整个程序的重心,程序的密钥处理和解密过程都将以这三个运算函数为中心,因此,程序的设计以S函数 函数和 f函数来展开,再由主函数编写时调用三个函数。-the FEAL8 round of the iterative requirements of the dense 64-C and 64 K after the key to the solution design running close access to the 64 P explicit. As the two-band input and output of the median long inconvenient, and then process the data using a large number of computations 16 band. Operational data in the process often imported data divided into equal portions, in data processing using an array form. FEAL algorithm three basic computing function is the focus of the whole process, Key handling procedures and decryption process of the three operations will function as the center, therefore, procedures designed to S Function and f function to commence further prepared by the main function calls the three functions. 下载
|
波兰表达式 以下是几个标准的表达式: 5 * 2 + -3 5 * (2 + -3) 5 + ((-4 * -5) + (((5 + (6 - 2)) * 7 + ((4 + 2) * (3 - 1)))) 与之等价的波兰表达式为 + * 5 2 -3 * 5 + 2 -3 + 5 + * -4 -5 + * + 5 - 6 2 7 * + 4 2 - 3 1 在普通的表达式中,符号是位于运算对象之间的,而在波兰表达式中,运算符号位于参与运算的对象之前。 波兰式在计算中的价值在于它不需要使用括号,之所以如此是由于波兰式的操作符的先后顺序是明确的。 如果我们用 P 表示波兰表达式,用 O 表示操作符,用 D 表示数字,则可以将波兰表达式定义为 P = O P P 或 P = D。 任务 编写程序计算波兰表达式的值。 输入 输入第一行是一个整数,表示输入文件中共有几个波兰式。 以后每行一个表达式。每个表达式长度不超过 80 个字符,且每个表达式仅包含数字 (取值范围是[-10000, 10000]) 和二元操作符 + 、- 和 * 。任何表达式或子表达式的值都在 [-1000000, 1000000] 范围内。每个数字与操作符之间,至少有一个空格作为间隔。(负号是整数值的一部分,不是操作符,并且和整数值之间没有空格。) 输出 对每个表达式输出其值。 -Poland expression Following is the expression of several criteria : 5 * 2 3 * (2 -3) 5 ((-4 -5 *) (((5 (6-2)) * 7 ((2) * ( 3 - 1)))) which are equivalent to the expression of Poland 5 2 -3 * * 5 2 -3 5 -4 -5 * * 5 - 6 2 7 * 4 2 - 3 1 expression in general, the symbolic object is located between the operator and expression in Poland, Operators participating in Operation symbols at the target before. Poland-in the calculation of the value is that it does not require the use of brackets, The reason is because the Polish operator in the order is clear. If we use P said that Poland expression, O said the operator, and D. said figures Poland can be defined as the expression of P = O or P P P = D. task of preparing Poland calculated the value of the expression. input importation of the first trip 下载
|
《Visual C++数字图像获取、处理及实践应用》杨枝灵、王开等编著。内容:第4章 图像增强(对比度增强、灰度变换法、直方图修整法、图像平滑、图像锐化、伪彩色和假彩色增强);第5章 图像复原(逆滤波复原、维纳滤波方法);第6章 图像处理中的正交变换(傅立叶变换、离散余弦变换(DCT)、沃尔什变换、基于特征向量的变换、霍特林(Hotelling)变换、SVD变换、小波变换、Mallat算法);第7章 图像压缩编码(霍夫曼(Huffman)编码、算术编码、游程编码(Run Length Coding)、位平面编码、预测编码、DPCM、JPEG 2000编码); 第8章 图像配准 第9章 目标检测与运动检测 第10章 图像形状特征分析(骨架检出、轮廓提取);第11章 图像分割(边界跟踪、阈值分割区域生长、分裂合并、Canny算子); 第12章 图像的模式识别-"Visual C digital image acquisition, processing and Practice" YANG Zhi Ling Wang Kai edited. Contents : Chapter 4 Image Enhancement (contrast enhancement, gray transform, histogram dressing, image smoothing, sharpening, Pseudo-color and false color enhancement); Chapter 5 of Image Restoration (inverse filter rehabilitation, Wiener filtering method); Chapter 6 of image processing orthogonal transformation (Fourier transform, discrete cosine transform (DCT), the Walsh transform, Based on the eigenvectors of transformation, Hotelling (Hotelling) transform, SVD transform, wavelet transform, Mallat algorithm); Chapter 7 Image Coding (Hoffman (Huffman) coding, arithmetic coding, RIc (Run Length Coding), the bit-plane coding, predictive coding, DPCM. JPEG 2000 encoding); Chapter 8 Image 下载
|
Lock Manage 是一个功能比较全面的加密软件。 它具有多种加密方案:如文件口令加密,文件反拷贝加密,软硬盘加密,安装加密,文本加密,批处理加密等等。系统是由C和汇编写成,可从外部链接于主模块。可单独编译,单独调试。可执行EXE/COM程序加密模块已经过长时间的测试分析,其工作性能己十分稳定。可移植性与兼容性很好。另外,代码实现了CS,DS不换技术,使其SHELL性能难以被DEBUG识别。其内部密码采用单向不可逆变换,基本实现了不可解,原因在于四个随机密钥只能用穷举法找出。这种可靠原四密钥单向加密技术渗透到了后面的几个程序中。对于反拷贝加密,采用了随机的软指纹生成技术,可生成唯一密钥母盘。硬盘反拷贝在硬盘里产生四密钥,在非母机上程序运行错误。反反汇编可将整个文件的内容加密变换。反跟踪采用了目前十余种通用的反跟踪算法。可抵抗DEBUG系列软件。批处理和文本加密十分方便,但保密性不太强,只能用于一般用户。-Lock function is a more comprehensive encryption software. It has a wide variety of encryption programs : documents such as password encryption, anti-copy document encryption, hard disk encryption software, the installation of encryption, encrypted text, etc. batch encryption. C system is written and compiled, from the external links in the main module. Separately compiler, debugger alone. EXE executable / COM procedures encryption module has been tested over a long period of analysis, their performance has very stable. Good portability and compatibility. In addition, the implementation of the code of CS, DS is not for technology, it was difficult SHELL performance DEBUG identification. Its internal one-password irreversible transformation and the basic realization of Unsolvable because on 下载
|