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:bellman RE的注意了。。边数组一定要开的大。。我开了10000

Posted by soledada at 2013-05-12 11:30:28 on Problem 2240
In Reply To:bellman RE的注意了。。边数组一定要开的大。。我开了10000 Posted by:yayu_myself at 2009-12-31 17:36:01
> 刚开始只开了顶点的2倍,re,5倍还是一样。。10.。一样。。没办法。开了个大的。。10000倍过了。。
> 
> 最后改成10000也行。。- -
> 
> 还要注意,map一次完成之后要清空啊~~~~~~~map.clear()
我edge原来是500没有过 看了帖子开到10000果然过了!!
不过我的map没有清空  映射没有清空竟然也行的诶  

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