摘要: 【树形DP】 参考:https://www.cnblogs.com/hanruyun/p/9788170.html 总结 典型例题 烷烃计数 https://atcoder.jp/contests/abc394/tasks/abc394_f /*【树形DP】 状态表示:dp[u][j]:以u为中心节 阅读全文
posted @ 2024-12-20 11:38 White_ink 阅读(41) 评论(0) 推荐(0)