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_28756259_12461.cpp:49:11: error: redefinition of 'const int MAXN'
 const int MAXN=1000;
           ^
0_0_28756259_12461.cpp:5:11: note: 'const int MAXN' previously defined here
 const int MAXN=1000;
           ^
0_0_28756259_12461.cpp:50:14: error: redefinition of 'bool hpy [1000]'
 bool hpy[MAXN];
              ^
0_0_28756259_12461.cpp:6:6: note: 'bool hpy [1000]' previously declared here
 bool hpy[MAXN];
      ^
0_0_28756259_12461.cpp: In function 'bool dfs(int, int)':
0_0_28756259_12461.cpp:51:6: error: redefinition of 'bool dfs(int, int)'
 bool dfs(int x,int dep){
      ^
0_0_28756259_12461.cpp:7:6: note: 'bool dfs(int, int)' previously defined here
 bool dfs(int x,int dep){
      ^
0_0_28756259_12461.cpp: In function 'void Pre()':
0_0_28756259_12461.cpp:62:6: error: redefinition of 'void Pre()'
 void Pre(){
      ^
0_0_28756259_12461.cpp:18:6: note: 'void Pre()' previously defined here
 void Pre(){
      ^
0_0_28756259_12461.cpp: In function 'bool pan(int)':
0_0_28756259_12461.cpp:66:6: error: redefinition of 'bool pan(int)'
 bool pan(int x){
      ^
0_0_28756259_12461.cpp:22:6: note: 'bool pan(int)' previously defined here
 bool pan(int x){
      ^
0_0_28756259_12461.cpp: In function 'int main()':
0_0_28756259_12461.cpp:76:8: error: redefinition of 'int main()'
 signed main(){
        ^
0_0_28756259_12461.cpp:32:8: note: 'int main()' previously defined here
 signed 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-16 09:36:18, Gzip enabled