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_24830772_27055.cpp:3:2: error: 'LL' does not name a type
  LL N[maxn][maxn];
  ^
0_0_24830772_27055.cpp: In member function 'void Matrix::Reset()':
0_0_24830772_27055.cpp:5:10: error: 'N' was not declared in this scope
   memset(N,0,sizeof(N));
          ^
0_0_24830772_27055.cpp:5:23: error: 'memset' was not declared in this scope
   memset(N,0,sizeof(N));
                       ^
0_0_24830772_27055.cpp: In member function 'void Matrix::Turn_One()':
0_0_24830772_27055.cpp:9:26: error: 'maxn' was not declared in this scope
   for(register int i=1;i<maxn;++i) N[i][i]=1;
                          ^
0_0_24830772_27055.cpp:9:36: error: 'N' was not declared in this scope
   for(register int i=1;i<maxn;++i) N[i][i]=1;
                                    ^
0_0_24830772_27055.cpp: In member function 'Matrix Matrix::operator+(const Matrix&) const':
0_0_24830772_27055.cpp:15:7: error: 'struct Matrix' has no member named 'N'
     c.N[i][j]=(N[i][j]+b.N[i][j])%base;
       ^
0_0_24830772_27055.cpp:15:16: error: 'N' was not declared in this scope
     c.N[i][j]=(N[i][j]+b.N[i][j])%base;
                ^
0_0_24830772_27055.cpp:15:26: error: 'const struct Matrix' has no member named 'N'
     c.N[i][j]=(N[i][j]+b.N[i][j])%base;
                          ^
0_0_24830772_27055.cpp:15:35: error: 'base' was not declared in this scope
     c.N[i][j]=(N[i][j]+b.N[i][j])%base;
                                   ^
0_0_24830772_27055.cpp: In member function 'Matrix Matrix::operator-(const Matrix&) const':
0_0_24830772_27055.cpp:27:7: error: 'struct Matrix' has no member named 'N'
     c.N[i][j]=(N[i][j]-b.N[i][j]+base)%base;
       ^
0_0_24830772_27055.cpp:27:16: error: 'N' was not declared in this scope
     c.N[i][j]=(N[i][j]-b.N[i][j]+base)%base;
                ^
0_0_24830772_27055.cpp:27:26: error: 'const struct Matrix' has no member named 'N'
     c.N[i][j]=(N[i][j]-b.N[i][j]+base)%base;
                          ^
0_0_24830772_27055.cpp:27:34: error: 'base' was not declared in this scope
     c.N[i][j]=(N[i][j]-b.N[i][j]+base)%base;
                                  ^
0_0_24830772_27055.cpp: In member function 'Matrix Matrix::operator*(const Matrix&) const':
0_0_24830772_27055.cpp:41:8: error: 'struct Matrix' has no member named 'N'
      c.N[i][j]+=(N[i][k]*b.N[k][j])%base;
        ^
0_0_24830772_27055.cpp:41:18: error: 'N' was not declared in this scope
      c.N[i][j]+=(N[i][k]*b.N[k][j])%base;
                  ^
0_0_24830772_27055.cpp:41:28: error: 'const struct Matrix' has no member named 'N'
      c.N[i][j]+=(N[i][k]*b.N[k][j])%base;
                            ^
0_0_24830772_27055.cpp:41:37: error: 'base' was not declared in this scope
      c.N[i][j]+=(N[i][k]*b.N[k][j])%base;
                                     ^
0_0_24830772_27055.cpp:42:8: error: 'struct Matrix' has no member named 'N'
      c.N[i][j]%=base;
        ^


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-23 06:41:51, Gzip enabled