0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-27 18:56:28 +00:00
OI-codes/BZOJ/2217/data/18.in

303 lines
1.1 KiB (Stored with Git LFS)
Plaintext

70 300
TTTTTTTTTTTWTTTTTWTTWWTTTTWTWTTWTTTTWWTTTTTTWTTTTTTTTTTTTWTWTTTWTTTTTT
120
112
32
90
74
74
89
41
36
38
121
116
43
40
71
101
74
138
51
12
75
79
75
22
113
131
27
74
68
71
115
47
50
14
127
121
78
76
22
112
104
140
87
13
40
25
111
111
22
22
113
94
98
54
107
78
44
131
18
102
62
123
139
102
127
126
89
72
68
108
43
38
108
127
41
138
11
12
108
31
31
88
115
126
132
81
63
43
72
71
135
131
61
10
99
54
133
47
116
60
15
25
88
113
12
126
117
20
135
91
41
32
38
23
18
30
101
71
63
32
140
64
29
60
64
118
111
63
32
87
113
44
102
67
23
111
60
130
122
54
80
29
77
116
42
92
136
134
29
65
32
28
126
52
85
50
36
56
110
58
140
83
99
108
16
112
79
73
101
67
118
48
86
61
23
119
19
25
112
38
87
10
57
72
52
139
119
86
61
89
10
67
38
100
35
51
71
111
115
39
37
99
77
113
26
97
98
35
119
76
63
72
77
117
10
126
116
120
71
43
75
72
101
110
38
133
27
99
103
132
128
137
97
71
116
113
34
74
138
19
16
61
81
83
37
82
76
19
68
13
60
140
75
20
116
110
19
133
69
119
132
63
115
88
125
97
61
25
37
65
35
44
116
106
124
20
54
66
29
112
70
79
118
11
96
93
112
105
93
40
83
84
93
64
38
84
28
89
107
55