Problem boxes
User kxd
Submission Time 2025-07-08 13:39:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxes.cpp: In function ‘long long int delivery(int, int, int, int*)’:
boxes.cpp:6:32: error: ‘m’ was not declared in this scope
6 | return min(L, min(p[N-1]*2,(L-m[0])*2));
| ^
boxes.cpp:6:16: error: ‘min’ was not declared in this scope
6 | return min(L, min(p[N-1]*2,(L-m[0])*2));
| ^~~
boxes.cpp:6:9: error: ‘min’ was not declared in this scope
6 | return min(L, min(p[N-1]*2,(L-m[0])*2));
| ^~~