Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
3q!的确没用过位运算,不过仅仅是这里的问题么?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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator