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:请问这个题到底有什么trick啊?

Posted by dalonghenin at 2007-09-23 15:45:24 on Problem 3380
In Reply To:请问这个题到底有什么trick啊? Posted by:lixs2003 at 2007-09-23 14:35:07
> 就是算出每个线经过的次数
> 乘以长度排序
> 对吗
如果车快,排序时从大到小排序,输出前k个数
如果马快,排序时从小到大排序,输出前k个数

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