Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

对STL的速度一直很怀疑...

Posted by Takk at 2008-07-20 23:10:33 on Problem 3322
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator