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:哥用double过了。。。In Reply To:哥用double过了。。。 Posted by:guoyiwei111 at 2011-06-03 20:11:48 我也是这么写的,只不过没判断那个if((int)(right*1000)%10>=5) 这是意思,这里不需要四舍五入?? 而是直接取后两位小数的?? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator