import java.util.*; public class Solution {     /**      * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可      * 给定一个后缀表达式,返回它的结果      * @param str string字符串       * @return long长整型      */     public long solve(String str) {             // write code here             ArrayList<Long> num = new ArrayList...