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 |
G++WA但C++AC的童鞋,请查看你的输出G++下,%.2lf是会挂的,正确用法是%.2f。 根据标准,double需要使用%lf读入,%f输出。%lf输出是非C标准里的内容,由VC扩展而来。 所以不妨查看下以前其他题G++WA但C++AC的代码,兴许全跪在这里了= = Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator