Problem fibo_ex
User nmluan
Submission Time 2026-04-02 11:16:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo_ex.cpp: In function ‘int main()’:
fibo_ex.cpp:11:27: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
11 | f[i] = (f[i-1] + f[i-2])%(4e18);
| ~~~~~~~~~~~~~~~~~^~~~~~~
| | |
| | double
| long long int