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 |
对STL的速度一直很怀疑...In Reply To:Re:都是cin惹得祸,将其换为getchar()之后时间一下子降到了641ms; 开始慢的两个重要原因,1、cin;2、使用标准库中queue Posted by:happynp at 2008-06-22 14:48:00 自己写队列,单向BFS,不加任何优化就可以422MS了 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator