Problem variety
User KK1729
Submission Time 2023-11-12 18:09:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

variety.cpp: In function ‘void solve()’:
variety.cpp:7:20: error: expected ‘,’ or ‘;’ before ‘for’
7 | #define FOR(i,a,b) for (int i = (a); i < (b); ++i)
| ^~~
variety.cpp:53:5: note: in expansion of macro ‘FOR’
53 | FOR(i,0,m){
| ^~~
variety.cpp:53:9: error: ‘i’ was not declared in this scope
53 | FOR(i,0,m){
| ^
variety.cpp:7:38: note: in definition of macro ‘FOR’
7 | #define FOR(i,a,b) for (int i = (a); i < (b); ++i)
| ^