Problem lunchbox
User BlueSpace
Submission Time 2024-04-20 10:07:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:16:26: error: ‘min’ cannot be used as a function
16 | min = min(min, ki);
| ^
lunchbox.cpp:19:27: error: ‘min’ cannot be used as a function
19 | int max = min(N/min, m);
| ^
lunchbox.cpp:21:10: error: ‘max_schools’ was not declared in this scope
21 | cout << max_schools << "\n";
| ^~~~~~~~~~~