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 |
我之前wa是因为..一个infinity常量不够大...-__-\\In Reply To:不能再wa了,高人提示一下吧, 我考虑了以下情况 Posted by:ACM06019 at 2006-10-26 18:22:18 > 我用邻接表所以重边可以不用管 > v==0或v==1的时候输出 0 > 有(a,a)这种边存在的时候不把它插入到邻接表中忽略, > 用unsigned __64来存储数据 > 但是还是wa还有什么trick吗? > 高人指点一下吧 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator