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 lautsie at 2013-06-24 01:16:01 on Problem 1118
In Reply To:Re:WA中~求一组不能过的数据。。 Posted by:zhishicece at 2012-11-04 12:21:19
> 加上<cmath>,把if(abs(ans[i][0]-k)<1e-8)改成if(fabs(ans[i][0]-k)<1e-8)
> abs是对整数取绝对值
被这个搞死了半天,555

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