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_8132634_26210.cpp:201: error: redefinition of `int used'
0_0_8132634_26210.cpp:31: error: `int used' previously declared here
0_0_8132634_26210.cpp: In function `int main()':
0_0_8132634_26210.cpp:283: error: redefinition of `int main()'
0_0_8132634_26210.cpp:153: error: `int main()' previously defined here
0_0_8132634_26210.cpp: At global scope:
0_0_8132634_26210.cpp:341: error: redefinition of `int n'
0_0_8132634_26210.cpp:201: error: `int n' previously declared here
0_0_8132634_26210.cpp:343: error: redefinition of `struct node'
0_0_8132634_26210.cpp:211: error: previous definition of `struct node'
0_0_8132634_26210.cpp:357: error: conflicting declaration 'std::priority_queue<node, std::vector<node, std::allocator<node> >, std::less<node> > q'
0_0_8132634_26210.cpp:35: error: 'q' has a previous declaration as `std::queue<int, std::deque<int, std::allocator<int> > > q'
0_0_8132634_26210.cpp:357: error: type mismatch with previous external decl of `std::priority_queue<node, std::vector<node, std::allocator<node> >, std::less<node> > q'
0_0_8132634_26210.cpp:35: error: previous external decl of `std::queue<int, std::deque<int, std::allocator<int> > > q'
0_0_8132634_26210.cpp:357: error: declaration of `std::priority_queue<node, std::vector<node, std::allocator<node> >, std::less<node> > q'
0_0_8132634_26210.cpp:35: error: conflicts with previous declaration `std::queue<int, std::deque<int, std::allocator<int> > > q'
0_0_8132634_26210.cpp: In function `void dijkstra(int)':
0_0_8132634_26210.cpp:367: error: no matching function for call to `node::node(int&, int)'
0_0_8132634_26210.cpp:211: note: candidates are: node::node()
0_0_8132634_26210.cpp:211: note:                 node::node(const node&)
0_0_8132634_26210.cpp:373: error: 'class std::queue<int, std::deque<int, std::allocator<int> > >' has no member named 'top'
0_0_8132634_26210.cpp:373: error: 'class std::queue<int, std::deque<int, std::allocator<int> > >' has no member named 'top'
0_0_8132634_26210.cpp:379: error: 'struct node' has no member named 'l'
0_0_8132634_26210.cpp:379: error: 'struct node' has no member named 'to'
0_0_8132634_26210.cpp:383: error: 'struct node' has no member named 'to'
0_0_8132634_26210.cpp:383: error: 'struct node' has no member named 'l'
0_0_8132634_26210.cpp:385: error: 'struct node' has no member named 'to'
0_0_8132634_26210.cpp:385: error: 'struct node' has no member named 'to'
0_0_8132634_26210.cpp: In function `int main()':
0_0_8132634_26210.cpp:395: error: redefinition of `int main()'
0_0_8132634_26210.cpp:283: error: `int main()' previously defined here
0_0_8132634_26210.cpp:395: error: redefinition of `int main()'
0_0_8132634_26210.cpp:153: error: `int main()' previously defined here
0_0_8132634_26210.cpp:409: error: 'struct node' has no member named 'l'
0_0_8132634_26210.cpp:411: error: 'struct node' has no member named 'to'
0_0_8132634_26210.cpp: At global scope:
0_0_8132634_26210.cpp:435: error: redefinition of `int n'
0_0_8132634_26210.cpp:201: error: `int n' previously declared here
0_0_8132634_26210.cpp:435: error: conflicting declaration 'int str[2100000]'
0_0_8132634_26210.cpp:33: error: 'str' has a previous declaration as `char str[55]'
0_0_8132634_26210.cpp:435: error: type mismatch with previous external decl of `int str[2100000]'
0_0_8132634_26210.cpp:33: error: previous external decl of `char str[55]'
0_0_8132634_26210.cpp:435: error: declaration of `int str[2100000]'
0_0_8132634_26210.cpp:33: error: conflicts with previous declaration `char str[55]'
0_0_8132634_26210.cpp: In function `int main()':
0_0_8132634_26210.cpp:675: error: redefinition of `int main()'
0_0_8132634_26210.cpp:395: error: `int main()' previously defined here
0_0_8132634_26210.cpp:675: error: redefinition of `int main()'
0_0_8132634_26210.cpp:283: error: `int main()' previously defined here
0_0_8132634_26210.cpp:675: error: redefinition of `int main()'
0_0_8132634_26210.cpp:153: error: `int main()' previously defined here
0_0_8132634_26210.cpp:715: error: no matching function for call to `splay_tree::insert(char[55], int&)'
0_0_8132634_26210.cpp:581: note: candidates are: void splay_tree::insert(int*, int)
0_0_8132634_26210.cpp: At global scope:
0_0_8132634_26210.cpp:745: error: redefinition of `int now'
0_0_8132634_26210.cpp:201: error: `int now' previously declared here
0_0_8132634_26210.cpp:747: error: conflicting declaration 'char s[2000010]'
0_0_8132634_26210.cpp:33: error: 's' has a previous declaration as `char s[2562560]'
0_0_8132634_26210.cpp:747: error: type mismatch with previous external decl of `char s[2000010]'
0_0_8132634_26210.cpp:33: error: previous external decl of `char s[2562560]'
0_0_8132634_26210.cpp:747: error: declaration of `char s[2000010]'
0_0_8132634_26210.cpp:33: error: conflicts with previous declaration `char s[2562560]'
0_0_8132634_26210.cpp:749: error: redefinition of `struct node'
0_0_8132634_26210.cpp:211: error: previous definition of `struct node'
0_0_8132634_26210.cpp:757: error: invalid type in declaration before ';' token
0_0_8132634_26210.cpp:757: error: conflicting declaration 'int*root'
0_0_8132634_26210.cpp:203: error: 'root' has a previous declaration as `int root[100010]'
0_0_8132634_26210.cpp:757: error: type mismatch with previous external decl of `int*root'
0_0_8132634_26210.cpp:203: error: previous external decl of `int root[100010]'
0_0_8132634_26210.cpp:757: error: declaration of `int*root'
0_0_8132634_26210.cpp:203: error: conflicts with previous declaration `int root[100010]'
0_0_8132634_26210.cpp: In function `void merge(node*, node*)':
0_0_8132634_26210.cpp:763: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:763: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:763: error: invalid types `int[int]' for array subscript
0_0_8132634_26210.cpp:765: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:765: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp: In function `void maintain()':
0_0_8132634_26210.cpp:775: error: cannot convert `int*' to `node*' in initialization
0_0_8132634_26210.cpp:781: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:781: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:781: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:781: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:783: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp: In function `void split(node*, int)':
0_0_8132634_26210.cpp:793: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:795: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:797: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:797: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:797: error: invalid types `int[int]' for array subscript
0_0_8132634_26210.cpp:799: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:799: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp: In function `node* getpos(int&)':
0_0_8132634_26210.cpp:807: error: cannot convert `int*' to `node*' in initialization
0_0_8132634_26210.cpp:809: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:809: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:809: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp: In function `void erase(int, int)':
0_0_8132634_26210.cpp:821: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:823: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:823: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:823: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:825: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:827: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:829: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:829: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:829: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp: In function `void insert(int)':
0_0_8132634_26210.cpp:849: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:851: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:853: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:861: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp:863: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:865: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp: In function `void pri(int, int)':
0_0_8132634_26210.cpp:881: error: 'struct node' has no member named 'size'
0_0_8132634_26210.cpp:881: error: invalid types `int[int]' for array subscript
0_0_8132634_26210.cpp:881: error: 'struct node' has no member named 'next'
0_0_8132634_26210.cpp: In function `int main()':
0_0_8132634_26210.cpp:887: error: redefinition of `int main()'
0_0_8132634_26210.cpp:675: error: `int main()' previously defined here
0_0_8132634


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-10-06 06:46:09, Gzip enabled