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:变态代码,0MS,难理解~~~~~~~~In Reply To:Re:变态代码,0MS,难理解~~~~~~~~ Posted by:anyexingchen at 2011-04-10 22:34:27 其实一点都不难理解,主要是那个 <1./++n> 其实那是<1.0/++n>的“简写”,如果用1除一个整数,结果会是0,但是用1.0去除一个整数,再赋值给一个浮点型,结果就是正确结果。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator