Problem | fuelstation |
---|---|
User | bribritt |
Submission Time | 2024-01-19 09:36:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fuelstation.cpp: In function ‘int main()’:
fuelstation.cpp:31:17: error: expected primary-expression before ‘[’ token
31 | rt->up(station[i].x,d,station[i].a);
| ^
fuelstation.cpp:31:32: error: expected primary-expression before ‘[’ token
31 | rt->up(station[i].x,d,station[i].a);
| ^
fuelstation.cpp:32:28: error: expected primary-expression before ‘[’ token
32 | if((rt->val()) <= station[i].b) ans=min(ans,rt->val());
| ^