Problem peakfinding
User ShaquilleOatmeal34
Submission Time 2025-03-14 16:04:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:13:15: error: ‘arr’ was not declared in this scope
13 | sort(gopal+n, arr+i, greater<int>())
| ^~~
peakfinding.cpp:13:19: error: ‘i’ was not declared in this scope
13 | sort(gopal+n, arr+i, greater<int>())
| ^