Problem peakfinding
User Avinash
Submission Time 2026-01-30 13:05:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:8:3: error: ‘height’ was not declared in this scope
8 | height, maxheight = 0;
| ^~~~~~
peakfinding.cpp:8:11: error: ‘maxheight’ was not declared in this scope
8 | height, maxheight = 0;
| ^~~~~~~~~