Problem fibo
User itchydeez
Submission Time 2023-11-20 09:36:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:10:6: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
10 | a=g%1e9+j%1e9;
| ~^~~~
| | |
| | double
| long long int
fibo.cpp:10:12: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
10 | a=g%1e9+j%1e9;
| ~^~~~
| | |
| | double
| long long int
fibo.cpp:11:10: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
11 | cout<<a%1e9<<"\n";
| ~^~~~
| | |
| | double
| long long int