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_32546885_10411.cpp:176:5: error: redefinition of 'int n'
 int n, m, node_cnt;
     ^
0_0_32546885_10411.cpp:18:5: note: 'int n' previously declared here
 int n, m, node_cnt;
     ^
0_0_32546885_10411.cpp:176:8: error: redefinition of 'int m'
 int n, m, node_cnt;
        ^
0_0_32546885_10411.cpp:18:8: note: 'int m' previously declared here
 int n, m, node_cnt;
        ^
0_0_32546885_10411.cpp:176:11: error: redefinition of 'int node_cnt'
 int n, m, node_cnt;
           ^
0_0_32546885_10411.cpp:18:11: note: 'int node_cnt' previously declared here
 int n, m, node_cnt;
           ^
0_0_32546885_10411.cpp:178:14: error: redefinition of 'int root [100005]'
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
              ^
0_0_32546885_10411.cpp:20:5: note: 'int root [100005]' previously declared here
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
     ^
0_0_32546885_10411.cpp:178:29: error: redefinition of 'int rc [1600080]'
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                             ^
0_0_32546885_10411.cpp:20:17: note: 'int rc [1600080]' previously declared here
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                 ^
0_0_32546885_10411.cpp:178:44: error: redefinition of 'int lc [1600080]'
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                                            ^
0_0_32546885_10411.cpp:20:32: note: 'int lc [1600080]' previously declared here
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                                ^
0_0_32546885_10411.cpp:178:60: error: redefinition of 'int sum [1600080]'
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                                                            ^
0_0_32546885_10411.cpp:20:47: note: 'int sum [1600080]' previously declared here
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                                               ^
0_0_32546885_10411.cpp:180:13: error: redefinition of 'int num [100005]'
 int num[MAXN];
             ^
0_0_32546885_10411.cpp:22:5: note: 'int num [100005]' previously declared here
 int num[MAXN];
     ^
0_0_32546885_10411.cpp:182:14: error: redefinition of 'std::vector<int> p'
 vector<int > p;
              ^
0_0_32546885_10411.cpp:24:14: note: 'std::vector<int> p' previously declared here
 vector<int > p;
              ^
0_0_32546885_10411.cpp: In function 'void init()':
0_0_32546885_10411.cpp:184:6: error: redefinition of 'void init()'
 void init()
      ^
0_0_32546885_10411.cpp:26:6: note: 'void init()' previously defined here
 void init()
      ^
0_0_32546885_10411.cpp: In function 'void build(int&, int, int)':
0_0_32546885_10411.cpp:195:6: error: redefinition of 'void build(int&, int, int)'
 void build(int &t, int l, int r)
      ^
0_0_32546885_10411.cpp:37:6: note: 'void build(int&, int, int)' previously defined here
 void build(int &t, int l, int r)
      ^
0_0_32546885_10411.cpp: In function 'int modify(int, int, int, int)':
0_0_32546885_10411.cpp:207:5: error: redefinition of 'int modify(int, int, int, int)'
 int modify(int o, int l, int r, int p)
     ^
0_0_32546885_10411.cpp:49:5: note: 'int modify(int, int, int, int)' previously defined here
 int modify(int o, int l, int r, int p)
     ^
0_0_32546885_10411.cpp: In function 'int query(int, int, int, int, int)':
0_0_32546885_10411.cpp:222:5: error: redefinition of 'int query(int, int, int, int, int)'
 int query(int u, int v, int l, int r, int p)
     ^
0_0_32546885_10411.cpp:64:5: note: 'int query(int, int, int, int, int)' previously defined here
 int query(int u, int v, int l, int r, int p)
     ^
0_0_32546885_10411.cpp: In function 'int read()':
0_0_32546885_10411.cpp:248:12: error: redefinition of 'int read()'
 inline int read()
            ^
0_0_32546885_10411.cpp:90:12: note: 'int read()' previously defined here
 inline int read()
            ^
0_0_32546885_10411.cpp: In function 'int main()':
0_0_32546885_10411.cpp:269:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_32546885_10411.cpp:111:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_32546885_10411.cpp: At global scope:
0_0_32546885_10411.cpp:334:5: error: redefinition of 'int n'
 int n, m, node_cnt;
     ^
0_0_32546885_10411.cpp:18:5: note: 'int n' previously declared here
 int n, m, node_cnt;
     ^
0_0_32546885_10411.cpp:334:8: error: redefinition of 'int m'
 int n, m, node_cnt;
        ^
0_0_32546885_10411.cpp:18:8: note: 'int m' previously declared here
 int n, m, node_cnt;
        ^
0_0_32546885_10411.cpp:334:11: error: redefinition of 'int node_cnt'
 int n, m, node_cnt;
           ^
0_0_32546885_10411.cpp:18:11: note: 'int node_cnt' previously declared here
 int n, m, node_cnt;
           ^
0_0_32546885_10411.cpp:336:14: error: redefinition of 'int root [100005]'
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
              ^
0_0_32546885_10411.cpp:20:5: note: 'int root [100005]' previously declared here
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
     ^
0_0_32546885_10411.cpp:336:29: error: redefinition of 'int rc [1600080]'
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                             ^
0_0_32546885_10411.cpp:20:17: note: 'int rc [1600080]' previously declared here
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                 ^
0_0_32546885_10411.cpp:336:44: error: redefinition of 'int lc [1600080]'
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                                            ^
0_0_32546885_10411.cpp:20:32: note: 'int lc [1600080]' previously declared here
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                                ^
0_0_32546885_10411.cpp:336:60: error: redefinition of 'int sum [1600080]'
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                                                            ^
0_0_32546885_10411.cpp:20:47: note: 'int sum [1600080]' previously declared here
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
                                               ^
0_0_32546885_10411.cpp:338:13: error: redefinition of 'int num [100005]'
 int num[MAXN];
             ^
0_0_32546885_10411.cpp:22:5: note: 'int num [100005]' previously declared here
 int num[MAXN];
     ^
0_0_32546885_10411.cpp:340:14: error: redefinition of 'std::vector<int> p'
 vector<int > p;
              ^
0_0_32546885_10411.cpp:24:14: note: 'std::vector<int> p' previously declared here
 vector<int > p;
              ^
0_0_32546885_10411.cpp: In function 'void init()':
0_0_32546885_10411.cpp:342:6: error: redefinition of 'void init()'
 void init()
      ^
0_0_32546885_10411.cpp:26:6: note: 'void init()' previously defined here
 void init()
      ^
0_0_32546885_10411.cpp: In function 'void build(int&, int, int)':
0_0_32546885_10411.cpp:353:6: error: redefinition of 'void build(int&, int, int)'
 void build(int &t, int l, int r)
      ^
0_0_32546885_10411.cpp:37:6: note: 'void build(int&, int, int)' previously defined here
 void build(int &t, int l, int r)
      ^
0_0_32546885_10411.cpp: In function 'int modify(int, int, int, int)':
0_0_32546885_10411.cpp:365:5: error: redefinition of 'int modify(int, int, int, int)'
 int modify(int o, int l, int r, int p)
     ^
0_0_32546885_10411.cpp:49:5: note: 'int modify(int, int, int, int)' previously defined here
 int modify(int o, int l, int r, int p)
     ^
0_0_32546885_10411.cpp: In function 'int query(int, int, int, int, int)':
0_0_32546885_10411.cpp:380:5: error: redefinition of 'int query(int, int, int, int, int)'
 int query(int u, int v, int l, int r, int p)
     ^
0_0_32546885_10411.cpp:64:5: note: 'int query(int, int, int, int, int)' previously defined here
 int query(int u, int v, int l, int r, int p)
     ^
0_0_32546885_10411.cpp: In function 'int read()':
0_0_32546885_10411.cpp:406:12: error: redefinition of 'int read()'
 inline int read()
            ^
0_0_32546885_10411.cpp:90:12: note: 'int read()' previously defined here
 inline int read()
            ^
0_0_32546885_10411.cpp: In function 'int main()':
0_0_32546885_10411.cpp:427:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_32546885_10411.cpp:111:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_32546885_10411.cpp: At global scope:
0_0_32546885_10411.cpp:492:5: error: redefinition of 'int n'
 int n, m, node_cnt;
     ^
0_0_32546885_10411.cpp:18:5: note: 'int n' previously declared here
 int n, m, node_cnt;
     ^
0_0_32546885_10411.cpp:492:8: error: redefinition of 'int m'
 int n, m, node_cnt;
        ^
0_0_32546885_10411.cpp:18:8: note: 'int m' previously declared here
 int n, m, node_cnt;
        ^
0_0_32546885_10411.cpp:492:11: error: redefinition of 'int node_cnt'
 int n, m, node_cnt;
           ^
0_0_32546885_10411.cpp:18:11: note: 'int node_cnt' previously declared here
 int n, m, node_cnt;
           ^
0_0_32546885_10411.cpp:494:14: error: redefinition of 'int root [100005]'
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
              ^
0_0_32546885_10411.cpp:20:5: note: 'int root [100005]' previously declared here
 int root[MAXN], rc[MAXN << 4], lc[MAXN << 4], sum[MAXN << 4];
     ^
0_0_32546885_10411.cpp:494:29: error: redefinition of 'int rc [1600080]'
 int root[MAXN], rc[


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 04:14:39, Gzip enabled