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:1003中我一直Wrong Answer,但我试过样例都对的!是不是我的输出格式问题?请问该怎么输出。

Posted by rebel at 2006-11-14 20:23:29
In Reply To:Re:1003中我一直Wrong Answer,但我试过样例都对的!是不是我的输出格式问题?请问该怎么输出。 Posted by:rebel at 2006-11-14 20:22:21
> 
> 
> 改成  $"%.2f"
> 
> 看的懂不?
%.2f

意思就是取两位小数

注意题目要求输出的是$xxxxx,你是不是把这个符号掉了?

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