Hey can anyone help me getting through this spoj problem

hey can u get me through this please…my code is passing the sample test but not the other

its the spp recursive sequence problem(spoj)