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

Re:AC了,,但这组数据没过

Posted by peargobble at 2011-06-24 09:44:20 on Problem 2762
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:
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