TheHoodyGang's blog

By TheHoodyGang, history, 8 months ago, In English

PLease help in this question 1932F - Feed Cats according to me my method is completely correct 252346495 UPD: I have checked bottom-up dp and it works! But the top-down dp as in the above one does not! Can someone give me an explanation? And also how to decide which one to choose.

  • Vote: I like it
  • -1
  • Vote: I do not like it

»
8 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by TheHoodyGang (previous revision, new revision, compare).

»
8 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Take a look at Ticket 17423 from CF Stress for a counter example.

  • »
    »
    8 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Wow!Thanks a lot for this, was stuck in this for 2 hours! Crazy how silly a mistake I was making!