Problem anutforajaroftuna
User chenweilian
Submission Time 2024-01-14 17:25:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

anutforajaroftuna.cpp:72:18: error: macro "FOR" requires 4 arguments, but only 3 given
72 | FOR(i, 1, n+1) {
| ^
anutforajaroftuna.cpp:23: note: macro "FOR" defined here
23 | #define FOR(i, s, e, p) for(int i = s; i < e; i += p)
|
anutforajaroftuna.cpp:76:18: error: macro "FOR" requires 4 arguments, but only 3 given
76 | FOR(i, 1, n+1) cin >> p[i].b;
| ^
anutforajaroftuna.cpp:23: note: macro "FOR" defined here
23 | #define FOR(i, s, e, p) for(int i = s; i < e; i += p)
|
anutforajaroftuna.cpp:79:18: error: macro "FOR" requires 4 arguments, but only 3 given
79 | FOR(i, 1, n+1) {
| ^
anutforajaroftuna.cpp:23: note: macro "FOR" defined here
23 | #define FOR(i, s, e, p) for(int i = s; i < e; i += p)
|
anutforajaroftuna.cpp:88:18: error: macro "FOR" requires 4 arguments, but only 3 given
88 | FOR