摘要: 总感觉之前做过一个类似的 阅读全文
posted @ 2020-03-25 19:51 晴屿 阅读(139) 评论(0) 推荐(0) 编辑
摘要: ``` #include #include #include #include using namespace std; const int N=3010; int e[N],h[N],ne[N],idx; int f[N][2]; bool st[N]; void add(int a,int b) { e[idx]=b; ne[idx]=h[a]; h[a]=idx++; } int n,m; 阅读全文
posted @ 2020-03-25 18:21 晴屿 阅读(92) 评论(0) 推荐(0) 编辑