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

留下几组自己的测试数据

Posted by archerstarlee at 2008-12-28 14:09:25 on Problem 1655
7
1 2
1 3
1 4
1 5
5 6
6 7
=============
1 3

8
1 2
1 3
1 4
1 5
5 6
6 7
7 8
============
1 4

10
1 2
1 3
1 4
1 5
5 6
6 7
7 8
5 9
4 10
===========
1 5

11
1 2
1 3
2 4
2 5
4 8
5 9
3 6
3 7
10 1
11 2
==========
2 5

12
1 2
1 3
2 4
2 5
4 8
5 9
3 6
3 7
10 1
==========
11 2

本来是想用两次BFS的,发现即使用堆还是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