Problem | fibo |
---|---|
User | ChickenCoder |
Submission Time | 2023-07-19 00:15:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp: In function ‘int main()’:
fibo.cpp:11:62: error: ‘mod’ was not declared in this scope; did you mean ‘mod2’?
11 | for (int i = 2; i <= n; i++) arr[i] = (arr[i-1] + arr[i-2])%mod;
| ^~~
| mod2