0_0_20617802_26788.cpp:4:5: error: 'll' does not name a type
ll m[N][N];
^
0_0_20617802_26788.cpp: In constructor 'Mat::Mat()':
0_0_20617802_26788.cpp:6:13: error: 'm' was not declared in this scope
mem(m);
^
0_0_20617802_26788.cpp:6:14: error: 'mem' was not declared in this scope
mem(m);
^
0_0_20617802_26788.cpp: In function 'Mat operator*(Mat, Mat)':
0_0_20617802_26788.cpp:13:19: error: 'struct Mat' has no member named 'm'
c.m[i][j]=(c.m[i][j]+a.m[i][k]*b.m[k][j])%Mod;
^
0_0_20617802_26788.cpp:13:30: error: 'struct Mat' has no member named 'm'
c.m[i][j]=(c.m[i][j]+a.m[i][k]*b.m[k][j])%Mod;
^
0_0_20617802_26788.cpp:13:40: error: 'struct Mat' has no member named 'm'
c.m[i][j]=(c.m[i][j]+a.m[i][k]*b.m[k][j])%Mod;
^
0_0_20617802_26788.cpp:13:50: error: 'struct Mat' has no member named 'm'
c.m[i][j]=(c.m[i][j]+a.m[i][k]*b.m[k][j])%Mod;
^
0_0_20617802_26788.cpp: At global scope:
0_0_20617802_26788.cpp:17:19: error: 'll' has not been declared
Mat PowMod(Mat a, ll b){
^
0_0_20617802_26788.cpp: In function 'Mat PowMod(Mat, int)':
0_0_20617802_26788.cpp:19:30: error: 'struct Mat' has no member named 'm'
for(int i=0; i<N; ++i) c.m[i][i]=1;
^
0_0_20617802_26788.cpp: In function 'int main()':
0_0_20617802_26788.cpp:29:5: error: 'll' was not declared in this scope
ll n;
^
0_0_20617802_26788.cpp:30:18: error: 'scanf' was not declared in this scope
scanf("%d",&t);
^
0_0_20617802_26788.cpp:32:23: error: 'n' was not declared in this scope
scanf("%lld",&n);
^
0_0_20617802_26788.cpp:34:11: error: 'struct Mat' has no member named 'm'
a.m[0][0]=1,a.m[0][1]=1,a.m[0][2]=1;
^
0_0_20617802_26788.cpp:34:23: error: 'struct Mat' has no member named 'm'
a.m[0][0]=1,a.m[0][1]=1,a.m[0][2]=1;
^
0_0_20617802_26788.cpp:34:35: error: 'struct Mat' has no member named 'm'
a.m[0][0]=1,a.m[0][1]=1,a.m[0][2]=1;
^
0_0_20617802_26788.cpp:35:11: error: 'struct Mat' has no member named 'm'
s.m[0][2]=1,s.m[1][0]=1,s.m[2][1]=1,s.m[2][2]=1;
^
0_0_20617802_26788.cpp:35:23: error: 'struct Mat' has no member named 'm'
s.m[0][2]=1,s.m[1][0]=1,s.m[2][1]=1,s.m[2][2]=1;
^
0_0_20617802_26788.cpp:35:35: error: 'struct Mat' has no member named 'm'
s.m[0][2]=1,s.m[1][0]=1,s.m[2][1]=1,s.m[2][2]=1;
^
0_0_20617802_26788.cpp:35:47: error: 'struct Mat' has no member named 'm'
s.m[0][2]=1,s.m[1][0]=1,s.m[2][1]=1,s.m[2][2]=1;
^
0_0_20617802_26788.cpp:37:12: error: expected ';' before 'ans0'
ll ans0=0;
^
0_0_20617802_26788.cpp:38:9: error: 'ans0' was not declared in this scope
ans0=ans.m[0][0]+ans.m[0][1]+ans.m[0][2];
^
0_0_20617802_26788.cpp:38:18: error: 'struct Mat' has no member named 'm'
ans0=ans.m[0][0]+ans.m[0][1]+ans.m[0][2];
^
0_0_20617802_26788.cpp:38:30: error: 'struct Mat' has no member named 'm'
ans0=ans.m[0][0]+ans.m[0][1]+ans.m[0][2];
^
0_0_20617802_26788.cpp:38:42: error: 'struct Mat' has no member named 'm'
ans0=ans.m[0][0]+ans.m[0][1]+ans.m[0][2];
^
0_0_20617802_26788.cpp:40:9: error: 'cout' was not declared in this scope
cout<<ans0<<endl;
^
0_0_20617802_26788.cpp:40:21: error: 'endl' was not declared in this scope
cout<<ans0<<endl;
^
|