0_0_36327956_15955.cpp: In function 'void Solve(int)':
0_0_36327956_15955.cpp:27:15: error: expected unqualified-id before '[' token
for (auto &&[c, v] : a[x])
^
0_0_36327956_15955.cpp:27:15: error: expected ';' before '[' token
0_0_36327956_15955.cpp:27:16: error: 'c' was not declared in this scope
for (auto &&[c, v] : a[x])
^
0_0_36327956_15955.cpp:27:19: error: 'v' was not declared in this scope
for (auto &&[c, v] : a[x])
^
0_0_36327956_15955.cpp: In lambda function:
0_0_36327956_15955.cpp:27:22: error: expected '{' before ':' token
for (auto &&[c, v] : a[x])
^
0_0_36327956_15955.cpp: In function 'void Solve(int)':
0_0_36327956_15955.cpp:27:22: error: expected ';' before ':' token
0_0_36327956_15955.cpp:27:22: error: expected primary-expression before ':' token
0_0_36327956_15955.cpp:27:22: error: expected ')' before ':' token
0_0_36327956_15955.cpp:27:22: error: expected primary-expression before ':' token
0_0_36327956_15955.cpp:28:21: error: 'i' was not declared in this scope
for (int i = t; i >= c; i--) checkmax(f[i], f[i - c] + v);
^
0_0_36327956_15955.cpp:28:26: error: 'c' was not declared in this scope
for (int i = t; i >= c; i--) checkmax(f[i], f[i - c] + v);
^
|