Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
算法及优化推荐用SAP,Gap优化和Current优化必不可少,Greedy初始流的优化并不太显著(减少200ms) 但是很重要的一点就是,只考虑前向弧,不需考虑反向的弧!很重要,我就因为写最大流太“老实”(其实是呆板,死板)而TLE了N次 如有需要,请看题解 http://hi.baidu.com/forsona/blog/item/c54f8de80cf15c37b90e2d3d.html Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator