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

其实最该改的是"%.6f",这个东西是对应float而不是对应double的,不过ms很多人喜欢混着用

Posted by frkstyc at 2005-04-27 10:06:19 on Problem 1491
In Reply To:Re:代码 Posted by:00448176 at 2005-04-27 10:02:07
printf里面是不是有判断,有的时候%f也可以输出double?

> 将double改为float就行了

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