Problem rollercoaster
User pseudocoder101
Submission Time 2025-06-20 16:21:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rollercoaster.cpp: In function ‘int main()’:
rollercoaster.cpp:25:10: error: overloaded function with no contextual type information
25 | prev = p;
| ^
rollercoaster.cpp:34:13: error: ‘funn’ was not declared in this scope
34 | funn = a[k-1] - a[0];
| ^~~~