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:2组测试数据

Posted by gxy123 at 2018-03-24 20:11:48 on Problem 3687
In Reply To:2组测试数据 Posted by:zeming89 at 2010-07-13 19:29:32
> 2
> 
> 5 4
> 5 1
> 4 2
> 1 3
> 2 3
> 
> 10 5
> 4 1
> 8 1
> 7 8
> 4 1
> 2 8
> ans:
> 2 4 5 3 1        逆向建图
> 5 1 6 2 7 8 3 4 9 10  没有判重边的话就输出 -1

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