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 AngOn823 at 2016-05-12 17:57:14 on Problem 1129
In Reply To:Re:无语了!这题不是暴搜做的应该是错误的!建议加强数据 Posted by:DieIng at 2008-08-18 03:01:01
> 
> 这组数据有错误啊。。。。。题目说了。如果a和b相连接。那么b也必须和a连接。你的c和d连接。但是d的连接边却没c。。。。。。

我更无语。。这是关键么
给D加个C不就是了。
不暴搜肯定也是可以做出来的,只不过要遍历所有情况取最优,不能找到一个合理解就return

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