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

究竟输出格式要怎样?

Posted by joelai_Scut at 2006-04-06 20:53:37 on Problem 2802
第一个例子那个A->A是37.5%,如果四舍五入,应该是38%,但他却是37%
那个0.9XXXX%他会自动变成1%,如果我取其最小的整数,他就会变成0%
很郁闷....
我应该怎样忽略小数部分呢?

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