this is my code. unable to point out the error
Answer is displayed for n-1 not for n
answer is zero[n-1] + one[n-1], also make type as long long instead of int.
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.