while True: try: s = input() print(int(eval(s))) except: break #include<bits/stdc++.h> using namespace std; int Priority(char c) //定义优先级顺序 #, $, +-, */ { if(c == '#') return 0; else if(c == '$') return 1; else if(c == '+' || c =...