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

贴数据 用dfs+树状数组375ms A过

Posted by io07 at 2014-08-15 15:35:21 on Problem 3321
20
1 2 
1 3
1 4
2 5
2 7
2 8
2 9
3 6
3 10
4 11
4 12
5 13
5 14
5 15
7 16
7 17
9 18
11 19
12 20

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

ans:
20
11
3
5
4
1
3
1
2
1
2
2
1
1
1
1
1
1
1
1

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