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

Re:这个题怎么做啊.

Posted by LegendaryDan at 2006-10-26 12:42:59 on Problem 3057
In Reply To:Re:这个题怎么做啊. Posted by:LegendaryDan at 2006-10-26 12:42:13
先4*12*12^2预处理所有door到person的最短距离。
 
1 时间t递增
2 当前时间如果pi能到达dj,则连一条边。
3 然后求最大匹配
4 删除被匹配的person
5 当所有的person都被匹配完后的时间就是最短时间。否则返回1

只是感觉,但是不知道这么谈心的搞,对不对,不会证明-_-!~

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