Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register
ACM ICPC 2018 World Finals

G++WA但C++AC的童鞋,请查看你的输出

Posted by wjfwzzc at 2014-02-05 00:03:46 on Problem 1252
G++下,%.2lf是会挂的,正确用法是%.2f。
根据标准,double需要使用%lf读入,%f输出。%lf输出是非C标准里的内容,由VC扩展而来。
所以不妨查看下以前其他题G++WA但C++AC的代码,兴许全跪在这里了= =

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator