Stay Hungry,Stay Foolish!

E - Alphabet Tiles

E - Alphabet Tiles https://atcoder.jp/contests/abc358/tasks/abc358_e 思路 dp[i][j] 前i项组成j长度字符串的 方案总数。 状态转移为: dp[i-1][j] * combination[j+l][l] > dp[i][j+
posted @ 2024-06-17 23:40  lightsong  阅读(1)  评论(0编辑  收藏  举报
Life Is Short, We Need Ship To Travel