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