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

试试这个吧,这两组数据比较能说明不可以正向拓扑的,只能反向建图。

Posted by ImLazy at 2008-09-17 19:28:38 on Problem 3687
In Reply To:这道题wa到歇菜了,哪位大哥给点数据来啊 Posted by:lynncui at 2008-08-31 21:57:33
2

5 4
1 4
4 2
5 3
3 2

5 3
1 4
4 2
3 5

输出应该是:
1 5 3 4 2
1 3 4 2 5

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