Problem peakfinding
User Harshith
Submission Time 2026-04-06 17:41:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:8:10: error: ‘g’ was not declared in this scope
8 | cin>>g;
| ^
peakfinding.cpp:9:12: error: expected primary-expression before ‘>’ token
9 | if (g => d+1){
| ^