Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

13191
30780
Time Limit Exceeded
53

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 無額外限制。 11 / 11

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.8 7208 3380 Accepted 100
1 1 0002.7 7208 3528 Accepted 100
2 2 0003.4 7208 3540 Accepted 100
3 2 0002.7 7208 3528 Accepted 100
4 2 0002.7 7208 3588 Accepted 100
5 2 0002.7 7208 3472 Accepted 100
6 2 0002.7 7208 3584 Accepted 100
7 2 0002.6 7208 3580 Accepted 100
8 2 0002.8 7208 3640 Accepted 100
9 2 0002.7 7208 3488 Accepted 100
10 2 0002.7 7208 3636 Accepted 100
11 2 0002.8 7208 3544 Accepted 100
12 2 0002.8 7208 3584 Accepted 100
13 2 0002.7 7208 3544 Accepted 100
14 2 0002.8 7208 3584 Accepted 100
15 2 0003.1 7208 3556 Accepted 100
16 2 0003.0 7208 3644 Accepted 100
17 2 0003.7 7208 3524 Accepted 100
18 2 0003.6 7208 3584 Accepted 100
19 2 0003.2 7208 3544 Accepted 100
20 2 0003.0 7208 3556 Accepted 100
21 3 0066.9 23128 20300 Accepted 100
22 3 0057.0 23128 19328 Accepted 100
23 3 0054.3 22992 19032 Accepted 100
24 3 0054.1 22992 19072 Accepted 100
25 3 0052.4 22988 19132 Accepted 100
26 3 0052.8 22988 19224 Accepted 100
27 3 0054.7 22988 19144 Accepted 100
28 3 0053.5 22992 19168 Accepted 100
29 3 0052.5 23124 19052 Accepted 100
30 3 0053.3 23124 19248 Accepted 100
31 3 0052.3 23128 19312 Accepted 100
32 3 0053.3 23128 19340 Accepted 100
33 3 0057.7 22992 20016 Accepted 100
34 3 0057.9 22992 20024 Accepted 100
35 3 0058.5 22988 20068 Accepted 100
36 3 0057.7 22988 20192 Accepted 100
37 3 0060.0 22992 19968 Accepted 100
38 3 0058.9 22992 20260 Accepted 100
39 3 0058.4 23124 20024 Accepted 100
40 3 0058.4 23124 20220 Accepted 100
41 3 0058.1 23128 20284 Accepted 100
42 3 0058.7 23124 20276 Accepted 100
43 3 0004.5 7604 4196 Accepted 100
44 3 0004.7 7736 4304 Accepted 100
45 3 0003.3 7340 3724 Accepted 100
46 3 0003.7 7472 3824 Accepted 100
47 3 0003.9 7604 3904 Accepted 100
48 3 0004.1 7604 4056 Accepted 100
49 3 0004.1 7736 4100 Accepted 100
50 3 0006.0 8264 4672 Accepted 100
51 3 0006.5 8132 4836 Accepted 100
52 3 0006.6 8132 4864 Accepted 100
53 3 0016.1 11476 7812 Accepted 100
54 3 0019.2 12816 8832 Accepted 100
55 3 0025.3 14960 11228 Accepted 100
56 3 0028.2 15764 11856 Accepted 100
57 3 0030.5 16700 12868 Accepted 100
58 3 0003.0 7208 3752 Accepted 100
59 3 0034.4 17768 13960 Accepted 100
60 3 0040.8 18312 14548 Accepted 100
61 3 0007.5 8528 5124 Accepted 100
62 3 0036.9 18444 14588 Accepted 100
63 3 0008.9 8660 5416 Accepted 100
64 3 0009.9 9188 5948 Accepted 100
65 3 0012.6 9852 6804 Accepted 100
66 3 0031.5 15892 12640 Accepted 100
67 3 0039.9 18440 15336 Accepted 100
68 3 0041.8 18708 15716 Accepted 100
69 3 0047.5 20308 17456 Accepted 100
70 3 0049.6 20712 17828 Accepted 100
71 3 0049.2 20852 17964 Accepted 100
72 3 0057.3 22588 19396 Accepted 100
73 3 0002.6 7208 3392 Accepted 100
74 3 0002.7 7208 3556 Accepted 100
75 3 0002.7 7208 3540 Accepted 100
76 3 0002.6 7208 3556 Accepted 100
77 3 0002.6 7208 3556 Accepted 100
78 3 0002.6 7208 3476 Accepted 100
79 3 0002.5 7208 3472 Accepted 100
80 3 0002.6 7208 3476 Accepted 100
81 3 0003.0 7208 3540 Accepted 100
82 3 0002.7 7208 3476 Accepted 100
83 3 0003.1 7208 3544 Accepted 100
84 3 0002.7 7208 3548 Accepted 100
85 3 0002.5 7208 3472 Accepted 100
86 3 0002.5 7208 3508 Accepted 100
87 3 0002.6 7208 3584 Accepted 100
88 3 0002.5 7208 3544 Accepted 100
89 3 0003.1 7208 3540 Accepted 100
90 3 0002.5 7208 3380 Accepted 100
91 3 0002.6 7208 3532 Accepted 100
92 3 0002.7 7208 3456 Accepted 100
93 3 0002.9 7208 3544 Accepted 100
94 3 0002.5 7208 3584 Accepted 100
95 3 0002.8 7208 3376 Accepted 100
96 3 0002.6 7208 3552 Accepted 100
97 3 0002.6 7208 3648 Accepted 100
98 3 0002.6 7208 3524 Accepted 100
99 3 0002.4 7208 3520 Accepted 100
100 4 0160.2 35408 28584 Accepted 100
101 4 0164.1 35984 29108 Accepted 100
102 4 0178.7 37316 30704 Accepted 100
103 4 0174.9 37168 30508 Accepted 100
104 4 0176.5 37024 30012 Accepted 100
105 4 0170.5 36868 30128 Accepted 100
106 4 0157.8 35696 29020 Accepted 100
107 4 0162.6 36276 29444 Accepted 100
108 4 0164.1 36568 29768 Accepted 100
109 4 0167.3 36856 30032 Accepted 100
110 4 0187.6 37324 30676 Accepted 100
111 4 0168.3 36856 29924 Accepted 100
112 4 0179.7 37312 30644 Accepted 100
113 4 0160.4 35408 28576 Accepted 100
114 4 0161.8 35568 28804 Accepted 100
115 4 0155.8 34680 28108 Accepted 100
116 4 0155.7 34684 28196 Accepted 100
117 4 0165.8 36144 29100 Accepted 100
118 4 0157.6 34564 27804 Accepted 100
119 4 0167.2 36156 29384 Accepted 100
120 4 0171.2 36876 30016 Accepted 100
121 4 0205.3 37320 30660 Accepted 100
122 4 0179.6 37592 30780 Accepted 100
123 4 0169.4 36012 29092 Accepted 100
124 4 0174.6 36432 29532 Accepted 100
125 4 0172.3 36164 29308 Accepted 100
126 4 0185.1 37024 30276 Accepted 100
127 4 0184.7 37024 30300 Accepted 100
128 4 0196.3 37480 30776 Accepted 100
129 4 0189.8 37456 30752 Accepted 100
130 4 0184.2 36748 29924 Accepted 100
131 4 0186.5 36744 29924 Accepted 100
132 4 0187.6 37164 30420 Accepted 100
133 4 0188.5 37480 30744 Accepted 100
134 4 0183.3 36160 29496 Accepted 100
135 4 0183.1 36892 30200 Accepted 100
136 4 0179.2 36876 30052 Accepted 100
137 4 0155.5 33836 27600 Accepted 100
138 4 0097.9 25256 19396 Accepted 100
139 4 0005.9 7736 4076 Accepted 100
140 4 0112.0 27444 21412 Accepted 100
141 4 0165.5 35996 29232 Accepted 100
142 4 0037.0 13168 9532 Accepted 100
143 4 0126.0 29216 22476 Accepted 100
144 4 0108.7 25864 20016 Accepted 100
145 4 0110.2 25868 20088 Accepted 100
146 4 0162.7 33988 27712 Accepted 100
147 4 0188.8 37336 30736 Accepted 100
148 4 0052.0 15444 11976 Accepted 100
149 4 0131.0 30064 23260 Accepted 100
150 4 0059.9 17144 13236 Accepted 100
151 4 0003.5 7340 3752 Accepted 100
152 4 0018.9 7340 3568 Accepted 100
153 4 0003.6 7340 3692 Accepted 100
154 4 0003.8 7340 3800 Accepted 100
155 4 0004.1 7472 3876 Accepted 100
156 4 0004.3 7472 3864 Accepted 100
157 4 0003.7 7340 3700 Accepted 100
158 4 0119.1 7340 3600 Accepted 100
159 4 0003.9 7340 3736 Accepted 100
160 4 0004.3 7472 3856 Accepted 100
161 4 0004.3 7472 3888 Accepted 100
162 4 0004.6 7472 3932 Accepted 100
163 4 0003.7 7340 3796 Accepted 100
164 4 0004.4 7340 3772 Accepted 100
165 4 0004.2 7472 3856 Accepted 100
166 4 0004.9 7472 3876 Accepted 100
167 4 0004.7 7472 3916 Accepted 100
168 4 0005.3 7604 3916 Accepted 100
169 4 0003.8 7340 3792 Accepted 100
170 4 0004.2 7472 3784 Accepted 100
171 4 0004.5 7472 3896 Accepted 100
172 4 0599.1 7472 3628 Time Limit Exceeded 0
173 4 0004.9 7604 4064 Accepted 100
174 4 0005.5 7604 4076 Accepted 100
175 4 0004.3 7472 3880 Accepted 100
176 4 0004.5 7472 3876 Accepted 100
177 4 0005.1 7472 3784 Accepted 100
178 4 0005.3 7604 4000 Accepted 100
179 4 0005.9 7604 4040 Accepted 100
180 4 0007.0 7604 4124 Accepted 100
181 4 0004.6 7472 3880 Accepted 100
182 4 0005.5 7472 3976 Accepted 100
183 4 0005.1 7604 3904 Accepted 100
184 4 0005.5 7604 4052 Accepted 100
185 4 0006.5 7604 3932 Accepted 100
186 4 0028.4 7736 4188 Accepted 100
187 5 0164.1 36832 29744 Accepted 100
188 5 0370.6 36844 29964 Accepted 100
189 5 0150.1 36556 29720 Accepted 100
190 5 0123.9 30652 23904 Accepted 100
191 5 0096.7 33376 26444 Accepted 100
192 5 0134.3 34724 27524 Accepted 100
193 5 0139.2 35472 28208 Accepted 100
194 5 0156.3 35936 28808 Accepted 100
195 5 0154.7 36388 29292 Accepted 100
196 5 0003.2 7208 3536 Accepted 100
197 5 0003.6 7208 3508 Accepted 100
198 5 0002.8 7208 3584 Accepted 100
199 5 0002.6 7208 3636 Accepted 100
200 5 0003.3 7208 3516 Accepted 100
201 5 0002.8 7208 3528 Accepted 100
202 5 0002.8 7208 3644 Accepted 100
203 5 0002.6 7208 3464 Accepted 100
204 5 0004.2 7208 3564 Accepted 100
205 5 0068.6 7208 3380 Accepted 100
206 5 0003.8 7208 3576 Accepted 100
207 5 0003.2 7208 3520 Accepted 100
208 5 0002.7 7208 3552 Accepted 100
209 5 0017.0 7208 3596 Accepted 100
210 5 0002.8 7208 3484 Accepted 100
211 5 0198.5 16388 12672 Accepted 100
212 5 0035.8 13440 9832 Accepted 100
213 5 0036.6 13712 10028 Accepted 100
214 5 0019.7 11700 8012 Accepted 100
215 5 0072.6 22876 17380 Accepted 100
216 5 0011.5 9320 5728 Accepted 100
217 5 0009.8 8132 4764 Accepted 100
218 5 0005.1 7604 3892 Accepted 100
219 5 0035.4 13572 9784 Accepted 100
220 5 0139.3 34056 27136 Accepted 100
221 5 0017.8 9056 5504 Accepted 100
222 5 0096.7 23468 17448 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.72 KB
Back to Top