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 huicpc0860 at 2010-04-07 20:50:24 on Problem 2453
In Reply To:网上找的代码,路过的看看吧,服了... Posted by:vortex101 at 2009-02-26 13:51:45
好像是:
    规律,找到右数第一个连续的111...块,将其最左的一个1左移一位,其余的1右移到最右端,这样就满足条件了。

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