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:做的过程中用Float,输出要四舍五入

Posted by seol at 2004-11-20 17:00:28 on Problem 1929
In Reply To:做的过程中用Float,输出要四舍五入 Posted by:windbells at 2004-11-18 21:10:37
float和double都试了,都是WA。
输入数据是long int和char,百分比转换时用的是float或double,
输出用的是long int,这样可以四舍五入了吗?

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