Problem fibo
User Chris
Submission Time 2024-11-18 10:00:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp:3:30: error: expected constructor, destructor, or type conversion before ‘(’ token
3 | ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
| ^
fibo.cpp:3:39: error: ‘cin’ does not name a type; did you mean ‘sin’?
3 | ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
| ^~~
| sin
fibo.cpp:3:51: error: ‘cout’ does not name a type
3 | ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
| ^~~~
fibo.cpp:4:5: error: expected unqualified-id before ‘if’
4 | if int f(0) == 0 && f(1) == 1
| ^~