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 jackchongs at 2013-05-12 12:32:58 on Problem 1974
比较全的测试数据, 大伙试一下。 
测试数据一:
4
1 5 2
1 2
1 4
1 1 0
2 3 0
5 5 5
1 1
1 2
1 4
1 5 
1 3
结果:
0
0
5
9

测试数据二:
9
3 1 0
2 1 0
1 1 0
3 2 0 
2 2 0
1 2 0 
3 3 0
2 3 0
1 3 0

输出结果:
1
1
0
5
4
1
6
5
1

测试数据三:
1
7 5 6 
1 1
3 2
4 1
4 3
5 2
7 1 
输出:
15

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