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_11958257_24048.cpp:114: error: redefinition of `template<class T> void upd_max(T&, const T&)'
0_0_11958257_24048.cpp:14: error: `template<class T> void upd_max(T&, const T&)' previously declared here
0_0_11958257_24048.cpp:116: error: redefinition of `template<class T> void upd_min(T&, const T&)'
0_0_11958257_24048.cpp:16: error: `template<class T> void upd_min(T&, const T&)' previously declared here
0_0_11958257_24048.cpp:118: error: redefinition of `const int maxN'
0_0_11958257_24048.cpp:18: error: `const int maxN' previously defined here
0_0_11958257_24048.cpp:119: error: redefinition of `const int maxE'
0_0_11958257_24048.cpp:19: error: `const int maxE' previously defined here
0_0_11958257_24048.cpp:122: error: redefinition of `struct Arc'
0_0_11958257_24048.cpp:22: error: previous definition of `struct Arc'
0_0_11958257_24048.cpp:126: error: invalid type in declaration before ',' token
0_0_11958257_24048.cpp:126: error: conflicting declaration 'int Npool[20013]'
0_0_11958257_24048.cpp:26: error: 'Npool' has a previous declaration as `Arc Npool[20013]'
0_0_11958257_24048.cpp:126: error: type mismatch with previous external decl of `int Npool[20013]'
0_0_11958257_24048.cpp:26: error: previous external decl of `Arc Npool[20013]'
0_0_11958257_24048.cpp:126: error: declaration of `int Npool[20013]'
0_0_11958257_24048.cpp:26: error: conflicts with previous declaration `Arc Npool[20013]'
0_0_11958257_24048.cpp:126: error: conflicting declaration 'int*Nptr'
0_0_11958257_24048.cpp:26: error: 'Nptr' has a previous declaration as `Arc*Nptr'
0_0_11958257_24048.cpp:126: error: type mismatch with previous external decl of `int*Nptr'
0_0_11958257_24048.cpp:26: error: previous external decl of `Arc*Nptr'
0_0_11958257_24048.cpp:126: error: declaration of `int*Nptr'
0_0_11958257_24048.cpp:26: error: conflicts with previous declaration `Arc*Nptr'
0_0_11958257_24048.cpp:128: error: redefinition of `Arc*adj[5013]'
0_0_11958257_24048.cpp:28: error: `Arc*adj[5013]' previously declared here
0_0_11958257_24048.cpp:129: error: redefinition of `int N'
0_0_11958257_24048.cpp:29: error: `int N' previously declared here
0_0_11958257_24048.cpp:129: error: redefinition of `int M'
0_0_11958257_24048.cpp:29: error: `int M' previously declared here
0_0_11958257_24048.cpp:129: error: redefinition of `int ans'
0_0_11958257_24048.cpp:29: error: `int ans' previously declared here
0_0_11958257_24048.cpp:129: error: redefinition of `int bcnt'
0_0_11958257_24048.cpp:29: error: `int bcnt' previously defined here
0_0_11958257_24048.cpp:129: error: redefinition of `int ind'
0_0_11958257_24048.cpp:29: error: `int ind' previously declared here
0_0_11958257_24048.cpp:130: error: redefinition of `int low[5013]'
0_0_11958257_24048.cpp:30: error: `int low[5013]' previously declared here
0_0_11958257_24048.cpp:130: error: redefinition of `int dfn[5013]'
0_0_11958257_24048.cpp:30: error: `int dfn[5013]' previously declared here
0_0_11958257_24048.cpp:130: error: redefinition of `int c[5013]'
0_0_11958257_24048.cpp:30: error: `int c[5013]' previously declared here
0_0_11958257_24048.cpp:131: error: redefinition of `bool v[5013]'
0_0_11958257_24048.cpp:31: error: `bool v[5013]' previously declared here
0_0_11958257_24048.cpp:131: error: redefinition of `bool ok[5013]'
0_0_11958257_24048.cpp:31: error: `bool ok[5013]' previously declared here
0_0_11958257_24048.cpp: In function `void add_edge(int, int)':
0_0_11958257_24048.cpp:134: error: redefinition of `void add_edge(int, int)'
0_0_11958257_24048.cpp:34: error: `void add_edge(int, int)' previously defined here
0_0_11958257_24048.cpp: In function `void reset()':
0_0_11958257_24048.cpp:140: error: redefinition of `void reset()'
0_0_11958257_24048.cpp:40: error: `void reset()' previously defined here
0_0_11958257_24048.cpp: In function `void tarjan(int, int)':
0_0_11958257_24048.cpp:150: error: redefinition of `void tarjan(int, int)'
0_0_11958257_24048.cpp:50: error: `void tarjan(int, int)' previously defined here
0_0_11958257_24048.cpp: In function `int main()':
0_0_11958257_24048.cpp:169: error: redefinition of `int main()'
0_0_11958257_24048.cpp:69: error: `int main()' previously defined here
0_0_11958257_24048.cpp:194: error: call of overloaded `upd_max(int&, int)' is ambiguous
0_0_11958257_24048.cpp:14: note: candidates are: void upd_max(T&, const T&) [with T = int]
0_0_11958257_24048.cpp:114: note:                 void upd_max(T&, const T&) [with T = int]


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-07-01 13:50:38, Gzip enabled