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就错了,float对了。。。。。。。。。求解In Reply To:为什么用double就错了,float对了。。。。。。。。。求解 Posted by:a7884594 at 2014-05-28 20:49:00 double也没关系,但是输出的时候用%.2f是对的,而%.2lf是错的。我还没发现原因。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator