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:各位用GCC G++提交wa的,不妨用C++试试。。。。

Posted by looping at 2010-10-14 18:52:18 on Problem 1862
In Reply To:各位用GCC G++提交wa的,不妨用C++试试。。。。 Posted by:Anxier at 2010-07-29 16:05:32
是不是输入输出的问题啊?

G++提交用cout<<fixed<<setprecision(3)<<stripies[0]<<endl;——AC
而用printf("%0.3lf\n",stripies[0]);——WA

C++则都可以

Why???

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