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 yygy at 2014-08-06 19:37:30 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