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 |
弱菜再提几点In Reply To:补充重要俩点 Posted by:su03121231 at 2014-04-30 00:18:22 用double二分的: 1.while(l<r-eps)里eps最少取1e-3 2.出于各种原因,二分时检测能够剪出的总段数sum用int时没WA 3.l,r二分返回l会WA,r能AC 4.输出答案时要防止四舍五入,不然会WA 用__int64二分的: 1.输入数据要+0.005再处理...虽然不知道为什么 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator