xylophone.cpp: In function 'void solve(int)':
xylophone.cpp:28:16: error: 'N' was not declared in this scope
28 | while(j <= N){
| ^
xylophone.cpp:35:16: error: 'N' was not declared in this scope
35 | while(k <= N){
| ^
xylophone.cpp:54:18: error: 'N' was not declared in this scope
54 | if(cnt > N) break;
| ^
xylophone.cpp:56:29: error: 'N' was not declared in this scope
56 | for(int j = 1; j <= N - 1; j++){
| ^
xylophone.cpp:60:20: error: 'N' was not declared in this scope
60 | foru(j, 0, N - 1){
| ^
xylophone.cpp:14:43: note: in definition of macro 'foru'
14 | #define foru(i, a, b) for(int i = a; i <= b; ++i)
| ^
xylophone.cpp:72:18: error: 'N' was not declared in this scope
72 | if(cnt > N) break;
| ^
xylophone.cpp:73:29: error: 'N' was not declared in this scope
73 | for(int j = 1; j <= N - 1; j++){
| ^
xylophone.cpp:78:20: error: 'N' was not declared in this scope
78 | foru(j, 0, N - 1){
| ^
xylophone.cpp:14:43: note: in definition of macro 'foru'
14 | #define foru(i, a, b) for(int i = a; i <= b; ++i)
| ^
xylophone.cpp:86:16: error: 'N' was not declared in this scope
86 | foru(j, 0, N - 1) answer(j + 1, ans[j]);
| ^
xylophone.cpp:14:43: note: in definition of macro 'foru'
14 | #define foru(i, a, b) for(int i = a; i <= b; ++i)
| ^