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

发帖纪念一下

Posted by digiter at 2008-11-14 20:11:49 on Problem 1266 and last updated at 2008-11-14 20:12:16
1.atan2
http://www.cplusplus.com/reference/clibrary/cmath/atan2.html

2.ceil
http://www.cplusplus.com/reference/clibrary/cmath/ceil.html

3.floor
http://www.cplusplus.com/reference/clibrary/cmath/floor.html


由于浮点误差,可能会出现比如x = 2.0000001的情况(准确值是2.0),此时ceil(x)会返回3.0,需要用EPS修正

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