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_37546059_26512.cpp: In function 'bool dfs(int, int)':
0_0_37546059_26512.cpp:83:16: error: request for member 'cap' in 'e', which is of non-class type 'int'
         if (!e.cap || e.v == fa) continue;
                ^
0_0_37546059_26512.cpp:83:25: error: request for member 'v' in 'e', which is of non-class type 'int'
         if (!e.cap || e.v == fa) continue;
                         ^
0_0_37546059_26512.cpp:84:19: error: request for member 'v' in 'e', which is of non-class type 'int'
         if (vis[e.v] || dfs(e.v, u)) return true;
                   ^
0_0_37546059_26512.cpp:84:31: error: request for member 'v' in 'e', which is of non-class type 'int'
         if (vis[e.v] || dfs(e.v, u)) return true;
                               ^
0_0_37546059_26512.cpp: In function 'int main()':
0_0_37546059_26512.cpp:139:45: error: request for member 'cap' in '(& mf.Dinic<int>::G.std::vector<_Tp, _Alloc>::operator[]<std::vector<int>, std::allocator<std::vector<int> > >(((std::vector<std::vector<int> >::size_type)i)))->std::vector<_Tp, _Alloc>::operator[]<int, std::allocator<int> >(((std::vector<int>::size_type)j))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}'
                 printf("%d", k - mf.G[i][j].cap);
                                             ^


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-23 00:06:46, Gzip enabled