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

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:12:11: error: cannot resolve overloaded function ‘max’ based on conversion to type ‘int’
12 | peak=max;
| ^~~