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_17910789_20424.cpp:52:2: error: expected unqualified-id before '<' token
 }</pre>
  ^
0_0_17910789_20424.cpp:64:11: error: redefinition of 'const int N'
 const int N = 2;
           ^
0_0_17910789_20424.cpp:7:11: note: 'const int N' previously defined here
 const int N = 2;
           ^
0_0_17910789_20424.cpp:66:5: error: redefinition of 'int n'
 int n , MOD;
     ^
0_0_17910789_20424.cpp:9:5: note: 'int n' previously declared here
 int n , MOD;
     ^
0_0_17910789_20424.cpp:66:9: error: redefinition of 'int MOD'
 int n , MOD;
         ^
0_0_17910789_20424.cpp:9:9: note: 'int MOD' previously declared here
 int n , MOD;
         ^
0_0_17910789_20424.cpp:67:8: error: redefinition of 'struct Matrix'
 struct Matrix{
        ^
0_0_17910789_20424.cpp:10:8: error: previous definition of 'struct Matrix'
 struct Matrix{
        ^
0_0_17910789_20424.cpp: In function 'int Pow(Matrix)':
0_0_17910789_20424.cpp:83:5: error: redefinition of 'int Pow(Matrix)'
 int Pow(Matrix m){
     ^
0_0_17910789_20424.cpp:26:5: note: 'int Pow(Matrix)' previously defined here
 int Pow(Matrix m){
     ^
0_0_17910789_20424.cpp: In function 'int main()':
0_0_17910789_20424.cpp:97:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_17910789_20424.cpp:41: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-12-02 09:37:41, Gzip enabled