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:WA中~求一组不能过的数据。。

Posted by zhishicece at 2012-11-04 12:21:19 on Problem 1118
In Reply To:WA中~求一组不能过的数据。。 Posted by:Mr109 at 2011-10-08 15:32:25
加上<cmath>,把if(abs(ans[i][0]-k)<1e-8)改成if(fabs(ans[i][0]-k)<1e-8)
abs是对整数取绝对值

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