30 50
8 16
19 22
20 27
22 25
2 23
10 11
2 20
10 18
10 28
15 25
2 16
19 25
8 11
1 22
18 27
29 30
13 30
9 18
20 28
14 30
27 29
4 12
5 22
3 22
4 21
16 28
21 27
20 22
26 28
25 27
12 25
18 23
15 17
16 20
6 10
4 10
24 30
3 30
7 19
23 26
1 18
11 20
23 25
28 29
5 20
8 30
17 30
9 24
2 17
1 3
60
24193 67416
60315 81699
30623 75952
35762 79997
62066 19951
22490 15142
50470 57850
39885 82743
74504 87339
29019 98565
52160 35475
31674 88458
81564 82146
65135 26406
61062 36262
32397 34797
31934 94348
53586 80373
70174 28719
8956 59596
2884 73135
45150 70926
52194 96187
47338 74028
89530 14085
33656 67992
40895 38196
82002 73612
63849 17504
53672 48819
20718 89820
13247 88089
26154 29353
29979 77381
24653 38986
32431 72724
19737 25277
53274 55205
74298 16536
73295 22475
4618 2613
62229 79643
78491 50291
17456 89413
98336 87345
36401 25492
13278 69423
38174 23794
49970 36494
44404 8374
86056 71291
14653 24242
98375 48971
1473 24884
45029 8410
85238 53754
81670 36356
60388 3013
89981 10613
75730 62475
39
165
210
119
300
265
103
286
86
160
167
26
104
69
290
260
239
262
261
245
125
284
132
275
250
107
244
181
280
175
158
145
163
61
10
211
179
22
58
134
231
120
136
70
237
271
139
202
276
235
66
79
52
251
170
227
172
166
216
194
197
189
106
31
205
153
282
9
157
258
89
225
182
296
17
94
98
183
226
199
140
27
178
72
48
273
204
293
135
20
110
176
64
149
54
198
152
131
230
218
292
51
49
117
274
257
25
209
50
223
60
23
13
40
93
253
101
252
83
177
113
299
11
220
208
124
223
128
273
202
274
353
8
186
97
297
163
213
28
347
374
239
49
142
158
42
102
396
77
348
61
149
216
173
296
156
269
188
389
187
196
66
79
36
192
125
177
84
355
145
243
395
153
376
95
278
207
21
323
154
99
271
139
86
236
340
330
3
43
266
183
375
157
198
32
162
220
256
106
55
150
366
87
363
261
189
98
322
379
141
46
182
195
370
4
254
246
82
71
314
147
247
235
215
316
107
369
41
208
385
344
311
126
371
349
13
134
233
291
327
270
118
219
214
303
160
76
351
244
104
337
113
294
6
133
73
74
228
308
24
356
67
345
47
306
9
137
368
257
232
359
114
282
44
292
302
70
304
112
204
15
393
144
152
319
343
332
307
373
26
227
81
197
264
221
17
30
184
328
93
83
321
65
230
205
171
299
123
2
317
63
190
387
284
362
25
361
11
193
378
224
222
161
57
178
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
0 KB |
한 거주 지역에는 한 종족만 배정할 수 있습니다. |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Partially correct |
0 ms |
0 KB |
Output is partially correct: C = 7 |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
0 KB |
Output is incorrect: C = 422425 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
0 KB |
Unexpected end of file - int32 expected |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
0 KB |
Unexpected end of file - int32 expected |
2 |
Halted |
0 ms |
0 KB |
- |