Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

不能再wa了,高人提示一下吧, 我考虑了以下情况

Posted by ACM06019 at 2006-10-26 18:22:18 on Problem 3013
我用邻接表所以重边可以不用管
v==0或v==1的时候输出 0
有(a,a)这种边存在的时候不把它插入到邻接表中忽略,
用unsigned __64来存储数据
但是还是wa还有什么trick吗?
高人指点一下吧

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator