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_29816539_31740.cpp:171:11: error: redefinition of 'const int maxn'
 const int maxn = 1e4 + 10;
           ^
0_0_29816539_31740.cpp:7:11: note: 'const int maxn' previously defined here
 const int maxn = 1e4 + 10;
           ^
0_0_29816539_31740.cpp:172:11: error: redefinition of 'const int maxm'
 const int maxm = 1e4 + 10;
           ^
0_0_29816539_31740.cpp:8:11: note: 'const int maxm' previously defined here
 const int maxm = 1e4 + 10;
           ^
0_0_29816539_31740.cpp:173:10: error: redefinition of 'const ll INF'
 const ll INF  = 1e13;
          ^
0_0_29816539_31740.cpp:9:10: note: 'const ll INF' previously defined here
 const ll INF  = 1e13;
          ^
0_0_29816539_31740.cpp:175:8: error: redefinition of 'struct edge'
 struct edge {
        ^
0_0_29816539_31740.cpp:11:8: error: previous definition of 'struct edge'
 struct edge {
        ^
0_0_29816539_31740.cpp:180:8: error: redefinition of 'struct dij'
 struct dij {
        ^
0_0_29816539_31740.cpp:16:8: error: previous definition of 'struct dij'
 struct dij {
        ^
0_0_29816539_31740.cpp:215:5: error: invalid type in declaration before ';' token
 }dij;
     ^
0_0_29816539_31740.cpp:215:5: error: conflicting declaration 'int dij'
0_0_29816539_31740.cpp:51:2: note: previous declaration as 'dij dij'
 }dij;
  ^
0_0_29816539_31740.cpp:217:8: error: redefinition of 'struct Dinic'
 struct Dinic {
        ^
0_0_29816539_31740.cpp:53:8: error: previous definition of 'struct Dinic'
 struct Dinic {
        ^
0_0_29816539_31740.cpp:277:7: error: invalid type in declaration before ';' token
 }dinic;
       ^
0_0_29816539_31740.cpp:277:7: error: conflicting declaration 'int dinic'
0_0_29816539_31740.cpp:113:2: note: previous declaration as 'Dinic dinic'
 }dinic;
  ^
0_0_29816539_31740.cpp: In function 'void build(int)':
0_0_29816539_31740.cpp:280:6: error: redefinition of 'void build(int)'
 void build(int n) {
      ^
0_0_29816539_31740.cpp:116:6: note: 'void build(int)' previously defined here
 void build(int n) {
      ^
0_0_29816539_31740.cpp: In function 'void solve()':
0_0_29816539_31740.cpp:292:6: error: redefinition of 'void solve()'
 void solve() {
      ^
0_0_29816539_31740.cpp:128:6: note: 'void solve()' previously defined here
 void solve() {
      ^
0_0_29816539_31740.cpp: In function 'int main()':
0_0_29816539_31740.cpp:309:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_29816539_31740.cpp:145: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 01:49:29, Gzip enabled