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_18749828_28996.cpp:60:11: error: redefinition of 'const int INF'
 const int INF=0x3f3f3f3f;
           ^
0_0_18749828_28996.cpp:12:11: note: 'const int INF' previously defined here
 const int INF=0x3f3f3f3f;
           ^
0_0_18749828_28996.cpp:63:12: error: redefinition of 'int dir [][2]'
 int dir[][2]= {1,0,-1,0,0,1,0,-1};
            ^
0_0_18749828_28996.cpp:15:5: note: 'int dir [4][2]' previously defined here
 int dir[][2]= {1,0,-1,0,0,1,0,-1};
     ^
0_0_18749828_28996.cpp:64:11: error: redefinition of 'const int MAXN'
 const int MAXN=1 << 5;
           ^
0_0_18749828_28996.cpp:16:11: note: 'const int MAXN' previously defined here
 const int MAXN=1 << 5;
           ^
0_0_18749828_28996.cpp:68:12: error: redefinition of 'char a [22]'
 char a[20+2];
            ^
0_0_18749828_28996.cpp:20:6: note: 'char a [22]' previously declared here
 char a[20+2];
      ^
0_0_18749828_28996.cpp: In function 'll change(char*, int, int)':
0_0_18749828_28996.cpp:69:4: error: redefinition of 'll change(char*, int, int)'
 ll change(char s[],int l,int r)
    ^
0_0_18749828_28996.cpp:21:4: note: 'll change(char*, int, int)' previously defined here
 ll change(char s[],int l,int r)
    ^
0_0_18749828_28996.cpp: In function 'int main()':
0_0_18749828_28996.cpp:76:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_18749828_28996.cpp:28: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-11-26 21:08:07, Gzip enabled