为什么我的Dinic这么慢?

P3376 【模板】网络最大流

炸点优化
by SKY_magician @ 2018-04-21 21:34:32


@[Rye_Catcher](/space/show?uid=61382) 因为你数组开小了。加边的数组要开两倍
by EternalAlexander @ 2018-04-21 21:57:01


@[Rye_Catcher](/space/show?uid=61382) 把你的数组开了两倍 https://www.luogu.org/recordnew/show/6923326
by EternalAlexander @ 2018-04-21 21:57:36


@[EternalAlexander](/space/show?uid=48355) 谢谢dalao,原来是这个细节
by Rye_Catcher @ 2018-04-21 22:20:49


|