| Problem | lunchbox |
|---|---|
| User | axo |
| Submission Time | 2026-05-14 10:07:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:16:33: error: expected ‘;’ before ‘if’
16 | pref[i+1] = pref[i] + arr[i]
| ^
| ;
17 | if (pref[i+1] > m){
| ~~
lunchbox.cpp:20:6: error: ‘else’ without a previous ‘if’
20 | }else{
| ^~~~