| ||||||||||
| 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:TLE 的朋友注意了!In Reply To:TLE 的朋友注意了! Posted by:zhangfeifei at 2010-08-07 15:08:15 兄弟说的很对,一开始超时,结果我加了个 stack Dustbin//垃圾回收栈
再加一句
if(Dustbin.top!=0)p=pop(&Dustbin);
else
p=(node*)malloc(sizeof(node));
170ms
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator