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

Re:几个容易错的地方

Posted by ixor at 2013-03-01 15:08:09 on Problem 1012
In Reply To:几个容易错的地方 Posted by:ixor at 2013-03-01 15:02:46
> 
> 1)搜索时,m可能非常大,下一次的轮圈行为依赖上一次剩下的人,充分利用好取模
> 
> 2)把圈看成两部分,第一部分k个人,不能被kill,所以当m没有必要一直递增,该跳过去就跳
> 
> 3)做到了以上两条还是不能ac,做个动态规划
> 
> 还不ac,楼下有亮瞎眼的暴力方法 :p

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