Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5854
9676
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資。 0 / 0
2 2~20 $nm \le 16$ 7 / 7
3 21~99 $n = 2$ 或 $m = 2$ 35 / 35
4 100~186 $n \ge 12$ 且 $m \ge 12$ 47 / 47
5 187~222 無額外限制。 11 / 11

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0025.3 16676 9172 Accepted 100
1 1 0025.1 17668 9084 Accepted 100
2 2 0025.8 17668 9232 Accepted 100
3 2 0025.1 17668 9196 Accepted 100
4 2 0025.3 16676 9164 Accepted 100
5 2 0025.7 17668 9120 Accepted 100
6 2 0025.5 16676 9124 Accepted 100
7 2 0025.7 16676 9252 Accepted 100
8 2 0025.1 16676 9316 Accepted 100
9 2 0025.1 17668 9072 Accepted 100
10 2 0025.7 17668 9172 Accepted 100
11 2 0025.2 17668 9320 Accepted 100
12 2 0025.7 16676 9320 Accepted 100
13 2 0024.9 17668 9056 Accepted 100
14 2 0025.5 16676 9168 Accepted 100
15 2 0025.5 17668 9224 Accepted 100
16 2 0025.4 16676 9068 Accepted 100
17 2 0025.6 16676 9100 Accepted 100
18 2 0026.0 17668 9000 Accepted 100
19 2 0026.4 16676 9216 Accepted 100
20 2 0025.5 16676 9168 Accepted 100
21 3 0028.3 17668 9576 Accepted 100
22 3 0027.1 17668 9548 Accepted 100
23 3 0027.6 17668 9368 Accepted 100
24 3 0027.0 17668 9472 Accepted 100
25 3 0027.5 17668 9284 Accepted 100
26 3 0027.2 17668 9436 Accepted 100
27 3 0027.7 17668 9308 Accepted 100
28 3 0027.2 17668 9292 Accepted 100
29 3 0027.1 17668 9504 Accepted 100
30 3 0026.8 17668 9336 Accepted 100
31 3 0027.1 17668 9440 Accepted 100
32 3 0027.0 17668 9340 Accepted 100
33 3 0027.4 17668 9324 Accepted 100
34 3 0026.5 17668 9384 Accepted 100
35 3 0027.5 17668 9412 Accepted 100
36 3 0027.4 17668 9404 Accepted 100
37 3 0026.7 17668 9672 Accepted 100
38 3 0027.1 17668 9440 Accepted 100
39 3 0028.2 17668 9536 Accepted 100
40 3 0027.8 17668 9452 Accepted 100
41 3 0027.7 17668 9520 Accepted 100
42 3 0027.8 17668 9536 Accepted 100
43 3 0025.5 17668 9220 Accepted 100
44 3 0025.3 17668 9232 Accepted 100
45 3 0025.5 17668 9160 Accepted 100
46 3 0025.6 17668 9132 Accepted 100
47 3 0025.7 17668 9412 Accepted 100
48 3 0026.0 17668 9132 Accepted 100
49 3 0026.1 17668 9148 Accepted 100
50 3 0025.8 17668 9224 Accepted 100
51 3 0025.8 17668 9228 Accepted 100
52 3 0025.8 17668 9152 Accepted 100
53 3 0026.1 17668 9312 Accepted 100
54 3 0026.3 17668 9340 Accepted 100
55 3 0026.7 17668 9628 Accepted 100
56 3 0027.2 17668 9272 Accepted 100
57 3 0027.1 17668 9428 Accepted 100
58 3 0024.9 17668 9440 Accepted 100
59 3 0027.3 17668 9404 Accepted 100
60 3 0026.8 17668 9364 Accepted 100
61 3 0025.6 17668 9388 Accepted 100
62 3 0026.9 17668 9340 Accepted 100
63 3 0026.1 17668 9292 Accepted 100
64 3 0025.9 17668 9268 Accepted 100
65 3 0025.8 17668 9572 Accepted 100
66 3 0026.3 17668 9404 Accepted 100
67 3 0026.5 17668 9476 Accepted 100
68 3 0027.6 17668 9332 Accepted 100
69 3 0027.5 17668 9400 Accepted 100
70 3 0026.9 17668 9484 Accepted 100
71 3 0027.0 17668 9452 Accepted 100
72 3 0028.1 17668 9640 Accepted 100
73 3 0025.5 17668 9100 Accepted 100
74 3 0025.1 16676 9116 Accepted 100
75 3 0025.6 16676 9176 Accepted 100
76 3 0025.9 17668 9232 Accepted 100
77 3 0025.3 17668 9108 Accepted 100
78 3 0025.3 17668 9328 Accepted 100
79 3 0025.5 17668 9180 Accepted 100
80 3 0025.7 16676 9156 Accepted 100
81 3 0025.4 16676 9336 Accepted 100
82 3 0025.0 17668 9356 Accepted 100
83 3 0025.4 17668 9196 Accepted 100
84 3 0025.4 16676 9128 Accepted 100
85 3 0025.3 17668 9076 Accepted 100
86 3 0025.2 17668 8964 Accepted 100
87 3 0025.1 16676 9092 Accepted 100
88 3 0024.7 16676 9256 Accepted 100
89 3 0025.1 17668 9096 Accepted 100
90 3 0026.0 16676 9220 Accepted 100
91 3 0025.0 17668 9288 Accepted 100
92 3 0024.6 17668 9124 Accepted 100
93 3 0026.0 16676 9324 Accepted 100
94 3 0025.4 17668 9124 Accepted 100
95 3 0025.3 17668 9220 Accepted 100
96 3 0025.0 17668 8996 Accepted 100
97 3 0025.5 16676 9172 Accepted 100
98 3 0025.2 16676 9228 Accepted 100
99 3 0025.1 17668 9184 Accepted 100
100 4 0027.5 17668 9236 Accepted 100
101 4 0027.1 17668 9392 Accepted 100
102 4 0027.1 17668 9300 Accepted 100
103 4 0027.8 17668 9340 Accepted 100
104 4 0027.2 17668 9404 Accepted 100
105 4 0027.0 17668 9428 Accepted 100
106 4 0027.9 17668 9524 Accepted 100
107 4 0027.5 17668 9520 Accepted 100
108 4 0027.4 17668 9568 Accepted 100
109 4 0027.7 17668 9376 Accepted 100
110 4 0027.9 17668 9388 Accepted 100
111 4 0027.2 17668 9356 Accepted 100
112 4 0026.9 17668 9400 Accepted 100
113 4 0027.0 17668 9676 Accepted 100
114 4 0027.0 17668 9396 Accepted 100
115 4 0027.1 17668 9388 Accepted 100
116 4 0027.3 17668 9452 Accepted 100
117 4 0027.2 17668 9384 Accepted 100
118 4 0027.2 17668 9508 Accepted 100
119 4 0026.9 17668 9496 Accepted 100
120 4 0027.0 17668 9424 Accepted 100
121 4 0026.9 17668 9448 Accepted 100
122 4 0027.8 17668 9444 Accepted 100
123 4 0027.1 17668 9432 Accepted 100
124 4 0027.1 17668 9340 Accepted 100
125 4 0027.1 17668 9584 Accepted 100
126 4 0027.2 17668 9304 Accepted 100
127 4 0027.4 17668 9404 Accepted 100
128 4 0027.1 17668 9424 Accepted 100
129 4 0026.9 17668 9408 Accepted 100
130 4 0026.9 17668 9364 Accepted 100
131 4 0027.0 17668 9660 Accepted 100
132 4 0027.4 17668 9344 Accepted 100
133 4 0026.9 17668 9576 Accepted 100
134 4 0027.1 17668 9244 Accepted 100
135 4 0026.5 17668 9300 Accepted 100
136 4 0027.4 17668 9456 Accepted 100
137 4 0027.4 17668 9528 Accepted 100
138 4 0026.8 17668 9496 Accepted 100
139 4 0025.0 17668 9104 Accepted 100
140 4 0027.3 17668 9356 Accepted 100
141 4 0028.7 17668 9428 Accepted 100
142 4 0026.4 17668 9268 Accepted 100
143 4 0027.1 17668 9560 Accepted 100
144 4 0026.8 17668 9400 Accepted 100
145 4 0026.5 17668 9644 Accepted 100
146 4 0026.9 17668 9508 Accepted 100
147 4 0026.6 17668 9332 Accepted 100
148 4 0026.0 17668 9576 Accepted 100
149 4 0026.7 17668 9316 Accepted 100
150 4 0026.6 17668 9516 Accepted 100
151 4 0025.3 17668 9276 Accepted 100
152 4 0025.4 17668 9124 Accepted 100
153 4 0025.0 17668 9196 Accepted 100
154 4 0025.3 17668 9248 Accepted 100
155 4 0025.6 17668 9180 Accepted 100
156 4 0025.1 17668 9312 Accepted 100
157 4 0025.1 17668 9268 Accepted 100
158 4 0025.5 17668 9176 Accepted 100
159 4 0025.5 17668 9264 Accepted 100
160 4 0025.6 17668 9180 Accepted 100
161 4 0024.9 17668 9048 Accepted 100
162 4 0025.5 17668 9348 Accepted 100
163 4 0024.9 17668 9132 Accepted 100
164 4 0025.4 17668 9352 Accepted 100
165 4 0025.7 17668 9204 Accepted 100
166 4 0026.5 17668 9152 Accepted 100
167 4 0025.0 17668 9376 Accepted 100
168 4 0026.0 17668 9380 Accepted 100
169 4 0026.0 17668 9360 Accepted 100
170 4 0025.6 17668 9196 Accepted 100
171 4 0026.5 17668 9300 Accepted 100
172 4 0025.4 17668 9100 Accepted 100
173 4 0025.4 17668 8988 Accepted 100
174 4 0026.1 17668 9196 Accepted 100
175 4 0025.6 17668 9284 Accepted 100
176 4 0025.6 17668 9220 Accepted 100
177 4 0025.4 17668 9148 Accepted 100
178 4 0025.7 17668 9284 Accepted 100
179 4 0025.3 17668 9332 Accepted 100
180 4 0025.5 17668 9288 Accepted 100
181 4 0026.2 17668 9448 Accepted 100
182 4 0025.6 17668 9252 Accepted 100
183 4 0025.2 17668 9256 Accepted 100
184 4 0026.1 17668 9212 Accepted 100
185 4 0025.9 17668 9320 Accepted 100
186 4 0026.0 17668 9188 Accepted 100
187 5 0026.7 17668 9460 Accepted 100
188 5 0028.1 17668 9320 Accepted 100
189 5 0028.0 17668 9556 Accepted 100
190 5 0027.0 17668 9540 Accepted 100
191 5 0028.2 17668 9392 Accepted 100
192 5 0027.7 17668 9372 Accepted 100
193 5 0027.1 17668 9392 Accepted 100
194 5 0027.3 17668 9576 Accepted 100
195 5 0027.4 17668 9464 Accepted 100
196 5 0025.1 17668 9284 Accepted 100
197 5 0025.6 17668 9300 Accepted 100
198 5 0025.8 17668 9112 Accepted 100
199 5 0025.9 17668 9076 Accepted 100
200 5 0025.0 16676 9140 Accepted 100
201 5 0025.5 16676 9332 Accepted 100
202 5 0025.5 17668 9072 Accepted 100
203 5 0025.3 16676 9128 Accepted 100
204 5 0025.0 16676 9188 Accepted 100
205 5 0025.6 17668 9184 Accepted 100
206 5 0025.3 17668 9308 Accepted 100
207 5 0025.1 17668 9272 Accepted 100
208 5 0025.3 16676 9188 Accepted 100
209 5 0025.9 16676 9028 Accepted 100
210 5 0025.3 17668 9220 Accepted 100
211 5 0026.1 17668 9332 Accepted 100
212 5 0026.1 17668 9336 Accepted 100
213 5 0026.3 17668 9392 Accepted 100
214 5 0026.3 17668 9224 Accepted 100
215 5 0026.3 17668 9504 Accepted 100
216 5 0026.1 17668 9208 Accepted 100
217 5 0025.4 17668 9076 Accepted 100
218 5 0026.2 17668 9196 Accepted 100
219 5 0026.0 17668 9312 Accepted 100
220 5 0026.6 17668 9244 Accepted 100
221 5 0025.6 17668 9388 Accepted 100
222 5 0027.4 17668 9388 Accepted 100
Submitter:
Compiler:
python3
Code Length:
1.83 KB
Back to Top