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:是Floyd

Posted by yzy123 at 2009-09-19 23:09:28 on Problem 1125
In Reply To:是Floyd Posted by:twilight at 2009-01-07 17:53:55
我也是用Floyd做的  刚开始想到了 但不知道为什么可以用Floyd 想来很久
其实 我们扫描一行的时候 求出该行的最大值 也就是知道了传递这些信息需要用到的最小时间
而所有的最大值中的最小值 就是最优方法传遍整个群的时间了  
感觉数据有些弱  居然让我0ms 

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