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_21976823_9806.cpp:7:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976823_9806.cpp:10:8: error: redeclaration of 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
        ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:10:14: error: redeclaration of 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
              ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:10:20: error: redeclaration of 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
                    ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:11:2: error: redeclaration of 'int& edge::nbsp'
     int to;
  ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:11:8: error: redeclaration of 'int& edge::nbsp'
     int to;
        ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:11:14: error: redeclaration of 'int& edge::nbsp'
     int to;
              ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:11:20: error: redeclaration of 'int& edge::nbsp'
     int to;
                    ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:12:2: error: redeclaration of 'int& edge::nbsp'
     int cap;
  ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:12:8: error: redeclaration of 'int& edge::nbsp'
     int cap;
        ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:12:14: error: redeclaration of 'int& edge::nbsp'
     int cap;
              ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:12:20: error: redeclaration of 'int& edge::nbsp'
     int cap;
                    ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:13:2: error: redeclaration of 'int& edge::nbsp'
     int rev;
  ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:13:8: error: redeclaration of 'int& edge::nbsp'
     int rev;
        ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:13:14: error: redeclaration of 'int& edge::nbsp'
     int rev;
              ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp:13:20: error: redeclaration of 'int& edge::nbsp'
     int rev;
                    ^
0_0_21976823_9806.cpp:10:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp: In constructor 'edge::edge(int, int, int)':
0_0_21976823_9806.cpp:10:25: error: uninitialized reference member in 'int&' [-fpermissive]
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
                         ^
0_0_21976823_9806.cpp:10:2: note: 'int& edge::nbsp' should be initialized
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976823_9806.cpp: At global scope:
0_0_21976823_9806.cpp:15:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976823_9806.cpp:20:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976823_9806.cpp:23:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976823_9806.cpp: In function 'void init()':
0_0_21976823_9806.cpp:26:2: error: 'nbsp' was not declared in this scope
     for(int i=0;i<n+m+2;++i)
  ^
0_0_21976823_9806.cpp:28:51: error: 'i' was not declared in this scope
         G[i].clear();
                                                   ^
0_0_21976823_9806.cpp: At global scope:
0_0_21976823_9806.cpp:32:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976823_9806.cpp: In function 'void add_edge(int, int, int)':
0_0_21976823_9806.cpp:35:2: error: 'nbsp' was not declared in this scope
     G[from].push_back(edge(to,cap,G[to].size()));
  ^
0_0_21976823_9806.cpp: In function 'void add_edge_1(int, int)':
0_0_21976823_9806.cpp:40:2: error: 'nbsp' was not declared in this scope
     G1[from].push_back(to);
  ^
0_0_21976823_9806.cpp: In function 'void bfs(int)':
0_0_21976823_9806.cpp:44:2: error: 'nbsp' was not declared in this scope
     memset(level,-1,sizeof(level));
  ^
0_0_21976823_9806.cpp:54:76: error: 'c' was not declared in this scope
             if(c.cap>0 && level[c.to]<0)
                                                                            ^
0_0_21976823_9806.cpp:56:103: error: 'c' was not declared in this scope
                 level[c.to]==level[to]+1;
                                                                                                       ^
0_0_21976823_9806.cpp: In function 'int dfs(int, int, int)':
0_0_21976823_9806.cpp:64:2: error: 'nbsp' was not declared in this scope
     if(s==t)return max_f;
  ^
0_0_21976823_9806.cpp:68:70: error: 'e' was not declared in this scope
         if(level[s]+1==level[e.to] && max_f)
                                                                      ^
0_0_21976823_9806.cpp:70:95: error: 'e' was not declared in this scope
             int tmp=min(max_f-ret,e.cap);
                                                                                               ^
0_0_21976823_9806.cpp: In function 'int Dicnic(int, int)':
0_0_21976823_9806.cpp:85:2: error: 'nbsp' was not declared in this scope
     int ans = 0;
  ^
0_0_21976823_9806.cpp:91:49: error: 'else' without a previous 'if'
         else break;
                                                 ^
0_0_21976823_9806.cpp:91:54: error: break statement not within loop or switch
         else break;
                                                      ^
0_0_21976823_9806.cpp: At global scope:
0_0_21976823_9806.cpp:96:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976823_9806.cpp: In function 'bool Judge_dfs(int, int)':
0_0_21976823_9806.cpp:97:32: error: 'nbsp' was not declared in this scope
 bool Judge_dfs(int x,int val){  
                                ^
0_0_21976823_9806.cpp: At global scope:
0_0_21976823_9806.cpp:107:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_21976823_9806.cpp: In function 'bool judge()':
0_0_21976823_9806.cpp:108:15: error: 'nbsp' was not declared in this scope
 bool judge(){  
               ^
0_0_21976823_9806.cpp: At global scope:
0_0_21976823_9806.cpp:120:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_21976823_9806.cpp: In function 'int main()':
0_0_21976823_9806.cpp:123:2: error: 'nbsp' was not declared in this scope
     int t;
  ^
0_0_21976823_9806.cpp:136:84: error: 'i' was not declared in this scope
             add_edge(0,i+1,tmp);
                                        


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-26 10:13:54, Gzip enabled