Problem peakfinding
User ShaquilleOatmeal34
Submission Time 2025-03-14 15:09:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:9:7: error: ‘arr’ was not declared in this scope
9 | sort(arr+a, arr+b, greater<int>())
| ^~~
peakfinding.cpp:9:11: error: ‘a’ was not declared in this scope
9 | sort(arr+a, arr+b, greater<int>())
| ^
peakfinding.cpp:9:18: error: ‘b’ was not declared in this scope
9 | sort(arr+a, arr+b, greater<int>())
| ^