Why why i am getting wrong answer

using bottom up dp

hello @rsaini9416624750
use long long for dp array .