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 060341125 at 2009-08-06 12:57:20 on Problem 1094 and last updated at 2009-08-06 12:58:55
每加一条边测试一次
DFS判断回路
拓扑排序
用多个0入度判断"Sorted sequence cannot be determined."不正确,这种情况也可能出现回路

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