| Problem | peakfinding |
|---|---|
| User | Harshith |
| Submission Time | 2026-04-06 17:04:39 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:8:6: error: conflicting declaration ‘int a [0]’
8 | int a[0] = y;
| ^
peakfinding.cpp:7:6: note: previous declaration as ‘int a [x]’
7 | int a[x];
| ^
peakfinding.cpp:10:15: error: expected ‘;’ before ‘i’
10 | for(int i = 1 i > x;i++){
| ^~
| ;