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 frkstyc at 2006-04-16 00:29:02 on Problem 1094
In Reply To:弱弱的问一下,拓扑排序应该是先读入所有的点之后再排序的吧,可是这题怎么判断到了哪一点后就足够条件了呢,哪位兄弟帮忙解答一下 Posted by:xiangsanzi at 2006-04-16 00:20:07
sample是
4 6
A<B
A<C
B<C
C<D
B<D
A<B

你假如强行把它改成
4 5
A<B
A<C
B<C
C<D
B<D

你的程序总不至于就傻了吧?

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