import java.util.*; public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 返回表达式的值 * @param s string字符串 待计算的表达式 * @return int整型 */ public int solve(String s) { // write code here /** * 表达式求值 */ //设置优先级 HashMap<Character, Integer> map = new HashMap<>(); map.put('+', 1); ma...