I submitted a dp solution to problem 996A of Hit The Lottery. I didnt find any error in my code and logic seems to be fine. Can someone tell me why am I getting this error. I am new to CP and would appreciate if the nuances are clearly highlighted to me.↵
https://codeforces.com/813938/2021-04-21.png
https://codeforces.com/813938/2021-04-21.png