如果此题问方案数,怎么做?

B3644 【模板】拓扑排序 / 家谱树

Twiter_ln @ 2024-11-25 13:26:37

\operatorname{RT}

by 5t0_0r2 @ 2024-11-25 13:28:43

@Twiter_ln AT 里有这题,是用状压做的。


by sea_bird @ 2024-12-16 13:03:03

@5t0_0r2能否给个路径或关键词?谢谢


by 5t0_0r2 @ 2024-12-16 13:08:46

@sea_bird 真不记得了 qaq,只记得是 AT 里的,好像是绿题。


by sea_bird @ 2024-12-16 13:09:56

@5t0_0r2谢谢我去找找OVO


by sea_bird @ 2024-12-16 13:17:40

@5t0_0r2 https://www.luogu.com.cn/problem/AT_arc130_d 这个吗?


by 5t0_0r2 @ 2024-12-16 13:34:19

@sea_bird 不是,翻译就是直接问的方案数


by sea_bird @ 2024-12-16 13:38:24

@5t0_0r2好吧


by SIRIUS0105 @ 2024-12-24 20:44:39

推荐P4017(逃


|