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

Re:HASH。拆成a1x13+ a2x23=-(a3x33+ a4x43+ a5x53)狂超时~~!看看过的程序是拆成a1x13+ a2x23+ a3x33=-(a4x43+ a5x53),改成这样的确用时少,为什么??

Posted by majia5 at 2009-03-12 15:50:02 on Problem 1840
In Reply To:HASH。拆成a1x13+ a2x23=-(a3x33+ a4x43+ a5x53)狂超时~~!看看过的程序是拆成a1x13+ a2x23+ a3x33=-(a4x43+ a5x53),改成这样的确用时少,为什么?? Posted by:z__jj at 2009-03-12 15:35:07
第一个计算了3次*-1,第二个只计算2次*-1

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