Problem boxes
User PlayVoltz
Submission Time 2024-03-01 08:35:28
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:15:15: error: operands to ?: have different types ‘std::vector<long long int>’ and ‘long long int’
15 | int ans=(n<=k?l:LLONG_MAX/2);
| ~~~~^~~~~~~~~~~~~~