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:复杂度是O(n * log n * log n),不要写错左右。In Reply To:复杂度是O(n * log n * log n),不要写错左右。 Posted by:a280920481 at 2019-01-15 22:54:45 寻找因数的过程类比素数筛,复杂度是: O( n/1 + n/2 + n/3 + n/4 + ... + n/(n-1) + n/n ) 当作函数积分一下,就是 n * log n Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator