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_26635519_400.cpp:2:5: error: 'LL' does not name a type
     LL m[55][55];  
     ^
0_0_26635519_400.cpp: In function 'Matrix MatrixMul(Matrix, Matrix)':
0_0_26635519_400.cpp:9:15: error: 'N' was not declared in this scope
     for(i=0;i<N;i++){  
               ^
0_0_26635519_400.cpp:11:15: error: 'struct Matrix' has no member named 'm'
             c.m[i][j]=0;  
               ^
0_0_26635519_400.cpp:13:19: error: 'struct Matrix' has no member named 'm'
                 c.m[i][j]+=(a.m[i][k]*b.m[k][j]);  
                   ^
0_0_26635519_400.cpp:13:31: error: 'struct Matrix' has no member named 'm'
                 c.m[i][j]+=(a.m[i][k]*b.m[k][j]);  
                               ^
0_0_26635519_400.cpp:13:41: error: 'struct Matrix' has no member named 'm'
                 c.m[i][j]+=(a.m[i][k]*b.m[k][j]);  
                                         ^
0_0_26635519_400.cpp:14:19: error: 'struct Matrix' has no member named 'm'
                 c.m[i][j]%=kmod;  
                   ^
0_0_26635519_400.cpp:14:28: error: 'kmod' was not declared in this scope
                 c.m[i][j]%=kmod;  
                            ^
0_0_26635519_400.cpp: In function 'Matrix QuickPow(Matrix, int)':
0_0_26635519_400.cpp:24:14: error: 'struct Matrix' has no member named 'm'
     memset(b.m,0,sizeof b.m);  
              ^
0_0_26635519_400.cpp:24:27: error: 'struct Matrix' has no member named 'm'
     memset(b.m,0,sizeof b.m);  
                           ^
0_0_26635519_400.cpp:24:28: error: 'memset' was not declared in this scope
     memset(b.m,0,sizeof b.m);  
                            ^
0_0_26635519_400.cpp:25:15: error: 'N' was not declared in this scope
     for(i=0;i<N;i++)  
               ^
0_0_26635519_400.cpp:26:11: error: 'struct Matrix' has no member named 'm'
         b.m[i][i]=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-27 03:48:04, Gzip enabled