Problem peakfinding
User Hytoh
Submission Time 2023-08-16 16:19:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:12:14: error: missing template arguments before ‘.’ token
12 | sort (vector.begin(), vector.end(),greater<int>());
| ^
peakfinding.cpp:12:30: error: missing template arguments before ‘.’ token
12 | sort (vector.begin(), vector.end(),greater<int>());
| ^
peakfinding.cpp:13:25: error: expected ‘;’ before ‘return’
13 | cout << lmao[0] << endl
| ^
| ;
14 | return 0;
| ~~~~~~