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 |
wrong answer题目给出最后一个测试数据结果是:42.3,但是我得出的结果是:42.4,四舍五入咯,不是四社六入五成双的原则。 新手上路,大神帮我看看。 cout<<setiosflags(ios::fixed)<<setprecision(1)<<"T "<<t<<" D "<<d<<" H "<<h; Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator