逆波兰表示法(Reverse Polish notation,RPN,或逆波兰记法),是一种是由波兰数学家扬·武卡谢维奇1920年引入的数学表达式方式,在逆波兰记法中,所有操作符置于操作数的后面,因此也被称为后缀表示法。
评价一个用逆波兰表示法写成的算法式子的价值。
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
后缀表示法也称逆波兰表示法(reverse Polish notation, RPN),因其使表达式求值变得轻松,所以被普遍使用。
Postfix notation is also known as reverse Polish notation (RPN) and is commonly used because it enables easy evaluation of expressions.
应用推荐