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_36388721_24484.cpp:78:11: error: redefinition of 'const int mod'
 const int mod=9973,N=110;
           ^
0_0_36388721_24484.cpp:5:11: note: 'const int mod' previously defined here
 const int mod=9973,N=110;
           ^
0_0_36388721_24484.cpp:78:20: error: redefinition of 'const int N'
 const int mod=9973,N=110;
                    ^
0_0_36388721_24484.cpp:5:20: note: 'const int N' previously defined here
 const int mod=9973,N=110;
                    ^
0_0_36388721_24484.cpp:79:14: error: redefinition of 'const double eps'
 const double eps=1e-8;
              ^
0_0_36388721_24484.cpp:6:14: note: 'const double eps' previously defined here
 const double eps=1e-8;
              ^
0_0_36388721_24484.cpp:80:8: error: redefinition of 'struct mat'
 struct mat{
        ^
0_0_36388721_24484.cpp:7:8: error: previous definition of 'struct mat'
 struct mat{
        ^
0_0_36388721_24484.cpp:90:5: error: invalid type in declaration before ',' token
 }ans,in;
     ^
0_0_36388721_24484.cpp:90:5: error: conflicting declaration 'int ans'
0_0_36388721_24484.cpp:17:2: note: previous declaration as 'mat ans'
 }ans,in;
  ^
0_0_36388721_24484.cpp:90:6: error: conflicting declaration 'int in'
 }ans,in;
      ^
0_0_36388721_24484.cpp:17:6: note: previous declaration as 'mat in'
 }ans,in;
      ^
0_0_36388721_24484.cpp: In function 'mat mul(mat, mat, int)':
0_0_36388721_24484.cpp:91:5: error: redefinition of 'mat mul(mat, mat, int)'
 mat mul(mat A,mat B,int n)//
     ^
0_0_36388721_24484.cpp:18:5: note: 'mat mul(mat, mat, int)' previously defined here
 mat mul(mat A,mat B,int n)//
     ^
0_0_36388721_24484.cpp: In function 'mat qmi(mat, int, int)':
0_0_36388721_24484.cpp:108:5: error: redefinition of 'mat qmi(mat, int, int)'
 mat qmi(mat A,int b,int n)//
     ^
0_0_36388721_24484.cpp:35:5: note: 'mat qmi(mat, int, int)' previously defined here
 mat qmi(mat A,int b,int n)//
     ^
0_0_36388721_24484.cpp: In function 'int main()':
0_0_36388721_24484.cpp:122:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_36388721_24484.cpp:49:5: note: 'int main()' previously defined here
 int main(){
     ^


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-07-03 15:41:38, Gzip enabled