0_0_37766028_24256.cpp: In function 'void printarg(const T& ...)':
0_0_37766028_24256.cpp:15:59: error: expected primary-expression before '...' token
template<typename... T> void printarg(const T&... args) {(..., [](const auto& arg) {cout << arg << " ";} (args));}
^
0_0_37766028_24256.cpp:15:59: error: expected ')' before '...' token
0_0_37766028_24256.cpp: In function 'void spfa(int, int)':
0_0_37766028_24256.cpp:35:15: error: expected unqualified-id before '[' token
auto& [ue, up] = dis[u];
^
0_0_37766028_24256.cpp:35:15: error: expected initializer before '[' token
0_0_37766028_24256.cpp:36:20: error: expected unqualified-id before '[' token
for (auto& [v, e, p] : g[u]) {
^
0_0_37766028_24256.cpp:36:20: error: expected ';' before '[' token
0_0_37766028_24256.cpp:36:21: error: 'v' was not declared in this scope
for (auto& [v, e, p] : g[u]) {
^
0_0_37766028_24256.cpp:36:24: error: 'e' was not declared in this scope
for (auto& [v, e, p] : g[u]) {
^
0_0_37766028_24256.cpp:36:27: error: 'p' was not declared in this scope
for (auto& [v, e, p] : g[u]) {
^
0_0_37766028_24256.cpp: In lambda function:
0_0_37766028_24256.cpp:36:30: error: expected '{' before ':' token
for (auto& [v, e, p] : g[u]) {
^
0_0_37766028_24256.cpp: In function 'void spfa(int, int)':
0_0_37766028_24256.cpp:36:30: error: expected ';' before ':' token
0_0_37766028_24256.cpp:36:30: error: expected primary-expression before ':' token
0_0_37766028_24256.cpp:36:30: error: expected ')' before ':' token
0_0_37766028_24256.cpp:36:30: error: expected primary-expression before ':' token
0_0_37766028_24256.cpp:46:11: error: expected unqualified-id before '[' token
auto& [k1, k2] = dis[t];
^
0_0_37766028_24256.cpp:46:11: error: expected initializer before '[' token
0_0_37766028_24256.cpp:47:13: error: 'k1' was not declared in this scope
cout << k1 << " " << k2 << endl;
^
0_0_37766028_24256.cpp:47:26: error: 'k2' was not declared in this scope
cout << k1 << " " << k2 << endl;
^
0_0_37766028_24256.cpp: In function 'void solve(int)':
0_0_37766028_24256.cpp:53:11: error: expected unqualified-id before '[' token
auto& [v, e, p] = E;
^
0_0_37766028_24256.cpp:53:11: error: expected initializer before '[' token
0_0_37766028_24256.cpp:57:32: error: 'v' was not declared in this scope
scanf("%d%d%d%d", &u, &v, &e, &p);
^
0_0_37766028_24256.cpp:57:36: error: 'e' was not declared in this scope
scanf("%d%d%d%d", &u, &v, &e, &p);
^
0_0_37766028_24256.cpp:57:40: error: 'p' was not declared in this scope
scanf("%d%d%d%d", &u, &v, &e, &p);
^
|