Problem | snack |
---|---|
User | louisleehi |
Submission Time | 2023-12-07 18:40:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snack.cpp: In function ‘int main()’:
snack.cpp:9:12: error: conflicting declaration ‘long long int beans [N]’
9 | long long beans[N];
| ^~~~~
snack.cpp:8:17: note: previous declaration as ‘std::vector<int> beans’
8 | vector<int> beans(N);
| ^~~~~