Problem peakfinding
User 18
Submission Time 2026-10-31 14:50:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:13:25: error: ‘A’ was not declared in this scope
13 | int max_height = -1;A
| ^
peakfinding.cpp:15:21: error: ‘i’ was not declared in this scope
15 | for (int i = 0; i < n; i++) {
| ^