Problem lunchbox
User TienKai
Submission Time 2024-02-23 00:43:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:11:3: error: ‘a’ was not declared in this scope
11 | a = a + k[i];
| ^
lunchbox.cpp:14:5: error: ‘a’ was not declared in this scope
14 | if(a <= m){
| ^