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 dalonghenin at 2007-10-04 00:40:01 on Problem 3411
In Reply To:Re:提供一组某条边要经历两次的数据 Posted by:dalonghenin at 2007-10-04 00:37:44
数据中有重边情况,比如:
input:
2 2
1 2 2 5 8
1 2 1 16 20
output:
8
intput:
2 2
1 2 1 5 5
1 2 1 10 10
output:
5
input:
2 2
1 2 1 5 5
1 2 2 3 4
output:
4

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