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

Posted by fanofxiaofeng at 2013-10-17 21:16:03 on Problem 2186
写了7k多的渣代码...
不过第一次实现强连通分量的算法,还是挺高兴的。多谢讨论区的测试数据了~
所有的符合条件的cow一定都在同一个强连通分量里(如果有这样的cow的话),把这个强连通分量找到就行了。

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