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 MasterR at 2010-11-22 11:44:46 on Problem 2486
艰难AC啊。

22 8
3 9 5 6 7 1 1 2 3 1 9 2 3 1 9 1 2 4 5 1 2 1
1 2
1 3
1 4
4 7
4 8
9 4
2 5
6 2
5 10
5 11
12 5
7 15
15 17
16 15
8 13
14 8
14 18
19 18
20 19
20 21
20 22

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

输出分别应为39 和 30。

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