| ||||||||||
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:为何这样AC cout<<setiosflags(ios::fixed)<<setprecision(6)<<x<<endl;这样就WA printf("%.6lf\n", x);In Reply To:Re:为何这样AC cout<<setiosflags(ios::fixed)<<setprecision(6)<<x<<endl;这样就WA printf("%.6lf\n", x); Posted by:cloudsky at 2017-02-12 18:15:34 不要用"%lf",poj要用"%f" bzoj等就可以用前者,不清楚为什么poj就不给用(貌似网上有分析?lf不是正规用法?) Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator