typedef struct _Matrix{ int a, b, c, d; }Matrix; Matrix matrix_mutiply(Matrix &x, Matrix &y){ Matrix z; z.a = x.a * y.a + x.b * y.c; z.b = x.a * y.b + x.b * y.d; z.c = x.c * y.a + x.d * y.c; z.d = x.c * y.b + x.d * y.d; return z; } Matrix quick_matrix_pow(Matrix &x, i...