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

3q!的确没用过位运算,不过仅仅是这里的问题么?

Posted by sunmoonstar_love at 2005-05-31 14:36:19 on Problem 2443
In Reply To:Re:这道题怎么总是wa? Posted by:frkstyc at 2005-05-31 14:33:22
>              a = int(pow(2,i%32-1));
>                  ~~~~~~~~~~~~~~~~~~为什么不写成1<<(i%32)?先复习一下C的位运算,在找本《计算机文化》了解一下浮点误差吧,总之X天内不要做题了

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