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 |
可能不能缩点,这样搜索深度等于顶点个数也没用!内含数据In Reply To:判断一个有向无环图,觉得只要dfs看一下最大深度是否等于顶点个数就可以,但是怎么WA了这么多。。 Posted by:201292104 at 2014-09-29 12:21:01 4 4 1 2 1 3 2 4 3 4 No Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator