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

我用的是直接O(N^6)(行列各O(N^3))找圈,然后O(N^4)判断对圈的引用,貌似没有可优化的地方就0ms了

Posted by frkstyc at 2005-04-05 23:26:23 on Problem 2320
In Reply To:不知道各位牛人是怎么做的,我用warshall做,优化了后还用了687ms Posted by:knuthocean at 2005-04-05 22:57:45


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