| Problem | beareatrabbit |
|---|---|
| User | YSH2020 |
| Submission Time | 2025-12-19 16:38:26 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
beareatrabbit.cpp: In function ‘long long int dp(long long int, long long int*)’:
beareatrabbit.cpp:14:29: error: invalid conversion from ‘long long int (*)(long long int, long long int*)’ to ‘long long int’ [-fpermissive]
14 | if (dp1[n]!=-1) return dp[n];
| ^
| |
| long long int (*)(long long int, long long int*)
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 beareatrabbit.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h: In instantiation of ‘typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, void>::__type std::__fill_a(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = long long int (*)(long long int, long long int*); _Tp = int; typename __gnu_c