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

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:8:7: error: ‘maxheight’ was not declared in this scope
8 | str (maxheight, height) = 0;
| ^~~~~~~~~
peakfinding.cpp:8:18: error: ‘height’ was not declared in this scope
8 | str (maxheight, height) = 0;
| ^~~~~~
peakfinding.cpp:8:2: error: ‘str’ was not declared in this scope; did you mean ‘std’?
8 | str (maxheight, height) = 0;
| ^~~
| std