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 xueshanhaizi at 2008-05-22 17:12:48 on Problem 1045
In Reply To:Re:用流怎么输出小数点后3位? Posted by:liuyuquan100 at 2008-04-12 14:06:08
如果是C++,
cout<<fixed();
cout.precision(3);
cout<<VR<<endl;
这样就可以保留三位

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