0_0_37762547_16575.cpp: In function 'int main()':
0_0_37762547_16575.cpp:21:13: error: expected unqualified-id before '[' token
for(auto &[x,y,z]:v){
^
0_0_37762547_16575.cpp:21:13: error: expected ';' before '[' token
0_0_37762547_16575.cpp:21:14: error: 'x' was not declared in this scope
for(auto &[x,y,z]:v){
^
0_0_37762547_16575.cpp:21:16: error: 'y' was not declared in this scope
for(auto &[x,y,z]:v){
^
0_0_37762547_16575.cpp:21:18: error: 'z' was not declared in this scope
for(auto &[x,y,z]:v){
^
0_0_37762547_16575.cpp: In lambda function:
0_0_37762547_16575.cpp:21:20: error: expected '{' before ':' token
for(auto &[x,y,z]:v){
^
0_0_37762547_16575.cpp: In function 'int main()':
0_0_37762547_16575.cpp:21:20: error: expected ';' before ':' token
0_0_37762547_16575.cpp:21:20: error: expected primary-expression before ':' token
0_0_37762547_16575.cpp:21:20: error: expected ')' before ':' token
0_0_37762547_16575.cpp:21:20: error: expected primary-expression before ':' token
0_0_37762547_16575.cpp:27:9: error: expected unqualified-id before '[' token
auto [z,x,y]=v[i];
^
0_0_37762547_16575.cpp:28:10: error: 'x' was not declared in this scope
a[i]=-x-y;
^
0_0_37762547_16575.cpp:28:12: error: 'y' was not declared in this scope
a[i]=-x-y;
^
|