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

Compile Error

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