0_0_37578925_7574.cpp:24:15: error: expected ';' before ',' token
using std::cin, std::cout, std::endl;
^
0_0_37578925_7574.cpp:24:15: error: expected unqualified-id before ',' token
0_0_37578925_7574.cpp:24:26: error: expected constructor, destructor, or type conversion before ',' token
using std::cin, std::cout, std::endl;
^
0_0_37578925_7574.cpp:24:37: error: expected constructor, destructor, or type conversion before ';' token
using std::cin, std::cout, std::endl;
^
0_0_37578925_7574.cpp: In lambda function:
0_0_37578925_7574.cpp:25:56: error: 'cout' was not declared in this scope
int _IO = [] {std::ios::sync_with_stdio(0);cin.tie(0); cout.tie(0);
^
0_0_37578925_7574.cpp:25:56: note: suggested alternative:
In file included from 0_0_37578925_7574.cpp:7:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
0_0_37578925_7574.cpp: At global scope:
0_0_37578925_7574.cpp:58:39: error: 'operator()' function uses 'auto' type specifier without trailing return type
auto &operator()(Edge &e) const { return e.edge_b; }
^
0_0_37578925_7574.cpp:58:39: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:61:39: error: 'operator()' function uses 'auto' type specifier without trailing return type
auto &operator()(Edge &e) const { return e.edge_a.data.data_b; }
^
0_0_37578925_7574.cpp:61:39: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:64:39: error: 'operator()' function uses 'auto' type specifier without trailing return type
auto &operator()(Edge &e) const { return e.edge_a.data.data_a.adj; }
^
0_0_37578925_7574.cpp:64:39: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:69:33: error: 'operator*' function uses 'auto' type specifier without trailing return type
auto &operator*() { return _Getter()(std::vector<Edge>::iterator::operator*()); }
^
0_0_37578925_7574.cpp:69:33: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:106:39: error: 'getEdge' function uses 'auto' type specifier without trailing return type
auto &getEdge(uint32_t __index) { return EdgeGetter()(m_edges[__index]); }
^
0_0_37578925_7574.cpp:106:39: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:107:43: error: 'getEdgeInfo' function uses 'auto' type specifier without trailing return type
auto &getEdgeInfo(uint32_t __index) { return EdgeGetter()(m_edges[__index]); }
^
0_0_37578925_7574.cpp:107:43: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:108:43: error: 'getEdgeData' function uses 'auto' type specifier without trailing return type
auto &getEdgeData(uint32_t __index) { return EdgeDataGetter()(m_edges[__index]); }
^
0_0_37578925_7574.cpp:108:43: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:109:42: error: 'getEdgeAdj' function uses 'auto' type specifier without trailing return type
auto &getEdgeAdj(uint32_t __index) { return EdgeAdjGetter()(m_edges[__index]); }
^
0_0_37578925_7574.cpp:109:42: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:110:40: error: 'getEdgesOf' function uses 'auto' type specifier without trailing return type
auto getEdgesOf(uint32_t __from) { return EdgesOf<EdgeGetter>{m_edges.begin() + m_starts[__from], m_edges.begin() + m_starts[__from + 1]}; }
^
0_0_37578925_7574.cpp:110:40: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:111:44: error: 'getEdgesInfoOf' function uses 'auto' type specifier without trailing return type
auto getEdgesInfoOf(uint32_t __from) { return EdgesOf<EdgeGetter>{m_edges.begin() + m_starts[__from], m_edges.begin() + m_starts[__from + 1]}; }
^
0_0_37578925_7574.cpp:111:44: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:112:44: error: 'getEdgesDataOf' function uses 'auto' type specifier without trailing return type
auto getEdgesDataOf(uint32_t __from) { return EdgesOf<EdgeDataGetter>{m_edges.begin() + m_starts[__from], m_edges.begin() + m_starts[__from + 1]}; }
^
0_0_37578925_7574.cpp:112:44: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:113:43: error: 'getEdgesAdjOf' function uses 'auto' type specifier without trailing return type
auto getEdgesAdjOf(uint32_t __from) { return EdgesOf<EdgeAdjGetter>{m_edges.begin() + m_starts[__from], m_edges.begin() + m_starts[__from + 1]}; }
^
0_0_37578925_7574.cpp:113:43: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:114:23: error: 'getEdges' function uses 'auto' type specifier without trailing return type
auto getEdges() { return EdgesOf<EdgeGetter>{m_edges.begin(), m_edges.end()}; }
^
0_0_37578925_7574.cpp:114:23: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:115:27: error: 'getEdgesInfo' function uses 'auto' type specifier without trailing return type
auto getEdgesInfo() { return EdgesOf<EdgeGetter>{m_edges.begin(), m_edges.end()}; }
^
0_0_37578925_7574.cpp:115:27: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:116:27: error: 'getEdgesData' function uses 'auto' type specifier without trailing return type
auto getEdgesData() { return EdgesOf<EdgeDataGetter>{m_edges.begin(), m_edges.end()}; }
^
0_0_37578925_7574.cpp:116:27: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp:117:26: error: 'getEdgesAdj' function uses 'auto' type specifier without trailing return type
auto getEdgesAdj() { return EdgesOf<EdgeAdjGetter>{m_edges.begin(), m_edges.end()}; }
^
0_0_37578925_7574.cpp:117:26: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578925_7574.cpp: In member function 'void OY::DirectedGraph<_Tp>::prepare()':
0_0_37578925_7574.cpp:96:22: error: expected unqualified-id before '[' token
auto [from, to, value] = m_edgeBuffer[i];
^
0_0_37578925_7574.cpp:97:32: error: 'from' was not declared in this scope
m_edges[cursor[from]] = {cursor[from], from, to, value};
^
0_0_37578925_7574.cpp:97:62: error: 'to' was not declared in this scope
m_edges[cursor[from]] = {cursor[from], from, to, value};
^
0_0_37578925_7574.cpp:97:66: error: 'value' was not declared in this scope
m_edges[cursor[from]] = {cursor[from], from, to, value};
^
0_0_37578925_7574.cpp: In member function 'bool OY::UnionFind::uniteBySize(int, int)':
0_0_37578925_7574.cpp:149:41: error: expected ')' before ';' token
if (a = find(a), b = find(b); a == b) return false;
^
0_0_37578925_7574.cpp:149:49: error: expected ';' before ')' token
if (a = find(a), b = find(b); a == b) return false;
^
0_0_37578925_7574.cpp: In member function 'bool OY::UnionFind::uniteByID(int, int)':
0_0_37578925_7574.cpp:155:41: error: expected ')' before ';' token
if (a = find(a), b = find(b); a == b) return false;
^
0_0_37578925_7574.cpp:155:49: error: expected ';' before ')' token
if (a = find(a), b = find(b); a == b) return false;
^
0_0_37578925_7574.cpp: In member function 'void OY::Edmonds_tarjan<_DG, _Tp>::calc(uint32_t)::Heap::join(OY::Edmonds_tarjan<_DG, _Tp>::calc(uint32_t)::Heap&)':
0_0_37578925_7574.cpp:220:31: error: expected unqualified-id before '[' token
for (auto [value, from] : other.in_edges) push({value + other.inc - inc, from});
^
0_0_37578925_7574.cpp:220:31: error: expected ';' before '[' token
0_0_37578925_7574.cpp:220:32: error: 'value' was not declared in this scope
for (auto [value, from] : other.in_edges) push({value + other.inc - inc, from});
^
0_0_37578925_7574.cpp:220:39: error: 'from' was not declared in this scope
for (auto [value, from] : other.in_edges) push({value + other.inc - inc, from});
^
0_0_37578925_7574.cpp: In lambda function:
0_0_37578925_7574.cpp:220:45: error: expected '{' before ':' token
f
|