Problem | fuelstation |
---|---|
User | chenweilian |
Submission Time | 2023-12-07 16:00:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fuelstation.cpp: In function ‘int main()’:
fuelstation.cpp:125:13: error: redeclaration of ‘long long int i’
125 | int i = t[i+1];
| ^
fuelstation.cpp:124:9: note: ‘long long int i’ previously declared here
124 | REP(i, n) {
| ^
fuelstation.cpp:25:30: note: in definition of macro ‘FOR’
25 | #define FOR(i, s, e) for(int i = s; i < e; i++)
| ^
fuelstation.cpp:124:5: note: in expansion of macro ‘REP’
124 | REP(i, n) {
| ^~~