Problem | boxispull |
---|---|
User | Water |
Submission Time | 2024-02-17 08:22:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
boxispull.cpp: In function ‘int main()’:
boxispull.cpp:5:40: error: expected ‘;’ before ‘<’ token
5 | #define rep(i, a, b) for (int i = a, i < b, i++);
| ^
boxispull.cpp:11:2: note: in expansion of macro ‘rep’
11 | rep(i, 0, N){
| ^~~
boxispull.cpp:5:40: error: expected primary-expression before ‘<’ token
5 | #define rep(i, a, b) for (int i = a, i < b, i++);
| ^
boxispull.cpp:11:2: note: in expansion of macro ‘rep’
11 | rep(i, 0, N){
| ^~~
boxispull.cpp:5:48: error: expected ‘;’ before ‘)’ token
5 | #define rep(i, a, b) for (int i = a, i < b, i++);
| ^
boxispull.cpp:11:2: note: in expansion of macro ‘rep’
11 | rep(i, 0, N){
| ^~~
boxispull.cpp:14:11: error: ‘i’ was not declared in this scope
14 | coor[0][i] = x1;