Problem peakfinding
User Hytoh
Submission Time 2023-03-29 16:36:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:13:51: error: expected ‘;’ before ‘cout’
13 | sort (height, height + mountains, greater<int>())
| ^
| ;
14 |
15 | cout << height[0];
| ~~~~