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_29845768_18823.cpp:180:11: error: redefinition of 'const int maxN'
 const int maxN = 1e4 + 7;
           ^
0_0_29845768_18823.cpp:5:11: note: 'const int maxN' previously defined here
 const int maxN = 1e4 + 7;
           ^
0_0_29845768_18823.cpp:181:5: error: redefinition of 'int N'
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
     ^
0_0_29845768_18823.cpp:6:5: note: 'int N' previously declared here
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
     ^
0_0_29845768_18823.cpp:181:8: error: redefinition of 'int M'
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
        ^
0_0_29845768_18823.cpp:6:8: note: 'int M' previously declared here
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
        ^
0_0_29845768_18823.cpp:181:20: error: redefinition of 'int head [10007]'
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                    ^
0_0_29845768_18823.cpp:6:11: note: 'int head [10007]' previously declared here
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
           ^
0_0_29845768_18823.cpp:181:23: error: redefinition of 'int cnt'
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                       ^
0_0_29845768_18823.cpp:6:23: note: 'int cnt' previously declared here
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                       ^
0_0_29845768_18823.cpp:181:36: error: redefinition of 'int top [10007]'
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                                    ^
0_0_29845768_18823.cpp:6:28: note: 'int top [10007]' previously declared here
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                            ^
0_0_29845768_18823.cpp:181:39: error: redefinition of 'int tot'
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                                       ^
0_0_29845768_18823.cpp:6:39: note: 'int tot' previously declared here
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                                       ^
0_0_29845768_18823.cpp:181:52: error: redefinition of 'int cur [10007]'
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                                                    ^
0_0_29845768_18823.cpp:6:44: note: 'int cur [10007]' previously declared here
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                                            ^
0_0_29845768_18823.cpp:181:62: error: redefinition of 'int TT [10007]'
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                                                              ^
0_0_29845768_18823.cpp:6:55: note: 'int TT [10007]' previously declared here
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                                                       ^
0_0_29845768_18823.cpp:181:65: error: redefinition of 'int Index'
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                                                                 ^
0_0_29845768_18823.cpp:6:65: note: 'int Index' previously declared here
 int N, M, head[maxN], cnt, top[maxN], tot, cur[maxN], TT[maxN], Index;
                                                                 ^
0_0_29845768_18823.cpp:182:8: error: redefinition of 'struct Eddge'
 struct Eddge
        ^
0_0_29845768_18823.cpp:7:8: error: previous definition of 'struct Eddge'
 struct Eddge
        ^
0_0_29845768_18823.cpp:187:15: error: invalid type in declaration before ',' token
 }edge[maxN<<1], re_ed[maxN<<1], path[maxN<<1];
               ^
0_0_29845768_18823.cpp:187:15: error: conflicting declaration 'int edge [20014]'
0_0_29845768_18823.cpp:12:2: note: previous declaration as 'Eddge edge [20014]'
 }edge[maxN<<1], re_ed[maxN<<1], path[maxN<<1];
  ^
0_0_29845768_18823.cpp:187:30: error: conflicting declaration 'int re_ed [20014]'
 }edge[maxN<<1], re_ed[maxN<<1], path[maxN<<1];
                              ^
0_0_29845768_18823.cpp:12:17: note: previous declaration as 'Eddge re_ed [20014]'
 }edge[maxN<<1], re_ed[maxN<<1], path[maxN<<1];
                 ^
0_0_29845768_18823.cpp:187:45: error: conflicting declaration 'int path [20014]'
 }edge[maxN<<1], re_ed[maxN<<1], path[maxN<<1];
                                             ^
0_0_29845768_18823.cpp:12:33: note: previous declaration as 'Eddge path [20014]'
 }edge[maxN<<1], re_ed[maxN<<1], path[maxN<<1];
                                 ^
0_0_29845768_18823.cpp: In function 'void re_E(int, int, ll)':
0_0_29845768_18823.cpp:188:6: error: redefinition of 'void re_E(int, int, ll)'
 void re_E(int u, int v, ll w)
      ^
0_0_29845768_18823.cpp:13:6: note: 'void re_E(int, int, ll)' previously defined here
 void re_E(int u, int v, ll w)
      ^
0_0_29845768_18823.cpp: In function 'void addEddge(int, int, ll)':
0_0_29845768_18823.cpp:193:6: error: redefinition of 'void addEddge(int, int, ll)'
 void addEddge(int u, int v, ll w)
      ^
0_0_29845768_18823.cpp:18:6: note: 'void addEddge(int, int, ll)' previously defined here
 void addEddge(int u, int v, ll w)
      ^
0_0_29845768_18823.cpp: In function 'void addPath(int, int, ll)':
0_0_29845768_18823.cpp:198:6: error: redefinition of 'void addPath(int, int, ll)'
 void addPath(int u, int v, ll w)
      ^
0_0_29845768_18823.cpp:23:6: note: 'void addPath(int, int, ll)' previously defined here
 void addPath(int u, int v, ll w)
      ^
0_0_29845768_18823.cpp: In function 'void _add(int, int, ll)':
0_0_29845768_18823.cpp:203:6: error: redefinition of 'void _add(int, int, ll)'
 void _add(int u, int v, ll w) { addPath(u, v, w); addPath(v, u, 0); }
      ^
0_0_29845768_18823.cpp:28:6: note: 'void _add(int, int, ll)' previously defined here
 void _add(int u, int v, ll w) { addPath(u, v, w); addPath(v, u, 0); }
      ^
0_0_29845768_18823.cpp: At global scope:
0_0_29845768_18823.cpp:204:13: error: redefinition of 'll dist [10007]'
 ll dist[maxN], lence[maxN];
             ^
0_0_29845768_18823.cpp:29:4: note: 'll dist [10007]' previously declared here
 ll dist[maxN], lence[maxN];
    ^
0_0_29845768_18823.cpp:204:26: error: redefinition of 'll lence [10007]'
 ll dist[maxN], lence[maxN];
                          ^
0_0_29845768_18823.cpp:29:16: note: 'll lence [10007]' previously declared here
 ll dist[maxN], lence[maxN];
                ^
0_0_29845768_18823.cpp:205:12: error: redefinition of 'std::queue<int> Q'
 queue<int> Q;
            ^
0_0_29845768_18823.cpp:30:12: note: 'std::queue<int> Q' previously declared here
 queue<int> Q;
            ^
0_0_29845768_18823.cpp:206:16: error: redefinition of 'bool inque [10007]'
 bool inque[maxN];
                ^
0_0_29845768_18823.cpp:31:6: note: 'bool inque [10007]' previously declared here
 bool inque[maxN];
      ^
0_0_29845768_18823.cpp: In function 'bool spfa()':
0_0_29845768_18823.cpp:207:6: error: redefinition of 'bool spfa()'
 bool spfa()
      ^
0_0_29845768_18823.cpp:32:6: note: 'bool spfa()' previously defined here
 bool spfa()
      ^
0_0_29845768_18823.cpp: In function 'void re_spfa()':
0_0_29845768_18823.cpp:234:6: error: redefinition of 'void re_spfa()'
 void re_spfa()
      ^
0_0_29845768_18823.cpp:59:6: note: 'void re_spfa()' previously defined here
 void re_spfa()
      ^
0_0_29845768_18823.cpp: At global scope:
0_0_29845768_18823.cpp:260:14: error: redefinition of 'int deep [10007]'
 int deep[maxN];
              ^
0_0_29845768_18823.cpp:85:5: note: 'int deep [10007]' previously declared here
 int deep[maxN];
     ^
0_0_29845768_18823.cpp: In function 'bool bfs()':
0_0_29845768_18823.cpp:261:6: error: redefinition of 'bool bfs()'
 bool bfs()
      ^
0_0_29845768_18823.cpp:86:6: note: 'bool bfs()' previously defined here
 bool bfs()
      ^
0_0_29845768_18823.cpp: In function 'll dfs(int, ll)':
0_0_29845768_18823.cpp:284:4: error: redefinition of 'll dfs(int, ll)'
 ll dfs(int u, ll Flow)
    ^
0_0_29845768_18823.cpp:109:4: note: 'll dfs(int, ll)' previously defined here
 ll dfs(int u, ll Flow)
    ^
0_0_29845768_18823.cpp: In function 'll Dinic()':
0_0_29845768_18823.cpp:303:4: error: redefinition of 'll Dinic()'
 ll Dinic()
    ^
0_0_29845768_18823.cpp:128:4: note: 'll Dinic()' previously defined here
 ll Dinic()
    ^
0_0_29845768_18823.cpp: In function 'void init()':
0_0_29845768_18823.cpp:313:6: error: redefinition of 'void init()'
 void init()
      ^
0_0_29845768_18823.cpp:138:6: note: 'void init()' previously defined here
 void init()
      ^
0_0_29845768_18823.cpp: In function 'int main()':
0_0_29845768_18823.cpp:318:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_29845768_18823.cpp:143:5: note: 'int main()' previously defined here
 int main()
     ^


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 08:21:24, Gzip enabled