摘要: 使用传统栈后缀表达式+弹栈计算,爆时间爆内存,垃圾解法; map<char, int>mp; vector<string>bs; void init() { mp['+'] = 0; mp['-'] = 0; mp['*'] = 1; mp['/'] = 1; } void back_string( 阅读全文
posted @ 2021-03-11 09:39 暮云林凌 阅读(67) 评论(0) 推荐(0) 编辑