Problem snack
User Mashulyong
Submission Time 2024-04-12 15:24:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snack.cpp: In function ‘int main()’:
snack.cpp:26:6: error: storage size of ‘a’ isn’t known
26 | int a[];
| ^
snack.cpp:27:24: error: expected primary-expression before ‘]’ token
27 | for (int i = 0; i < a[]; i++){
| ^