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_27162804_9225.cpp: In function 'void build()':
0_0_27162804_9225.cpp:180:109: error: 'i' was not declared in this scope
         if (i.flow == 1 && i.from != s && i.to != t) /*cout << i.from << " " << i.to << endl,*/ gao.AddEdge(i.to, i.from);
                                                                                                             ^
0_0_27162804_9225.cpp:185:29: error: 'G' was not declared in this scope
         for (int i = 0; i < G[u].size(); i++)
                             ^
0_0_27162804_9225.cpp:187:19: error: request for member 'flow' in 'i', which is of non-class type 'int'
             if (i.flow == 1) gao.AddEdge(i.to, i.from);
                   ^
0_0_27162804_9225.cpp:187:44: error: request for member 'to' in 'i', which is of non-class type 'int'
             if (i.flow == 1) gao.AddEdge(i.to, i.from);
                                            ^
0_0_27162804_9225.cpp:187:50: error: request for member 'from' in 'i', which is of non-class type 'int'
             if (i.flow == 1) gao.AddEdge(i.to, i.from);
                                                  ^


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-09-20 17:41:31, Gzip enabled