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

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:11:16: error: expected ‘;’ before ‘peak’
11 | cin>>mountain
| ^
| ;
12 | peak=max;
| ~~~~