0_0_36321264_8153.cpp: In function 'void Solve()':
0_0_36321264_8153.cpp:31:18: error: expected unqualified-id before '[' token
for(auto [c,w]:a[i])fd(j,100,c)
^
0_0_36321264_8153.cpp:31:18: error: expected ';' before '[' token
0_0_36321264_8153.cpp:31:19: error: 'c' was not declared in this scope
for(auto [c,w]:a[i])fd(j,100,c)
^
0_0_36321264_8153.cpp:31:21: error: 'w' was not declared in this scope
for(auto [c,w]:a[i])fd(j,100,c)
^
0_0_36321264_8153.cpp: In lambda function:
0_0_36321264_8153.cpp:31:23: error: expected '{' before ':' token
for(auto [c,w]:a[i])fd(j,100,c)
^
0_0_36321264_8153.cpp: In function 'void Solve()':
0_0_36321264_8153.cpp:31:23: error: expected ';' before ':' token
0_0_36321264_8153.cpp:31:23: error: expected primary-expression before ':' token
0_0_36321264_8153.cpp:31:23: error: expected ')' before ':' token
0_0_36321264_8153.cpp:31:23: error: expected primary-expression before ':' token
0_0_36321264_8153.cpp:31:32: error: 'j' was not declared in this scope
for(auto [c,w]:a[i])fd(j,100,c)
^
0_0_36321264_8153.cpp:3:44: note: in definition of macro 'fd'
#define fd(i,a,b) for(int i=(a),_##i=(b)-1;i>_##i;--i)
^
0_0_36321264_8153.cpp:3:46: error: '_j' was not declared in this scope
#define fd(i,a,b) for(int i=(a),_##i=(b)-1;i>_##i;--i)
^
0_0_36321264_8153.cpp:31:29: note: in expansion of macro 'fd'
for(auto [c,w]:a[i])fd(j,100,c)
^
|