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_32569388_20599.cpp: In member function 'int qwe::Edge(int, int, int, int)':
0_0_32569388_20599.cpp:14:36: error: only constructors take member initializers
     Edge(int f,int t,int c,int fl):from(f),to(t),cap(c),flow(fl){}
                                    ^
0_0_32569388_20599.cpp: At global scope:
0_0_32569388_20599.cpp:19:12: error: 'Edge' was not declared in this scope
     vector<Edge> edges;
            ^
0_0_32569388_20599.cpp:19:16: error: template argument 1 is invalid
     vector<Edge> edges;
                ^
0_0_32569388_20599.cpp:19:16: error: template argument 2 is invalid
0_0_32569388_20599.cpp:90:2: error: 'DC' does not name a type
 }DC;
  ^
0_0_32569388_20599.cpp:146:1: error: expected '}' at end of input
 }//
 ^
0_0_32569388_20599.cpp: In member function 'void nf::init(int, int, int)':
0_0_32569388_20599.cpp:26:15: error: request for member 'clear' in '((nf*)this)->nf::edges', which is of non-class type 'int'
         edges.clear();
               ^
0_0_32569388_20599.cpp:29:5: error: a function-definition is not allowed here before '{' token
     {
     ^
0_0_32569388_20599.cpp:38:5: error: a function-definition is not allowed here before '{' token
     {
     ^
0_0_32569388_20599.cpp:90:1: error: expected '}' at end of input
 }DC;
 ^
0_0_32569388_20599.cpp: In member function 'int nf::main()':
0_0_32569388_20599.cpp:108:17: error: 'DC' was not declared in this scope
                 DC.init(2*n*m+2,src,dst);
                 ^
0_0_32569388_20599.cpp:113:17: error: 'DC' was not declared in this scope
                 DC.AddEdge(id, id+n*m, s[j]-'0');
                 ^
0_0_32569388_20599.cpp:137:37: error: 'DC' was not declared in this scope
                 if(s[j]=='L') sum++,DC.AddEdge(src,id,1);
                                     ^
0_0_32569388_20599.cpp:140:23: error: 'DC' was not declared in this scope
         int ans = sum-DC.max_flow();
                       ^
0_0_32569388_20599.cpp: At global scope:
0_0_32569388_20599.cpp:146:1: error: expected unqualified-id at end of input
 }//
 ^


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-12-05 03:45:19, Gzip enabled