È. 中缀表达式转前缀表达式
中缀表达式转前缀表达式
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
中缀表达式转前缀表达式,表达式运算符包括加、减、乘、除和括号运算。
输入格式
第一行为长度为N(N<1000)的中缀表达式字符串
输出格式
输出前缀表达式
样例
1+2*3
+1*23
第七届SWPU-ACM老生预选赛
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 187
- Start at
- 2022-9-19 14:00
- End at
- 2022-10-28 14:00
- Duration
- 936 hour(s)
- Host
- Partic.
- 45