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 |
请教下为什么有些人讲要排序,我排序270+ms,不排序0ms算法很简单,约掉该约的,然后可以开始乘,reuslt>某个数(1000000000)就开始除分母,result<某个数(0.0001)就开始乘分子。这样就可以了。不用排序阿。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator