Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

1780
7704
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 (KiB) Verdict Score
0 1 0 3340 Accepted 100
1 1 4 7404 Accepted 100
2 2 0 3408 Accepted 100
3 2 0 3240 Accepted 100
4 2 0 3284 Accepted 100
5 2 4 7380 Accepted 100
6 2 4 7456 Accepted 100
7 2 4 7496 Accepted 100
8 2 4 7328 Accepted 100
9 2 0 3276 Accepted 100
10 2 0 3348 Accepted 100
11 2 4 7432 Accepted 100
12 2 4 7384 Accepted 100
13 2 0 3288 Accepted 100
14 2 4 7440 Accepted 100
15 2 4 7400 Accepted 100
16 2 4 7404 Accepted 100
17 2 4 7408 Accepted 100
18 2 4 7404 Accepted 100
19 2 4 7424 Accepted 100
20 2 4 7460 Accepted 100
21 3 12 7700 Accepted 100
22 3 16 7524 Accepted 100
23 3 12 7552 Accepted 100
24 3 12 7652 Accepted 100
25 3 16 7648 Accepted 100
26 3 12 7556 Accepted 100
27 3 12 7568 Accepted 100
28 3 16 7664 Accepted 100
29 3 12 7508 Accepted 100
30 3 12 7568 Accepted 100
31 3 12 7540 Accepted 100
32 3 16 7612 Accepted 100
33 3 12 7572 Accepted 100
34 3 12 7556 Accepted 100
35 3 12 7520 Accepted 100
36 3 12 7500 Accepted 100
37 3 12 7704 Accepted 100
38 3 12 7580 Accepted 100
39 3 12 7576 Accepted 100
40 3 12 7544 Accepted 100
41 3 12 7616 Accepted 100
42 3 12 7576 Accepted 100
43 3 4 7464 Accepted 100
44 3 4 7452 Accepted 100
45 3 4 7520 Accepted 100
46 3 4 7360 Accepted 100
47 3 4 7412 Accepted 100
48 3 4 7456 Accepted 100
49 3 4 7540 Accepted 100
50 3 4 7492 Accepted 100
51 3 4 7420 Accepted 100
52 3 4 7436 Accepted 100
53 3 8 7600 Accepted 100
54 3 8 7512 Accepted 100
55 3 8 7616 Accepted 100
56 3 8 7488 Accepted 100
57 3 8 7528 Accepted 100
58 3 4 7408 Accepted 100
59 3 8 7600 Accepted 100
60 3 12 7644 Accepted 100
61 3 4 7456 Accepted 100
62 3 12 7548 Accepted 100
63 3 4 7452 Accepted 100
64 3 4 7432 Accepted 100
65 3 4 7464 Accepted 100
66 3 8 7488 Accepted 100
67 3 8 7468 Accepted 100
68 3 8 7492 Accepted 100
69 3 12 7680 Accepted 100
70 3 12 7516 Accepted 100
71 3 12 7492 Accepted 100
72 3 12 7568 Accepted 100
73 3 4 7360 Accepted 100
74 3 4 7532 Accepted 100
75 3 4 7408 Accepted 100
76 3 4 7384 Accepted 100
77 3 4 7536 Accepted 100
78 3 4 7376 Accepted 100
79 3 4 7432 Accepted 100
80 3 4 7344 Accepted 100
81 3 4 7488 Accepted 100
82 3 4 7436 Accepted 100
83 3 4 7392 Accepted 100
84 3 4 7400 Accepted 100
85 3 0 3280 Accepted 100
86 3 0 3352 Accepted 100
87 3 0 3344 Accepted 100
88 3 4 7356 Accepted 100
89 3 4 7392 Accepted 100
90 3 4 7480 Accepted 100
91 3 4 7372 Accepted 100
92 3 4 7444 Accepted 100
93 3 0 3444 Accepted 100
94 3 0 3268 Accepted 100
95 3 4 7536 Accepted 100
96 3 4 7404 Accepted 100
97 3 4 7496 Accepted 100
98 3 4 7336 Accepted 100
99 3 4 7380 Accepted 100
100 4 16 7392 Accepted 100
101 4 16 7416 Accepted 100
102 4 16 7544 Accepted 100
103 4 16 7544 Accepted 100
104 4 16 7408 Accepted 100
105 4 16 7372 Accepted 100
106 4 16 7392 Accepted 100
107 4 16 7332 Accepted 100
108 4 16 7440 Accepted 100
109 4 16 7456 Accepted 100
110 4 16 7416 Accepted 100
111 4 16 7360 Accepted 100
112 4 16 7540 Accepted 100
113 4 16 7432 Accepted 100
114 4 16 7452 Accepted 100
115 4 12 7384 Accepted 100
116 4 12 7416 Accepted 100
117 4 16 7456 Accepted 100
118 4 12 7412 Accepted 100
119 4 16 7420 Accepted 100
120 4 16 7360 Accepted 100
121 4 16 7408 Accepted 100
122 4 16 7372 Accepted 100
123 4 16 7396 Accepted 100
124 4 16 7460 Accepted 100
125 4 16 7520 Accepted 100
126 4 16 7544 Accepted 100
127 4 16 7452 Accepted 100
128 4 16 7344 Accepted 100
129 4 16 7344 Accepted 100
130 4 16 7528 Accepted 100
131 4 16 7344 Accepted 100
132 4 16 7420 Accepted 100
133 4 16 7536 Accepted 100
134 4 16 7420 Accepted 100
135 4 16 7468 Accepted 100
136 4 16 7400 Accepted 100
137 4 16 7408 Accepted 100
138 4 12 7412 Accepted 100
139 4 4 7400 Accepted 100
140 4 12 7360 Accepted 100
141 4 12 7392 Accepted 100
142 4 4 7388 Accepted 100
143 4 12 7344 Accepted 100
144 4 12 7456 Accepted 100
145 4 12 7524 Accepted 100
146 4 16 7432 Accepted 100
147 4 16 7396 Accepted 100
148 4 8 7480 Accepted 100
149 4 12 7368 Accepted 100
150 4 8 7412 Accepted 100
151 4 4 7500 Accepted 100
152 4 4 7492 Accepted 100
153 4 4 7400 Accepted 100
154 4 4 7444 Accepted 100
155 4 4 7500 Accepted 100
156 4 4 7356 Accepted 100
157 4 4 7496 Accepted 100
158 4 4 7500 Accepted 100
159 4 4 7384 Accepted 100
160 4 4 7392 Accepted 100
161 4 4 7400 Accepted 100
162 4 4 7352 Accepted 100
163 4 4 7408 Accepted 100
164 4 4 7380 Accepted 100
165 4 4 7436 Accepted 100
166 4 4 7384 Accepted 100
167 4 4 7524 Accepted 100
168 4 4 7336 Accepted 100
169 4 4 7436 Accepted 100
170 4 4 7384 Accepted 100
171 4 4 7436 Accepted 100
172 4 4 7448 Accepted 100
173 4 4 7408 Accepted 100
174 4 4 7392 Accepted 100
175 4 4 7512 Accepted 100
176 4 4 7460 Accepted 100
177 4 4 7364 Accepted 100
178 4 4 7436 Accepted 100
179 4 4 7384 Accepted 100
180 4 4 7496 Accepted 100
181 4 4 7380 Accepted 100
182 4 4 7384 Accepted 100
183 4 4 7404 Accepted 100
184 4 4 7384 Accepted 100
185 4 4 7352 Accepted 100
186 4 4 7412 Accepted 100
187 5 16 7528 Accepted 100
188 5 12 7360 Accepted 100
189 5 16 7412 Accepted 100
190 5 16 7416 Accepted 100
191 5 16 7344 Accepted 100
192 5 16 7548 Accepted 100
193 5 16 7544 Accepted 100
194 5 16 7504 Accepted 100
195 5 16 7360 Accepted 100
196 5 4 7408 Accepted 100
197 5 4 7404 Accepted 100
198 5 4 7432 Accepted 100
199 5 4 7404 Accepted 100
200 5 4 7404 Accepted 100
201 5 4 7460 Accepted 100
202 5 4 7496 Accepted 100
203 5 4 7344 Accepted 100
204 5 4 7528 Accepted 100
205 5 4 7388 Accepted 100
206 5 4 7440 Accepted 100
207 5 4 7356 Accepted 100
208 5 4 7380 Accepted 100
209 5 4 7380 Accepted 100
210 5 4 7372 Accepted 100
211 5 8 7420 Accepted 100
212 5 4 7460 Accepted 100
213 5 4 7404 Accepted 100
214 5 4 7352 Accepted 100
215 5 8 7420 Accepted 100
216 5 4 7404 Accepted 100
217 5 4 7436 Accepted 100
218 5 4 7400 Accepted 100
219 5 4 7336 Accepted 100
220 5 16 7532 Accepted 100
221 5 4 7408 Accepted 100
222 5 8 7508 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.79 KB
Back to Top