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_36832737_31871.cpp:295:11: error: redefinition of 'const int N'
 const int N=2e5+20;
           ^
0_0_36832737_31871.cpp:10:11: note: 'const int N' previously defined here
 const int N=2e5+20;
           ^
0_0_36832737_31871.cpp:296:11: error: redefinition of 'const int MAX'
 const int MAX=10000007;
           ^
0_0_36832737_31871.cpp:11:11: note: 'const int MAX' previously defined here
 const int MAX=10000007;
           ^
0_0_36832737_31871.cpp: In function 'int read()':
0_0_36832737_31871.cpp:297:12: error: redefinition of 'int read()'
 inline int read() {
            ^
0_0_36832737_31871.cpp:12:12: note: 'int read()' previously defined here
 inline int read() {
            ^
0_0_36832737_31871.cpp: In function 'void out(int)':
0_0_36832737_31871.cpp:304:13: error: redefinition of 'void out(int)'
 inline void out(int x) {
             ^
0_0_36832737_31871.cpp:19:13: note: 'void out(int)' previously defined here
 inline void out(int x) {
             ^
0_0_36832737_31871.cpp: At global scope:
0_0_36832737_31871.cpp:308:5: error: redefinition of 'int t'
 int t,n,m;
     ^
0_0_36832737_31871.cpp:23:5: note: 'int t' previously declared here
 int t,n,m;
     ^
0_0_36832737_31871.cpp:308:7: error: redefinition of 'int n'
 int t,n,m;
       ^
0_0_36832737_31871.cpp:23:7: note: 'int n' previously declared here
 int t,n,m;
       ^
0_0_36832737_31871.cpp:308:9: error: redefinition of 'int m'
 int t,n,m;
         ^
0_0_36832737_31871.cpp:23:9: note: 'int m' previously declared here
 int t,n,m;
         ^
0_0_36832737_31871.cpp:310:11: error: redefinition of 'int nval [200020]'
 int nval[N];
           ^
0_0_36832737_31871.cpp:25:5: note: 'int nval [200020]' previously declared here
 int nval[N];
     ^
0_0_36832737_31871.cpp:311:8: error: redefinition of 'int h [200020]'
 int h[N],e[N*2],ne[N*2];
        ^
0_0_36832737_31871.cpp:26:5: note: 'int h [200020]' previously declared here
 int h[N],e[N*2],ne[N*2];
     ^
0_0_36832737_31871.cpp:311:15: error: redefinition of 'int e [400040]'
 int h[N],e[N*2],ne[N*2];
               ^
0_0_36832737_31871.cpp:26:10: note: 'int e [400040]' previously declared here
 int h[N],e[N*2],ne[N*2];
          ^
0_0_36832737_31871.cpp:311:23: error: redefinition of 'int ne [400040]'
 int h[N],e[N*2],ne[N*2];
                       ^
0_0_36832737_31871.cpp:26:17: note: 'int ne [400040]' previously declared here
 int h[N],e[N*2],ne[N*2];
                 ^
0_0_36832737_31871.cpp:312:5: error: redefinition of 'int idx'
 int idx=0,tot=0,tot1=0;
     ^
0_0_36832737_31871.cpp:27:5: note: 'int idx' previously defined here
 int idx=0,tot=0,tot1=0;
     ^
0_0_36832737_31871.cpp:312:11: error: redefinition of 'int tot'
 int idx=0,tot=0,tot1=0;
           ^
0_0_36832737_31871.cpp:27:11: note: 'int tot' previously defined here
 int idx=0,tot=0,tot1=0;
           ^
0_0_36832737_31871.cpp:312:17: error: redefinition of 'int tot1'
 int idx=0,tot=0,tot1=0;
                 ^
0_0_36832737_31871.cpp:27:17: note: 'int tot1' previously defined here
 int idx=0,tot=0,tot1=0;
                 ^
0_0_36832737_31871.cpp:313:5: error: redefinition of 'int block'
 int block;
     ^
0_0_36832737_31871.cpp:28:5: note: 'int block' previously declared here
 int block;
     ^
0_0_36832737_31871.cpp:315:8: error: redefinition of 'struct node'
 struct node
        ^
0_0_36832737_31871.cpp:30:8: error: previous definition of 'struct node'
 struct node
        ^
0_0_36832737_31871.cpp:321:10: error: invalid type in declaration before ',' token
 }askpa[N],ask[N],askt[N];
          ^
0_0_36832737_31871.cpp:321:10: error: conflicting declaration 'int askpa [200020]'
0_0_36832737_31871.cpp:36:2: note: previous declaration as 'node askpa [200020]'
 }askpa[N],ask[N],askt[N];
  ^
0_0_36832737_31871.cpp:321:16: error: conflicting declaration 'int ask [200020]'
 }askpa[N],ask[N],askt[N];
                ^
0_0_36832737_31871.cpp:36:11: note: previous declaration as 'node ask [200020]'
 }askpa[N],ask[N],askt[N];
           ^
0_0_36832737_31871.cpp:321:24: error: conflicting declaration 'int askt [200020]'
 }askpa[N],ask[N],askt[N];
                        ^
0_0_36832737_31871.cpp:36:18: note: previous declaration as 'node askt [200020]'
 }askpa[N],ask[N],askt[N];
                  ^
0_0_36832737_31871.cpp: In function 'bool cmp(node, node)':
0_0_36832737_31871.cpp:323:6: error: redefinition of 'bool cmp(node, node)'
 bool cmp(node x,node y){
      ^
0_0_36832737_31871.cpp:38:6: note: 'bool cmp(node, node)' previously defined here
 bool cmp(node x,node y){
      ^
0_0_36832737_31871.cpp: In function 'bool cmp1(node, node)':
0_0_36832737_31871.cpp:329:6: error: redefinition of 'bool cmp1(node, node)'
 bool cmp1(node a,node b){//奇偶排序
      ^
0_0_36832737_31871.cpp:44:6: note: 'bool cmp1(node, node)' previously defined here
 bool cmp1(node a,node b){//奇偶排序
      ^
0_0_36832737_31871.cpp: In function 'void add(int, int)':
0_0_36832737_31871.cpp:339:6: error: redefinition of 'void add(int, int)'
 void add(int x,int y){
      ^
0_0_36832737_31871.cpp:54:6: note: 'void add(int, int)' previously defined here
 void add(int x,int y){
      ^
0_0_36832737_31871.cpp: At global scope:
0_0_36832737_31871.cpp:344:10: error: redefinition of 'int siz [200020]'
 int siz[N];
          ^
0_0_36832737_31871.cpp:59:5: note: 'int siz [200020]' previously declared here
 int siz[N];
     ^
0_0_36832737_31871.cpp:345:13: error: redefinition of 'int kepval [200020]'
 int kepval[N];
             ^
0_0_36832737_31871.cpp:60:5: note: 'int kepval [200020]' previously declared here
 int kepval[N];
     ^
0_0_36832737_31871.cpp:346:9: error: redefinition of 'int st [200020]'
 int st[N],ed[N];
         ^
0_0_36832737_31871.cpp:61:5: note: 'int st [200020]' previously declared here
 int st[N],ed[N];
     ^
0_0_36832737_31871.cpp:346:15: error: redefinition of 'int ed [200020]'
 int st[N],ed[N];
               ^
0_0_36832737_31871.cpp:61:11: note: 'int ed [200020]' previously declared here
 int st[N],ed[N];
           ^
0_0_36832737_31871.cpp:347:10: error: redefinition of 'int dfn [200020]'
 int dfn[N];
          ^
0_0_36832737_31871.cpp:62:5: note: 'int dfn [200020]' previously declared here
 int dfn[N];
     ^
0_0_36832737_31871.cpp:348:10: error: redefinition of 'int fat [200020]'
 int fat[N];
          ^
0_0_36832737_31871.cpp:63:5: note: 'int fat [200020]' previously declared here
 int fat[N];
     ^
0_0_36832737_31871.cpp:349:10: error: redefinition of 'int dep [200020]'
 int dep[N];
          ^
0_0_36832737_31871.cpp:64:5: note: 'int dep [200020]' previously declared here
 int dep[N];
     ^
0_0_36832737_31871.cpp:350:10: error: redefinition of 'int son [200020]'
 int son[N];
          ^
0_0_36832737_31871.cpp:65:5: note: 'int son [200020]' previously declared here
 int son[N];
     ^
0_0_36832737_31871.cpp:351:10: error: redefinition of 'int ary [200020]'
 int ary[N],ary1[N];
          ^
0_0_36832737_31871.cpp:66:5: note: 'int ary [200020]' previously declared here
 int ary[N],ary1[N];
     ^
0_0_36832737_31871.cpp:351:18: error: redefinition of 'int ary1 [200020]'
 int ary[N],ary1[N];
                  ^
0_0_36832737_31871.cpp:66:12: note: 'int ary1 [200020]' previously declared here
 int ary[N],ary1[N];
            ^
0_0_36832737_31871.cpp:352:10: error: redefinition of 'int top [200020]'
 int top[N];
          ^
0_0_36832737_31871.cpp:67:5: note: 'int top [200020]' previously declared here
 int top[N];
     ^
0_0_36832737_31871.cpp:353:10: error: redefinition of 'int ANS [200020]'
 int ANS[N];
          ^
0_0_36832737_31871.cpp:68:5: note: 'int ANS [200020]' previously declared here
 int ANS[N];
     ^
0_0_36832737_31871.cpp:355:12: error: redefinition of 'int stats [200020]'
 int stats[N];
            ^
0_0_36832737_31871.cpp:70:5: note: 'int stats [200020]' previously declared here
 int stats[N];
     ^
0_0_36832737_31871.cpp: In function 'void dfs(int, int, int)':
0_0_36832737_31871.cpp:358:6: error: redefinition of 'void dfs(int, int, int)'
 void dfs(int x,int fa,int dp){
      ^
0_0_36832737_31871.cpp:73:6: note: 'void dfs(int, int, int)' previously defined here
 void dfs(int x,int fa,int dp){
      ^
0_0_36832737_31871.cpp: In function 'void dfs1(int, int)':
0_0_36832737_31871.cpp:384:6: error: redefinition of 'void dfs1(int, int)'
 void dfs1(int x,int topf){//x当前节点 topf当前链的最顶端的节点
      ^
0_0_36832737_31871.cpp:99:6: note: 'void dfs1(int, int)' previously defined here
 void dfs1(int x,int topf){//x当前节点 topf当前链的最顶端的节点
      ^
0_0_36832737_31871.cpp: In function 'int lca(int, int)':
0_0_36832737_31871.cpp:396:5: error: redefinition of 'int lca(int, int)'
 int lca(int x,int y){
     ^
0_0_36832737_31871.cpp:111:5: note: 'int lca(int, int)' previously defined here
 int lca(int x,int y){
     ^
0_0_36832737_31871.cpp: At global scope:
0_0_36832737_31871.cpp:406:5: error: redefinition of 'int cnt'
 int cnt;
     ^
0_0_36832737_31871.cpp:121:5: note: 'int cnt' previously declared here
 int cnt;
     ^
0_0_36832737_31871.cpp:407:5: error: redefinition of 'int con'
 int con,pon;
     ^
0_0_36832737_31871.cpp:122:5: note: 'int con' previously declared here
 int con,pon;
     ^
0_0_36832737_31871.cpp:407:9: error: redefinition of 'int pon'
 int con,pon;
         ^
0_0_36832


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 03:29:14, Gzip enabled