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 |
上一道的COW PINIC我用DFS求本身1+入度,这一道我决定用BFS,求出度,力求同时灵活掌握DFS和BFS.此两题用Floyd算法(时间复杂度为N^3)都会TLE,可见Floyd算法还有待优化呀!!!!!Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator