Problem peakfinding
User Elnathan
Submission Time 2023-03-01 20:47:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:6:23: error: ‘i’ was not declared in this scope
6 | long long int height[i];
| ^
peakfinding.cpp:8:10: error: ‘height’ was not declared in this scope
8 | cin >> height[i];
| ^~~~~~