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

Re:大家注意,以后输出实数G++用cout,不然就是WA,C++没关系。我WA了n久……

Posted by hyerty at 2009-08-28 00:07:37 on Problem 1135 and last updated at 2009-08-28 00:08:07
In Reply To:大家注意,以后输出实数G++用cout,不然就是WA,C++没关系。我WA了n久…… Posted by:lqp18_31 at 2009-07-24 12:15:21
我也是,本机通过,下载官方测试数据全部通过,用G++提交就WA,改C++就AC。
后来一想,难道G++的浮点格式控制用%f,G++换%.1f输入实数后提交,也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