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_37405494_32127.cpp: In member function 'Cap mf_graph<Cap, C>::flow(int, int, Cap)':
0_0_37405494_32127.cpp:67:37: error: expected ')' before ';' token
       if (Cap tmp = dfs(dfs, s, inf); tmp)
                                     ^
0_0_37405494_32127.cpp:67:39: error: 'tmp' was not declared in this scope
       if (Cap tmp = dfs(dfs, s, inf); tmp)
                                       ^
0_0_37405494_32127.cpp:69:7: error: 'else' without a previous 'if'
       else
       ^
0_0_37405494_32127.cpp: In instantiation of 'Cap mf_graph<Cap, C>::flow(int, int, Cap) [with Cap = int; int C = 1]':
0_0_37405494_32127.cpp:23:77:   required from 'Cap mf_graph<Cap, C>::flow(int, int) [with Cap = int; int C = 1]'
0_0_37405494_32127.cpp:92:44:   required from here
0_0_37405494_32127.cpp:67:36: error: invalid use of 'auto'
       if (Cap tmp = dfs(dfs, s, inf); tmp)
                                    ^


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 02:59:32, Gzip enabled