Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

62026
3832
Time Limit Exceeded
42

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$ 0 / 47
5 187~222 無額外限制。 0 / 11

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.8 6348 3448 Accepted 100
1 1 0002.7 6348 3508 Accepted 100
2 2 0002.8 6348 3500 Accepted 100
3 2 0002.8 6348 3368 Accepted 100
4 2 0002.7 6348 3572 Accepted 100
5 2 0002.8 6348 3496 Accepted 100
6 2 0003.0 6348 3576 Accepted 100
7 2 0002.9 6348 3532 Accepted 100
8 2 0002.7 6348 3444 Accepted 100
9 2 0002.6 6348 3484 Accepted 100
10 2 0002.8 6348 3500 Accepted 100
11 2 0002.8 6348 3520 Accepted 100
12 2 0002.8 6348 3444 Accepted 100
13 2 0002.7 6348 3536 Accepted 100
14 2 0002.7 6348 3368 Accepted 100
15 2 0002.8 6348 3328 Accepted 100
16 2 0002.8 6348 3536 Accepted 100
17 2 0002.8 6348 3520 Accepted 100
18 2 0003.1 6348 3508 Accepted 100
19 2 0002.8 6348 3568 Accepted 100
20 2 0003.4 6348 3512 Accepted 100
21 3 0007.3 6416 3736 Accepted 100
22 3 0007.0 6412 3776 Accepted 100
23 3 0007.0 6412 3768 Accepted 100
24 3 0006.8 6412 3708 Accepted 100
25 3 0006.8 6412 3716 Accepted 100
26 3 0007.6 6408 3728 Accepted 100
27 3 0007.7 6408 3760 Accepted 100
28 3 0007.5 6408 3564 Accepted 100
29 3 0008.8 6412 3664 Accepted 100
30 3 0007.0 6412 3732 Accepted 100
31 3 0006.9 6412 3772 Accepted 100
32 3 0006.9 6412 3732 Accepted 100
33 3 0007.4 6412 3716 Accepted 100
34 3 0007.7 6412 3720 Accepted 100
35 3 0008.0 6408 3728 Accepted 100
36 3 0008.5 6408 3696 Accepted 100
37 3 0007.5 6408 3716 Accepted 100
38 3 0007.4 6416 3832 Accepted 100
39 3 0007.7 6408 3704 Accepted 100
40 3 0007.7 6412 3828 Accepted 100
41 3 0007.4 6412 3708 Accepted 100
42 3 0007.4 6408 3728 Accepted 100
43 3 0003.1 6348 3544 Accepted 100
44 3 0003.0 6348 3600 Accepted 100
45 3 0002.9 6348 3520 Accepted 100
46 3 0003.0 6348 3552 Accepted 100
47 3 0003.0 6348 3488 Accepted 100
48 3 0002.8 6348 3540 Accepted 100
49 3 0002.9 6348 3484 Accepted 100
50 3 0003.5 6348 3588 Accepted 100
51 3 0003.3 6348 3616 Accepted 100
52 3 0003.3 6348 3556 Accepted 100
53 3 0004.1 6348 3624 Accepted 100
54 3 0004.5 6348 3636 Accepted 100
55 3 0004.7 6352 3668 Accepted 100
56 3 0004.7 6352 3668 Accepted 100
57 3 0005.2 6364 3652 Accepted 100
58 3 0002.5 6348 3532 Accepted 100
59 3 0005.3 6372 3724 Accepted 100
60 3 0005.7 6376 3732 Accepted 100
61 3 0003.4 6348 3428 Accepted 100
62 3 0005.8 6380 3688 Accepted 100
63 3 0003.3 6348 3428 Accepted 100
64 3 0003.7 6348 3580 Accepted 100
65 3 0003.7 6348 3608 Accepted 100
66 3 0005.4 6356 3464 Accepted 100
67 3 0005.8 6372 3680 Accepted 100
68 3 0006.2 6380 3700 Accepted 100
69 3 0006.6 6388 3676 Accepted 100
70 3 0006.7 6396 3632 Accepted 100
71 3 0006.6 6396 3704 Accepted 100
72 3 0007.4 6408 3824 Accepted 100
73 3 0002.8 6348 3512 Accepted 100
74 3 0002.5 6348 3452 Accepted 100
75 3 0002.6 6348 3532 Accepted 100
76 3 0002.6 6348 3512 Accepted 100
77 3 0002.6 6348 3564 Accepted 100
78 3 0002.7 6348 3564 Accepted 100
79 3 0002.6 6348 3568 Accepted 100
80 3 0002.7 6348 3564 Accepted 100
81 3 0002.6 6348 3568 Accepted 100
82 3 0002.5 6348 3572 Accepted 100
83 3 0002.7 6348 3572 Accepted 100
84 3 0002.5 6348 3576 Accepted 100
85 3 0002.6 6348 3524 Accepted 100
86 3 0002.5 6348 3564 Accepted 100
87 3 0002.6 6348 3516 Accepted 100
88 3 0003.0 6348 3448 Accepted 100
89 3 0002.8 6348 3504 Accepted 100
90 3 0002.6 6348 3528 Accepted 100
91 3 0003.5 6348 3536 Accepted 100
92 3 0002.7 6348 3532 Accepted 100
93 3 0002.5 6348 3564 Accepted 100
94 3 0002.8 6348 3468 Accepted 100
95 3 0002.5 6348 3576 Accepted 100
96 3 0002.9 6348 3500 Accepted 100
97 3 0002.6 6348 3572 Accepted 100
98 3 0002.8 6348 3524 Accepted 100
99 3 0002.5 6348 3448 Accepted 100
100 4 0593.5 6404 3512 Time Limit Exceeded 0
101 4 0599.4 6404 3396 Time Limit Exceeded 0
102 4 0556.1 6408 3404 Time Limit Exceeded 0
103 4 0600.0 6412 3380 Time Limit Exceeded 0
104 4 0589.0 6404 3488 Time Limit Exceeded 0
105 4 0596.9 6412 3368 Time Limit Exceeded 0
106 4 0586.7 6408 3404 Time Limit Exceeded 0
107 4 0592.6 6404 3336 Time Limit Exceeded 0
108 4 0586.3 6412 3496 Time Limit Exceeded 0
109 4 0587.8 6412 3372 Time Limit Exceeded 0
110 4 0582.8 6404 3516 Time Limit Exceeded 0
111 4 0589.4 6408 3536 Time Limit Exceeded 0
112 4 0565.3 6408 3404 Time Limit Exceeded 0
113 4 0569.8 6392 3352 Time Limit Exceeded 0
114 4 0584.4 6388 3384 Time Limit Exceeded 0
115 4 0589.5 6396 3472 Time Limit Exceeded 0
116 4 0587.7 6400 3368 Time Limit Exceeded 0
117 4 0591.9 6396 3436 Time Limit Exceeded 0
118 4 0584.6 6400 3484 Time Limit Exceeded 0
119 4 0576.1 6408 3404 Time Limit Exceeded 0
120 4 0578.8 6408 3368 Time Limit Exceeded 0
121 4 0590.1 6408 3432 Time Limit Exceeded 0
122 4 0589.4 6408 3400 Time Limit Exceeded 0
123 4 0591.3 6400 3368 Time Limit Exceeded 0
124 4 0574.7 6396 3404 Time Limit Exceeded 0
125 4 0006.7 6408 3728 Accepted 100
126 4 0556.3 6408 3520 Time Limit Exceeded 0
127 4 0593.6 6408 3520 Time Limit Exceeded 0
128 4 0599.1 6404 3440 Time Limit Exceeded 0
129 4 0573.3 6412 3404 Time Limit Exceeded 0
130 4 0586.8 6400 3392 Time Limit Exceeded 0
131 4 0568.7 6408 3484 Time Limit Exceeded 0
132 4 0581.2 6404 3488 Time Limit Exceeded 0
133 4 0589.7 6412 3488 Time Limit Exceeded 0
134 4 0592.3 6400 3396 Time Limit Exceeded 0
135 4 0576.4 6408 3404 Time Limit Exceeded 0
136 4 0579.4 6408 3448 Time Limit Exceeded 0
137 4 0585.9 6396 3432 Time Limit Exceeded 0
138 4 0594.1 6364 3356 Time Limit Exceeded 0
139 4 0573.5 6348 3228 Time Limit Exceeded 0
140 4 0590.4 6368 3324 Time Limit Exceeded 0
141 4 0594.5 6400 3436 Time Limit Exceeded 0
142 4 0583.1 6348 3284 Time Limit Exceeded 0
143 4 0595.1 6380 3368 Time Limit Exceeded 0
144 4 0555.7 6360 3396 Time Limit Exceeded 0
145 4 0005.6 6368 3784 Accepted 100
146 4 0567.4 6396 3356 Time Limit Exceeded 0
147 4 0551.0 6408 3400 Time Limit Exceeded 0
148 4 0551.7 6348 3324 Time Limit Exceeded 0
149 4 0551.0 6376 3504 Time Limit Exceeded 0
150 4 0560.5 6348 3336 Time Limit Exceeded 0
151 4 0597.3 6348 3192 Time Limit Exceeded 0
152 4 0591.9 6348 3148 Time Limit Exceeded 0
153 4 0565.3 6348 3216 Time Limit Exceeded 0
154 4 0593.9 6348 3228 Time Limit Exceeded 0
155 4 0597.5 6348 3196 Time Limit Exceeded 0
156 4 0583.9 6348 3240 Time Limit Exceeded 0
157 4 0559.0 6348 3264 Time Limit Exceeded 0
158 4 0575.0 6348 3312 Time Limit Exceeded 0
159 4 0567.2 6348 3248 Time Limit Exceeded 0
160 4 0575.7 6348 3220 Time Limit Exceeded 0
161 4 0560.4 6348 3224 Time Limit Exceeded 0
162 4 0596.7 6348 3316 Time Limit Exceeded 0
163 4 0584.0 6348 3264 Time Limit Exceeded 0
164 4 0598.8 6348 3220 Time Limit Exceeded 0
165 4 0605.9 6348 3252 Time Limit Exceeded 0
166 4 0552.7 6348 3304 Time Limit Exceeded 0
167 4 0554.3 6348 3240 Time Limit Exceeded 0
168 4 0558.4 6348 3308 Time Limit Exceeded 0
169 4 0560.3 6348 3356 Time Limit Exceeded 0
170 4 0561.6 6348 3312 Time Limit Exceeded 0
171 4 0598.8 6348 3224 Time Limit Exceeded 0
172 4 0592.3 6348 3220 Time Limit Exceeded 0
173 4 0578.4 6348 3228 Time Limit Exceeded 0
174 4 0583.4 6348 3268 Time Limit Exceeded 0
175 4 0582.0 6348 3352 Time Limit Exceeded 0
176 4 0593.4 6348 3196 Time Limit Exceeded 0
177 4 0578.3 6348 3340 Time Limit Exceeded 0
178 4 0594.2 6348 3228 Time Limit Exceeded 0
179 4 0588.4 6348 3192 Time Limit Exceeded 0
180 4 0577.9 6348 3224 Time Limit Exceeded 0
181 4 0564.6 6348 3224 Time Limit Exceeded 0
182 4 0596.5 6348 3308 Time Limit Exceeded 0
183 4 0582.4 6348 3272 Time Limit Exceeded 0
184 4 0586.8 6348 3316 Time Limit Exceeded 0
185 4 0583.7 6348 3276 Time Limit Exceeded 0
186 4 0594.1 6348 3312 Time Limit Exceeded 0
187 5 0594.2 6412 3416 Time Limit Exceeded 0
188 5 0598.1 6412 3404 Time Limit Exceeded 0
189 5 0599.7 6408 3416 Time Limit Exceeded 0
190 5 0597.9 6348 3336 Time Limit Exceeded 0
191 5 0592.8 6412 3436 Time Limit Exceeded 0
192 5 0601.9 6376 3384 Time Limit Exceeded 0
193 5 0593.2 6412 3488 Time Limit Exceeded 0
194 5 0596.7 6380 3420 Time Limit Exceeded 0
195 5 0571.3 6408 3444 Time Limit Exceeded 0
196 5 0002.7 6348 3444 Accepted 100
197 5 0565.7 6348 3208 Time Limit Exceeded 0
198 5 0003.1 6348 3452 Accepted 100
199 5 0010.7 6348 3444 Accepted 100
200 5 0335.7 6348 3576 Accepted 100
201 5 0553.8 6348 3208 Time Limit Exceeded 0
202 5 0003.0 6348 3624 Accepted 100
203 5 0004.4 6348 3624 Accepted 100
204 5 0002.7 6348 3464 Accepted 100
205 5 0002.6 6348 3532 Accepted 100
206 5 0002.9 6348 3628 Accepted 100
207 5 0007.6 6348 3568 Accepted 100
208 5 0002.8 6348 3540 Accepted 100
209 5 0004.7 6348 3532 Accepted 100
210 5 0002.9 6348 3532 Accepted 100
211 5 0567.2 6348 3408 Time Limit Exceeded 0
212 5 0599.0 6348 3268 Time Limit Exceeded 0
213 5 0559.4 6348 3272 Time Limit Exceeded 0
214 5 0003.9 6348 3616 Accepted 100
215 5 0048.9 6360 3720 Accepted 100
216 5 0593.2 6348 3244 Time Limit Exceeded 0
217 5 0592.8 6348 3172 Time Limit Exceeded 0
218 5 0586.3 6348 3264 Time Limit Exceeded 0
219 5 0592.6 6348 3260 Time Limit Exceeded 0
220 5 0556.0 6380 3368 Time Limit Exceeded 0
221 5 0048.3 6348 3676 Accepted 100
222 5 0587.3 6364 3320 Time Limit Exceeded 0
Submitter:
Compiler:
c++17
Code Length:
1.57 KB
Back to Top