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

同样是AC,大家都用了0ms+3M多的内存,我只用了999ms+22M内存。

Posted by gniuxiao at 2007-04-08 20:29:50 on Problem 2081
In Reply To:同样是0ms,大家都用了3M多的内存,我只用了420k。 Posted by:DoWhile_SCUT at 2005-05-03 00:17:56
> 420大部分是储存某个数是否已被实用,每bit一个数。
> 没有用数组储存a[i],而储存输入的数据,递推过程中把符合的i对应的a[i]也储存起来,最后按输入数据的顺序输出。

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