horses.cpp:39:11: error: macro "FOR" requires 3 arguments, but only 2 given
39 | FOR(i,0 n){
| ^
horses.cpp:5: note: macro "FOR" defined here
5 | #define FOR(i,x,y) for(ll i=x; i<y; i++)
|
horses.cpp:48:11: error: macro "FOR" requires 3 arguments, but only 2 given
48 | FOR(i,0 n){
| ^
horses.cpp:5: note: macro "FOR" defined here
5 | #define FOR(i,x,y) for(ll i=x; i<y; i++)
|
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:39:2: error: 'FOR' was not declared in this scope
39 | FOR(i,0 n){
| ^~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:48:2: error: 'FOR' was not declared in this scope
48 | FOR(i,0 n){
| ^~~