Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

真不会优化了,提取公因式,减少浮点运算,之后反而更慢了,最慢的居然比最快的慢了0.9s,太离谱了,不优化了

Posted by frkstyc at 2005-06-05 19:47:00 on Problem 2100
In Reply To:灵感好像又来了,一次AC Posted by:frkstyc at 2005-06-05 19:30:27
> 忽然想到枚举最大和最小的差值,就这么把O(n^(1/2))改成了O(n^(1/3))

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator