0_0_30273148_23982.cpp:42:18: error: 'time' was not declared in this scope
mt19937 rd(time(0));
^
0_0_30273148_23982.cpp: In function 'int solve()':
0_0_30273148_23982.cpp:52:13: error: expected unqualified-id before '[' token
for (auto [y,w]:g[x]) if (dp[y][i]!=-INF) {
^
0_0_30273148_23982.cpp:52:13: error: expected ';' before '[' token
0_0_30273148_23982.cpp:25:11: error: 'second' was not declared in this scope
#define y second
^
0_0_30273148_23982.cpp:52:14: note: in expansion of macro 'y'
for (auto [y,w]:g[x]) if (dp[y][i]!=-INF) {
^
0_0_30273148_23982.cpp:52:16: error: 'w' was not declared in this scope
for (auto [y,w]:g[x]) if (dp[y][i]!=-INF) {
^
0_0_30273148_23982.cpp: In lambda function:
0_0_30273148_23982.cpp:52:18: error: expected '{' before ':' token
for (auto [y,w]:g[x]) if (dp[y][i]!=-INF) {
^
0_0_30273148_23982.cpp: In function 'int solve()':
0_0_30273148_23982.cpp:52:18: error: expected ';' before ':' token
0_0_30273148_23982.cpp:52:18: error: expected primary-expression before ':' token
0_0_30273148_23982.cpp:52:18: error: expected ')' before ':' token
0_0_30273148_23982.cpp:52:18: error: expected primary-expression before ':' token
|