Problem | peakfinding |
---|---|
User | ShaquilleOatmeal34 |
Submission Time | 2025-03-14 16:14:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:11:39: error: expected ‘;’ before ‘for’
11 | sort(gopal+0, gopal+n, greater<int>())
| ^
| ;
12 |
13 | for(int i = 0; i < n; i++){
| ~~~
peakfinding.cpp:13:16: error: ‘i’ was not declared in this scope
13 | for(int i = 0; i < n; i++){
| ^