Problem | fibo |
---|---|
User | xyz |
Submission Time | 2023-11-09 14:21:33 |
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:36: error: request for member ‘f’ in ‘(((_Float128)1 + root5) / (_Float128)2)’, which is of non-class type ‘_Float128’ {aka ‘__float128’}
12 | (1/root5)*(pow(((1+root5)/2).f, iter)-pow(((1-root5)/2).f,iter))
| ^
fibo.cpp:12:63: error: request for member ‘f’ in ‘(((_Float128)1 - root5) / (_Float128)2)’, which is of non-class type ‘_Float128’ {aka ‘__float128’}
12 | (1/root5)*(pow(((1+root5)/2).f, iter)-pow(((1-root5)/2).f,iter))
| ^