搜索资源列表
suanshu
- 简单的算术表达式代码,可实现加减乘除的算数计算-Simple arithmetic expression, code, which can realize add, subtract, multiply and divide arithmetic calculation
234567
- 选取无符号数的算术四则运算中的各类单词为识别对象,要求将其中的各个单词识别出来。 输入:由无符号数和+,-,*,/, ( , ) 构成的算术表达式,如1.5E+2-100。 输出:对识别出的每一单词均单行输出其类别码(无符号数的值暂不要求计算)。
1
- 算术表达式求值:输入中缀表达式,转换成后缀表达式后求值-Arithmetic expressions are evaluated: input midfix expression, converted into a suffix after expressions are evaluated
LISP-calculators
- 解决数据结构中简单LISP算术表达式计算器的代码,已经调试通过-Solve data structure, the simple arithmetic expressions of LISP calculator code, have debugging through
1
- 【课题】若某算术表达式采用后置法表示(即逆波兰表达式),请编程计算该表达式的值。如:表达式(a+b*c)/d-e用后置法表示为abc*+d/e-。 -[ Topic ] If an arithmetic expression using the post method representation (i.e., inverse Poland expression ), please programming calculation of the value of the expression.
cifafenxi
- 包含如下基本内容 1) 变量说其它标记: 明语句 2) 赋值语句 3) 条件转移语句 4) 表达式(算术表达式和逻辑表达式) 5) 循环语句 6) 过程调用语句-Contains the following basic content 1) variable said other sign: Ming statements 2) assignment statements 3) conditional statements 4) expression (arithmetic expression
Compute
- 算术表达式求值,用户按要求输入要求的表达式,该程序就能得出正确结果-Arithmetic expressions are evaluated, the user requirements, the expression of the entry requirements, the program can draw the right result
1
- 1)使用先序遍历序列构造算法,使用二叉链表,表示算术表达式2*3+6/3的标识符树; 2)求标识符树的先序、中序、后序序列,各存入数组中并显示结果; 3) 求树中叶子结点的个数 附加:3)使用后序序列求表达式的值(使用栈实现); -1) Use a preorder traversal sequence construction algorithm, using the linked list of binary, indicating that the arithmetic
kuohao
- 对于输入的算术表达式进行括号的匹配检查。-Brackets of the match to check for the input arithmetic expression
Arithmetic-expression
- 自己写的算术表达式小程序,输入一个算术表达式,会得出一个最终值,供大家参考。-Arithmetic expressions to write their own program, enter an arithmetic expression, will come to a final value, for your reference.
Microsoft
- 带括号的算术表达式求值,可以计算基本的加减乘除-Parenthesized arithmetic expression evaluation, basic addition and subtraction, multiplication and division can be calculated
lisp
- 简单的LISP算术表达式计算器,数据结构实验-good lisp
evalution
- 算数表达式求值,根据输入的算术表达式,求出对应的正确值-Arithmetic expression is evaluated, based on the input arithmetic expression, find the correct value of the corresponding
IIInToPostn
- 中缀表达式转换成后缀表达式算法,,并求算术表达式的方法。可直接使用。 -Infix expression into postfix expression algorithm, and seek the method of arithmetic expressions. Can be used directly.
Syntax-analyzer
- 编制递归下降法的语法分析器 通过设计、编制、调试一个典型的语法分析程序,能识别由加+、乘*、括号()、操作数所组成的算术表达式,其文法如下: E→TE E →+TE ∣ε T→FT T →*FT ∣ε F→(E)∣i 1.程序功能(举例) 输入:#i1*(i2+i3)# 输出:SUCCESS 输入:# i1*( i2+i3# 输出:FOUND ERROR -Recursive Descent parser prepared by the des
LinkStack
- 从键盘上输入一算术表达式检验该算术表达式中括号是否配对,例如:表达式(a+b))和a+b)中的括号不配对。-Input from the keyboard on the arithmetic expression in an arithmetic expression tests whether paired brackets, such as: the expression (a+b)), and a+b) in the brackets are not paired.
sizeyunsuan
- 请完成以下描述算术表达式的LL(1)文法的递归下降分析程序G[E]: E→TE′ E′→ATE′|ε T→FT′ T′→MFT′|ε F→ (E)| d | i A→+|- M→*|/ 说明:终结符号d为正整数,终结符号i为变量。 其功能为: 从键盘上输入一串四则运算表达式,对照文法G[E]检查输入串的语法是否正确,如果不正确必须指出错误原因。 -Please complete the following descr iption
Design
- 设计算法判断一个算术表达式的圆括号是否配对-Design algorithm to determine an arithmetic expression is paired parentheses
biaodashiqiuzhi
- 设计一个程序,演示用算符优先法对算术表达式求值的过程。利用算符优先关系,实现对算术四则混合运算表达式的求值。 (1)输入的形式:表达式,例如2*(3+4) 包含的运算符只能有 + 、 - 、 * 、 / 、 ( 、 ) ; (2)输出的形式:运算结果,例如2*(3+4)=14; (3)程序所能达到的功能:对表达式求值并输出 -Design a program that demonstrates the value of the process. Arithmetic exp
siyuanshi
- 算术表达式转换为四元式的C++源代码,很实用-Arithmetic expression converted to four yuan the style C++ source code, very useful