F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_16336312_28331.c:9:1: error: unknown type name 'Mat'
 Mat operator * (Mat a,Mat b)
 ^
0_0_16336312_28331.c:9:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 Mat operator * (Mat a,Mat b)
              ^
0_0_16336312_28331.c:23:1: error: unknown type name 'Mat'
 Mat operator ^ (Mat a,long long int k)
 ^
0_0_16336312_28331.c:23:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '^' token
 Mat operator ^ (Mat a,long long int k)
              ^
0_0_16336312_28331.c: In function 'main':
0_0_16336312_28331.c:44:9: error: unknown type name 'Mat'
         Mat a,c;long long int h=x+2;
         ^
0_0_16336312_28331.c:45:17: error: request for member 'mat' in something not a structure or union
         memset(a.mat,0,sizeof(a.mat));
                 ^
0_0_16336312_28331.c:45:32: error: request for member 'mat' in something not a structure or union
         memset(a.mat,0,sizeof(a.mat));
                                ^
0_0_16336312_28331.c:50:26: error: request for member 'mat' in something not a structure or union
                         a.mat[i][j] = x;
                          ^
0_0_16336312_28331.c:53: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_16336312_28331.c:53: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_16336312_28331.c:53: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_16336312_28331.c:55:26: error: request for member 'mat' in something not a structure or union
                         a.mat[i][j]=a.mat[i-1][j];
                          ^
0_0_16336312_28331.c:55:38: error: request for member 'mat' in something not a structure or union
                         a.mat[i][j]=a.mat[i-1][j];
                                      ^
0_0_16336312_28331.c:57:18: error: request for member 'mat' in something not a structure or union
                 a.mat[i][j] = a.mat[i][j] % m;
                  ^
0_0_16336312_28331.c:57:32: error: request for member 'mat' in something not a structure or union
                 a.mat[i][j] = a.mat[i][j] % m;
                                ^
0_0_16336312_28331.c:60:10: error: request for member 'mat' in something not a structure or union
         a.mat[x+1][x+1] = 1;
          ^
0_0_16336312_28331.c:61:11: error: 'operator' undeclared (first use in this function)
         c=operator ^ (a,n-1);
           ^
0_0_16336312_28331.c:61:11: note: each undeclared identifier is reported only once for each function it appears in
0_0_16336312_28331.c:64:16: error: request for member 'mat' in something not a structure or union
         {ans+=c.mat[h-1][i]*x;ans%=m;}
                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-16 09:30:55, Gzip enabled