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:我本来直接用最小路径覆盖,WA了,看了大家说的,加了一个dijstra,AC了,现在更大的问题来了,它为什么AC了,之前错哪了

Posted by 707346129 at 2015-08-08 14:38:20 on Problem 2594
In Reply To:我本来直接用最小路径覆盖,WA了,看了大家说的,加了一个dijstra,AC了,现在更大的问题来了,它为什么AC了,之前错哪了 Posted by:070824216 at 2009-08-25 23:00:38
因为不同路径可以含有相同的点,需要给能到达的点之间都连上边才能转化为裸的路径覆盖

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