求助,调了几天了

P3381 【模板】最小费用最大流

@[CreeperLordVader](/space/show?uid=68207) 把 ```cpp while(u!=s) { e[p[u]].flow+=a[u]; e[p[u]^1].flow-=a[u]; u=e[p[u]].from; } ``` 改成 ```cpp while (u!=s) { e[p[u]].flow+=a[t]; e[p[u]^1].flow-=a[t]; u=e[p[u]].from; } ``` 试试
by GKxx @ 2019-01-19 21:46:56


OK了,谢谢大牛 @[GKxx](/space/show?uid=72071)
by CreeperLordVader @ 2019-01-20 08:10:58


|