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

如果WA又找不出错误可以参考一下这两条建议

Posted by zjmlianxi at 2018-02-22 16:22:06 on Problem 3684
第一是检查一下除法运算中操作数的数据类型,如果都是整数可能得不到预期的结果。
第二是检查一下最后的输出,如果使用了"%.2lf"的格式控制符可以尝试一下"%.2f"输出。

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