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:用流怎么输出小数点后3位?

Posted by liuyuquan100 at 2008-04-12 14:06:08 on Problem 1045
In Reply To:用流怎么输出小数点后3位? Posted by:TOTAL at 2008-04-08 22:58:34
> Setprecision(3)?
> 好像不是小数点后3位,而是科学计数法的小数点后三位...
setprecision(3)<<setiosflags(ios::fixed)

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