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 |
用O(n)的队列的方法,去掉STL的东西,输入用getchar,依然要3秒多。求教优化方法~In Reply To:还有个方法是单调队列,也O(n),但常数更小,你可以想想... Posted by:richardxx at 2008-02-10 01:19:45 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator