-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-case.txt
194 lines (173 loc) · 2.93 KB
/
test-case.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
5 3
4g *t *e *p
*n 1k *l 2e
*q *e 2c 4e
3t *t 2m *d
4g *t *e *p
*n 1k *l *e
*q *e 2c *e
*t *t *m *d
3 3
1a 1a *a
*a *a *a
*a *a *a
11 11
*a *a *a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a *a *a
9 9
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
8 7
a b c d e f g h i
*# *# *# *# *# *# *#
*# *# *# *# *# *# *#
*# *# *# *# *# *# *#
*# *# *# *# *# *# *#
*# *# *# *# *# *# *#
*# *# *# *# *# *# *#
*# *# *# *# *# *# *#
7 7
*a *a *a *a *a *a *a
*a *a *a *a *a *a *a
*a *a *a *a *a *a *a
*a *a *a *a *a *a *a
*a *a *a *a *a *a *a
*a *a *a *a *a *a *a
*a *a *a *a *a *a *a
8 8
*a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a
9 9
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
*a *a *a *a *a *a *a *a *a
5 9
r g b y p
5# *# *# 7# 4# *# *# *# *#
*# 2# *# *# *# *# *# *# *#
4# *# *# 6# 9# *# *# *# 5#
*# *# *# 1# *# 4# *# 2# 9#
*# 7# *# *# *# *# 6# 4# 1#
*# 4# *# *# *# 9# 3# *# 7#
*# *# 2# *# *# *# 9# 1# *#
7# 9# *# *# *# 6# 5# *# *#
3# 5# 4# 9# *# *# 7# *# 6#
4 3
r g b y
1# 2# 3#
2# 3# 1#
3# 1# 2#
5 3
r g b y p
1# *b *#
*# 3r *#
*g 1# *#
=========
5 3
r g b y p
1# *r *#
*# 3g *#
*g 1# *#
no result
==========
4 3
r g y p
1# *b *#
*# 3# *#
*g 1# *#
no result
========
5 3
r g b y p
1# *b *#
*# 3# *g
*g 1# *#
==========
5 4
r g b y p
*# 2b *r *#
*# *# *# *#
4r *# *# *p
*# 4# *# *#
===============
6 5
r g b y p o
*# 2b *r *# *#
*# *# *# *# *#
5r *# *# *# *p
*# 4# *# *# *#
1# *# 5# *# *#
new table
4g 2b 3r 1o 5b
2o 5g 1o 3p 4y
5r 1o 4p 2o 3p
3p 4y 2o 5b 1o
1o 3p 5b 4y 2p
==================================
6 5
r g b y p o
4# 2b 3r 1# 5#
2# 5# 1# 3# 4#
5r 1# 4# 2# 3p
3# 4# 2# 5# 1#
1# 3# 5# 4# 2#
5 5
r g b y p
*# 2b *r *# *#
*# *# *# *# 4y
*# *# *# *# *p
*# *# *# *# *#
1# *# 5r *# 2p
result
5g 2b 4r 3y 1p
3y 5g 2y 1p 4y
2p 4y 1p 5y 3p
4y 1p 3y 2p 5y
1p 3y 5r 4y 2p
===================================
5 7
r g b y p
7r 2b 6r *# *# *# 1p
*# *# *# *# 4y *# *#
*# 3p *# *# 1p *# *#
*# *# 2p *# *# *# 7r
1p *# 7r *# 2p *# *#
*# 6g *# *# *# *# 2p
*# *# *# 3y *# *# *#
new table
7r 2b 6r 5y 3p 4y 1p
2p 7g 3y 1p 4y 6b 5y
6b 3p 5b 2y 1p 7g 4p
3y 5b 2p 4b 6g 1p 7r
1p 4y 7r 6g 2p 5b 3y
4y 6g 1p 7r 5b 3y 2p
5b 1p 4b 3y 7g 2p 6r
=========================