0_0_36146622_23475.cpp: In function 'void brute()':
0_0_36146622_23475.cpp:84:13: error: expected unqualified-id before '[' token
for (auto [l, r, id] : qry) {
^
0_0_36146622_23475.cpp:84:13: error: expected ';' before '[' token
0_0_36146622_23475.cpp:84:14: error: 'l' was not declared in this scope
for (auto [l, r, id] : qry) {
^
0_0_36146622_23475.cpp:84:17: error: 'r' was not declared in this scope
for (auto [l, r, id] : qry) {
^
0_0_36146622_23475.cpp:84:20: error: 'id' was not declared in this scope
for (auto [l, r, id] : qry) {
^
0_0_36146622_23475.cpp: In lambda function:
0_0_36146622_23475.cpp:84:24: error: expected '{' before ':' token
for (auto [l, r, id] : qry) {
^
0_0_36146622_23475.cpp: In function 'void brute()':
0_0_36146622_23475.cpp:84:24: error: expected ';' before ':' token
0_0_36146622_23475.cpp:84:24: error: expected primary-expression before ':' token
0_0_36146622_23475.cpp:84:24: error: expected ')' before ':' token
0_0_36146622_23475.cpp:84:24: error: expected primary-expression before ':' token
0_0_36146622_23475.cpp: In function 'int main()':
0_0_36146622_23475.cpp:118:15: error: expected unqualified-id before '[' token
for (auto [ai, p] : pos) {
^
0_0_36146622_23475.cpp:118:15: error: expected ';' before '[' token
0_0_36146622_23475.cpp:118:16: error: 'ai' was not declared in this scope
for (auto [ai, p] : pos) {
^
0_0_36146622_23475.cpp:118:20: error: 'p' was not declared in this scope
for (auto [ai, p] : pos) {
^
0_0_36146622_23475.cpp: In lambda function:
0_0_36146622_23475.cpp:118:23: error: expected '{' before ':' token
for (auto [ai, p] : pos) {
^
0_0_36146622_23475.cpp: In function 'int main()':
0_0_36146622_23475.cpp:118:23: error: expected ';' before ':' token
0_0_36146622_23475.cpp:118:23: error: expected primary-expression before ':' token
0_0_36146622_23475.cpp:118:23: error: expected ')' before ':' token
0_0_36146622_23475.cpp:118:23: error: expected primary-expression before ':' token
0_0_36146622_23475.cpp:136:14: error: expected unqualified-id before '[' token
auto [l, r, id] = qry[j];
^
0_0_36146622_23475.cpp:140:13: error: 'id' was not declared in this scope
ans[id] = x[r] ^ x[l - 1];
^
0_0_36146622_23475.cpp:140:21: error: 'r' was not declared in this scope
ans[id] = x[r] ^ x[l - 1];
^
0_0_36146622_23475.cpp:140:28: error: 'l' was not declared in this scope
ans[id] = x[r] ^ x[l - 1];
^
|