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_36580470_27157.cpp:8:7: error: 'it' does not name a type
 const it maxn=15;
       ^
0_0_36580470_27157.cpp:11:7: error: 'maxn' was not declared in this scope
  ll a[maxn][maxn];
       ^
0_0_36580470_27157.cpp:11:13: error: 'maxn' was not declared in this scope
  ll a[maxn][maxn];
             ^
0_0_36580470_27157.cpp: In constructor 'matrix::matrix(ll)':
0_0_36580470_27157.cpp:15:5: error: 'a' was not declared in this scope
     a[i][j]=e*(i==j);
     ^
0_0_36580470_27157.cpp: In function 'matrix mul(matrix, matrix)':
0_0_36580470_27157.cpp:25:9: error: 'struct matrix' has no member named 'a'
     ans.a[i][j]=(ans.a[i][j]+u.a[i][k]*v.a[k][j])%mod;
         ^
0_0_36580470_27157.cpp:25:22: error: 'struct matrix' has no member named 'a'
     ans.a[i][j]=(ans.a[i][j]+u.a[i][k]*v.a[k][j])%mod;
                      ^
0_0_36580470_27157.cpp:25:32: error: 'struct matrix' has no member named 'a'
     ans.a[i][j]=(ans.a[i][j]+u.a[i][k]*v.a[k][j])%mod;
                                ^
0_0_36580470_27157.cpp:25:42: error: 'struct matrix' has no member named 'a'
     ans.a[i][j]=(ans.a[i][j]+u.a[i][k]*v.a[k][j])%mod;
                                          ^
0_0_36580470_27157.cpp: In function 'void init_unit()':
0_0_36580470_27157.cpp:33:8: error: 'struct matrix' has no member named 'a'
   unit.a[i][i]=1;
        ^
0_0_36580470_27157.cpp: In function 'int main()':
0_0_36580470_27157.cpp:54:12: error: 'struct matrix' has no member named 'a'
     cin>>m.a[i][j];
            ^
0_0_36580470_27157.cpp:59:33: error: 'struct matrix' has no member named 'a'
   for(i=0;i<n;i++) ans=(ans+ret.a[i][i])%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-09-30 12:10:59, Gzip enabled