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

终于过了……神气的G++,C++,%f,%lf

Posted by dashashi at 2010-05-08 03:31:19 on Problem 1031
经过测试,发现用G++提交的时候,printf里面必须用%f,scanf里面必须用%lf,不然就会WA
然后在C++里面printf里面必须是%lf,不然会WA,scanf用lf,f都没问题……大悲剧……

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