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 |
Re:simpson卡着时限过去了…… 恶心的3D几何还卡精度、卡常数的蛋疼题。In Reply To:simpson卡着时限过去了…… 恶心的3D几何还卡精度、卡常数的蛋疼题。 Posted by:xuhaoran510 at 2011-12-06 22:45:15 > RT > > eps=1e-9 => TLE > eps=1e-8 => WA > eps=5e-9 => AC 没必要simpson吧,这题明摆着有O(1)的积分式嘛。 PS:积分方法更好写,复杂度也是n^2*log(n) Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator