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 |
Re:这道题怎么总是wa?In Reply To:这道题怎么总是wa? Posted by:sunmoonstar_love at 2005-05-31 14:29:28 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