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_25053956_20533.cpp:6:8: error: redeclaration of 'int& matrix::nbsp'
     int v[70][70];
        ^
0_0_25053956_20533.cpp:6:2: note: previous declaration 'int& matrix::nbsp'
     int v[70][70];
  ^
0_0_25053956_20533.cpp:6:14: error: redeclaration of 'int& matrix::nbsp'
     int v[70][70];
              ^
0_0_25053956_20533.cpp:6:2: note: previous declaration 'int& matrix::nbsp'
     int v[70][70];
  ^
0_0_25053956_20533.cpp:6:20: error: redeclaration of 'int& matrix::nbsp'
     int v[70][70];
                    ^
0_0_25053956_20533.cpp:6:2: note: previous declaration 'int& matrix::nbsp'
     int v[70][70];
  ^
0_0_25053956_20533.cpp:7:2: error: redeclaration of 'int& matrix::nbsp'
     void clear(){
  ^
0_0_25053956_20533.cpp:6:2: note: previous declaration 'int& matrix::nbsp'
     int v[70][70];
  ^
0_0_25053956_20533.cpp:7:8: error: redeclaration of 'int& matrix::nbsp'
     void clear(){
        ^
0_0_25053956_20533.cpp:6:2: note: previous declaration 'int& matrix::nbsp'
     int v[70][70];
  ^
0_0_25053956_20533.cpp:7:14: error: redeclaration of 'int& matrix::nbsp'
     void clear(){
              ^
0_0_25053956_20533.cpp:6:2: note: previous declaration 'int& matrix::nbsp'
     int v[70][70];
  ^
0_0_25053956_20533.cpp:7:20: error: redeclaration of 'int& matrix::nbsp'
     void clear(){
                    ^
0_0_25053956_20533.cpp:6:2: note: previous declaration 'int& matrix::nbsp'
     int v[70][70];
  ^
0_0_25053956_20533.cpp:10:3: error: use of deleted function 'matrix::matrix()'
 } a,b;
   ^
0_0_25053956_20533.cpp:5:8: note: 'matrix::matrix()' is implicitly deleted because the default definition would be ill-formed:
 struct matrix{
        ^
0_0_25053956_20533.cpp:5:8: error: uninitialized reference member in 'struct matrix'
0_0_25053956_20533.cpp:6:2: note: 'int& matrix::nbsp' should be initialized
     int v[70][70];
  ^
0_0_25053956_20533.cpp:10:5: error: use of deleted function 'matrix::matrix()'
 } a,b;
     ^
0_0_25053956_20533.cpp: In function 'void dfs(int, int, int)':
0_0_25053956_20533.cpp:17:2: error: 'nbsp' was not declared in this scope
     if (p==n){
  ^
0_0_25053956_20533.cpp: In function 'matrix mat_mul(matrix, matrix)':
0_0_25053956_20533.cpp:35:2: error: 'nbsp' was not declared in this scope
     matrix c;
  ^
0_0_25053956_20533.cpp:35:32: error: use of deleted function 'matrix::matrix()'
     matrix c;
                                ^
0_0_25053956_20533.cpp:38:77: error: 'i' was not declared in this scope
             c.v[i][j]=0;
                                                                             ^
0_0_25053956_20533.cpp:40:136: error: 'k' was not declared in this scope
                 c.v[i][j]=(c.v[i][j]+(long long)a.v[i][k]*b.v[k][j])%mod;
                                                                                                                                        ^
0_0_25053956_20533.cpp: In function 'matrix Mul(int)':
0_0_25053956_20533.cpp:45:2: error: 'nbsp' was not declared in this scope
     matrix ret,ta=a;
  ^
0_0_25053956_20533.cpp:45:32: error: use of deleted function 'matrix::matrix()'
     matrix ret,ta=a;
                                ^
0_0_25053956_20533.cpp:49:65: error: use of deleted function 'matrix& matrix::operator=(matrix&&)'
         if ((p&1)>0) ret=mat_mul(ret,ta);
                                                                 ^
0_0_25053956_20533.cpp:5:8: note: 'matrix& matrix::operator=(matrix&&)' is implicitly deleted because the default definition would be ill-formed:
 struct matrix{
        ^
0_0_25053956_20533.cpp:5:8: error: non-static reference member 'int& matrix::nbsp', can't use default assignment operator
0_0_25053956_20533.cpp:50:51: error: use of deleted function 'matrix& matrix::operator=(matrix&&)'
         ta=mat_mul(ta,ta);
                                                   ^
0_0_25053956_20533.cpp: In function 'int getBit(int, int)':
0_0_25053956_20533.cpp:56:2: error: 'nbsp' was not declared in this scope
     return (mask>>p)&1;
  ^
0_0_25053956_20533.cpp: In function 'void Add(int&, int)':
0_0_25053956_20533.cpp:59:2: error: 'nbsp' was not declared in this scope
     x=(x+v)%mod;
  ^
0_0_25053956_20533.cpp: In function 'int cal(int, int, int, int)':
0_0_25053956_20533.cpp:62:2: error: 'nbsp' was not declared in this scope
     int ret=0;
  ^
0_0_25053956_20533.cpp: In function 'int main()':
0_0_25053956_20533.cpp:140:2: error: 'nbsp' was not declared in this scope
     int cp=0;
  ^
0_0_25053956_20533.cpp:152:108: error: 'j' was not declared in this scope
                 if ((i&(1<<j))>0) k++;
                                                                                                            ^
0_0_25053956_20533.cpp:159:84: error: 'i' was not declared in this scope
             if (st_num[i]>-1) dfs(0,i<<1,i);
                                                                                    ^
0_0_25053956_20533.cpp:160:50: error: use of deleted function 'matrix& matrix::operator=(matrix&&)'
         b=Mul(m-n);
                                                  ^
0_0_25053956_20533.cpp:165:111: error: 'i' was not declared in this scope
                 int si=st_num[i],sj=st_num[j];
                                                                                                               ^
0_0_25053956_20533.cpp:166:122: error: 'sj' was not declared in this scope
                 if (b.v[0][si] && b.v[0][sj]) ans=(ans+cal(i,j,b.v[0][si],b.v[0][sj]))%mod;
                                                                                                                          ^


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-26 17:54:11, Gzip enabled