Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

66248
30892
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.7 7208 3516 Accepted 100
1 1 0002.7 7208 3380 Accepted 100
2 2 0002.9 7208 3508 Accepted 100
3 2 0002.7 7208 3532 Accepted 100
4 2 0002.9 7208 3568 Accepted 100
5 2 0002.7 7208 3520 Accepted 100
6 2 0002.6 7208 3528 Accepted 100
7 2 0003.2 7208 3644 Accepted 100
8 2 0002.7 7208 3580 Accepted 100
9 2 0002.9 7208 3508 Accepted 100
10 2 0002.6 7208 3544 Accepted 100
11 2 0002.7 7208 3576 Accepted 100
12 2 0002.7 7208 3576 Accepted 100
13 2 0003.1 7208 3636 Accepted 100
14 2 0003.0 7208 3536 Accepted 100
15 2 0003.0 7208 3640 Accepted 100
16 2 0002.9 7208 3548 Accepted 100
17 2 0002.7 7208 3552 Accepted 100
18 2 0002.7 7208 3464 Accepted 100
19 2 0002.7 7208 3548 Accepted 100
20 2 0002.8 7208 3480 Accepted 100
21 3 0058.1 23092 20220 Accepted 100
22 3 0060.9 23096 19272 Accepted 100
23 3 0053.3 22828 19016 Accepted 100
24 3 0052.9 22956 19112 Accepted 100
25 3 0053.2 22960 19012 Accepted 100
26 3 0058.0 22956 18908 Accepted 100
27 3 0052.8 22964 19108 Accepted 100
28 3 0052.5 22960 19060 Accepted 100
29 3 0053.1 22956 19188 Accepted 100
30 3 0055.0 23092 19124 Accepted 100
31 3 0053.3 23092 19224 Accepted 100
32 3 0060.8 23096 19264 Accepted 100
33 3 0058.0 22824 19928 Accepted 100
34 3 0057.5 22960 19988 Accepted 100
35 3 0057.3 22956 20008 Accepted 100
36 3 0062.0 22960 20028 Accepted 100
37 3 0058.1 22964 20116 Accepted 100
38 3 0058.8 22964 20020 Accepted 100
39 3 0058.5 22956 20096 Accepted 100
40 3 0059.1 23092 20200 Accepted 100
41 3 0056.7 23096 20200 Accepted 100
42 3 0060.4 23092 20228 Accepted 100
43 3 0004.5 7604 4112 Accepted 100
44 3 0004.7 7736 4180 Accepted 100
45 3 0003.2 7340 3736 Accepted 100
46 3 0003.5 7472 3844 Accepted 100
47 3 0004.1 7604 3924 Accepted 100
48 3 0004.1 7604 3852 Accepted 100
49 3 0004.8 7736 4136 Accepted 100
50 3 0006.7 8132 4628 Accepted 100
51 3 0006.2 8132 4828 Accepted 100
52 3 0007.2 8132 4848 Accepted 100
53 3 0016.4 11464 7956 Accepted 100
54 3 0019.9 12796 8828 Accepted 100
55 3 0026.6 14944 11200 Accepted 100
56 3 0027.8 15736 11828 Accepted 100
57 3 0032.7 16680 12884 Accepted 100
58 3 0003.2 7208 3632 Accepted 100
59 3 0034.8 17744 13972 Accepted 100
60 3 0036.5 18284 14516 Accepted 100
61 3 0007.5 8528 5240 Accepted 100
62 3 0036.6 18416 14572 Accepted 100
63 3 0008.0 8660 5444 Accepted 100
64 3 0009.8 9188 5968 Accepted 100
65 3 0012.0 9848 6740 Accepted 100
66 3 0030.9 15876 12564 Accepted 100
67 3 0040.1 18284 15300 Accepted 100
68 3 0042.6 18684 15456 Accepted 100
69 3 0047.2 20284 17352 Accepted 100
70 3 0049.0 20684 17884 Accepted 100
71 3 0049.2 20828 18076 Accepted 100
72 3 0055.7 22560 19288 Accepted 100
73 3 0003.7 7208 3556 Accepted 100
74 3 0002.4 7208 3588 Accepted 100
75 3 0002.5 7208 3388 Accepted 100
76 3 0002.7 7208 3556 Accepted 100
77 3 0002.7 7208 3560 Accepted 100
78 3 0002.8 7208 3556 Accepted 100
79 3 0002.7 7208 3580 Accepted 100
80 3 0002.8 7208 3532 Accepted 100
81 3 0004.2 7208 3584 Accepted 100
82 3 0002.5 7208 3540 Accepted 100
83 3 0002.8 7208 3528 Accepted 100
84 3 0003.6 7208 3516 Accepted 100
85 3 0002.8 7208 3468 Accepted 100
86 3 0002.7 7208 3576 Accepted 100
87 3 0002.7 7208 3536 Accepted 100
88 3 0002.7 7208 3548 Accepted 100
89 3 0002.7 7208 3384 Accepted 100
90 3 0002.9 7208 3384 Accepted 100
91 3 0002.9 7208 3376 Accepted 100
92 3 0002.6 7208 3548 Accepted 100
93 3 0002.4 7208 3528 Accepted 100
94 3 0002.7 7208 3460 Accepted 100
95 3 0002.5 7208 3388 Accepted 100
96 3 0002.8 7208 3592 Accepted 100
97 3 0002.6 7208 3584 Accepted 100
98 3 0002.6 7208 3596 Accepted 100
99 3 0002.6 7208 3548 Accepted 100
100 4 0598.1 35212 28220 Time Limit Exceeded 0
101 4 0583.9 35932 28816 Time Limit Exceeded 0
102 4 0602.4 38192 30884 Time Limit Exceeded 0
103 4 0591.4 37140 30364 Time Limit Exceeded 0
104 4 0605.4 36112 29676 Time Limit Exceeded 0
105 4 0599.7 36164 29788 Time Limit Exceeded 0
106 4 0603.8 35372 28568 Time Limit Exceeded 0
107 4 0583.8 36104 29056 Time Limit Exceeded 0
108 4 0553.9 36404 29400 Time Limit Exceeded 0
109 4 0555.3 36708 29712 Time Limit Exceeded 0
110 4 0554.8 36968 30264 Time Limit Exceeded 0
111 4 0556.9 36972 29708 Time Limit Exceeded 0
112 4 0566.8 38188 30892 Time Limit Exceeded 0
113 4 0561.3 35740 28300 Time Limit Exceeded 0
114 4 0565.4 36016 28592 Time Limit Exceeded 0
115 4 0558.7 34520 28000 Time Limit Exceeded 0
116 4 0594.5 33652 27660 Time Limit Exceeded 0
117 4 0554.6 35264 28616 Time Limit Exceeded 0
118 4 0588.5 34276 27508 Time Limit Exceeded 0
119 4 0596.9 36192 28940 Time Limit Exceeded 0
120 4 0598.1 36908 29828 Time Limit Exceeded 0
121 4 0596.4 36744 30152 Time Limit Exceeded 0
122 4 0565.7 37328 30480 Time Limit Exceeded 0
123 4 0564.5 36284 28960 Time Limit Exceeded 0
124 4 0584.9 36864 29568 Time Limit Exceeded 0
125 4 0597.7 36400 29156 Time Limit Exceeded 0
126 4 0588.7 37020 30028 Time Limit Exceeded 0
127 4 0594.1 37304 30136 Time Limit Exceeded 0
128 4 0589.4 37412 30576 Time Limit Exceeded 0
129 4 0589.0 37708 30872 Time Limit Exceeded 0
130 4 0591.8 37140 29960 Time Limit Exceeded 0
131 4 0597.9 36996 29752 Time Limit Exceeded 0
132 4 0599.5 37576 30400 Time Limit Exceeded 0
133 4 0603.1 37564 30708 Time Limit Exceeded 0
134 4 0598.9 36548 29240 Time Limit Exceeded 0
135 4 0598.2 36408 29756 Time Limit Exceeded 0
136 4 0594.9 36916 29756 Time Limit Exceeded 0
137 4 0595.5 33812 27224 Time Limit Exceeded 0
138 4 0588.0 26000 19388 Time Limit Exceeded 0
139 4 0590.3 7736 3812 Time Limit Exceeded 0
140 4 0591.4 28024 21284 Time Limit Exceeded 0
141 4 0597.6 35368 28876 Time Limit Exceeded 0
142 4 0593.1 13156 9168 Time Limit Exceeded 0
143 4 0572.8 29448 22300 Time Limit Exceeded 0
144 4 0556.8 25848 19812 Time Limit Exceeded 0
145 4 0582.9 25968 19884 Time Limit Exceeded 0
146 4 0590.5 33944 27292 Time Limit Exceeded 0
147 4 0592.7 37572 30588 Time Limit Exceeded 0
148 4 0594.6 15304 11480 Time Limit Exceeded 0
149 4 0586.5 29316 22732 Time Limit Exceeded 0
150 4 0595.8 16864 12636 Time Limit Exceeded 0
151 4 0593.6 7340 3460 Time Limit Exceeded 0
152 4 0597.8 7340 3408 Time Limit Exceeded 0
153 4 0592.5 7340 3428 Time Limit Exceeded 0
154 4 0593.1 7340 3508 Time Limit Exceeded 0
155 4 0595.0 7472 3544 Time Limit Exceeded 0
156 4 0593.7 7472 3552 Time Limit Exceeded 0
157 4 0592.6 7340 3480 Time Limit Exceeded 0
158 4 0591.6 7340 3424 Time Limit Exceeded 0
159 4 0558.2 7340 3500 Time Limit Exceeded 0
160 4 0563.7 7472 3480 Time Limit Exceeded 0
161 4 0554.2 7472 3572 Time Limit Exceeded 0
162 4 0594.2 7472 3608 Time Limit Exceeded 0
163 4 0589.3 7340 3440 Time Limit Exceeded 0
164 4 0594.5 7340 3432 Time Limit Exceeded 0
165 4 0582.9 7472 3568 Time Limit Exceeded 0
166 4 0594.0 7472 3568 Time Limit Exceeded 0
167 4 0584.4 7472 3616 Time Limit Exceeded 0
168 4 0594.8 7604 3660 Time Limit Exceeded 0
169 4 0584.4 7340 3556 Time Limit Exceeded 0
170 4 0556.1 7472 3544 Time Limit Exceeded 0
171 4 0562.1 7472 3652 Time Limit Exceeded 0
172 4 0592.8 7472 3620 Time Limit Exceeded 0
173 4 0592.3 7604 3636 Time Limit Exceeded 0
174 4 0590.7 7604 3688 Time Limit Exceeded 0
175 4 0584.7 7472 3504 Time Limit Exceeded 0
176 4 0585.3 7472 3604 Time Limit Exceeded 0
177 4 0592.6 7472 3572 Time Limit Exceeded 0
178 4 0590.3 7604 3640 Time Limit Exceeded 0
179 4 0598.7 7604 3748 Time Limit Exceeded 0
180 4 0599.9 7736 3780 Time Limit Exceeded 0
181 4 0592.2 7472 3504 Time Limit Exceeded 0
182 4 0592.0 7472 3568 Time Limit Exceeded 0
183 4 0591.2 7604 3800 Time Limit Exceeded 0
184 4 0584.2 7604 3748 Time Limit Exceeded 0
185 4 0593.5 7736 3904 Time Limit Exceeded 0
186 4 0585.9 7736 3876 Time Limit Exceeded 0
187 5 0587.3 35240 29032 Time Limit Exceeded 0
188 5 0596.1 36212 29464 Time Limit Exceeded 0
189 5 0595.2 35832 29200 Time Limit Exceeded 0
190 5 0601.5 30544 22936 Time Limit Exceeded 0
191 5 0601.2 34472 25712 Time Limit Exceeded 0
192 5 0572.2 34668 27460 Time Limit Exceeded 0
193 5 0560.0 33260 27660 Time Limit Exceeded 0
194 5 0598.6 34540 27992 Time Limit Exceeded 0
195 5 0574.7 37372 29616 Time Limit Exceeded 0
196 5 0002.9 7208 3588 Accepted 100
197 5 0565.0 7208 3224 Time Limit Exceeded 0
198 5 0003.2 7208 3476 Accepted 100
199 5 0019.2 7208 3544 Accepted 100
200 5 0590.1 7208 3356 Time Limit Exceeded 0
201 5 0577.6 7208 3236 Time Limit Exceeded 0
202 5 0004.1 7208 3548 Accepted 100
203 5 0035.1 7208 3588 Accepted 100
204 5 0002.9 7208 3588 Accepted 100
205 5 0003.2 7208 3528 Accepted 100
206 5 0004.5 7208 3484 Accepted 100
207 5 0065.0 7208 3392 Accepted 100
208 5 0003.7 7208 3552 Accepted 100
209 5 0058.2 7208 3472 Accepted 100
210 5 0002.7 7208 3524 Accepted 100
211 5 0593.7 16228 12188 Time Limit Exceeded 0
212 5 0594.4 13028 9252 Time Limit Exceeded 0
213 5 0564.1 13828 9700 Time Limit Exceeded 0
214 5 0022.4 11712 7840 Accepted 100
215 5 0558.9 23376 17332 Time Limit Exceeded 0
216 5 0575.1 9324 5508 Time Limit Exceeded 0
217 5 0585.4 8268 4392 Time Limit Exceeded 0
218 5 0586.7 7604 3784 Time Limit Exceeded 0
219 5 0567.5 13024 9100 Time Limit Exceeded 0
220 5 0595.4 32336 25672 Time Limit Exceeded 0
221 5 0192.0 9056 5608 Accepted 100
222 5 0581.8 23460 17384 Time Limit Exceeded 0
Submitter:
Compiler:
c++17
Code Length:
1.75 KB
Back to Top