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

到底怎样才能不超时?

Posted by vincentguo at 2007-11-26 15:21:02 on Problem 3468
我是开数组
Array[i]:代表0-i 的和
求和:Array[end] - Array[start-1]
加值: 
i: start->end:
Array[i]+= (i-start+1)*c

但为什么还是超时

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