Answer is displayed for n-1 not for n


this is my code. unable to point out the error


answer is zero[n-1] + one[n-1], also make type as long long instead of int.