传送门 Matrix Power Series 时间限制: 1000 ms | 内存限制: 65535 KB 难度: 4 描述 Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3