Problem | lunchbox |
---|---|
User | christal |
Submission Time | 2023-12-16 14:59:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:5:11: error: ‘i’ was not declared in this scope
5 | int N, m[i];
| ^
lunchbox.cpp:6:8: error: ‘k’ was not declared in this scope
6 | int i[k];
| ^
lunchbox.cpp:7:14: error: ‘m’ was not declared in this scope
7 | cin >> N >> m >> k;
| ^
lunchbox.cpp:8:19: error: expected ‘;’ before ‘)’ token
8 | for(i=0; i<m, i++){
| ^
| ;
lunchbox.cpp:15:2: error: expected ‘}’ at end of input
15 | }
| ^
lunchbox.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^