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

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:9:8: error: ‘gorilla’ was not declared in this scope
9 | cin >> gorilla[i];
| ^~~~~~~
peakfinding.cpp:11:6: error: ‘gorilla’ was not declared in this scope
11 | sort(gorilla+0, gorilla+n, greater<int>());
| ^~~~~~~