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 |
printf()是没有"%lf"这种格式的In Reply To:请教高手:同样的代码为什么提交到C就AC了,提交到GCC却错误答案? Posted by:sunryuan at 2010-05-27 12:46:08 http://www.cplusplus.com/reference/cstdio/printf/?kw=printf 浮点类型无前缀一律转换为double;long double加大写"L"前缀;"lf"之类的是微软自己发明的…… Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator