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:对的啦。就是判断双连通。YU大牛告诉我的In Reply To:我靠,终于过了。我来回答吧 Posted by:20053565 at 2009-01-03 11:10:05 > 我的做法是枚举删除一个点,然后看剩下的图里有没有割点和桥,有的话就不行 > 之前求割点和桥各dfs了一次 于是超时了 其实dfs一次 求出pre数组和low数组就行了 > 我不知道这么做对不对 只是直觉 所以就试了试 要是找到反例了告诉我 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator