Judge's Data for 2008 DSPC

Problem A:

6
0 2 3 2 4 2 5 1 7 4 8 1
3
1 3 8 2 6 1
100
1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 53 53 54 54 55 55 56 56 57 57 58 58 59 59 60 60 61 61 62 62 63 63 64 64 65 65 66 66 67 67 68 68 69 69 70 70 71 71 72 72 73 73 74 74 75 75 76 76 77 77 78 78 79 79 80 80 81 81 82 82 83 83 84 84 85 85 86 86 87 87 88 88 89 89 90 90 91 91 92 92 93 93 94 94 95 95 96 96 97 97 98 98 99 99 100 100
100
1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10 1 11 1 12 1 13 1 14 1 15 1 16 1 17 1 18 1 19 1 20 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 38 1 39 1 40 1 41 1 42 1 43 1 44 1 45 1 46 1 47 1 48 1 49 1 50 1 51 1 52 1 53 1 54 1 55 1 56 1 57 1 58 1 59 1 60 1 61 1 62 1 63 1 64 1 65 1 66 1 67 1 68 1 69 1 70 1 71 1 72 1 73 1 74 1 75 1 76 1 77 1 78 1 79 1 80 1 81 1 82 1 83 1 84 1 85 1 86 1 87 1 88 1 89 1 90 1 91 1 92 1 93 1 94 1 95 1 96 1 97 1 98 1 99 1 100 1
100
1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 2 10 2 11 2 12 2 13 2 14 2 15 2 16 2 17 2 18 2 19 2 20 2 21 2 22 2 23 2 24 2 25 2 26 2 27 2 28 2 29 2 30 2 31 2 32 2 33 2 34 2 35 2 36 2 37 2 38 2 39 2 40 2 41 2 42 2 43 2 44 2 45 2 46 2 47 2 48 2 49 2 50 2 51 2 52 2 53 2 54 2 55 2 56 2 57 2 58 2 59 2 60 2 61 2 62 2 63 2 64 2 65 2 66 2 67 2 68 2 69 2 70 2 71 2 72 2 73 2 74 2 75 2 76 2 77 2 78 2 79 2 80 2 81 2 82 2 83 2 84 2 85 2 86 2 87 2 88 2 89 2 90 2 91 2 92 2 93 2 94 2 95 2 96 2 97 2 98 2 99 2 100 2
100
1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 2 10 2 11 2 12 2 13 2 14 2 15 2 16 2 17 2 18 2 19 2 20 2 21 2 22 2 23 2 24 2 25 2 26 2 27 2 28 2 29 2 30 2 31 2 32 1 33 2 34 2 35 2 36 2 37 2 38 2 39 2 40 2 41 2 42 2 43 2 44 2 45 2 46 2 47 2 48 2 49 2 50 2 51 2 52 2 53 2 54 2 55 2 56 2 57 2 58 2 59 2 60 2 61 2 62 2 63 2 64 2 65 2 66 2 67 2 68 2 69 2 70 2 71 2 72 2 73 2 74 2 75 2 76 2 77 2 78 2 79 2 80 2 81 2 82 2 83 2 84 2 85 2 86 2 87 2 88 2 89 2 90 2 91 2 92 2 93 2 94 2 95 2 96 2 97 2 98 2 99 2 100 2
20
0 1 1 2 4 5 6 10 8 3 10 1 11 2 14 5 16 10 18 3 20 1 21 2 24 5 26 10 28 3 30 1 31 2 34 5 36 10 38 3 
20
0 1 1 2 4 5 6 10 8 1 10 1 11 2 14 55 16 10 18 3 20 1 21 2 24 5 26 10 28 3 30 1 31 2 34 5 36 1 38 3 
0

Problem B:

5
35 28 30 30
49 25 37 38
39 28 30 30
37 29 33 35
32 30 35 40
6
30 30 30 30
30 30 30 30
30 30 30 30
30 30 30 30
30 30 30 29 
29 30 30 30
4
30 30 30 30
30 30 30 30
30 30 30 30
30 30 30 30
4
40 52 59 58
29 37 19 30
29 37 58 30
29 37 57 30
96
30 40 50 59
30 40 50 59
30 40 50 59
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
30 40 50 59
30 40 50 59
30 40 50 59
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
30 40 50 59
30 40 50 59
30 40 50 59
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
30 40 50 59
30 40 50 59
30 40 50 59
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
30 41 53 59
30 40 51 50
30 40 30 50
32 40 50 59
32 41 53 59
32 40 51 50
32 30 30 50
80
56 20 32 24
23 45 16 44
53 29 18 43
37 56 40 15
49 33 27 11
52 54 49 48
24 19 29 29
27 55 25 33
31 11 15 41
29 51 26 57
40 11 44 35
23 23 25 24
29 52 32 58
14 30 46 31
59 31 54 19
11 10 26 33
59 28 32 21
58 30 38 48
26 59 38 21
34 43 51 20
11 17 20 34
28 19 48 37
46 55 49 42
27 12 35 50
27 12 36 23
52 40 21 54
16 17 39 48
52 38 41 37
44 56 17 43
42 29 43 29
37 22 24 10
26 56 51 19
26 55 29 36
52 33 32 37
27 50 37 37
43 44 40 51
14 40 38 57
58 11 24 22
45 13 26 40
36 13 32 49
41 42 24 39
25 46 30 33
59 26 30 24
44 38 18 39
44 19 44 51
25 21 16 29
39 10 48 53
16 20 49 43
58 59 42 27
25 49 32 30
58 19 47 36
40 21 44 57
42 42 33 26
37 48 27 45
55 55 43 34
59 55 16 25
53 34 22 57
51 18 53 21
27 55 33 47
39 28 44 16
31 55 42 58
44 31 53 30
47 53 52 25
35 32 47 44
25 15 34 54
27 45 30 26
31 59 16 20
19 11 53 23
38 14 25 58
59 32 53 10
30 38 30 17
42 55 45 57
53 59 21 13
12 10 54 42
28 10 32 44
25 56 43 48
40 12 29 31
11 11 24 36
24 15 46 34
31 15 23 58
32
22 51 22 16
41 53 47 29
33 40 53 31
23 44 49 44
18 13 15 20
54 16 41 56
50 22 39 40
15 55 48 12
40 24 18 34
49 22 33 11
39 18 41 55
22 15 27 53
54 51 28 52
41 42 53 50
46 25 24 19
39 18 36 48
51 51 23 32
57 36 23 33
33 28 53 20
11 50 16 52
11 35 50 14
28 37 18 54
13 39 41 41
40 23 38 10
29 52 45 40
33 44 32 22
43 15 46 21
51 17 19 11
43 53 53 33
35 43 21 37
15 37 26 45
53 58 38 19
40
42 11 44 20
10 30 18 41
11 57 52 17
41 58 39 58
15 14 52 37
31 10 31 52
12 38 17 35
19 29 24 57
29 11 30 40
58 55 54 37
56 54 25 17
17 45 47 27
14 41 45 46
22 14 34 36
42 10 52 50
36 40 26 56
58 49 47 36
54 33 37 53
33 55 35 29
11 55 36 28
36 31 52 42
47 21 50 29
11 59 24 27
18 59 19 18
19 11 43 47
56 37 24 27
55 47 47 38
24 25 35 34
56 11 26 47
38 32 45 49
38 52 39 11
36 37 26 44
55 44 18 47
25 15 24 43
41 55 23 28
32 32 49 25
48 43 25 40
27 27 42 27
57 49 31 49
51 17 26 19
0

Problem C:

TOTEM
MADAM
AEIUI3A
MOTOM
BABYCAKES
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
T3TTTTT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1 0 1 0 1 0 1 0
4 8
1 2 1 3 1 4 1 5 2 0 3 0 4 0 5 0
4 16
1 2 1 3 1 4 1 5 2 0 3 0 4 0 5 0 1 2 2 0 2 0 1 5 5 0 5 0 5 0 5 0
3 10
1 4 1 2 1 3 2 4 2 3 3 4 3 4 4 0 3 0 3 0
1 29
1 0 1 0 1 2 1 2 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0
7 18
1 2 1 2 2 3 2 3 3 4 3 4 4 5 4 5 5 6 5 6 6 7 6 7 7 8 7 8 8 0 8 0 3 4 5 6
0 0

Problem F:

5 rwbgoyrg
F c B c R t R t K c
3 rrrwyyyb
L c T c K t
20 gbwwyorg
F t B t R c F c B c K c T c R t F t B t R c F c B c K c T c R t L c B t R c K t
10 rwrwrwrw
R c R c R c R c R c R c R c R c R c R c
8 wwryobgg
R c B c R c B c R c B c R c B c
7 yoygyrrb
T c R c F c B c L c B t T c
0