Problem | lunchbox |
---|---|
User | jasmine |
Submission Time | 2023-11-09 10:29:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:4:30: error: storage size of ‘amount’ isn’t known
4 | int boxes, schools, b, sum, amount[];
| ^~~~~~
lunchbox.cpp:17:2: error: ‘else’ without a previous ‘if’
17 | else {
| ^~~~