Problem | fibo_easy |
---|---|
User | gsayson |
Submission Time | 2025-07-02 16:05:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo_easy.cpp: In function ‘int main()’:
fibo_easy.cpp:6:35: error: ‘sqrt’ was not declared in this scope
6 | long double golden_ratio = (1+sqrt(5))/2;
| ^~~~
fibo_easy.cpp:8:21: error: ‘pow’ was not declared in this scope
8 | long double a = pow(golden_ratio,n);
| ^~~