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 |
我用的是直接O(N^6)(行列各O(N^3))找圈,然后O(N^4)判断对圈的引用,貌似没有可优化的地方就0ms了In Reply To:不知道各位牛人是怎么做的,我用warshall做,优化了后还用了687ms Posted by:knuthocean at 2005-04-05 22:57:45 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator