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 |
大牛们,问个让我郁闷很有的问题我开始 dis=(int)(sqrt((2*piont[i].y*h-h*h)*1.0)); 死都不能过,后来改成如下: dis=(int)(sqrt((2*piont[i].y-h)*1.0)*sqrt(h*1.0)); 就过了,我发誓,我别的地方没改。 难道这个区别就这么大??? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator