摘要: 传送门 换根dp板子题(板子型选手 题意: 一棵树确定源点和汇点找到最大的流量(拿出一整套最大瘤板子orz const int maxn=2e5+10; int head[maxn],tot; struct node { int nt,to;long long w; }q[2*maxn]; long 阅读全文
posted @ 2020-04-05 21:39 Bear_2 阅读(110) 评论(0) 推荐(0) 编辑