Problem | learning |
---|---|
User | shoryu386 |
Submission Time | 2023-12-28 01:27:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from learning.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h: In instantiation of ‘constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare) [with _Tp = long long int; _Compare = long long int]’:
learning.cpp:21:54: required from here
/usr/include/c++/9/bits/stl_algobase.h:271:17: error: ‘__comp’ cannot be used as a function
271 | if (__comp(__a, __b))
| ~~~~~~^~~~~~~~~~
learning.cpp: In function ‘long long int memo(long long int, long long int, long long int)’:
learning.cpp:21:55: error: expected ‘;’ before ‘)’ token
21 | return max(curr,i+1,exp+l),memo(curr-time,i+1,exp+w));
| ^
| ;
lear