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

一次AC,happy! 16ms

Posted by ycdoit at 2011-04-02 21:41:23 on Problem 1094
每次读取一行,就进行一次拓扑排序
判断拓扑排序的结果是否可以唯一有序或者得到矛盾的环

如果读完所有的数据还不能满足以上两种情况,输出结果不确定。

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