Problem peakfinding
User NeeNawAmbulance
Submission Time 2023-04-28 14:35:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:9:8: error: ‘max_element’ was not declared in this scope
9 | out(*max_element(a, a + t));
| ^~~~~~~~~~~
peakfinding.cpp:9:3: error: ‘out’ was not declared in this scope
9 | out(*max_element(a, a + t));
| ^~~