# # 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 # # 返回表达式的值 # @param s string字符串 待计算的表达式 # @return int整型 # class Solution: def solve(self , s: str) -> int: # write code here # 转后缀 pos=[] pos_sta=[] i=0 while i<len(s): if s[i]=='+' or s[i]=='-': while pos_sta and pos_sta[-1] in ['*','+','-']: pos.appe...