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:真受不了那些用dfs还贴代码的人,那是题目数据太弱,不是你写对了,给你一组数据你跑一辈子也跑不完。

Posted by antares95 at 2016-04-20 12:48:03 on Problem 1062
In Reply To:真受不了那些用dfs还贴代码的人,那是题目数据太弱,不是你写对了,给你一组数据你跑一辈子也跑不完。 Posted by:illuminator at 2013-03-28 20:30:47
> 100 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 10000 1 13
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> 10 10
> 11 11
> 12 12
> 13 13
> 
> 这是13个物品,每个之间都能换,这个例子你一两个小时也跑不出来,换成100你的算法这辈子都跑不出来。

DFS秒出....

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