here is the problem link: Frog 2 problem:
I have only changed the vector dp size from N=1e5+10 to INT_MAX and got accepted..why was it wrong answer in size change of dp size?
here is the problem link: Frog 2 problem:
I have only changed the vector dp size from N=1e5+10 to INT_MAX and got accepted..why was it wrong answer in size change of dp size?