Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
微分方程+二分+枚举分别求出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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator