Problem | fibo |
---|---|
User | christal |
Submission Time | 2023-12-20 16:28:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp: In function ‘int main()’:
fibo.cpp:8:8: error: expected ‘(’ before ‘n’
8 | if n == 1){
| ^
| (
fibo.cpp:14:20: error: ‘fib’ cannot be used as a function
14 | return (fib(n-1) + fib(n-2))%998244353;
| ^
fibo.cpp:14:31: error: ‘fib’ cannot be used as a function
14 | return (fib(n-1) + fib(n-2))%998244353;
| ^
fibo.cpp:15:16: error: ‘fib’ cannot be used as a function
15 | cout << fib(n);
| ^