Problem efficientdelivery
User Pan
Submission Time 2024-08-05 14:20:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

efficientdelivery.cpp: In function ‘int main()’:
efficientdelivery.cpp:54:3: error: ‘lo’ was not declared in this scope; did you mean ‘ld’?
54 | lo = max(1LL, y[i] - costx/4), hi = min(m, y2[i] + costx/4);
| ^~
| ld
efficientdelivery.cpp:54:34: error: ‘hi’ was not declared in this scope; did you mean ‘i’?
54 | lo = max(1LL, y[i] - costx/4), hi = min(m, y2[i] + costx/4);
| ^~
| i