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_19892447_12283.cpp:279:14: error: redefinition of 'const double pi'
 const double pi = acos(-1.0);
              ^
0_0_19892447_12283.cpp:21:14: note: 'const double pi' previously defined here
 const double pi = acos(-1.0);
              ^
0_0_19892447_12283.cpp:280:11: error: redefinition of 'const int inf'
 const int inf = 0x3f3f3f3f;
           ^
0_0_19892447_12283.cpp:22:11: note: 'const int inf' previously defined here
 const int inf = 0x3f3f3f3f;
           ^
0_0_19892447_12283.cpp:281:10: error: redefinition of 'const ll INF'
 const ll INF = 0x3f3f3f3f3f3f3fll;
          ^
0_0_19892447_12283.cpp:23:10: note: 'const ll INF' previously defined here
 const ll INF = 0x3f3f3f3f3f3f3fll;
          ^
0_0_19892447_12283.cpp:282:11: error: redefinition of 'const int MAX_N'
 const int MAX_N = 100010;
           ^
0_0_19892447_12283.cpp:24:11: note: 'const int MAX_N' previously defined here
 const int MAX_N = 100010;
           ^
0_0_19892447_12283.cpp:284:5: error: redefinition of 'int T'
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
     ^
0_0_19892447_12283.cpp:26:5: note: 'int T' previously declared here
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
     ^
0_0_19892447_12283.cpp:284:8: error: redefinition of 'int n'
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
        ^
0_0_19892447_12283.cpp:26:8: note: 'int n' previously declared here
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
        ^
0_0_19892447_12283.cpp:284:11: error: redefinition of 'int Q'
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
           ^
0_0_19892447_12283.cpp:26:11: note: 'int Q' previously declared here
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
           ^
0_0_19892447_12283.cpp:284:14: error: redefinition of 'int blockCnt'
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
              ^
0_0_19892447_12283.cpp:26:14: note: 'int blockCnt' previously declared here
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
              ^
0_0_19892447_12283.cpp:284:24: error: redefinition of 'int sizeBlock'
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                        ^
0_0_19892447_12283.cpp:26:24: note: 'int sizeBlock' previously declared here
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                        ^
0_0_19892447_12283.cpp:284:35: error: redefinition of 'int top'
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                                   ^
0_0_19892447_12283.cpp:26:35: note: 'int top' previously declared here
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                                   ^
0_0_19892447_12283.cpp:284:40: error: redefinition of 'int tot'
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                                        ^
0_0_19892447_12283.cpp:26:40: note: 'int tot' previously declared here
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                                        ^
0_0_19892447_12283.cpp:284:45: error: redefinition of 'int tot1'
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                                             ^
0_0_19892447_12283.cpp:26:45: note: 'int tot1' previously declared here
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                                             ^
0_0_19892447_12283.cpp:284:51: error: redefinition of 'int tot2'
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                                                   ^
0_0_19892447_12283.cpp:26:51: note: 'int tot2' previously declared here
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                                                   ^
0_0_19892447_12283.cpp:284:57: error: redefinition of 'int cases'
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                                                         ^
0_0_19892447_12283.cpp:26:57: note: 'int cases' previously defined here
 int T, n, Q, blockCnt, sizeBlock, top, tot, tot1, tot2, cases = 0;
                                                         ^
0_0_19892447_12283.cpp:285:14: error: redefinition of 'int val [100010]'
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
              ^
0_0_19892447_12283.cpp:27:5: note: 'int val [100010]' previously declared here
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
     ^
0_0_19892447_12283.cpp:285:24: error: redefinition of 'int A [100010]'
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
                        ^
0_0_19892447_12283.cpp:27:17: note: 'int A [100010]' previously declared here
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
                 ^
0_0_19892447_12283.cpp:285:34: error: redefinition of 'int B [100010]'
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
                                  ^
0_0_19892447_12283.cpp:27:27: note: 'int B [100010]' previously declared here
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
                           ^
0_0_19892447_12283.cpp:285:47: error: redefinition of 'int head [100010]'
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
                                               ^
0_0_19892447_12283.cpp:27:37: note: 'int head [100010]' previously declared here
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
                                     ^
0_0_19892447_12283.cpp:285:62: error: redefinition of 'int fa [100010][20]'
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
                                                              ^
0_0_19892447_12283.cpp:27:50: note: 'int fa [100010][20]' previously declared here
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
                                                  ^
0_0_19892447_12283.cpp:285:76: error: redefinition of 'int depth [100010]'
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
                                                                            ^
0_0_19892447_12283.cpp:27:65: note: 'int depth [100010]' previously declared here
 int val[MAX_N], A[MAX_N], B[MAX_N], head[MAX_N], fa[MAX_N][20], depth[MAX_N];
                                                                 ^
0_0_19892447_12283.cpp:286:16: error: redefinition of 'int tleft [100010]'
 int tleft[MAX_N], tright[MAX_N], bel[MAX_N], num[MAX_N];
                ^
0_0_19892447_12283.cpp:28:5: note: 'int tleft [100010]' previously declared here
 int tleft[MAX_N], tright[MAX_N], bel[MAX_N], num[MAX_N];
     ^
0_0_19892447_12283.cpp:286:31: error: redefinition of 'int tright [100010]'
 int tleft[MAX_N], tright[MAX_N], bel[MAX_N], num[MAX_N];
                               ^
0_0_19892447_12283.cpp:28:19: note: 'int tright [100010]' previously declared here
 int tleft[MAX_N], tright[MAX_N], bel[MAX_N], num[MAX_N];
                   ^
0_0_19892447_12283.cpp:286:43: error: redefinition of 'int bel [100010]'
 int tleft[MAX_N], tright[MAX_N], bel[MAX_N], num[MAX_N];
                                           ^
0_0_19892447_12283.cpp:28:34: note: 'int bel [100010]' previously declared here
 int tleft[MAX_N], tright[MAX_N], bel[MAX_N], num[MAX_N];
                                  ^
0_0_19892447_12283.cpp:286:55: error: redefinition of 'int num [100010]'
 int tleft[MAX_N], tright[MAX_N], bel[MAX_N], num[MAX_N];
                                                       ^
0_0_19892447_12283.cpp:28:46: note: 'int num [100010]' previously declared here
 int tleft[MAX_N], tright[MAX_N], bel[MAX_N], num[MAX_N];
                                              ^
0_0_19892447_12283.cpp:287:14: error: redefinition of 'int vis [100010]'
 int vis[MAX_N], sta[MAX_N], sz[MAX_N], point[MAX_N];
              ^
0_0_19892447_12283.cpp:29:5: note: 'int vis [100010]' previously declared here
 int vis[MAX_N], sta[MAX_N], sz[MAX_N], point[MAX_N];
     ^
0_0_19892447_12283.cpp:287:26: error: redefinition of 'int sta [100010]'
 int vis[MAX_N], sta[MAX_N], sz[MAX_N], point[MAX_N];
                          ^
0_0_19892447_12283.cpp:29:17: note: 'int sta [100010]' previously declared here
 int vis[MAX_N], sta[MAX_N], sz[MAX_N], point[MAX_N];
                 ^
0_0_19892447_12283.cpp:287:37: error: redefinition of 'int sz [100010]'
 int vis[MAX_N], sta[MAX_N], sz[MAX_N], point[MAX_N];
                                     ^
0_0_19892447_12283.cpp:29:29: note: 'int sz [100010]' previously declared here
 int vis[MAX_N], sta[MAX_N], sz[MAX_N], point[MAX_N];
                             ^
0_0_19892447_12283.cpp:287:51: error: redefinition of 'int point [100010]'
 int vis[MAX_N], sta[MAX_N], sz[MAX_N], point[MAX_N];
                                                   ^
0_0_19892447_12283.cpp:29:40: note: 'int point [100010]' previously declared here
 int vis[MAX_N], sta[MAX_N], sz[MAX_N], point[MAX_N];
                                        ^
0_0_19892447_12283.cpp:288:13: error: redefinition of 'll sum [100010]'
 ll sum[MAX_N], ans[MAX_N];
             ^
0_0_19892447_12283.cpp:30:4: note: 'll sum [100010]' previously declared here
 ll sum[MAX_N], ans[MAX_N];
    ^
0_0_19892447_12283.cpp:288:25: error: redefinition of 'll ans [100010]'
 ll sum[MAX_N], ans[MAX_N]


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-17 03:33:40, Gzip enabled