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_30087316_8207.cpp:302:10: error: redefinition of 'const ll INF'
 const ll INF=1e12;
          ^
0_0_30087316_8207.cpp:103:10: note: 'const ll INF' previously defined here
 const ll INF=1e12;
          ^
0_0_30087316_8207.cpp:303:10: error: redefinition of 'const ll MAX_V'
 const ll MAX_V=100005;
          ^
0_0_30087316_8207.cpp:104:10: note: 'const ll MAX_V' previously defined here
 const ll MAX_V=100005;
          ^
0_0_30087316_8207.cpp:305:8: error: redefinition of 'struct edge'
 struct edge{
        ^
0_0_30087316_8207.cpp:106:8: error: previous definition of 'struct edge'
 struct edge{
        ^
0_0_30087316_8207.cpp:308:8: error: redefinition of 'struct edge2'
 struct edge2{
        ^
0_0_30087316_8207.cpp:109:8: error: previous definition of 'struct edge2'
 struct edge2{
        ^
0_0_30087316_8207.cpp:311:4: error: redefinition of 'll V'
 ll V;
    ^
0_0_30087316_8207.cpp:112:4: note: 'll V' previously declared here
 ll V;
    ^
0_0_30087316_8207.cpp:312:20: error: redefinition of 'std::vector<edge> G [100005]'
 vector<edge>G[MAX_V];
                    ^
0_0_30087316_8207.cpp:113:13: note: 'std::vector<edge> G [100005]' previously declared here
 vector<edge>G[MAX_V];
             ^
0_0_30087316_8207.cpp:313:21: error: redefinition of 'std::vector<edge> G2 [100005]'
 vector<edge>G2[MAX_V];
                     ^
0_0_30087316_8207.cpp:114:13: note: 'std::vector<edge> G2 [100005]' previously declared here
 vector<edge>G2[MAX_V];
             ^
0_0_30087316_8207.cpp:314:22: error: redefinition of 'std::vector<edge2> G3 [100005]'
 vector<edge2>G3[MAX_V];
                      ^
0_0_30087316_8207.cpp:115:14: note: 'std::vector<edge2> G3 [100005]' previously declared here
 vector<edge2>G3[MAX_V];
              ^
0_0_30087316_8207.cpp:315:11: error: redefinition of 'll d [100005]'
 ll d[MAX_V];
           ^
0_0_30087316_8207.cpp:116:4: note: 'll d [100005]' previously declared here
 ll d[MAX_V];
    ^
0_0_30087316_8207.cpp:316:12: error: redefinition of 'll d2 [100005]'
 ll d2[MAX_V];
            ^
0_0_30087316_8207.cpp:117:4: note: 'll d2 [100005]' previously declared here
 ll d2[MAX_V];
    ^
0_0_30087316_8207.cpp: In function 'void dij(ll)':
0_0_30087316_8207.cpp:317:6: error: redefinition of 'void dij(ll)'
 void dij(ll s){
      ^
0_0_30087316_8207.cpp:118:6: note: 'void dij(ll)' previously defined here
 void dij(ll s){
      ^
0_0_30087316_8207.cpp: In function 'void dij2(ll)':
0_0_30087316_8207.cpp:335:6: error: redefinition of 'void dij2(ll)'
 void dij2(ll s){
      ^
0_0_30087316_8207.cpp:136:6: note: 'void dij2(ll)' previously defined here
 void dij2(ll s){
      ^
0_0_30087316_8207.cpp: At global scope:
0_0_30087316_8207.cpp:353:15: error: redefinition of 'll level [100005]'
 ll level[MAX_V];
               ^
0_0_30087316_8207.cpp:154:4: note: 'll level [100005]' previously declared here
 ll level[MAX_V];
    ^
0_0_30087316_8207.cpp:354:14: error: redefinition of 'll iter [100005]'
 ll iter[MAX_V];
              ^
0_0_30087316_8207.cpp:155:4: note: 'll iter [100005]' previously declared here
 ll iter[MAX_V];
    ^
0_0_30087316_8207.cpp: In function 'void add_edge(ll, ll, ll)':
0_0_30087316_8207.cpp:355:6: error: redefinition of 'void add_edge(ll, ll, ll)'
 void add_edge(ll from,ll to,ll cap){
      ^
0_0_30087316_8207.cpp:156:6: note: 'void add_edge(ll, ll, ll)' previously defined here
 void add_edge(ll from,ll to,ll cap){
      ^
0_0_30087316_8207.cpp: In function 'void bfs(ll)':
0_0_30087316_8207.cpp:359:6: error: redefinition of 'void bfs(ll)'
 void bfs(ll s){
      ^
0_0_30087316_8207.cpp:160:6: note: 'void bfs(ll)' previously defined here
 void bfs(ll s){
      ^
0_0_30087316_8207.cpp: In function 'll dfs(ll, ll, ll)':
0_0_30087316_8207.cpp:375:4: error: redefinition of 'll dfs(ll, ll, ll)'
 ll dfs(ll v,ll t,ll f){
    ^
0_0_30087316_8207.cpp:176:4: note: 'll dfs(ll, ll, ll)' previously defined here
 ll dfs(ll v,ll t,ll f){
    ^
0_0_30087316_8207.cpp: In function 'll max_flow(ll, ll)':
0_0_30087316_8207.cpp:389:4: error: redefinition of 'll max_flow(ll, ll)'
 ll max_flow(ll s,ll t){
    ^
0_0_30087316_8207.cpp:190:4: note: 'll max_flow(ll, ll)' previously defined here
 ll max_flow(ll s,ll t){
    ^
0_0_30087316_8207.cpp: In function 'int main()':
0_0_30087316_8207.cpp:401:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_30087316_8207.cpp:202: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-07-06 06:35:20, Gzip enabled