Problem | peakfinding |
---|---|
User | ShaquilleOatmeal34 |
Submission Time | 2025-03-14 15:06:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:12:6: error: conflicting declaration ‘long long int a [n]’
12 | int a[n];
| ^
peakfinding.cpp:9:5: note: previous declaration as ‘long long int a [6]’
9 | int a[6] = {5, 4, 7, 6, 3, 1};
| ^