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:G++里难道用%f输出double才是正确的?In Reply To:Re:G++里难道用%f输出double才是正确的? Posted by:resty at 2009-06-24 20:53:21 根据标准,double需要使用%lf读入,%f输出。%lf输出是非C标准里的内容,VC扩展出来的,使用了当然不能保证正确性。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator