import java.util.*; public class Main { static class Matrix { String name; int rows; int cols; public Matrix(String name, int rows, int cols) { this.name = name; this.rows = rows; this.cols = cols; } } //用来装所有矩阵包括中间计算的过程矩阵,例如A*B*C 先算A*B 再算AB*C 所以会把AB ABC 这两个矩阵都装进去 static List<Matrix> matrixLis...