| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
Re:Floyd算法空间复杂度是O(n*n*n)的, 您怎么算的?In Reply To:Floyd算法空间复杂度是O(n*n*n)的, 您怎么算的? Posted by:sunmoonstar at 2006-11-17 10:41:44 Floyd算法需要用到一个存储中间结点的矩阵,这个矩阵是三维的,如果有n个node,那么Floyd算法最多要占用n*n*n的空间,不知道对不对? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator