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

后来人注意

Posted by Onlyan at 2011-09-01 21:54:40 on Problem 2908
若直接使用STL的优先队列+STRING会超时,我将STRING换成C中的字符串才可以。搜的时候若某个状态已经搜索过,要看此次搜索的花费是否比已有的值小,是则入队。如果全部入队,然后在每次弹出队头元素时再进行判断,有可能会超内存。

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