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

这样memset不会TLE了,memset(dp,0,2*(sum[i]+1));

Posted by wxfwxf328 at 2012-02-06 14:49:24 on Problem 3211
In Reply To:为什么不小心开大了数组dp【1000000】就tle了,开dp【100000】就ac。。。不解 Posted by:crg511 at 2008-11-22 13:41:53


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