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

Compile Error

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