Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

32521
30944
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 7204 3572 Accepted 100
1 1 0002.8 7204 3548 Accepted 100
2 2 0002.8 7204 3576 Accepted 100
3 2 0002.9 7204 3536 Accepted 100
4 2 0002.8 7204 3632 Accepted 100
5 2 0002.8 7204 3636 Accepted 100
6 2 0002.8 7204 3468 Accepted 100
7 2 0002.9 7204 3528 Accepted 100
8 2 0002.9 7204 3472 Accepted 100
9 2 0003.5 7204 3512 Accepted 100
10 2 0003.0 7204 3540 Accepted 100
11 2 0002.8 7204 3540 Accepted 100
12 2 0002.8 7204 3528 Accepted 100
13 2 0002.6 7204 3636 Accepted 100
14 2 0002.8 7204 3540 Accepted 100
15 2 0002.8 7204 3636 Accepted 100
16 2 0002.7 7204 3584 Accepted 100
17 2 0002.7 7204 3540 Accepted 100
18 2 0002.7 7204 3376 Accepted 100
19 2 0002.7 7204 3540 Accepted 100
20 2 0002.7 7204 3476 Accepted 100
21 3 0051.2 23088 20288 Accepted 100
22 3 0047.1 23092 19316 Accepted 100
23 3 0046.4 22828 18980 Accepted 100
24 3 0045.5 22956 18924 Accepted 100
25 3 0045.9 22952 18960 Accepted 100
26 3 0046.0 22956 19064 Accepted 100
27 3 0046.9 22960 19036 Accepted 100
28 3 0046.4 22960 19104 Accepted 100
29 3 0046.3 23088 19196 Accepted 100
30 3 0046.5 23088 19188 Accepted 100
31 3 0046.2 23084 19196 Accepted 100
32 3 0046.6 23088 19240 Accepted 100
33 3 0050.6 22824 20052 Accepted 100
34 3 0051.4 22956 20008 Accepted 100
35 3 0051.0 22952 19928 Accepted 100
36 3 0050.7 22952 20040 Accepted 100
37 3 0050.5 22956 20168 Accepted 100
38 3 0050.9 22956 20104 Accepted 100
39 3 0051.0 23088 20164 Accepted 100
40 3 0052.4 23088 20200 Accepted 100
41 3 0051.1 23088 20168 Accepted 100
42 3 0051.1 23088 20212 Accepted 100
43 3 0004.5 7600 4024 Accepted 100
44 3 0004.8 7732 4264 Accepted 100
45 3 0003.2 7336 3732 Accepted 100
46 3 0004.6 7468 3884 Accepted 100
47 3 0003.8 7600 3916 Accepted 100
48 3 0003.9 7600 4004 Accepted 100
49 3 0004.4 7732 4120 Accepted 100
50 3 0005.9 8128 4664 Accepted 100
51 3 0006.2 8128 4760 Accepted 100
52 3 0006.3 8128 4828 Accepted 100
53 3 0015.4 11464 7996 Accepted 100
54 3 0017.3 12796 8872 Accepted 100
55 3 0022.8 14936 11192 Accepted 100
56 3 0025.4 15736 11692 Accepted 100
57 3 0027.3 16672 12852 Accepted 100
58 3 0003.0 7204 3648 Accepted 100
59 3 0031.0 17612 13832 Accepted 100
60 3 0032.4 18280 14400 Accepted 100
61 3 0007.1 8524 5240 Accepted 100
62 3 0035.5 18416 14564 Accepted 100
63 3 0007.6 8656 5388 Accepted 100
64 3 0009.1 9184 5852 Accepted 100
65 3 0011.5 9844 6704 Accepted 100
66 3 0028.4 15868 12668 Accepted 100
67 3 0035.1 18276 15280 Accepted 100
68 3 0037.0 18684 15628 Accepted 100
69 3 0041.3 20280 17420 Accepted 100
70 3 0043.5 20680 17916 Accepted 100
71 3 0043.2 20820 18068 Accepted 100
72 3 0049.7 22552 19476 Accepted 100
73 3 0002.9 7204 3552 Accepted 100
74 3 0002.6 7204 3512 Accepted 100
75 3 0002.9 7204 3580 Accepted 100
76 3 0002.6 7204 3552 Accepted 100
77 3 0002.6 7204 3532 Accepted 100
78 3 0002.7 7204 3552 Accepted 100
79 3 0002.6 7204 3472 Accepted 100
80 3 0002.6 7204 3476 Accepted 100
81 3 0002.8 7204 3544 Accepted 100
82 3 0002.5 7204 3584 Accepted 100
83 3 0002.7 7204 3532 Accepted 100
84 3 0003.0 7204 3536 Accepted 100
85 3 0002.5 7204 3468 Accepted 100
86 3 0002.8 7204 3472 Accepted 100
87 3 0002.6 7204 3536 Accepted 100
88 3 0002.5 7204 3572 Accepted 100
89 3 0002.6 7204 3508 Accepted 100
90 3 0002.8 7204 3636 Accepted 100
91 3 0002.5 7204 3504 Accepted 100
92 3 0002.7 7204 3456 Accepted 100
93 3 0002.5 7204 3572 Accepted 100
94 3 0002.7 7204 3576 Accepted 100
95 3 0002.7 7204 3520 Accepted 100
96 3 0002.6 7204 3384 Accepted 100
97 3 0002.7 7204 3512 Accepted 100
98 3 0002.7 7204 3532 Accepted 100
99 3 0002.6 7204 3544 Accepted 100
100 4 0074.8 34836 28436 Accepted 100
101 4 0078.3 35420 28980 Accepted 100
102 4 0094.2 36692 30384 Accepted 100
103 4 0584.2 36240 29776 Time Limit Exceeded 0
104 4 0573.6 37380 30108 Time Limit Exceeded 0
105 4 0582.0 37072 29760 Time Limit Exceeded 0
106 4 0091.6 35144 28792 Accepted 100
107 4 0093.2 35752 29412 Accepted 100
108 4 0086.4 36172 29728 Accepted 100
109 4 0085.9 36484 30120 Accepted 100
110 4 0596.6 37400 30428 Time Limit Exceeded 0
111 4 0602.9 36472 29648 Time Limit Exceeded 0
112 4 0091.4 36688 30396 Accepted 100
113 4 0593.2 35152 28128 Time Limit Exceeded 0
114 4 0578.6 35600 28476 Time Limit Exceeded 0
115 4 0082.5 35292 28332 Accepted 100
116 4 0566.2 34296 27564 Time Limit Exceeded 0
117 4 0561.4 35552 28792 Time Limit Exceeded 0
118 4 0558.7 33972 27516 Time Limit Exceeded 0
119 4 0586.8 35240 28724 Time Limit Exceeded 0
120 4 0569.6 36116 29568 Time Limit Exceeded 0
121 4 0080.0 37308 30632 Accepted 100
122 4 0081.3 37292 30636 Accepted 100
123 4 0599.7 35556 28784 Time Limit Exceeded 0
124 4 0583.7 35960 29152 Time Limit Exceeded 0
125 4 0558.3 36096 29276 Time Limit Exceeded 0
126 4 0580.6 36844 29896 Time Limit Exceeded 0
127 4 0086.3 36992 30324 Accepted 100
128 4 0561.7 37276 30432 Time Limit Exceeded 0
129 4 0093.6 37432 30944 Accepted 100
130 4 0603.1 36684 29624 Time Limit Exceeded 0
131 4 0590.2 36556 29676 Time Limit Exceeded 0
132 4 0597.1 37140 30128 Time Limit Exceeded 0
133 4 0593.1 37292 30568 Time Limit Exceeded 0
134 4 0602.1 35952 29104 Time Limit Exceeded 0
135 4 0599.7 36692 29728 Time Limit Exceeded 0
136 4 0564.7 36540 29892 Time Limit Exceeded 0
137 4 0082.5 33348 27336 Accepted 100
138 4 0558.1 25548 19016 Time Limit Exceeded 0
139 4 0558.5 7732 3856 Time Limit Exceeded 0
140 4 0603.7 27600 21108 Time Limit Exceeded 0
141 4 0086.1 36552 29484 Accepted 100
142 4 0019.8 13160 9476 Accepted 100
143 4 0059.0 29000 22396 Accepted 100
144 4 0057.3 25872 20100 Accepted 100
145 4 0555.0 25984 19692 Time Limit Exceeded 0
146 4 0594.3 33820 27160 Time Limit Exceeded 0
147 4 0557.8 37580 30632 Time Limit Exceeded 0
148 4 0029.0 15288 11588 Accepted 100
149 4 0557.7 30008 23060 Time Limit Exceeded 0
150 4 0032.1 17004 13000 Accepted 100
151 4 0003.2 7336 3708 Accepted 100
152 4 0005.3 7336 3708 Accepted 100
153 4 0003.2 7336 3756 Accepted 100
154 4 0003.7 7336 3768 Accepted 100
155 4 0004.1 7468 3864 Accepted 100
156 4 0004.0 7468 3976 Accepted 100
157 4 0003.4 7336 3724 Accepted 100
158 4 0005.7 7336 3700 Accepted 100
159 4 0003.6 7336 3840 Accepted 100
160 4 0003.5 7468 3848 Accepted 100
161 4 0003.8 7468 3892 Accepted 100
162 4 0003.7 7468 3916 Accepted 100
163 4 0003.3 7336 3848 Accepted 100
164 4 0003.5 7336 3832 Accepted 100
165 4 0003.8 7468 3788 Accepted 100
166 4 0004.0 7468 3992 Accepted 100
167 4 0003.9 7468 3932 Accepted 100
168 4 0004.1 7600 3972 Accepted 100
169 4 0003.3 7336 3792 Accepted 100
170 4 0003.7 7468 3780 Accepted 100
171 4 0003.9 7468 3864 Accepted 100
172 4 0006.9 7468 3900 Accepted 100
173 4 0004.1 7600 3964 Accepted 100
174 4 0004.0 7600 3876 Accepted 100
175 4 0003.6 7468 3776 Accepted 100
176 4 0003.8 7468 3892 Accepted 100
177 4 0004.4 7468 3868 Accepted 100
178 4 0004.2 7600 3972 Accepted 100
179 4 0004.3 7600 4048 Accepted 100
180 4 0004.7 7732 4096 Accepted 100
181 4 0003.6 7468 3912 Accepted 100
182 4 0005.0 7468 3920 Accepted 100
183 4 0004.1 7600 4012 Accepted 100
184 4 0004.4 7600 4080 Accepted 100
185 4 0004.5 7732 4136 Accepted 100
186 4 0005.0 7732 4236 Accepted 100
187 5 0605.7 35536 29148 Time Limit Exceeded 0
188 5 0595.4 36024 29624 Time Limit Exceeded 0
189 5 0605.5 36604 29752 Time Limit Exceeded 0
190 5 0601.4 30556 23068 Time Limit Exceeded 0
191 5 0557.8 34476 25648 Time Limit Exceeded 0
192 5 0556.5 34672 27496 Time Limit Exceeded 0
193 5 0555.1 33264 27656 Time Limit Exceeded 0
194 5 0557.6 34380 27912 Time Limit Exceeded 0
195 5 0555.6 37068 29516 Time Limit Exceeded 0
196 5 0591.4 7204 3272 Time Limit Exceeded 0
197 5 0577.3 7204 3232 Time Limit Exceeded 0
198 5 0002.8 7204 3516 Accepted 100
199 5 0002.6 7204 3584 Accepted 100
200 5 0003.0 7204 3572 Accepted 100
201 5 0016.1 7204 3544 Accepted 100
202 5 0002.8 7204 3544 Accepted 100
203 5 0002.8 7204 3588 Accepted 100
204 5 0003.0 7204 3520 Accepted 100
205 5 0003.6 7204 3588 Accepted 100
206 5 0002.7 7204 3544 Accepted 100
207 5 0002.8 7204 3468 Accepted 100
208 5 0003.1 7204 3536 Accepted 100
209 5 0003.9 7204 3472 Accepted 100
210 5 0002.7 7204 3472 Accepted 100
211 5 0565.7 15968 12092 Time Limit Exceeded 0
212 5 0580.0 13552 9416 Time Limit Exceeded 0
213 5 0020.4 13688 9796 Accepted 100
214 5 0600.5 11964 7948 Time Limit Exceeded 0
215 5 0568.1 24316 17680 Time Limit Exceeded 0
216 5 0008.4 9320 5776 Accepted 100
217 5 0005.9 8264 4728 Accepted 100
218 5 0592.3 7600 3692 Time Limit Exceeded 0
219 5 0556.5 13020 9036 Time Limit Exceeded 0
220 5 0605.4 32032 25572 Time Limit Exceeded 0
221 5 0586.3 8920 5032 Time Limit Exceeded 0
222 5 0041.2 23564 17464 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.82 KB
Back to Top