Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:同样是0ms------好方法!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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator