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

知道为什么几乎一模一样的程序我的比你的慢10倍了

Posted by cuiaoxiang at 2008-06-27 11:20:35
In Reply To:大体上跟论文上的例子是一样的. Posted by:mmd at 2008-06-26 00:00:20
建立矩阵的时候我的列的次序和你的不同
而每次取最小的s的时候,如果有tie的话,情况就不一样了。
dfs还是很可怕的,一个说不清楚的理由就是很快很快

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