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_26121068_17092.cpp:10:5: error: 'int64' does not name a type
     int64 mat[N][N];
     ^
0_0_26121068_17092.cpp: In member function 'Matrix Matrix::operator*(const Matrix&) const':
0_0_26121068_17092.cpp:15:21: error: 'struct Matrix' has no member named 'mat'
                 tmp.mat[i][j] = 0;
                     ^
0_0_26121068_17092.cpp:17:25: error: 'struct Matrix' has no member named 'mat'
                     tmp.mat[i][j] += mat[i][k]*m.mat[k][j]%MOD;        
                         ^
0_0_26121068_17092.cpp:17:38: error: 'mat' was not declared in this scope
                     tmp.mat[i][j] += mat[i][k]*m.mat[k][j]%MOD;        
                                      ^
0_0_26121068_17092.cpp:17:50: error: 'const struct Matrix' has no member named 'mat'
                     tmp.mat[i][j] += mat[i][k]*m.mat[k][j]%MOD;        
                                                  ^
0_0_26121068_17092.cpp:18:25: error: 'struct Matrix' has no member named 'mat'
                     tmp.mat[i][j] %= MOD;
                         ^
0_0_26121068_17092.cpp: In function 'int Pow(Matrix)':
0_0_26121068_17092.cpp:30:16: error: 'struct Matrix' has no member named 'mat'
     memset(ans.mat , 0 , sizeof(ans.mat));
                ^
0_0_26121068_17092.cpp:30:37: error: 'struct Matrix' has no member named 'mat'
     memset(ans.mat , 0 , sizeof(ans.mat));
                                     ^
0_0_26121068_17092.cpp:32:13: error: 'struct Matrix' has no member named 'mat'
         ans.mat[i][i] = 1;
             ^
0_0_26121068_17092.cpp:41:16: error: 'struct Matrix' has no member named 'mat'
     sum += ans.mat[0][0]%MOD;
                ^
0_0_26121068_17092.cpp:43:16: error: 'struct Matrix' has no member named 'mat'
     sum += ans.mat[0][2]%MOD;
                ^
0_0_26121068_17092.cpp: In function 'int main()':
0_0_26121068_17092.cpp:49:14: error: 'struct Matrix' has no member named 'mat'
     memset(m.mat , 0 , sizeof(m.mat));
              ^
0_0_26121068_17092.cpp:49:33: error: 'struct Matrix' has no member named 'mat'
     memset(m.mat , 0 , sizeof(m.mat));
                                 ^
0_0_26121068_17092.cpp:50:7: error: 'struct Matrix' has no member named 'mat'
     m.mat[0][0] = 1 , m.mat[0][1] = 2 , m.mat[0][2] = 1; 
       ^
0_0_26121068_17092.cpp:50:25: error: 'struct Matrix' has no member named 'mat'
     m.mat[0][0] = 1 , m.mat[0][1] = 2 , m.mat[0][2] = 1; 
                         ^
0_0_26121068_17092.cpp:50:43: error: 'struct Matrix' has no member named 'mat'
     m.mat[0][0] = 1 , m.mat[0][1] = 2 , m.mat[0][2] = 1; 
                                           ^
0_0_26121068_17092.cpp:51:7: error: 'struct Matrix' has no member named 'mat'
     m.mat[1][0] = 1 , m.mat[2][2] = 1; 
       ^
0_0_26121068_17092.cpp:51:25: error: 'struct Matrix' has no member named 'mat'
     m.mat[1][0] = 1 , m.mat[2][2] = 1; 
                         ^


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 15:41:15, Gzip enabled