https://ide.codingblocks.com/#/s/17130--COMPUTE F(N)

Hi,

Can anyone help to solve this problem , it is not passing test cases when I submit

Thanks
Naresh