Problem | fibo |
---|---|
User | xyz |
Submission Time | 2023-11-09 14:21:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp: In function ‘std::vector<int> fib()’:
fibo.cpp:12:41: error: call of overloaded ‘pow(_Float128, int&)’ is ambiguous
12 | (1/root5)*(pow(((1+root5)/2), iter)-pow(((1-root5)/2),iter))
| ^
In file included from /usr/include/features.h:461,
from /usr/include/x86_64-linux-gnu/c++/9/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/c++config.h:528,
from /usr/include/c++/9/cmath:41,
from fibo.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
| ^~~~~~~~~~~~~~
In file included from fibo.cpp:1:
/usr/include/c++/9/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
392 | pow(long double __x, long double __y)
| ^~~
/usr/incl