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 |
floyd + 最小路径覆盖!!!由于图中的点可以重复的走,所有先用floyd建新图。而图中点最多为500,floyd时间复杂度为 n^3,竟然没超时。感觉数据太弱了! Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator