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

Compile Error

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