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:先得到的结果一定是最短的么?

Posted by challenger at 2007-03-01 17:36:45 on Problem 1166
In Reply To:先得到的结果一定是最短的么? Posted by:speedfirst at 2007-02-08 10:50:43
我也是有一样的问题,搜索到第一个就可以了,而且提交之后,通过。

如果想把所有的都搜索出来,然后再挑选一个最短的,会TLE。

有什么方法能证明第一个搜索出来的一定是最短的吗?

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