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:二分也要16MS。。。。。。我擦 0MS的朋友说下方法

Posted by Belldandy at 2012-02-09 15:31:37 on Problem 2075
In Reply To:二分也要16MS。。。。。。我擦 0MS的朋友说下方法 Posted by:allen4053040allen at 2010-04-05 17:23:58
直接从前向后暴力搜,0MS
我觉得0MS跟这个关系不大,因为点本来就不多,这个处理基本不花时间
我是用优先队列+并查集的k算法(不是我想省略,是那人的名字一直记不住)
应该是这个问题,在MST的时候花的时间少了

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