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_8095426_25805.cpp:52: error: redefinition of `int num'
0_0_8095426_25805.cpp:6: error: `int num' previously declared here
0_0_8095426_25805.cpp:52: error: redefinition of `int ans'
0_0_8095426_25805.cpp:6: error: `int ans' previously declared here
0_0_8095426_25805.cpp:52: error: redefinition of `int buf[1000]'
0_0_8095426_25805.cpp:6: error: `int buf[1000]' previously declared here
0_0_8095426_25805.cpp:53: error: redefinition of `bool vis[1000]'
0_0_8095426_25805.cpp:7: error: `bool vis[1000]' previously declared here
0_0_8095426_25805.cpp: In function `int is_prime(int, int)':
0_0_8095426_25805.cpp:56: error: redefinition of `int is_prime(int, int)'
0_0_8095426_25805.cpp:10: error: `int is_prime(int, int)' previously defined here
0_0_8095426_25805.cpp: In function `void dfs(int)':
0_0_8095426_25805.cpp:64: error: redefinition of `void dfs(int)'
0_0_8095426_25805.cpp:18: error: `void dfs(int)' previously defined here
0_0_8095426_25805.cpp: In function `int main()':
0_0_8095426_25805.cpp:84: error: redefinition of `int main()'
0_0_8095426_25805.cpp:38: error: `int main()' previously defined here
0_0_8095426_25805.cpp:91: error: return-statement with no value, in function returning 'int'


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-06 18:02:50, Gzip enabled