Problem peakfinding
User kvankok
Submission Time 2023-08-16 17:09:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:9:17: error: expected ‘;’ before ‘<’ token
9 | for (ll x=0, x<n; x++) {
| ^
| ;
peakfinding.cpp:9:17: error: expected primary-expression before ‘<’ token
peakfinding.cpp:11:24: error: ‘max’ cannot be used as a function
11 | max = max(temp, max);
| ^