mountains.cpp: In function 'int maximum_deevs(std::vector<int>)':
mountains.cpp:20:18: error: 'i' was not declared in this scope
20 | for(lli r=0; i<N; r++){
| ^
mountains.cpp:29:22: error: 'max' was not declared in this scope; did you mean 'std::max'?
29 | dp[l][r]=max(dp[l][r], 1+ss+dp[l][last-1]);
| ^~~
| std::max
In file included from /usr/include/c++/10/vector:60,
from mountains.h:1,
from mountains.cpp:1:
/usr/include/c++/10/bits/stl_algobase.h:300:5: note: 'std::max' declared here
300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~