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:有个问题不解……In Reply To:有个问题不解…… Posted by:200530501412 at 2007-04-07 22:00:16 > 在清空堆栈的时候(我用stl做的) > 用 > for(i=0;i<forward.size();i++)// > forward.pop();//clear the forward stack > WA > > 然后我改为 > while(!forward.empty())//用这个就对了 > forward.pop(); > 就ac了 > > --貌似这道题两年没有人问过了…… > > foward.size()变了呀。老大。没清完。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator