搜索资源列表
bigInt
- 经典大整数操作c++实现,包括大整数加法、大整数减法和大整数13除法-The Classic large integer the operation c++ achieve, including large integer addition, integer subtraction and the integer 13 division
FREE
- 除法分别取出5位数的万位,千位,百位,十位与个位-5-digit division were removed ten thousand, one thousand, one hundred and ten and a bit
101306118
- 实验三 LR分析法的实现 一、实验目的 实现一个关于表达式的LR语法分析程序,识别用户输入的包含变量与整数的混合算术表达式(不包含减法与除法运算)。 -二、实验主要内容 1、文法如下: 0) S E 1) E E+E 2) E E*E 3) E (E) 4) E i 2、对应的LR分析表如下: 状态 ACTION GOTO + * ( ) i # E 0
bigint
- 大整数类的实现。包括除法,乘法,加法,减法-The realization of bigint
file3
- 自己创建矩阵类,可以实现矩阵加法、减法 数乘、乘法、除法等。 -Building matrix class automatically which can achieve add,subtraction,multiply between matrix and matrix
jisuanqi
- 设计一个简单的计算器,能够进行加法、减法、乘法和除法功能(整数和浮点数)。格式是先输入一个数,然后输入运算符号,输入另一个数字,最后输出结果。-Design a simple calculator capable of addition, subtraction, multiplication and division functions (integer and floating-point numbers). The format is to enter a number, then ent
Expression-evaluation
- 输入中缀算术表达式S,S中的操作数为非负整数,只含+,-和*,/运算,也可能含有括号(),运算符的计算顺序和实际四则运算的计算顺序相同. 输出表达式S的值. 注意除法运算只取整数部分,例如1/2=0. Input 输入有多组数据. 每组数据是一个算术表达式S,S的长度不超过100. 输入的S保证合法,而且不包含多余的空格或制表符. S的操作数、中间结果和最终结果都不会超过int类型的范围,也不会出现除数为0的情况. 输入以#号结束. Output 对于每个算术表达式S,输
Greatest-common-divisor-(GCD)
- 用递归调用和辗转相除法求两个整数的最大公约数(输入多组数据,每个数在1到1000之间;输出为一行一个公约数)。-Calculate and output the greatest common divisor (GCD) of a pair of integers.The classic algorithm for computing the GCD, known as Euclid’s algorithm, goes as follows: Let m and n be variables c
polynomialeditor
- 主要实现数据结构中的多项式编辑器演示程序, 具有加法\减法\乘法\除法的功能, 能够合并同类项-Polynomial data structure editor demo program with the addition \ subtraction \ Multiplication \ division of function, capable of combining like terms
CAL
- 一款简单的计算器,可以加减乘除。但是除法会有小数不精确的问题。-A simple calculator, subtraction, multiplication and division. But the problem of inaccurate divider there decimal.
Simple-computer
- 能够进行0到9以内的加法减法乘法除法,并且具有清除功能,运算精确,渐变,效果良好-Addition subtraction multiplication division within 0-9, and has a clear function, precise calculation, gradients, and to good effect
jisuanqi
- 用C#做的可以做加法、减法、乘法、除法的计算器程序-C# can do addition, subtraction, multiplication, and division calculator program
calculator
- 计算器,实现的实数的加,减法乘法以及除法等一些的基本运算,还有平方等更高级一点的运算-Calculator, plus real numbers, subtraction, multiplication, and division achieved some of the basic operations, there are square, and other more advanced computing
test1
- (1) 编写程序实现对mian函数参数的解析 参数1表示运算类型(1:加法,2:减法,3:乘法,4:除法,5:求余数) 参数2、3分别表示两个运算数 (2) 分别用局部变量、全局变量、静态变量来接受解析出来的三个参数,并打印它们的地址、大小、以及存储的值;分析局部变量、全局变量以及静态变量存储的空间位置,和暂用空间的大小 -(1) preparation program analysis mian function param
calculator
- 本程序实现了一个复数计算器的功能,包括多复数加法,减法,乘法,除法,自加,自减和求模等多种运算.-This program implements a complex calculator functions, including multi-complex addition, subtraction, multiplication, division, self-imposed, self-less and other modulo arithmetic.
ComplexNumber
- 复数类实现复数的各种操作,包括复数和复数的加减乘除以及复数和实数的乘除法-complex number lei
lmy11.14-HugeInt
- 编写的一个20位的大整数的类,包括大整数的加减乘除法-include the class of hugeint
cata
- ▲问题描述: (1) 设计一个表示高精度整数的模板类,它支持对任意大整数的输入、输出和四则运算(+、-、*、/),其中除法运算应输出所得的商和余数。 (2) 用上述高精度整数的模板类,计算大整数组合数和Catalan数的精确值。 组合数C(m,n)=m! / (n!*(m-n)!) Catalan数定义为:C(n)=C(2*n,n)/(n+1) ▲编程任务: 给定大整数m和n,计算C(m,n)和C(m)的精确值。 ▲数据输入: 由文件input.txt
test1
- ⒈ 从键盘输入一个字符序列,编程统计其中的数字个数和英文字母个数,输入的字符序列以“#”作为结束符。 ⒉ 编写一段程序,当用户输入一个6位数据时,程序可以将其分离为单独的数字,分离结果之间用3个空格分开。(应用求模运算符和整型除法) 答案:实验一(2) ⒊ 采用指针方法将一个数组中的所有元素颠倒顺序,结果仍然放在原来的数组中,要求使用最少的辅助存储单元。 ⒋ 使用结构变量表示每个学生的信息:姓名、学号、三门课的成绩和平均成绩。编写一个冒泡排序函数,根据学生的平均成绩排序。从键盘上
llj
- 大数的除法,将大数以数组的形式输入进去并且输出所得的商,可以用于欧几里德扩展算法-Division of large numbers will be entered as an array of large numbers into and outputs the quotient can be used for extended Euclidean algorithm