Problem fibo
User Joashhh
Submission Time 2024-03-12 15:43:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int fibo(int)’:
fibo.cpp:4:11: error: expected primary-expression before ‘|’ token
4 | if(x==0|||x==1){
| ^
fibo.cpp:7:30: error: expected ‘;’ before ‘}’ token
7 | return fibo(x-1) + fibo(x-2)
| ^
| ;
8 | }
| ~