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

你可以输出-0.000000,多少个0都可以但就是不可以有不是0的数字

Posted by frkstyc at 2007-12-31 12:56:02 on Problem 3477
In Reply To:发一下要注意的一些…… Posted by:wywcgs at 2007-12-31 11:05:21
> 基本上都是精度问题……
> 
> 1. 直接用%lf输出是不行的,因为默认输出到小数点后6位,而题目要求10位
> 2. 不要输出-0.00000之类的东西,我怀疑spj判负数的方法就是字符串读入然后检查第一个字符,所以这个就挂了

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