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:输出格式理解错了 不理解错的话,程序太简单了

Posted by lily137808083 at 2012-03-08 10:11:44 on Problem 1004
In Reply To:输出格式理解错了 不理解错的话,程序太简单了 Posted by:secret_long at 2005-11-04 13:17:44
> 我把题目输出格式理解的太复杂了
> 我把它理解成要精确到美分,并且输出格式是**.**
> 平均正好是整数的,输出时也要按照上面的格式,即**.00
> 平均正好是**.*,即正好到小数点后一位,输出格式是:**.*0
> 如果平均的小数点位数多于2位,则按四舍五入的方法精确到小数点后两位,其输出格式:**.**
>      
> 我是这样理解的 编了好久才编出来
> 不过我的很复杂 但也通过了
就设置格式为.00 就ok了啊

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