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

s数组要预先计算出来吗,我在这好像就超时了

Posted by superman2006 at 2007-08-07 17:57:24 on Problem 3324
In Reply To:模的时候可以优化 Posted by:Iamjw at 2007-08-07 16:27:27
> x mod (11111)2         
> 
> 可以写成 循环  (x >> 5) + (x & 11111)2        
> 直到x 的长度 <= 5

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