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:为什么用double就错了,float对了。。。。。。。。。求解

Posted by 1311610617 at 2018-06-15 16:58:24 on Problem 1004
In Reply To:为什么用double就错了,float对了。。。。。。。。。求解 Posted by:a7884594 at 2014-05-28 20:49:00
double也没关系,但是输出的时候用%.2f是对的,而%.2lf是错的。我还没发现原因。。。

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