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_12689602_20879.cpp:53: error: redefinition of `int a[22]'
0_0_12689602_20879.cpp:2: error: `int a[22]' previously declared here
0_0_12689602_20879.cpp:53: error: redefinition of `int vis[22]'
0_0_12689602_20879.cpp:2: error: `int vis[22]' previously declared here
0_0_12689602_20879.cpp:53: error: redefinition of `int n'
0_0_12689602_20879.cpp:2: error: `int n' previously declared here
0_0_12689602_20879.cpp:54: error: redefinition of `int prime[12]'
0_0_12689602_20879.cpp:3: error: `int prime[12]' previously defined here
0_0_12689602_20879.cpp: In function `int is_prime(int)':
0_0_12689602_20879.cpp:57: error: redefinition of `int is_prime(int)'
0_0_12689602_20879.cpp:6: error: `int is_prime(int)' previously defined here
0_0_12689602_20879.cpp: In function `void dfs(int)':
0_0_12689602_20879.cpp:65: error: redefinition of `void dfs(int)'
0_0_12689602_20879.cpp:14: error: `void dfs(int)' previously defined here
0_0_12689602_20879.cpp: In function `int main()':
0_0_12689602_20879.cpp:88: error: redefinition of `int main()'
0_0_12689602_20879.cpp:37: error: `int main()' previously defined here


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-29 14:58:59, Gzip enabled