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 tzkq at 2009-10-27 09:15:43 on Problem 2965
In Reply To:同样,用C++ TLE,用G++ 391MS AC,想知道为什么? Posted by:Ontheline at 2009-03-02 12:58:36
估计是c++的deque实现比g++的弱些, 可能是动态分配内存时费时太多

如果换成数组bfs就没问题

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