Back to Submissions List View Old Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6344
20956
Time Limit Exceeded
89

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$ 47 / 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 6212 3712 Accepted 100
1 1 0002.7 6212 3700 Accepted 100
2 2 0002.6 6212 3672 Accepted 100
3 2 0002.7 6212 3708 Accepted 100
4 2 0002.7 6212 3648 Accepted 100
5 2 0002.6 6212 3644 Accepted 100
6 2 0002.7 6212 3656 Accepted 100
7 2 0002.7 6212 3536 Accepted 100
8 2 0002.8 6212 3656 Accepted 100
9 2 0002.7 6212 3684 Accepted 100
10 2 0002.9 6212 3648 Accepted 100
11 2 0002.8 6212 3676 Accepted 100
12 2 0002.7 6212 3680 Accepted 100
13 2 0002.7 6212 3788 Accepted 100
14 2 0002.6 6212 3676 Accepted 100
15 2 0002.8 6212 3704 Accepted 100
16 2 0002.5 6212 3656 Accepted 100
17 2 0002.7 6212 3732 Accepted 100
18 2 0002.7 6212 3652 Accepted 100
19 2 0002.7 6212 3652 Accepted 100
20 2 0002.5 6212 3536 Accepted 100
21 3 0034.7 14724 11940 Accepted 100
22 3 0036.2 14728 12160 Accepted 100
23 3 0035.6 14724 12000 Accepted 100
24 3 0034.2 14724 12008 Accepted 100
25 3 0035.3 14724 12076 Accepted 100
26 3 0035.7 14724 12196 Accepted 100
27 3 0035.4 14724 12008 Accepted 100
28 3 0035.1 14724 12056 Accepted 100
29 3 0035.6 14724 12176 Accepted 100
30 3 0035.5 14720 12188 Accepted 100
31 3 0035.4 14724 11988 Accepted 100
32 3 0036.8 14720 12148 Accepted 100
33 3 0034.4 14720 12108 Accepted 100
34 3 0037.6 14720 12152 Accepted 100
35 3 0034.9 14724 12004 Accepted 100
36 3 0034.5 14720 12176 Accepted 100
37 3 0035.1 14720 12172 Accepted 100
38 3 0034.6 14724 12128 Accepted 100
39 3 0035.0 14724 11976 Accepted 100
40 3 0035.1 14728 12156 Accepted 100
41 3 0034.8 14724 12040 Accepted 100
42 3 0034.7 14724 12164 Accepted 100
43 3 0003.9 6608 4068 Accepted 100
44 3 0003.9 6608 4084 Accepted 100
45 3 0003.0 6344 3824 Accepted 100
46 3 0003.3 6344 3832 Accepted 100
47 3 0003.6 6476 4028 Accepted 100
48 3 0003.8 6608 4108 Accepted 100
49 3 0003.8 6608 4116 Accepted 100
50 3 0004.8 6740 4300 Accepted 100
51 3 0004.7 6740 4248 Accepted 100
52 3 0004.8 6740 4120 Accepted 100
53 3 0014.0 10568 7760 Accepted 100
54 3 0016.1 11100 8368 Accepted 100
55 3 0019.3 11888 9268 Accepted 100
56 3 0020.7 12156 9548 Accepted 100
57 3 0022.6 12428 9888 Accepted 100
58 3 0002.9 6344 3644 Accepted 100
59 3 0024.5 12828 10236 Accepted 100
60 3 0025.6 12972 10224 Accepted 100
61 3 0005.9 7400 4784 Accepted 100
62 3 0025.8 13104 10476 Accepted 100
63 3 0006.1 7532 4852 Accepted 100
64 3 0007.1 7664 4868 Accepted 100
65 3 0008.1 7928 5300 Accepted 100
66 3 0020.7 12160 9560 Accepted 100
67 3 0025.1 13100 10244 Accepted 100
68 3 0025.5 13232 10576 Accepted 100
69 3 0029.5 13780 10952 Accepted 100
70 3 0029.6 13916 11248 Accepted 100
71 3 0030.5 14048 11312 Accepted 100
72 3 0035.2 14592 11752 Accepted 100
73 3 0002.6 6212 3668 Accepted 100
74 3 0002.7 6212 3648 Accepted 100
75 3 0002.6 6212 3644 Accepted 100
76 3 0002.5 6212 3656 Accepted 100
77 3 0002.5 6212 3648 Accepted 100
78 3 0002.5 6212 3648 Accepted 100
79 3 0002.6 6212 3588 Accepted 100
80 3 0002.5 6212 3668 Accepted 100
81 3 0002.7 6212 3640 Accepted 100
82 3 0002.6 6212 3736 Accepted 100
83 3 0002.5 6212 3660 Accepted 100
84 3 0002.4 6212 3648 Accepted 100
85 3 0002.6 6212 3636 Accepted 100
86 3 0002.5 6212 3704 Accepted 100
87 3 0002.6 6212 3704 Accepted 100
88 3 0002.5 6212 3672 Accepted 100
89 3 0002.5 6212 3680 Accepted 100
90 3 0002.5 6212 3732 Accepted 100
91 3 0002.6 6212 3680 Accepted 100
92 3 0002.4 6212 3668 Accepted 100
93 3 0002.5 6212 3680 Accepted 100
94 3 0002.5 6212 3664 Accepted 100
95 3 0002.5 6212 3636 Accepted 100
96 3 0002.6 6212 3644 Accepted 100
97 3 0002.4 6212 3636 Accepted 100
98 3 0002.6 6212 3680 Accepted 100
99 3 0002.4 6212 3660 Accepted 100
100 4 0063.7 23024 20164 Accepted 100
101 4 0066.5 23316 20572 Accepted 100
102 4 0070.3 23432 20700 Accepted 100
103 4 0070.2 23560 20900 Accepted 100
104 4 0068.8 23432 20708 Accepted 100
105 4 0067.8 23588 20928 Accepted 100
106 4 0063.3 23028 20164 Accepted 100
107 4 0067.4 23328 20732 Accepted 100
108 4 0067.1 23456 20704 Accepted 100
109 4 0068.0 23452 20788 Accepted 100
110 4 0067.4 23576 20920 Accepted 100
111 4 0067.5 23448 20624 Accepted 100
112 4 0068.5 23424 20712 Accepted 100
113 4 0061.4 22756 19980 Accepted 100
114 4 0063.6 23036 20396 Accepted 100
115 4 0063.2 22632 19912 Accepted 100
116 4 0061.9 22748 20092 Accepted 100
117 4 0064.9 23164 20496 Accepted 100
118 4 0059.9 22488 19884 Accepted 100
119 4 0065.1 23164 20396 Accepted 100
120 4 0068.7 23452 20832 Accepted 100
121 4 0068.5 23580 20956 Accepted 100
122 4 0067.6 23436 20808 Accepted 100
123 4 0064.0 23016 20352 Accepted 100
124 4 0066.9 23168 20448 Accepted 100
125 4 0063.3 23032 20424 Accepted 100
126 4 0068.6 23304 20716 Accepted 100
127 4 0067.5 23448 20736 Accepted 100
128 4 0071.2 23564 20888 Accepted 100
129 4 0067.9 23588 20948 Accepted 100
130 4 0067.3 23164 20544 Accepted 100
131 4 0067.1 23168 20548 Accepted 100
132 4 0067.2 23456 20744 Accepted 100
133 4 0068.7 23584 20620 Accepted 100
134 4 0064.0 23160 20304 Accepted 100
135 4 0067.3 23192 20568 Accepted 100
136 4 0067.7 23312 20736 Accepted 100
137 4 0059.2 22340 19716 Accepted 100
138 4 0039.8 19276 16420 Accepted 100
139 4 0003.9 6476 4012 Accepted 100
140 4 0043.4 20072 17384 Accepted 100
141 4 0063.6 23036 20260 Accepted 100
142 4 0014.0 10172 7396 Accepted 100
143 4 0047.7 20488 17880 Accepted 100
144 4 0041.2 19380 16660 Accepted 100
145 4 0040.7 19256 16512 Accepted 100
146 4 0059.9 22092 19496 Accepted 100
147 4 0069.0 23444 20860 Accepted 100
148 4 0018.1 10968 8268 Accepted 100
149 4 0049.9 20892 18224 Accepted 100
150 4 0026.7 16156 13232 Accepted 100
151 4 0003.0 6344 3760 Accepted 100
152 4 0002.9 6344 3792 Accepted 100
153 4 0003.0 6344 3852 Accepted 100
154 4 0003.1 6476 3916 Accepted 100
155 4 0003.5 6476 3944 Accepted 100
156 4 0003.3 6476 3924 Accepted 100
157 4 0002.9 6344 3772 Accepted 100
158 4 0003.1 6344 3840 Accepted 100
159 4 0003.3 6476 3928 Accepted 100
160 4 0003.2 6476 3944 Accepted 100
161 4 0003.5 6476 3936 Accepted 100
162 4 0003.3 6476 3788 Accepted 100
163 4 0003.1 6344 3828 Accepted 100
164 4 0003.2 6476 3744 Accepted 100
165 4 0003.2 6476 3924 Accepted 100
166 4 0003.3 6476 3964 Accepted 100
167 4 0003.5 6476 3960 Accepted 100
168 4 0003.4 6476 3848 Accepted 100
169 4 0003.3 6476 3904 Accepted 100
170 4 0003.3 6476 3996 Accepted 100
171 4 0003.3 6476 3964 Accepted 100
172 4 0003.5 6476 3980 Accepted 100
173 4 0003.5 6476 4112 Accepted 100
174 4 0003.7 6476 4004 Accepted 100
175 4 0003.2 6476 3936 Accepted 100
176 4 0003.5 6476 3948 Accepted 100
177 4 0003.4 6476 3948 Accepted 100
178 4 0003.4 6476 3976 Accepted 100
179 4 0003.7 6476 4012 Accepted 100
180 4 0003.7 6476 4000 Accepted 100
181 4 0003.3 6476 3808 Accepted 100
182 4 0003.4 6476 4000 Accepted 100
183 4 0003.6 6476 3996 Accepted 100
184 4 0003.6 6476 4008 Accepted 100
185 4 0003.7 6476 3868 Accepted 100
186 4 0003.9 6476 4028 Accepted 100
187 5 0067.3 23588 20924 Accepted 100
188 5 0067.0 23440 20724 Accepted 100
189 5 0069.3 23436 20900 Accepted 100
190 5 0569.3 23188 20380 Time Limit Exceeded 0
191 5 0057.4 23320 20588 Accepted 100
192 5 0059.2 23292 20656 Accepted 100
193 5 0059.7 23440 20768 Accepted 100
194 5 0572.8 23432 20892 Time Limit Exceeded 0
195 5 0062.9 23432 20720 Accepted 100
196 5 0002.7 6212 3684 Accepted 100
197 5 0002.6 6212 3708 Accepted 100
198 5 0002.6 6212 3652 Accepted 100
199 5 0002.6 6212 3532 Accepted 100
200 5 0002.6 6212 3732 Accepted 100
201 5 0002.7 6212 3536 Accepted 100
202 5 0002.7 6212 3636 Accepted 100
203 5 0002.7 6212 3652 Accepted 100
204 5 0002.8 6212 3668 Accepted 100
205 5 0002.8 6212 3536 Accepted 100
206 5 0002.7 6212 3636 Accepted 100
207 5 0002.7 6212 3708 Accepted 100
208 5 0002.7 6212 3660 Accepted 100
209 5 0002.7 6212 3680 Accepted 100
210 5 0002.7 6212 3708 Accepted 100
211 5 0019.7 11228 8556 Accepted 100
212 5 0014.4 10304 7656 Accepted 100
213 5 0015.1 10440 7776 Accepted 100
214 5 0012.0 9776 7128 Accepted 100
215 5 0035.7 18832 16192 Accepted 100
216 5 0006.9 7532 4796 Accepted 100
217 5 0005.1 7136 4500 Accepted 100
218 5 0003.8 6476 4008 Accepted 100
219 5 0014.5 10308 7376 Accepted 100
220 5 0055.5 22776 20056 Accepted 100
221 5 0006.2 7400 4704 Accepted 100
222 5 0036.0 18688 15888 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.15 KB
Back to Top