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_24314880_2858.cpp:154:12: error: redefinition of 'int head2 [200010]'
 int head2[N];
            ^
0_0_24314880_2858.cpp:23:5: note: 'int head2 [200010]' previously declared here
 int head2[N];
     ^
0_0_24314880_2858.cpp: In function 'void addedge(int, int)':
0_0_24314880_2858.cpp:156:6: error: redefinition of 'void addedge(int, int)'
 void addedge(int u, int v) {
      ^
0_0_24314880_2858.cpp:25:6: note: 'void addedge(int, int)' previously defined here
 void addedge(int u, int v) {
      ^
0_0_24314880_2858.cpp: In function 'void init()':
0_0_24314880_2858.cpp:163:6: error: redefinition of 'void init()'
 void init() {
      ^
0_0_24314880_2858.cpp:32:6: note: 'void init()' previously defined here
 void init() {
      ^
0_0_24314880_2858.cpp: In function 'void add(int, int)':
0_0_24314880_2858.cpp:173:6: error: redefinition of 'void add(int, int)'
 void add(int u,int v) {
      ^
0_0_24314880_2858.cpp:42:6: note: 'void add(int, int)' previously defined here
 void add(int u,int v) {
      ^
0_0_24314880_2858.cpp: In function 'void tarjan(int)':
0_0_24314880_2858.cpp:178:6: error: redefinition of 'void tarjan(int)'
 void tarjan(int u) {
      ^
0_0_24314880_2858.cpp:47:6: note: 'void tarjan(int)' previously defined here
 void tarjan(int u) {
      ^
0_0_24314880_2858.cpp: At global scope:
0_0_24314880_2858.cpp:207:5: error: redefinition of 'int maxdeep'
 int maxdeep, pos;
     ^
0_0_24314880_2858.cpp:76:5: note: 'int maxdeep' previously declared here
 int maxdeep, pos;
     ^
0_0_24314880_2858.cpp:207:14: error: redefinition of 'int pos'
 int maxdeep, pos;
              ^
0_0_24314880_2858.cpp:76:14: note: 'int pos' previously declared here
 int maxdeep, pos;
              ^
0_0_24314880_2858.cpp: In function 'void dfs2(int, int, int)':
0_0_24314880_2858.cpp:208:6: error: redefinition of 'void dfs2(int, int, int)'
 void dfs2(int u, int pre, int deep) {
      ^
0_0_24314880_2858.cpp:77:6: note: 'void dfs2(int, int, int)' previously defined here
 void dfs2(int u, int pre, int deep) {
      ^
0_0_24314880_2858.cpp: In function 'void work()':
0_0_24314880_2858.cpp:221:6: error: redefinition of 'void work()'
 void work() {
      ^
0_0_24314880_2858.cpp:90:6: note: 'void work()' previously defined here
 void work() {
      ^
0_0_24314880_2858.cpp: In function 'int main()':
0_0_24314880_2858.cpp:248:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_24314880_2858.cpp:117: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-24 20:22:29, Gzip enabled