@duyi https://www.luogu.org/blog/top-oier/qian-tan-you-shang-xia-jie-di-wang-lao-liu

感谢投稿,已经加入候选队列

下面这个

int f=Dinic(ss,tt);
add(t,s,INF); int e=tot;
f+=Dinic(ss,tt);
if(f!=sum){
    cout<<"Impossible"<<endl;
    return 0;
}
cout<<edge[e].w<<endl;

真的没写错吗。。。

2019/2/2 21:19
11751