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 |
I think the sample data has some problem :DSample input 4 6 // the first data 0 6 4 6 0 0 7 20 // node list 1 2 1 3 2 3 3 4 3 1 3 2 // edge list 4 3 //the second data 0 0 1 0 0 1 1 2 // node list 1 3 4 1 //where's the last edge? Hmm, is the sample right? Maybe the last line is missing.. Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator