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:几周前写的自己运行起来都TLE, 刚刚看了disscuss才知道每次对坐标的枚举不必从零开始,就差那么一句,我就一直TLE,自己写了个 p = (int)ceil(x[i] - sqrt(y[i]*y[i]-(y[i]-y[0])*(y[i]-y[0])));官方数据都过了(和pOIn Reply To:几周前写的自己运行起来都TLE, 刚刚看了disscuss才知道每次对坐标的枚举不必从零开始,就差那么一句,我就一直TLE,自己写了个 p = (int)ceil(x[i] - sqrt(y[i]*y[i]-(y[i]-y[0])*(y[i]-y[0])));官方数据都过了(和pO Posted by:sunmoonstar_love at 2005-07-24 01:25:24 整数爆了…… Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator