| Problem | lunchbox |
|---|---|
| User | yoshiokalili |
| Submission Time | 2026-02-09 16:45:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:15:26: error: expected ‘;’ before ‘)’ token
15 | for (int i = 0; i<m, i++) {
| ^
| ;
lunchbox.cpp:21:9: error: found ‘:’ in nested-name-specifier, expected ‘::’
21 | for (i : arr) {
| ^
| ::
lunchbox.cpp:21:7: error: ‘i’ has not been declared
21 | for (i : arr) {
| ^
lunchbox.cpp:30:1: error: expected primary-expression before ‘}’ token
30 | }
| ^
lunchbox.cpp:29:24: error: expected ‘)’ before ‘}’ token
29 | cout << count << "\n";
| ^
| )
30 | }
| ~
lunchbox.cpp:21:6: note: to match this ‘(’
21 | for (i : arr) {
| ^
lunchbox.cpp:30:1: error: expected primary-expression before ‘}’ token
30 | }
| ^