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 |
再进一步优化In Reply To:Re:暴搜,进一步“优化”。。。。 Posted by:smilerxz at 2009-08-04 21:24:01 我发现 for(a=1;a*a*a<=n;a++)//a是最小的数 for(b=a;a*b*b<=n;b++)//b是第二小的数 。。。 更优化唉,但是是16ms。郁闷一下。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator