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 |
dfs用邻接表和邻接矩阵都莫名奇妙地超内存错误,后来判断是否有环才ac了……跑了楼上提供的这组数据: 2 5 1000 2 2 2 1 3 2 100 2 1 1 3 100 2 1 1 4 100 2 0 100 2 0 跑出了segmentation fault,才想到判断环路…… Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator