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 neveralso at 2012-12-26 22:57:18 on Problem 3259
In Reply To:有重边 Posted by:sui1999 at 2011-12-06 11:30:41
> wa
> graph[s-1][e-1] = graph[e-1][s-1] = t;  
> 
> ac
> if(graph[s-1][e-1] > t)
>                 graph[s-1][e-1] = graph[e-1][s-1] = t;

有重边+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