摘要: 题意: 思路:tarjan缩点后,对新图DAG进行拓扑dp。 代码: 点击查看代码 #include<bits/stdc++.h> #define int long long using namespace std; const int N=1e6+7; const int inf=1e9+7; t 阅读全文
posted @ 2023-11-29 20:24 xxj112 阅读(29) 评论(0) 推荐(0)