0_0_16336502_25691.c:9:1: error: unknown type name 'Mat'
Mat operator * (Mat a,Mat b)
^
0_0_16336502_25691.c:9:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
Mat operator * (Mat a,Mat b)
^
0_0_16336502_25691.c:22:1: error: unknown type name 'Mat'
Mat operator ^ (Mat a,long long int k)
^
0_0_16336502_25691.c:22:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '^' token
Mat operator ^ (Mat a,long long int k)
^
0_0_16336502_25691.c: In function 'main':
0_0_16336502_25691.c:43:9: error: unknown type name 'Mat'
Mat a,c;long long int h=x+2;
^
0_0_16336502_25691.c:44:17: error: request for member 'mat' in something not a structure or union
memset(a.mat,0,sizeof(a.mat));
^
0_0_16336502_25691.c:44:32: error: request for member 'mat' in something not a structure or union
memset(a.mat,0,sizeof(a.mat));
^
0_0_16336502_25691.c:49:26: error: request for member 'mat' in something not a structure or union
a.mat[i][j] = x;
^
0_0_16336502_25691.c:52:26: error: request for member 'mat' in something not a structure or union
a.mat[i][j] = a.mat[i-1][j-1]+a.mat[i-1][j];
^
0_0_16336502_25691.c:52:40: error: request for member 'mat' in something not a structure or union
a.mat[i][j] = a.mat[i-1][j-1]+a.mat[i-1][j];
^
0_0_16336502_25691.c:52:56: error: request for member 'mat' in something not a structure or union
a.mat[i][j] = a.mat[i-1][j-1]+a.mat[i-1][j];
^
0_0_16336502_25691.c:54:26: error: request for member 'mat' in something not a structure or union
a.mat[i][j]=a.mat[i-1][j];
^
0_0_16336502_25691.c:54:38: error: request for member 'mat' in something not a structure or union
a.mat[i][j]=a.mat[i-1][j];
^
0_0_16336502_25691.c:56:18: error: request for member 'mat' in something not a structure or union
a.mat[i][j] = a.mat[i][j] % m;
^
0_0_16336502_25691.c:56:32: error: request for member 'mat' in something not a structure or union
a.mat[i][j] = a.mat[i][j] % m;
^
0_0_16336502_25691.c:59:10: error: request for member 'mat' in something not a structure or union
a.mat[x+1][x+1] = 1;
^
0_0_16336502_25691.c:60:11: error: 'operator' undeclared (first use in this function)
c=operator ^ (a,n-1);
^
0_0_16336502_25691.c:60:11: note: each undeclared identifier is reported only once for each function it appears in
0_0_16336502_25691.c:63:16: error: request for member 'mat' in something not a structure or union
{ans+=c.mat[h-1][i]*x;ans%=m;}
^
|