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_6937283_20948.cpp:141: error: redefinition of `const int N'
0_0_6937283_20948.cpp:8: error: `const int N' previously defined here
0_0_6937283_20948.cpp:142: error: redefinition of `std::vector<int, std::allocator<int> > edge[50005]'
0_0_6937283_20948.cpp:9: error: `std::vector<int, std::allocator<int> > edge[50005]' previously declared here
0_0_6937283_20948.cpp:143: error: redefinition of `int out[50005]'
0_0_6937283_20948.cpp:10: error: `int out[50005]' previously declared here
0_0_6937283_20948.cpp:144: error: redefinition of `int cnt'
0_0_6937283_20948.cpp:11: error: `int cnt' previously defined here
0_0_6937283_20948.cpp:145: error: redefinition of `int n'
0_0_6937283_20948.cpp:12: error: `int n' previously declared here
0_0_6937283_20948.cpp:147: error: redefinition of `struct Node'
0_0_6937283_20948.cpp:14: error: previous definition of `struct Node'
0_0_6937283_20948.cpp:149: error: invalid type in declaration before ';' token
0_0_6937283_20948.cpp:149: error: conflicting declaration 'int no[50005]'
0_0_6937283_20948.cpp:16: error: 'no' has a previous declaration as `Node no[50005]'
0_0_6937283_20948.cpp:149: error: type mismatch with previous external decl of `int no[50005]'
0_0_6937283_20948.cpp:16: error: previous external decl of `Node no[50005]'
0_0_6937283_20948.cpp:149: error: declaration of `int no[50005]'
0_0_6937283_20948.cpp:16: error: conflicts with previous declaration `Node no[50005]'
0_0_6937283_20948.cpp:151: error: redefinition of `struct NN'
0_0_6937283_20948.cpp:18: error: previous definition of `struct NN'
0_0_6937283_20948.cpp:154: error: invalid type in declaration before ';' token
0_0_6937283_20948.cpp:154: error: conflicting declaration 'int tree[300030]'
0_0_6937283_20948.cpp:21: error: 'tree' has a previous declaration as `NN tree[300030]'
0_0_6937283_20948.cpp:154: error: type mismatch with previous external decl of `int tree[300030]'
0_0_6937283_20948.cpp:21: error: previous external decl of `NN tree[300030]'
0_0_6937283_20948.cpp:154: error: declaration of `int tree[300030]'
0_0_6937283_20948.cpp:21: error: conflicts with previous declaration `NN tree[300030]'
0_0_6937283_20948.cpp: In function `void built(int, int, int)':
0_0_6937283_20948.cpp:156: error: redefinition of `void built(int, int, int)'
0_0_6937283_20948.cpp:23: error: `void built(int, int, int)' previously defined here
0_0_6937283_20948.cpp: In function `void dfs(int)':
0_0_6937283_20948.cpp:167: error: redefinition of `void dfs(int)'
0_0_6937283_20948.cpp:34: error: `void dfs(int)' previously defined here
0_0_6937283_20948.cpp: In function `void down(int)':
0_0_6937283_20948.cpp:179: error: redefinition of `void down(int)'
0_0_6937283_20948.cpp:46: error: `void down(int)' previously defined here
0_0_6937283_20948.cpp: In function `void insert(int, int, int, int)':
0_0_6937283_20948.cpp:189: error: redefinition of `void insert(int, int, int, int)'
0_0_6937283_20948.cpp:56: error: `void insert(int, int, int, int)' previously defined here
0_0_6937283_20948.cpp: In function `int query(int, int)':
0_0_6937283_20948.cpp:210: error: redefinition of `int query(int, int)'
0_0_6937283_20948.cpp:77: error: `int query(int, int)' previously defined here
0_0_6937283_20948.cpp: In function `int main()':
0_0_6937283_20948.cpp:224: error: redefinition of `int main()'
0_0_6937283_20948.cpp:91: 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-25 04:48:31, Gzip enabled