0_0_38131151_17346.cpp: In member function 'void SSSP::run()':
0_0_38131151_17346.cpp:12:18: error: expected unqualified-id before '[' token
auto [len, node] = pq.top();
^
0_0_38131151_17346.cpp:14:21: error: 'node' was not declared in this scope
if (dis[node] != -1) continue;
^
0_0_38131151_17346.cpp:15:17: error: 'node' was not declared in this scope
dis[node] = len;
^
0_0_38131151_17346.cpp:15:25: error: 'len' was not declared in this scope
dis[node] = len;
^
0_0_38131151_17346.cpp:16:23: error: expected unqualified-id before '[' token
for (auto [nxt, edge] : g[node]) pq.emplace(len + edge, nxt);
^
0_0_38131151_17346.cpp:16:23: error: expected ';' before '[' token
0_0_38131151_17346.cpp:16:24: error: 'nxt' was not declared in this scope
for (auto [nxt, edge] : g[node]) pq.emplace(len + edge, nxt);
^
0_0_38131151_17346.cpp:16:29: error: 'edge' was not declared in this scope
for (auto [nxt, edge] : g[node]) pq.emplace(len + edge, nxt);
^
0_0_38131151_17346.cpp: In lambda function:
0_0_38131151_17346.cpp:16:35: error: expected '{' before ':' token
for (auto [nxt, edge] : g[node]) pq.emplace(len + edge, nxt);
^
0_0_38131151_17346.cpp: In member function 'void SSSP::run()':
0_0_38131151_17346.cpp:16:35: error: expected ';' before ':' token
0_0_38131151_17346.cpp:16:35: error: expected primary-expression before ':' token
0_0_38131151_17346.cpp:16:35: error: expected ')' before ':' token
0_0_38131151_17346.cpp:16:35: error: expected primary-expression before ':' token
|