Problem | fibo |
---|---|
User | naresh |
Submission Time | 2024-07-29 13:25:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp: In function ‘int main()’:
fibo.cpp:10:62: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
10 | cout << round(pow((1+sqrt(5)),i)/(pow(2,i)*sqrt(5))) % MOD << '\n';
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
| |
| double