//土尔逊Torson 编写于2023/5/01 #include <stack> #include <string> #include <cstdio> #include <map> using namespace std; int main() { char buf[300]; map<char, int> priority = { {'$',0}, {'+',1},{'-',1}, {'*',2},{'/',2} }; while (fgets(buf, 300, stdin) != NULL) { string expr = ...