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

Re:终于知道为什么不可以用A*了

Posted by masque at 2009-09-05 12:09:42 on Problem 3463
In Reply To:终于知道为什么不可以用A*了 Posted by:BlueSkyThinker at 2009-09-04 20:02:51
>  一开始没想到什么好的方法,于是就用做类似k短路(2449)时的A*,但是发现总是MLE。于是去网上搜了一个解题报告,AC了后再来测试,发现此题的答案会超过10^8,如此之大的数量级,优先队列就把内存撑破了,而2449中则有限制k<=1000,所以不会MLE。~~菜鸟的想法。

ORZ...mel到死,非常非常感谢

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