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:为什么输出格式是%lf是错误的?改成% f就正确了?求教

Posted by yfsyfs at 2019-09-27 22:26:05 on Problem 2420
In Reply To:为什么输出格式是%lf是错误的?改成% f就正确了?求教 Posted by:ACM20101610510 at 2011-09-19 21:03:54
> 为什么输出格式是%lf是错误的?改成% f就正确了?求教

你的eps一般是 1e-8吧,但是弱弱的告诉你
lf为双精度输出,有15-16位有效数字,f为单精度输出,有6-7位有效数字。
懂?

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