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

终于秒杀了 !! 不过下面那组BT数据我也耗了4ms左右 给TLE的acmer们一个剪枝条件

Posted by ylfdrib at 2010-07-13 10:06:58 on Problem 1011
每次搜新棒子的第一截时,必须成功,不能失败,如果遇到的第一个未标记的没搜成功,不用再往后搜了,return就行。因为它是新棒的第一截,如果最后要搜成功,它是必须要搜到的

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