Can you plz check my code

i cant resolve the error in this i am not getting the correct output

hello @navin
use long long

still not getting still same output

image
ur were not initialise a with 0.
initialise a with 0 it will work.