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 lianxueyifang at 2011-07-27 07:54:55 on Problem 1042
测试数据
2
1
0 0
1 1
1
答案
60 0 
0

2
1
24 42
2 40
5
ans:
60, 0
Number of fish expected: 156

3
1
10 10 10
10 10 10
11 0

答案是
60,0,0
10

3
1
0 76 50
0 30 7
20 13

ans:
60, 0, 0
Number of fish expected: 0

22
12
9 51 13 98 2 88 76 81 95 18 41 56 88 58 28 87 19 79 68 27 79 42
7 13 8 1 2 6 24 19 78 3 38 38 31 44 15 43 12 19 28 8 71 9
4 95 28 58 43 56 24 82 41 75 4 27 99 98 37 64 31 37 56 28 18

Output:
0, 0, 0, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Number of fish expected: 1530

25
1
0 27 81 78 66 2 67 70 95 56 73 83 30 52 3 31 99 55 83 94 65 32 99 57 97
0 2 81 24 14 2 49 65 23 11 68 0 17 20 3 4 1 45 2 18 52 21 87 6 35
26 68 63 58 98 32 94 67 57 13 38 7 25 92 50 56 27 48 30 42 34 98 51 6

结果:
60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Number of fish expected: 0

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