0_0_37405476_24862.cpp: In lambda function:
0_0_37405476_24862.cpp:37:19: error: expected unqualified-id before '[' token
for (auto [to, rev, cap] : g[x]) {
^
0_0_37405476_24862.cpp:37:19: error: expected ';' before '[' token
0_0_37405476_24862.cpp:37:20: error: 'to' was not declared in this scope
for (auto [to, rev, cap] : g[x]) {
^
0_0_37405476_24862.cpp:37:24: error: 'rev' was not declared in this scope
for (auto [to, rev, cap] : g[x]) {
^
0_0_37405476_24862.cpp:37:29: error: 'cap' was not declared in this scope
for (auto [to, rev, cap] : g[x]) {
^
0_0_37405476_24862.cpp: In lambda function:
0_0_37405476_24862.cpp:37:34: error: expected '{' before ':' token
for (auto [to, rev, cap] : g[x]) {
^
0_0_37405476_24862.cpp: In lambda function:
0_0_37405476_24862.cpp:37:34: error: expected ';' before ':' token
0_0_37405476_24862.cpp:37:34: error: expected primary-expression before ':' token
0_0_37405476_24862.cpp:37:34: error: expected ')' before ':' token
0_0_37405476_24862.cpp:37:34: error: expected primary-expression before ':' token
0_0_37405476_24862.cpp: In lambda function:
0_0_37405476_24862.cpp:50:15: error: expected unqualified-id before '[' token
auto& [to, rev, cap] = g[x][i];
^
0_0_37405476_24862.cpp:50:15: error: expected initializer before '[' token
0_0_37405476_24862.cpp:51:19: error: 'to' was not declared in this scope
if (level[to] != level[x] + 1 || !cap) continue;
^
0_0_37405476_24862.cpp:51:43: error: 'cap' was not declared in this scope
if (level[to] != level[x] + 1 || !cap) continue;
^
0_0_37405476_24862.cpp:52:28: error: 'to' was not declared in this scope
Cap d = self(self, to, std::min(up, cap));
^
0_0_37405476_24862.cpp:52:45: error: 'cap' was not declared in this scope
Cap d = self(self, to, std::min(up, cap));
^
0_0_37405476_24862.cpp:54:25: error: 'rev' was not declared in this scope
cap -= d, g[to][rev].cap += d;
^
0_0_37405476_24862.cpp: In member function 'Cap mf_graph<Cap, C>::flow(int, int, Cap)':
0_0_37405476_24862.cpp:63:37: error: expected ')' before ';' token
if (Cap tmp = dfs(dfs, s, inf); tmp)
^
0_0_37405476_24862.cpp:63:39: error: 'tmp' was not declared in this scope
if (Cap tmp = dfs(dfs, s, inf); tmp)
^
0_0_37405476_24862.cpp:65:7: error: 'else' without a previous 'if'
else
^
0_0_37405476_24862.cpp: In instantiation of 'Cap mf_graph<Cap, C>::flow(int, int, Cap) [with Cap = int; int C = 1]':
0_0_37405476_24862.cpp:23:77: required from 'Cap mf_graph<Cap, C>::flow(int, int) [with Cap = int; int C = 1]'
0_0_37405476_24862.cpp:88:44: required from here
0_0_37405476_24862.cpp:63:36: error: invalid use of 'auto'
if (Cap tmp = dfs(dfs, s, inf); tmp)
^
|