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_18999110_9382.cpp: In function 'int DFS(int, int, int)':
0_0_18999110_9382.cpp:47:25: error: no match for 'operator-=' (operand types are '__gnu_cxx::__alloc_traits<std::allocator<Edge> >::value_type {aka Edge}' and 'int')
                 v[s][i] -= ans;
                         ^
0_0_18999110_9382.cpp:48:44: error: no match for 'operator+=' (operand types are '__gnu_cxx::__alloc_traits<std::allocator<Edge> >::value_type {aka Edge}' and 'int')
                 v[v[s][i].to][v[s][i].rev] += ans;
                                            ^
0_0_18999110_9382.cpp: In function 'int MaxFlow(int, int)':
0_0_18999110_9382.cpp:63:22: error: 't' was not declared in this scope
         tem = DFS(s, t, INF);
                      ^
0_0_18999110_9382.cpp: In function 'int main()':
0_0_18999110_9382.cpp:80:30: error: 'form' was not declared in this scope
             scanf("%d%d%d", &form, &to, &capacity);
                              ^
0_0_18999110_9382.cpp:83:26: error: 'm' was not declared in this scope
         ans = MaxFlow(1, m);
                          ^


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-30 12:38:00, Gzip enabled