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_6703649_17017.cpp:145: error: redefinition of `std::vector<int, std::allocator<int> > vec[100010]'
0_0_6703649_17017.cpp:12: error: `std::vector<int, std::allocator<int> > vec[100010]' previously declared here
0_0_6703649_17017.cpp:146: error: redefinition of `int cur'
0_0_6703649_17017.cpp:13: error: `int cur' previously declared here
0_0_6703649_17017.cpp:147: error: redefinition of `struct data'
0_0_6703649_17017.cpp:14: error: previous definition of `struct data'
0_0_6703649_17017.cpp:150: error: invalid type in declaration before ';' token
0_0_6703649_17017.cpp:150: error: conflicting declaration 'int node[100010]'
0_0_6703649_17017.cpp:17: error: 'node' has a previous declaration as `data node[100010]'
0_0_6703649_17017.cpp:150: error: type mismatch with previous external decl of `int node[100010]'
0_0_6703649_17017.cpp:17: error: previous external decl of `data node[100010]'
0_0_6703649_17017.cpp:150: error: declaration of `int node[100010]'
0_0_6703649_17017.cpp:17: error: conflicts with previous declaration `data node[100010]'
0_0_6703649_17017.cpp: In function `int cmp(data, data)':
0_0_6703649_17017.cpp:151: error: redefinition of `int cmp(data, data)'
0_0_6703649_17017.cpp:18: error: `int cmp(data, data)' previously defined here
0_0_6703649_17017.cpp: In function `int cmp1(data, data)':
0_0_6703649_17017.cpp:154: error: redefinition of `int cmp1(data, data)'
0_0_6703649_17017.cpp:21: error: `int cmp1(data, data)' previously defined here
0_0_6703649_17017.cpp: At global scope:
0_0_6703649_17017.cpp:157: error: redefinition of `int l[100010]'
0_0_6703649_17017.cpp:24: error: `int l[100010]' previously declared here
0_0_6703649_17017.cpp:157: error: redefinition of `int r[100010]'
0_0_6703649_17017.cpp:24: error: `int r[100010]' previously declared here
0_0_6703649_17017.cpp:157: error: redefinition of `int to[100010]'
0_0_6703649_17017.cpp:24: error: `int to[100010]' previously declared here
0_0_6703649_17017.cpp:157: error: redefinition of `int vis[100010]'
0_0_6703649_17017.cpp:24: error: `int vis[100010]' previously declared here
0_0_6703649_17017.cpp: In function `void dfs(int)':
0_0_6703649_17017.cpp:158: error: redefinition of `void dfs(int)'
0_0_6703649_17017.cpp:25: error: `void dfs(int)' previously defined here
0_0_6703649_17017.cpp: At global scope:
0_0_6703649_17017.cpp:168: error: redefinition of `int c[100010]'
0_0_6703649_17017.cpp:35: error: `int c[100010]' previously declared here
0_0_6703649_17017.cpp:168: error: redefinition of `int n'
0_0_6703649_17017.cpp:35: error: `int n' previously declared here
0_0_6703649_17017.cpp: In function `int lowbit(int)':
0_0_6703649_17017.cpp:169: error: redefinition of `int lowbit(int)'
0_0_6703649_17017.cpp:36: error: `int lowbit(int)' previously defined here
0_0_6703649_17017.cpp: In function `void add(int, int)':
0_0_6703649_17017.cpp:172: error: redefinition of `void add(int, int)'
0_0_6703649_17017.cpp:39: error: `void add(int, int)' previously defined here
0_0_6703649_17017.cpp: In function `long long int sum(int)':
0_0_6703649_17017.cpp:179: error: new declaration `long long int sum(int)'
0_0_6703649_17017.cpp:46: error: ambiguates old declaration `int sum(int)'
0_0_6703649_17017.cpp: At global scope:
0_0_6703649_17017.cpp:188: error: redefinition of `int a[100010]'
0_0_6703649_17017.cpp:55: error: `int a[100010]' previously declared here
0_0_6703649_17017.cpp:188: error: redefinition of `int test'
0_0_6703649_17017.cpp:55: error: `int test' previously declared here
0_0_6703649_17017.cpp:189: error: redefinition of `std::map<int, int, std::less<int>, std::allocator<std::pair<const int, int> > > mp'
0_0_6703649_17017.cpp:56: error: `std::map<int, int, std::less<int>, std::allocator<std::pair<const int, int> > > mp' previously declared here
0_0_6703649_17017.cpp:190: error: redefinition of `int w[100010]'
0_0_6703649_17017.cpp:57: error: `int w[100010]' previously declared here
0_0_6703649_17017.cpp: In function `int main()':
0_0_6703649_17017.cpp:191: error: redefinition of `int main()'
0_0_6703649_17017.cpp:58: 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-06-30 14:31:15, Gzip enabled