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

Compile Error

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