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_28634396_1304.cpp:3:7: error: 'll' does not name a type
 const ll mod=123456789;
       ^
0_0_28634396_1304.cpp:7:1: error: 'll' does not name a type
 ll n;
 ^
0_0_28634396_1304.cpp:9:5: error: 'll' does not name a type
     ll a[maxn][maxn];
     ^
0_0_28634396_1304.cpp: In member function 'void Matrix::init()':
0_0_28634396_1304.cpp:11:16: error: 'a' was not declared in this scope
         memset(a, 0, sizeof(a));
                ^
0_0_28634396_1304.cpp: In member function 'void Matrix::Init()':
0_0_28634396_1304.cpp:17:16: error: 'a' was not declared in this scope
         memset(a, 0, sizeof(a));
                ^
0_0_28634396_1304.cpp: In function 'Matrix mul(Matrix, Matrix)':
0_0_28634396_1304.cpp:25:17: error: 'struct Matrix' has no member named 'a'
             ans.a[i][j] = 0;
                 ^
0_0_28634396_1304.cpp:27:21: error: 'struct Matrix' has no member named 'a'
                 ans.a[i][j] += a.a[i][k] * b.a[k][j];
                     ^
0_0_28634396_1304.cpp:27:34: error: 'struct Matrix' has no member named 'a'
                 ans.a[i][j] += a.a[i][k] * b.a[k][j];
                                  ^
0_0_28634396_1304.cpp:27:46: error: 'struct Matrix' has no member named 'a'
                 ans.a[i][j] += a.a[i][k] * b.a[k][j];
                                              ^
0_0_28634396_1304.cpp:28:21: error: 'struct Matrix' has no member named 'a'
                 ans.a[i][j] %= mod; 
                     ^
0_0_28634396_1304.cpp:28:32: error: 'mod' was not declared in this scope
                 ans.a[i][j] %= mod; 
                                ^
0_0_28634396_1304.cpp: At global scope:
0_0_28634396_1304.cpp:35:23: error: 'll' has not been declared
 Matrix qpow(Matrix a, ll n){
                       ^
0_0_28634396_1304.cpp: In function 'void output(Matrix)':
0_0_28634396_1304.cpp:49:23: error: 'struct Matrix' has no member named 'a'
             cout << a.a[i][j] << " ";
                       ^
0_0_28634396_1304.cpp: In function 'int main(int, const char**)':
0_0_28634396_1304.cpp:61:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[0][0] = 1;
         ^
0_0_28634396_1304.cpp:62:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[0][1] = 1; 
         ^
0_0_28634396_1304.cpp:63:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[1][0] = 2;
         ^
0_0_28634396_1304.cpp:64:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[2][0] = 1;
         ^
0_0_28634396_1304.cpp:65:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[2][2] = 1;
         ^
0_0_28634396_1304.cpp:66:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[3][2] = 1;
         ^
0_0_28634396_1304.cpp:67:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[3][3] = 1;
         ^
0_0_28634396_1304.cpp:68:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[4][2] = 1;
         ^
0_0_28634396_1304.cpp:69:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[4][3] = 2;
         ^
0_0_28634396_1304.cpp:70:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[4][4] = 1;
         ^
0_0_28634396_1304.cpp:71:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[5][2] = 1;
         ^
0_0_28634396_1304.cpp:72:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[5][3] = 3;
         ^
0_0_28634396_1304.cpp:73:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[5][4] = 3;
         ^
0_0_28634396_1304.cpp:74:9: error: 'struct Matrix' has no member named 'a'
     tmp.a[5][5] = 1;
         ^
0_0_28634396_1304.cpp:78:16: error: 'n' was not declared in this scope
         cin >> n;
                ^
0_0_28634396_1304.cpp:83:13: error: 'struct Matrix' has no member named 'a'
         ans.a[0][0] = 2;
             ^
0_0_28634396_1304.cpp:84:13: error: 'struct Matrix' has no member named 'a'
         ans.a[0][1] = 1;
             ^
0_0_28634396_1304.cpp:85:13: error: 'struct Matrix' has no member named 'a'
         ans.a[0][2] = 3*3*3;
             ^
0_0_28634396_1304.cpp:86:13: error: 'struct Matrix' has no member named 'a'
         ans.a[0][3] = 3*3*3;
             ^
0_0_28634396_1304.cpp:87:13: error: 'struct Matrix' has no member named 'a'
         ans.a[0][4] = 3*3;
             ^
0_0_28634396_1304.cpp:88:13: error: 'struct Matrix' has no member named 'a'
         ans.a[0][5] = 1;
             ^
0_0_28634396_1304.cpp:90:20: error: 'struct Matrix' has no member named 'a'
         cout << as.a[0][0] << endl;
                    ^


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-30 05:11:37, Gzip enabled