0_0_38328635_10053.cpp: In member function 'std::pair<_T1, _T2> mcf_graph<Cap, Cost>::flow(int, int)':
0_0_38328635_10053.cpp:30:11: error: expected unqualified-id before '[' token
auto [ v , cap , cost ] = eG[i]; if( !cap ) continue;
^
0_0_38328635_10053.cpp:30:44: error: 'cap' was not declared in this scope
auto [ v , cap , cost ] = eG[i]; if( !cap ) continue;
^
0_0_38328635_10053.cpp:31:12: error: 'v' was not declared in this scope
if( q[v] > q[u] + cost ) { p[v] = min( p[u] , cap ) , q[v] = q[u] + cost , r[v] = i; if( !inque[v] ) inque[v] = true , que.emplace( v ); }
^
0_0_38328635_10053.cpp:31:24: error: 'cost' was not declared in this scope
if( q[v] > q[u] + cost ) { p[v] = min( p[u] , cap ) , q[v] = q[u] + cost , r[v] = i; if( !inque[v] ) inque[v] = true , que.emplace( v ); }
^
0_0_38328635_10053.cpp:31:52: error: 'cap' was not declared in this scope
if( q[v] > q[u] + cost ) { p[v] = min( p[u] , cap ) , q[v] = q[u] + cost , r[v] = i; if( !inque[v] ) inque[v] = true , que.emplace( v ); }
^
0_0_38328635_10053.cpp: In function 'void solve()':
0_0_38328635_10053.cpp:51:7: error: expected unqualified-id before '[' token
auto [ flow , cost ] = G.flow( S , T ); cout << -cost << "\n";
^
0_0_38328635_10053.cpp:51:51: error: 'cost' was not declared in this scope
auto [ flow , cost ] = G.flow( S , T ); cout << -cost << "\n";
^
|