Problem peakfinding
User Yifei1234
Submission Time 2023-03-01 16:20:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:12:20: error: ‘mountan’ was not declared in this scope; did you mean ‘mountain’?
12 | peak=max(peak,mountan);
| ^~~~~~~
| mountain