0_0_30048344_2337.cpp: In function 'matrix pow1(matrix, matrix)':
0_0_30048344_2337.cpp:19:54: error: 'mat' was not declared in this scope
c.mat[i][j]=(c.mat[i][j]+a.mat[i][k]*mat.b[k][j])%mod;
^
0_0_30048344_2337.cpp: At global scope:
0_0_30048344_2337.cpp:25:1: error: 'mattix' does not name a type
mattix cheng(martix a,ll y)
^
0_0_30048344_2337.cpp: In function 'int main()':
0_0_30048344_2337.cpp:68:26: error: 'cheng' was not declared in this scope
ma = cheng(ma,n-2); //算指数和直接幂有点不同
^
0_0_30048344_2337.cpp:69:9: error: 'LL' was not declared in this scope
LL tmp = ma.mat[0][0]*bb + ma.mat[0][2]; //取出指数
^
0_0_30048344_2337.cpp:70:12: error: expected ';' before 'ans'
LL ans = quick_pow(aa,tmp);
^
0_0_30048344_2337.cpp:71:25: error: 'ans' was not declared in this scope
printf("%lld\n",ans);
^
|