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_37087846_4165.cpp:45:11: error: redefinition of 'int pos [12]'
 int pos[12],vis[12];
           ^
0_0_37087846_4165.cpp:8:5: note: 'int pos [12]' previously declared here
 int pos[12],vis[12];
     ^
0_0_37087846_4165.cpp:45:19: error: redefinition of 'int vis [12]'
 int pos[12],vis[12];
                   ^
0_0_37087846_4165.cpp:8:13: note: 'int vis [12]' previously declared here
 int pos[12],vis[12];
             ^
0_0_37087846_4165.cpp:46:5: error: redefinition of 'int res'
 int res=0x3f3f3f3f;
     ^
0_0_37087846_4165.cpp:9:5: note: 'int res' previously defined here
 int res=0x3f3f3f3f;
     ^
0_0_37087846_4165.cpp: In function 'void DFS(int, int)':
0_0_37087846_4165.cpp:47:6: error: redefinition of 'void DFS(int, int)'
 void DFS(int now,int n){
      ^
0_0_37087846_4165.cpp:10:6: note: 'void DFS(int, int)' previously defined here
 void DFS(int now,int n){
      ^
0_0_37087846_4165.cpp: In function 'int main()':
0_0_37087846_4165.cpp:60:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_37087846_4165.cpp:23: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-10-05 14:42:06, Gzip enabled