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_21976817_10926.cpp:6:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976817_10926.cpp:9:8: error: redeclaration of 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
        ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:9:14: error: redeclaration of 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
              ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:9:20: error: redeclaration of 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
                    ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:10:2: error: redeclaration of 'int& edge::nbsp'
     int to;
  ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:10:8: error: redeclaration of 'int& edge::nbsp'
     int to;
        ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:10:14: error: redeclaration of 'int& edge::nbsp'
     int to;
              ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:10:20: error: redeclaration of 'int& edge::nbsp'
     int to;
                    ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:11:2: error: redeclaration of 'int& edge::nbsp'
     int cap;
  ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:11:8: error: redeclaration of 'int& edge::nbsp'
     int cap;
        ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:11:14: error: redeclaration of 'int& edge::nbsp'
     int cap;
              ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:11:20: error: redeclaration of 'int& edge::nbsp'
     int cap;
                    ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:12:2: error: redeclaration of 'int& edge::nbsp'
     int rev;
  ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:12:8: error: redeclaration of 'int& edge::nbsp'
     int rev;
        ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:12:14: error: redeclaration of 'int& edge::nbsp'
     int rev;
              ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp:12:20: error: redeclaration of 'int& edge::nbsp'
     int rev;
                    ^
0_0_21976817_10926.cpp:9:2: note: previous declaration 'int& edge::nbsp'
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp: In constructor 'edge::edge(int, int, int)':
0_0_21976817_10926.cpp:9:25: error: uninitialized reference member in 'int&' [-fpermissive]
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
                         ^
0_0_21976817_10926.cpp:9:2: note: 'int& edge::nbsp' should be initialized
     edge(int _to,int _cap,int _rev):to(_to),cap(_cap),rev(_rev){}
  ^
0_0_21976817_10926.cpp: At global scope:
0_0_21976817_10926.cpp:14:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976817_10926.cpp:19:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976817_10926.cpp:22:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976817_10926.cpp: In function 'void init()':
0_0_21976817_10926.cpp:25:2: error: 'nbsp' was not declared in this scope
     for(int i=0;i<n+m+2;++i)
  ^
0_0_21976817_10926.cpp:27:51: error: 'i' was not declared in this scope
         G[i].clear();
                                                   ^
0_0_21976817_10926.cpp: At global scope:
0_0_21976817_10926.cpp:31:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976817_10926.cpp: In function 'void add_edge(int, int, int)':
0_0_21976817_10926.cpp:34:2: error: 'nbsp' was not declared in this scope
     G[from].push_back(edge(to,cap,G[to].size()));
  ^
0_0_21976817_10926.cpp: In function 'void add_edge_1(int, int)':
0_0_21976817_10926.cpp:39:2: error: 'nbsp' was not declared in this scope
     G1[from].push_back(to);
  ^
0_0_21976817_10926.cpp: In function 'void bfs(int)':
0_0_21976817_10926.cpp:43:2: error: 'nbsp' was not declared in this scope
     memset(level,-1,sizeof(level));
  ^
0_0_21976817_10926.cpp:43:54: error: 'memset' was not declared in this scope
     memset(level,-1,sizeof(level));
                                                      ^
0_0_21976817_10926.cpp:53:76: error: 'c' was not declared in this scope
             if(c.cap>0 && level[c.to]<0)
                                                                            ^
0_0_21976817_10926.cpp:55:103: error: 'c' was not declared in this scope
                 level[c.to]==level[to]+1;
                                                                                                       ^
0_0_21976817_10926.cpp: In function 'int dfs(int, int, int)':
0_0_21976817_10926.cpp:63:2: error: 'nbsp' was not declared in this scope
     if(s==t)return max_f;
  ^
0_0_21976817_10926.cpp:67:70: error: 'e' was not declared in this scope
         if(level[s]+1==level[e.to] && max_f)
                                                                      ^
0_0_21976817_10926.cpp:69:95: error: 'e' was not declared in this scope
             int tmp=min(max_f-ret,e.cap);
                                                                                               ^
0_0_21976817_10926.cpp: In function 'int Dicnic(int, int)':
0_0_21976817_10926.cpp:84:2: error: 'nbsp' was not declared in this scope
     int ans = 0;
  ^
0_0_21976817_10926.cpp:90:49: error: 'else' without a previous 'if'
         else break;
                                                 ^
0_0_21976817_10926.cpp:90:54: error: break statement not within loop or switch
         else break;
                                                      ^
0_0_21976817_10926.cpp: At global scope:
0_0_21976817_10926.cpp:95:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21976817_10926.cpp: In function 'bool Judge_dfs(int, int)':
0_0_21976817_10926.cpp:96:32: error: 'nbsp' was not declared in this scope
 bool Judge_dfs(int x,int val){  
                                ^
0_0_21976817_10926.cpp: At global scope:
0_0_21976817_10926.cpp:106:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_21976817_10926.cpp: In function 'bool judge()':
0_0_21976817_10926.cpp:107:15: error: 'nbsp' was not declared in this scope
 bool judge(){  
               ^
0_0_21976817_10926.cpp:108:49: error: 'memset' was not declared in this scope
     memset(vis,0,sizeof(vis));  
                                                 ^
0_0_21976817_10926.cpp: At global scope:
0_0_21976817_10926.cpp:119:7: error: expected constructor, destructor, or t


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 09:04:13, Gzip enabled