2019年10月31日

TZOJ 5963 Increasing Sequences(线性DP)

摘要: 描述 Given a string of digits, insert commas to create a sequence of strictly increasing numbers so as to minimize the magnitude of the last number. For 阅读全文

posted @ 2019-10-31 16:16 大桃桃 阅读(220) 评论(0) 推荐(0) 编辑

TZOJ 5962 Happy Matt Friends(计数DP)

摘要: 描述 Matt hzs N friends. They are playing a game together.Each of Matt’s friends has a magic number. In the game, Matt selects some (could be zero) of h 阅读全文

posted @ 2019-10-31 13:55 大桃桃 阅读(169) 评论(0) 推荐(0) 编辑

导航