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:哪位大牛帮忙看看哪里错了,怎么老是WR呢?????In Reply To:Re:哪位大牛帮忙看看哪里错了,怎么老是WR呢????? Posted by:bjss222 at 2007-03-03 16:36:10 > 就是这个 x = sqrt(3.0*n*(n-1)/sum); > 我就是按直接算出互质的数对,再除以总的这样做的呀,sum是互质的个数 改成 x = sqrt(3.0*n*(n-1)/sum);后就AC了,怎么不一样呢?? 这两个有什么区别呢?都可以算开方的呀? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator