Problem peakfinding
User Daembt
Submission Time 2026-10-15 07:27:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:6:13: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int max=0; n, now;
| ^
| yn
peakfinding.cpp:6:16: error: ‘now’ was not declared in this scope; did you mean ‘pow’?
6 | int max=0; n, now;
| ^~~
| pow