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 Chan_keyword at 2020-07-28 18:50:20 on Problem 3933
分别求出x方向,y方向速度-时间,位移-时间公式(用微分方程,结果见https://kns.cnki.net/KCMS/detail/detail.aspx?dbcode=CJFQ&dbname=CJFD2008&filename=DXWL200812009&v=MDMwMzExVDNxVHJXTTFGckNVUjdxZllPUm5GeUhnVnIvSUlUWGNZckc0SHRuTnJZOUZiWVI4ZVgxTHV4WVM3RGg=)

因为theta是整数,所以枚举theta在(α,90]区间,对每一个θ,在时间区间(0,inf)间二分,
二分依据是斜率k=y/x与tan(alpha),
    if(k<tan(alpha))low = mid;
    else high = mid;
记录下最大x对应的theta即可。

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