Problem lunchbox
User Jaytryouts
Submission Time 2026-08-27 16:56:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:16:27: error: missing template arguments before ‘.’ token
16 | for(int i = 0; i < vector.size(); i++) {
| ^
lunchbox.cpp:17:17: error: missing template arguments before ‘[’ token
17 | if(N >= vector[i]) {
| ^
lunchbox.cpp:18:15: error: missing template arguments before ‘[’ token
18 | N -= vector[i];
| ^