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 rigel at 2008-06-17 19:55:06 on Problem 1674
这道题的数据相当的水啊!
其实所有的数据都是从1到n的
就是说直接用开始的输入找环的边就可以了,本来只是好奇去试试看,结果果然,估计优化一下算法可以进32ms

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