摘要:
#include <iostream>#define val 1000000000;using namespace std;const int MAX = 2;typedef struct{ long long m[MAX][MAX];} Matrix;Matrix P = {0,1, 1,1 };Matrix I = {1,0, 0,1 };Matrix matrixmul(Matrix a,Matrix b) //������������{ int i,j,k; Matrix c; for (i = 0 ; i < MAX; i++) for (j = 0; j < 阅读全文