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_18701442_205.cpp:1:1: error: 'C' does not name a type
 C++
 ^
0_0_18701442_205.cpp:92:1: error: expected unqualified-id before numeric constant
 1
 ^
0_0_18701442_205.cpp:188:11: error: redefinition of 'const int INF'
 const int INF = 0x3f3f3f3f, MAXN = 10000000+10,MAXM = 10000000*2+10;
           ^
0_0_18701442_205.cpp:10:11: note: 'const int INF' previously defined here
 const int INF = 0x3f3f3f3f, MAXN = 10000000+10,MAXM = 10000000*2+10;
           ^
0_0_18701442_205.cpp:188:29: error: redefinition of 'const int MAXN'
 const int INF = 0x3f3f3f3f, MAXN = 10000000+10,MAXM = 10000000*2+10;
                             ^
0_0_18701442_205.cpp:10:29: note: 'const int MAXN' previously defined here
 const int INF = 0x3f3f3f3f, MAXN = 10000000+10,MAXM = 10000000*2+10;
                             ^
0_0_18701442_205.cpp:188:48: error: redefinition of 'const int MAXM'
 const int INF = 0x3f3f3f3f, MAXN = 10000000+10,MAXM = 10000000*2+10;
                                                ^
0_0_18701442_205.cpp:10:48: note: 'const int MAXM' previously defined here
 const int INF = 0x3f3f3f3f, MAXN = 10000000+10,MAXM = 10000000*2+10;
                                                ^
0_0_18701442_205.cpp:189:14: error: redefinition of 'int head [10000010]'
 int head[MAXN],sz[MAXN],tol,nxt[MAXM],to[MAXM];
              ^
0_0_18701442_205.cpp:11:5: note: 'int head [10000010]' previously declared here
 int head[MAXN],sz[MAXN],tol,nxt[MAXM],to[MAXM];
     ^
0_0_18701442_205.cpp:189:23: error: redefinition of 'int sz [10000010]'
 int head[MAXN],sz[MAXN],tol,nxt[MAXM],to[MAXM];
                       ^
0_0_18701442_205.cpp:11:16: note: 'int sz [10000010]' previously declared here
 int head[MAXN],sz[MAXN],tol,nxt[MAXM],to[MAXM];
                ^
0_0_18701442_205.cpp:189:25: error: redefinition of 'int tol'
 int head[MAXN],sz[MAXN],tol,nxt[MAXM],to[MAXM];
                         ^
0_0_18701442_205.cpp:11:25: note: 'int tol' previously declared here
 int head[MAXN],sz[MAXN],tol,nxt[MAXM],to[MAXM];
                         ^
0_0_18701442_205.cpp:189:37: error: redefinition of 'int nxt [20000010]'
 int head[MAXN],sz[MAXN],tol,nxt[MAXM],to[MAXM];
                                     ^
0_0_18701442_205.cpp:11:29: note: 'int nxt [20000010]' previously declared here
 int head[MAXN],sz[MAXN],tol,nxt[MAXM],to[MAXM];
                             ^
0_0_18701442_205.cpp:189:46: error: redefinition of 'int to [20000010]'
 int head[MAXN],sz[MAXN],tol,nxt[MAXM],to[MAXM];
                                              ^
0_0_18701442_205.cpp:11:39: note: 'int to [20000010]' previously declared here
 int head[MAXN],sz[MAXN],tol,nxt[MAXM],to[MAXM];
                                       ^
0_0_18701442_205.cpp:190:11: error: redefinition of 'int a [10000010]'
 int a[MAXN];
           ^
0_0_18701442_205.cpp:12:5: note: 'int a [10000010]' previously declared here
 int a[MAXN];
     ^
0_0_18701442_205.cpp:192:11: error: redefinition of 'long long int seed'
 long long seed;
           ^
0_0_18701442_205.cpp:14:11: note: 'long long int seed' previously declared here
 long long seed;
           ^
0_0_18701442_205.cpp: In function 'int rand(int, int)':
0_0_18701442_205.cpp:193:5: error: redefinition of 'int rand(int, int)'
 int rand(int l, int r) {
     ^
0_0_18701442_205.cpp:15:5: note: 'int rand(int, int)' previously defined here
 int rand(int l, int r) {
     ^
0_0_18701442_205.cpp: In function 'void add_edge(int, int)':
0_0_18701442_205.cpp:197:13: error: redefinition of 'void add_edge(int, int)'
 inline void add_edge(int u, int v)
             ^
0_0_18701442_205.cpp:19:13: note: 'void add_edge(int, int)' previously defined here
 inline void add_edge(int u, int v)
             ^
0_0_18701442_205.cpp: At global scope:
0_0_18701442_205.cpp:204:13: error: redefinition of 'int cnt [10000010]'
 int cnt[MAXN],num[MAXN];
             ^
0_0_18701442_205.cpp:26:5: note: 'int cnt [10000010]' previously declared here
 int cnt[MAXN],num[MAXN];
     ^
0_0_18701442_205.cpp:204:23: error: redefinition of 'int num [10000010]'
 int cnt[MAXN],num[MAXN];
                       ^
0_0_18701442_205.cpp:26:15: note: 'int num [10000010]' previously declared here
 int cnt[MAXN],num[MAXN];
               ^
0_0_18701442_205.cpp: In function 'void my_sort(int)':
0_0_18701442_205.cpp:205:6: error: redefinition of 'void my_sort(int)'
 void my_sort(int id)
      ^
0_0_18701442_205.cpp:27:6: note: 'void my_sort(int)' previously defined here
 void my_sort(int id)
      ^
0_0_18701442_205.cpp: In function 'int main()':
0_0_18701442_205.cpp:221:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_18701442_205.cpp:43: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-11-22 22:20:25, Gzip enabled