13316: 中缀表达式求值
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:Imported
Submit:7
Solved:1
Description
输入一表达式,将其求值后输出。
Input
输入一表达式,最后以输入@结束
Output
输出一个数表示该表达式的值
Sample Input Copy
3*(2+5)@
Sample Output Copy
21
HINT
用中缀表达式直接求值。