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 phoenixzz at 2007-07-20 10:34:48 on Problem 2394
In Reply To:Re:考虑重边 Posted by:carew at 2006-09-02 10:07:31
>    重边?是不是这样?也不过!	
>          for (i=1; i<=p; i++)
> 	{
> 		cin >> l >> r >> tm;
> 		if (tm < a[l][r])
> 			a[l][r] = tm;
> 		a[r][l] = a[l][r];
> 	}

同问,我也一直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