Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

61212
4776
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.6 7192 3464 Accepted 100
1 1 0002.5 7192 3560 Accepted 100
2 2 0002.6 7192 3636 Accepted 100
3 2 0002.6 7192 3460 Accepted 100
4 2 0002.5 7192 3568 Accepted 100
5 2 0002.5 7192 3636 Accepted 100
6 2 0002.5 7192 3636 Accepted 100
7 2 0002.5 7192 3596 Accepted 100
8 2 0002.7 7192 3632 Accepted 100
9 2 0002.4 7192 3460 Accepted 100
10 2 0002.6 7192 3572 Accepted 100
11 2 0002.6 7192 3596 Accepted 100
12 2 0002.5 7192 3596 Accepted 100
13 2 0002.6 7192 3600 Accepted 100
14 2 0002.6 7192 3644 Accepted 100
15 2 0002.6 7192 3468 Accepted 100
16 2 0002.6 7192 3644 Accepted 100
17 2 0002.6 7192 3572 Accepted 100
18 2 0002.5 7192 3632 Accepted 100
19 2 0002.5 7192 3468 Accepted 100
20 2 0002.6 7192 3568 Accepted 100
21 3 0008.0 7220 4748 Accepted 100
22 3 0005.3 7228 3764 Accepted 100
23 3 0005.3 7228 3700 Accepted 100
24 3 0005.3 7220 3736 Accepted 100
25 3 0008.7 7224 3864 Accepted 100
26 3 0008.5 7224 3736 Accepted 100
27 3 0005.2 7220 3792 Accepted 100
28 3 0005.3 7224 3760 Accepted 100
29 3 0008.2 7224 3588 Accepted 100
30 3 0008.3 7224 3728 Accepted 100
31 3 0009.1 7224 3632 Accepted 100
32 3 0008.5 7224 3736 Accepted 100
33 3 0008.1 7224 4772 Accepted 100
34 3 0008.4 7220 4768 Accepted 100
35 3 0008.2 7224 4600 Accepted 100
36 3 0008.5 7224 4764 Accepted 100
37 3 0008.6 7224 4696 Accepted 100
38 3 0008.4 7224 4732 Accepted 100
39 3 0008.1 7224 4604 Accepted 100
40 3 0008.4 7224 4776 Accepted 100
41 3 0009.2 7220 4600 Accepted 100
42 3 0011.6 7224 4700 Accepted 100
43 3 0003.0 7192 3824 Accepted 100
44 3 0003.8 7192 3828 Accepted 100
45 3 0002.7 7192 3580 Accepted 100
46 3 0002.8 7192 3660 Accepted 100
47 3 0002.7 7192 3664 Accepted 100
48 3 0003.0 7192 3604 Accepted 100
49 3 0002.9 7192 3660 Accepted 100
50 3 0003.0 7192 3616 Accepted 100
51 3 0003.3 7192 3832 Accepted 100
52 3 0003.4 7192 3860 Accepted 100
53 3 0003.5 7192 3656 Accepted 100
54 3 0004.5 7192 3672 Accepted 100
55 3 0004.0 7192 3752 Accepted 100
56 3 0003.9 7192 3728 Accepted 100
57 3 0004.4 7192 3716 Accepted 100
58 3 0002.7 7192 3480 Accepted 100
59 3 0004.3 7192 3768 Accepted 100
60 3 0004.5 7192 3728 Accepted 100
61 3 0003.7 7192 3956 Accepted 100
62 3 0004.5 7192 3772 Accepted 100
63 3 0003.5 7192 4032 Accepted 100
64 3 0003.6 7192 3984 Accepted 100
65 3 0003.8 7192 4048 Accepted 100
66 3 0005.7 7192 4400 Accepted 100
67 3 0006.4 7196 4496 Accepted 100
68 3 0006.6 7200 4516 Accepted 100
69 3 0007.3 7204 4476 Accepted 100
70 3 0007.4 7208 4624 Accepted 100
71 3 0007.4 7208 4672 Accepted 100
72 3 0008.5 7220 4672 Accepted 100
73 3 0002.6 7192 3700 Accepted 100
74 3 0002.5 7192 3584 Accepted 100
75 3 0002.4 7192 3572 Accepted 100
76 3 0002.6 7192 3652 Accepted 100
77 3 0002.5 7192 3588 Accepted 100
78 3 0002.5 7192 3644 Accepted 100
79 3 0002.5 7192 3556 Accepted 100
80 3 0002.5 7192 3588 Accepted 100
81 3 0002.5 7192 3588 Accepted 100
82 3 0002.8 7192 3640 Accepted 100
83 3 0002.5 7192 3636 Accepted 100
84 3 0002.7 7192 3596 Accepted 100
85 3 0002.7 7192 3468 Accepted 100
86 3 0002.6 7192 3572 Accepted 100
87 3 0002.7 7192 3572 Accepted 100
88 3 0002.6 7192 3692 Accepted 100
89 3 0002.7 7192 3564 Accepted 100
90 3 0002.6 7192 3636 Accepted 100
91 3 0003.2 7192 3564 Accepted 100
92 3 0002.5 7192 3560 Accepted 100
93 3 0002.5 7192 3628 Accepted 100
94 3 0003.4 7192 3568 Accepted 100
95 3 0002.6 7192 3628 Accepted 100
96 3 0002.6 7192 3576 Accepted 100
97 3 0002.5 7192 3632 Accepted 100
98 3 0002.5 7192 3648 Accepted 100
99 3 0002.5 7192 3600 Accepted 100
100 4 0587.3 7220 3392 Time Limit Exceeded 0
101 4 0579.6 7216 3520 Time Limit Exceeded 0
102 4 0580.4 7224 3656 Time Limit Exceeded 0
103 4 0561.8 7220 3552 Time Limit Exceeded 0
104 4 0580.0 7224 3452 Time Limit Exceeded 0
105 4 0577.1 7224 3616 Time Limit Exceeded 0
106 4 0575.6 7220 3612 Time Limit Exceeded 0
107 4 0577.2 7220 3720 Time Limit Exceeded 0
108 4 0566.8 7220 3596 Time Limit Exceeded 0
109 4 0589.9 7224 3696 Time Limit Exceeded 0
110 4 0566.8 7224 3512 Time Limit Exceeded 0
111 4 0580.6 7224 3384 Time Limit Exceeded 0
112 4 0583.3 7224 3644 Time Limit Exceeded 0
113 4 0571.0 7204 3352 Time Limit Exceeded 0
114 4 0553.2 7204 3528 Time Limit Exceeded 0
115 4 0562.9 7212 3480 Time Limit Exceeded 0
116 4 0567.5 7216 3504 Time Limit Exceeded 0
117 4 0566.2 7212 3460 Time Limit Exceeded 0
118 4 0572.8 7216 3456 Time Limit Exceeded 0
119 4 0598.4 7224 3476 Time Limit Exceeded 0
120 4 0576.1 7220 3576 Time Limit Exceeded 0
121 4 0566.7 7224 3456 Time Limit Exceeded 0
122 4 0592.8 7220 3580 Time Limit Exceeded 0
123 4 0590.3 7216 3472 Time Limit Exceeded 0
124 4 0564.3 7212 3544 Time Limit Exceeded 0
125 4 0005.4 7220 3780 Accepted 100
126 4 0571.1 7220 3488 Time Limit Exceeded 0
127 4 0574.9 7224 3540 Time Limit Exceeded 0
128 4 0572.6 7220 3512 Time Limit Exceeded 0
129 4 0583.2 7224 3448 Time Limit Exceeded 0
130 4 0565.6 7212 3544 Time Limit Exceeded 0
131 4 0584.6 7216 3532 Time Limit Exceeded 0
132 4 0572.3 7220 3512 Time Limit Exceeded 0
133 4 0572.9 7220 3500 Time Limit Exceeded 0
134 4 0559.1 7220 3516 Time Limit Exceeded 0
135 4 0580.9 7224 3444 Time Limit Exceeded 0
136 4 0561.5 7224 3464 Time Limit Exceeded 0
137 4 0590.1 7208 3524 Time Limit Exceeded 0
138 4 0567.6 7192 3412 Time Limit Exceeded 0
139 4 0576.3 7192 3332 Time Limit Exceeded 0
140 4 0576.6 7192 3456 Time Limit Exceeded 0
141 4 0568.0 7220 3600 Time Limit Exceeded 0
142 4 0599.6 7192 3352 Time Limit Exceeded 0
143 4 0568.9 7196 3508 Time Limit Exceeded 0
144 4 0579.4 7192 3456 Time Limit Exceeded 0
145 4 0004.9 7192 3812 Accepted 100
146 4 0590.1 7208 3508 Time Limit Exceeded 0
147 4 0573.9 7220 3436 Time Limit Exceeded 0
148 4 0590.5 7192 3344 Time Limit Exceeded 0
149 4 0578.6 7196 3428 Time Limit Exceeded 0
150 4 0571.8 7192 3388 Time Limit Exceeded 0
151 4 0568.3 7192 3420 Time Limit Exceeded 0
152 4 0569.4 7192 3284 Time Limit Exceeded 0
153 4 0585.2 7192 3424 Time Limit Exceeded 0
154 4 0572.9 7192 3216 Time Limit Exceeded 0
155 4 0559.7 7192 3216 Time Limit Exceeded 0
156 4 0563.6 7192 3252 Time Limit Exceeded 0
157 4 0568.6 7192 3376 Time Limit Exceeded 0
158 4 0582.8 7192 3288 Time Limit Exceeded 0
159 4 0582.5 7192 3376 Time Limit Exceeded 0
160 4 0569.4 7192 3376 Time Limit Exceeded 0
161 4 0572.9 7192 3272 Time Limit Exceeded 0
162 4 0577.1 7192 3232 Time Limit Exceeded 0
163 4 0563.7 7192 3332 Time Limit Exceeded 0
164 4 0565.3 7192 3216 Time Limit Exceeded 0
165 4 0577.7 7192 3368 Time Limit Exceeded 0
166 4 0569.5 7192 3400 Time Limit Exceeded 0
167 4 0567.1 7192 3328 Time Limit Exceeded 0
168 4 0577.1 7192 3320 Time Limit Exceeded 0
169 4 0580.1 7192 3388 Time Limit Exceeded 0
170 4 0590.1 7192 3324 Time Limit Exceeded 0
171 4 0554.2 7192 3320 Time Limit Exceeded 0
172 4 0580.8 7192 3252 Time Limit Exceeded 0
173 4 0597.5 7192 3384 Time Limit Exceeded 0
174 4 0590.7 7192 3388 Time Limit Exceeded 0
175 4 0573.0 7192 3320 Time Limit Exceeded 0
176 4 0562.6 7192 3400 Time Limit Exceeded 0
177 4 0601.3 7192 3336 Time Limit Exceeded 0
178 4 0573.2 7192 3280 Time Limit Exceeded 0
179 4 0558.4 7192 3308 Time Limit Exceeded 0
180 4 0573.6 7192 3244 Time Limit Exceeded 0
181 4 0576.0 7192 3404 Time Limit Exceeded 0
182 4 0563.2 7192 3380 Time Limit Exceeded 0
183 4 0567.8 7192 3384 Time Limit Exceeded 0
184 4 0579.2 7192 3252 Time Limit Exceeded 0
185 4 0579.5 7192 3436 Time Limit Exceeded 0
186 4 0551.0 7192 3312 Time Limit Exceeded 0
187 5 0581.4 7220 3364 Time Limit Exceeded 0
188 5 0585.1 7220 3696 Time Limit Exceeded 0
189 5 0573.6 7224 3656 Time Limit Exceeded 0
190 5 0578.5 7192 3336 Time Limit Exceeded 0
191 5 0583.2 7220 3464 Time Limit Exceeded 0
192 5 0567.6 7192 3392 Time Limit Exceeded 0
193 5 0587.8 7224 3568 Time Limit Exceeded 0
194 5 0578.1 7200 3364 Time Limit Exceeded 0
195 5 0579.3 7224 3572 Time Limit Exceeded 0
196 5 0003.1 7192 3644 Accepted 100
197 5 0553.5 7192 3204 Time Limit Exceeded 0
198 5 0002.8 7192 3612 Accepted 100
199 5 0009.3 7192 3468 Accepted 100
200 5 0258.5 7192 3588 Accepted 100
201 5 0576.8 7192 3272 Time Limit Exceeded 0
202 5 0002.5 7192 3564 Accepted 100
203 5 0003.9 7192 3572 Accepted 100
204 5 0002.6 7192 3644 Accepted 100
205 5 0002.5 7192 3576 Accepted 100
206 5 0002.7 7192 3576 Accepted 100
207 5 0006.4 7192 3600 Accepted 100
208 5 0002.5 7192 3564 Accepted 100
209 5 0004.1 7192 3468 Accepted 100
210 5 0002.5 7192 3636 Accepted 100
211 5 0584.1 7192 3396 Time Limit Exceeded 0
212 5 0573.1 7192 3480 Time Limit Exceeded 0
213 5 0598.2 7192 3496 Time Limit Exceeded 0
214 5 0004.0 7192 3800 Accepted 100
215 5 0041.8 7192 3896 Accepted 100
216 5 0570.3 7192 3256 Time Limit Exceeded 0
217 5 0564.5 7192 3384 Time Limit Exceeded 0
218 5 0563.8 7192 3372 Time Limit Exceeded 0
219 5 0569.5 7192 3436 Time Limit Exceeded 0
220 5 0571.7 7196 3396 Time Limit Exceeded 0
221 5 0042.7 7192 3676 Accepted 100
222 5 0577.1 7192 3476 Time Limit Exceeded 0
Submitter:
Compiler:
c++17
Code Length:
1.3 KB
Back to Top