Problem | lunchbox |
---|---|
User | havinaaaaash |
Submission Time | 2024-06-04 01:34:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int count(int, int)’:
lunchbox.cpp:18:19: error: expected ‘;’ before ‘)’ token
18 | for(i=0; i<m, i++){
| ^
| ;
lunchbox.cpp:22:9: error: expected ‘;’ before ‘}’ token
22 | c += 1
| ^
| ;
23 | }
| ~
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:37:10: error: ‘c’ was not declared in this scope
37 | cout << c;
| ^