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:不过也不一定,好像用树状数组的方法来不断找低位1有搞头,你看看呢,我也还没过,:P

Posted by cangratul at 2007-04-28 21:57:47 on Problem 2984
In Reply To:不过也不一定,好像用树状数组的方法来不断找低位1有搞头,你看看呢,我也还没过,:P Posted by:frogxx at 2007-04-28 21:41:11
我是先高精度除法转2进后,求1的个数,然后在高精度乘法求2^k-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