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 |
终于ac了这题,搞了半天,真是弱啊:(不知道有人是不是用O(n^2)的算法过的,我不敢用 开始想了一个二分,wa了 然后发现可以在O(n)时间作出来,开始用int存,还是wa wa了3次才改成double类型,这才AC Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator