Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

91419
121280
Time Limit Exceeded
0

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資。 0 / 0
2 2~20 $nm \le 16$ 0 / 7
3 21~99 $n = 2$ 或 $m = 2$ 0 / 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 0005.4 7188 3572 Accepted 100
1 1 0204.4 7188 3640 Accepted 100
2 2 0002.7 7188 3624 Accepted 100
3 2 0002.7 7188 3556 Accepted 100
4 2 0002.6 7188 3572 Accepted 100
5 2 0004.1 7188 3572 Accepted 100
6 2 0003.0 7188 3636 Accepted 100
7 2 0002.9 7188 3632 Accepted 100
8 2 0014.6 7188 3640 Accepted 100
9 2 0002.7 7188 3632 Accepted 100
10 2 0005.1 7188 3588 Accepted 100
11 2 0091.4 7188 3636 Accepted 100
12 2 0558.6 7188 3360 Time Limit Exceeded 0
13 2 0002.7 7188 3636 Accepted 100
14 2 0206.2 7188 3640 Accepted 100
15 2 0411.8 7188 3600 Accepted 100
16 2 0004.1 7188 3464 Accepted 100
17 2 0349.0 7188 3636 Accepted 100
18 2 0002.7 7188 3464 Accepted 100
19 2 0002.8 7188 3556 Accepted 100
20 2 0016.4 7188 3596 Accepted 100
21 3 0597.5 91592 73768 Time Limit Exceeded 0
22 3 0614.0 91592 72864 Time Limit Exceeded 0
23 3 0566.6 90308 71320 Time Limit Exceeded 0
24 3 0603.5 90436 71472 Time Limit Exceeded 0
25 3 0590.6 90508 71544 Time Limit Exceeded 0
26 3 0572.1 90668 71724 Time Limit Exceeded 0
27 3 0608.6 90824 71836 Time Limit Exceeded 0
28 3 0566.0 90868 72084 Time Limit Exceeded 0
29 3 0591.7 91080 72276 Time Limit Exceeded 0
30 3 0611.4 91128 72404 Time Limit Exceeded 0
31 3 0566.7 91256 72528 Time Limit Exceeded 0
32 3 0585.1 91452 72556 Time Limit Exceeded 0
33 3 0584.2 90316 72196 Time Limit Exceeded 0
34 3 0600.1 90440 72296 Time Limit Exceeded 0
35 3 0596.2 90508 72460 Time Limit Exceeded 0
36 3 0571.0 90668 72648 Time Limit Exceeded 0
37 3 0599.7 90828 72912 Time Limit Exceeded 0
38 3 0583.0 90864 73056 Time Limit Exceeded 0
39 3 0599.8 91080 73252 Time Limit Exceeded 0
40 3 0594.9 91124 73300 Time Limit Exceeded 0
41 3 0592.3 91256 73528 Time Limit Exceeded 0
42 3 0579.6 91452 73556 Time Limit Exceeded 0
43 3 0043.6 9540 6036 Accepted 100
44 3 0030.9 9832 6180 Accepted 100
45 3 0068.4 7996 4392 Accepted 100
46 3 0127.9 8536 4916 Accepted 100
47 3 0030.8 9108 5320 Accepted 100
48 3 0021.5 9400 5688 Accepted 100
49 3 0022.8 9828 5872 Accepted 100
50 3 0019.2 12564 9056 Accepted 100
51 3 0217.4 12128 8724 Accepted 100
52 3 0022.1 12416 9132 Accepted 100
53 3 0097.8 30092 24104 Accepted 100
54 3 0113.1 36840 27068 Accepted 100
55 3 0101.6 48500 35560 Accepted 100
56 3 0465.3 52636 38084 Accepted 100
57 3 0123.0 57648 42352 Accepted 100
58 3 0004.7 7588 4040 Accepted 100
59 3 0526.4 62780 46780 Time Limit Exceeded 0
60 3 0546.9 66184 49176 Time Limit Exceeded 0
61 3 0250.1 13988 10124 Accepted 100
62 3 0548.7 66472 49356 Time Limit Exceeded 0
63 3 0263.9 15088 10688 Accepted 100
64 3 0300.2 17644 12360 Accepted 100
65 3 0118.9 21492 16208 Accepted 100
66 3 0558.3 52944 38512 Time Limit Exceeded 0
67 3 0596.1 66248 49756 Time Limit Exceeded 0
68 3 0584.9 68336 51008 Time Limit Exceeded 0
69 3 0561.5 76636 59232 Time Limit Exceeded 0
70 3 0578.9 78892 61492 Time Limit Exceeded 0
71 3 0589.5 79576 62196 Time Limit Exceeded 0
72 3 0578.2 88388 69832 Time Limit Exceeded 0
73 3 0018.5 7188 3620 Accepted 100
74 3 0028.8 7188 3472 Accepted 100
75 3 0030.4 7188 3608 Accepted 100
76 3 0030.6 7188 3596 Accepted 100
77 3 0007.8 7188 3724 Accepted 100
78 3 0007.8 7188 3588 Accepted 100
79 3 0015.4 7188 3632 Accepted 100
80 3 0023.6 7188 3596 Accepted 100
81 3 0024.4 7188 3472 Accepted 100
82 3 0024.9 7188 3568 Accepted 100
83 3 0006.8 7188 3504 Accepted 100
84 3 0007.0 7188 3536 Accepted 100
85 3 0002.4 7188 3460 Accepted 100
86 3 0002.5 7188 3560 Accepted 100
87 3 0002.7 7188 3636 Accepted 100
88 3 0004.0 7188 3564 Accepted 100
89 3 0002.7 7188 3568 Accepted 100
90 3 0003.0 7188 3632 Accepted 100
91 3 0014.9 7188 3632 Accepted 100
92 3 0015.2 7188 3560 Accepted 100
93 3 0002.8 7188 3620 Accepted 100
94 3 0002.6 7188 3628 Accepted 100
95 3 0004.1 7188 3704 Accepted 100
96 3 0002.8 7188 3640 Accepted 100
97 3 0002.8 7188 3640 Accepted 100
98 3 0016.5 7188 3708 Accepted 100
99 3 0017.4 7188 3568 Accepted 100
100 4 0609.3 160036 114184 Time Limit Exceeded 0
101 4 0602.3 163292 116812 Time Limit Exceeded 0
102 4 0621.7 163224 117540 Time Limit Exceeded 0
103 4 0599.4 162004 116192 Time Limit Exceeded 0
104 4 0616.0 167156 120276 Time Limit Exceeded 0
105 4 0619.6 168360 121280 Time Limit Exceeded 0
106 4 0616.6 161632 115504 Time Limit Exceeded 0
107 4 0618.9 164804 118356 Time Limit Exceeded 0
108 4 0593.7 166212 119560 Time Limit Exceeded 0
109 4 0619.5 168152 121036 Time Limit Exceeded 0
110 4 0582.3 152888 109728 Time Limit Exceeded 0
111 4 0571.9 159604 113880 Time Limit Exceeded 0
112 4 0573.0 152812 109652 Time Limit Exceeded 0
113 4 0576.8 159088 112960 Time Limit Exceeded 0
114 4 0590.8 161084 115276 Time Limit Exceeded 0
115 4 0586.8 155804 110416 Time Limit Exceeded 0
116 4 0582.1 156048 110924 Time Limit Exceeded 0
117 4 0570.7 155220 110004 Time Limit Exceeded 0
118 4 0622.1 155668 110832 Time Limit Exceeded 0
119 4 0612.1 164248 117988 Time Limit Exceeded 0
120 4 0616.9 166060 119680 Time Limit Exceeded 0
121 4 0606.1 160720 115252 Time Limit Exceeded 0
122 4 0615.8 160500 115288 Time Limit Exceeded 0
123 4 0610.1 160812 115072 Time Limit Exceeded 0
124 4 0577.6 149564 106876 Time Limit Exceeded 0
125 4 0579.8 152940 108460 Time Limit Exceeded 0
126 4 0620.4 158708 113872 Time Limit Exceeded 0
127 4 0594.2 150208 108368 Time Limit Exceeded 0
128 4 0619.0 155304 111556 Time Limit Exceeded 0
129 4 0616.0 148928 107884 Time Limit Exceeded 0
130 4 0593.8 148000 106064 Time Limit Exceeded 0
131 4 0584.4 145880 104512 Time Limit Exceeded 0
132 4 0570.5 138028 99356 Time Limit Exceeded 0
133 4 0584.5 144976 104060 Time Limit Exceeded 0
134 4 0619.4 156364 112048 Time Limit Exceeded 0
135 4 0607.6 157452 112872 Time Limit Exceeded 0
136 4 0618.4 160984 115724 Time Limit Exceeded 0
137 4 0620.2 151560 107588 Time Limit Exceeded 0
138 4 0596.4 104676 72104 Time Limit Exceeded 0
139 4 0141.2 9864 6004 Accepted 100
140 4 0595.3 116808 80520 Time Limit Exceeded 0
141 4 0613.7 163088 116756 Time Limit Exceeded 0
142 4 0582.5 38640 27812 Time Limit Exceeded 0
143 4 0587.7 126000 87036 Time Limit Exceeded 0
144 4 0565.7 107764 74040 Time Limit Exceeded 0
145 4 0576.6 108036 74200 Time Limit Exceeded 0
146 4 0590.9 150880 106952 Time Limit Exceeded 0
147 4 0611.9 152336 109732 Time Limit Exceeded 0
148 4 0571.2 50916 39408 Time Limit Exceeded 0
149 4 0601.6 130644 90612 Time Limit Exceeded 0
150 4 0610.1 60396 45772 Time Limit Exceeded 0
151 4 0235.2 7860 4352 Accepted 100
152 4 0558.3 7996 4064 Time Limit Exceeded 0
153 4 0267.8 8136 4580 Accepted 100
154 4 0570.6 8284 4360 Time Limit Exceeded 0
155 4 0596.8 8436 4552 Time Limit Exceeded 0
156 4 0588.8 8712 4684 Time Limit Exceeded 0
157 4 0568.0 7864 4200 Time Limit Exceeded 0
158 4 0574.4 8136 4216 Time Limit Exceeded 0
159 4 0561.9 8284 4324 Time Limit Exceeded 0
160 4 0571.7 8572 4516 Time Limit Exceeded 0
161 4 0554.6 8724 4708 Time Limit Exceeded 0
162 4 0594.6 9000 4820 Time Limit Exceeded 0
163 4 0559.7 8136 4312 Time Limit Exceeded 0
164 4 0595.5 8284 4456 Time Limit Exceeded 0
165 4 0568.0 8568 4564 Time Limit Exceeded 0
166 4 0572.8 8724 4812 Time Limit Exceeded 0
167 4 0577.1 9012 5024 Time Limit Exceeded 0
168 4 0565.1 9156 5164 Time Limit Exceeded 0
169 4 0583.7 8292 4388 Time Limit Exceeded 0
170 4 0576.6 8568 4560 Time Limit Exceeded 0
171 4 0586.4 8724 4860 Time Limit Exceeded 0
172 4 0585.1 9004 5024 Time Limit Exceeded 0
173 4 0248.6 9288 5316 Accepted 100
174 4 0598.0 9576 5332 Time Limit Exceeded 0
175 4 0559.1 8436 4532 Time Limit Exceeded 0
176 4 0592.1 8724 4824 Time Limit Exceeded 0
177 4 0231.2 9004 5208 Accepted 100
178 4 0597.1 9288 5160 Time Limit Exceeded 0
179 4 0395.3 9576 5716 Accepted 100
180 4 0586.9 9732 5828 Time Limit Exceeded 0
181 4 0552.4 8712 4704 Time Limit Exceeded 0
182 4 0588.3 9000 4904 Time Limit Exceeded 0
183 4 0249.9 9156 5372 Accepted 100
184 4 0587.9 9576 5372 Time Limit Exceeded 0
185 4 0578.8 9732 5724 Time Limit Exceeded 0
186 4 0577.6 10012 6100 Time Limit Exceeded 0
187 5 0602.6 167492 120020 Time Limit Exceeded 0
188 5 0618.5 167520 120148 Time Limit Exceeded 0
189 5 0582.2 166328 118860 Time Limit Exceeded 0
190 5 0607.1 133436 92504 Time Limit Exceeded 0
191 5 0577.4 148588 102600 Time Limit Exceeded 0
192 5 0619.2 155924 108452 Time Limit Exceeded 0
193 5 0615.4 159948 112236 Time Limit Exceeded 0
194 5 0618.8 162636 114824 Time Limit Exceeded 0
195 5 0609.7 165160 117356 Time Limit Exceeded 0
196 5 0601.6 7188 3192 Time Limit Exceeded 0
197 5 0578.1 7188 3376 Time Limit Exceeded 0
198 5 0233.4 7188 3576 Accepted 100
199 5 0381.2 7188 3708 Accepted 100
200 5 0586.4 7188 3292 Time Limit Exceeded 0
201 5 0416.7 7188 3652 Accepted 100
202 5 0563.1 7188 3236 Time Limit Exceeded 0
203 5 0189.1 7188 3656 Accepted 100
204 5 0079.9 7188 3596 Accepted 100
205 5 0587.8 7188 3316 Time Limit Exceeded 0
206 5 0575.1 7188 3316 Time Limit Exceeded 0
207 5 0241.4 7188 3620 Accepted 100
208 5 0583.2 7188 3256 Time Limit Exceeded 0
209 5 0601.9 7188 3400 Time Limit Exceeded 0
210 5 0454.6 7188 3668 Accepted 100
211 5 0563.2 55620 43616 Time Limit Exceeded 0
212 5 0564.3 40448 29220 Time Limit Exceeded 0
213 5 0594.4 41908 30336 Time Limit Exceeded 0
214 5 0577.0 30916 21572 Time Limit Exceeded 0
215 5 0581.8 91240 64284 Time Limit Exceeded 0
216 5 0601.5 18364 12772 Time Limit Exceeded 0
217 5 0575.0 12532 7804 Time Limit Exceeded 0
218 5 0570.3 9580 5572 Time Limit Exceeded 0
219 5 0563.3 41044 29548 Time Limit Exceeded 0
220 5 0593.3 152264 106500 Time Limit Exceeded 0
221 5 0600.7 16836 11340 Time Limit Exceeded 0
222 5 0562.9 94472 65876 Time Limit Exceeded 0
Submitter:
Compiler:
c++17
Code Length:
1.65 KB
Back to Top