Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

关于使用网络流WA

Posted by tryothers at 2013-09-20 23:06:04 on Problem 3614
首先伟大的DINIC可以通过的,至少是有办法让dinic大约500MS的样子过的。
关注一下数据量,发现居然是2500和2500,再加上网络流要加反向边这类的。500000的邻接表不够用,居然说数组过小出现了WA的情况。开到2000000差不多可以过了。关于为什么数组开小显示WA仍需考证。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator