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:AC了,,但这组数据没过In Reply To:AC了,,但这组数据没过 Posted by:yy17yy at 2011-02-02 13:24:54 处理重边可以这样:假设n个点,那么i到j的边标记为(i*n+j),这样标识就唯一了,然后把它存到Hash表里 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator