Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

23954
7804
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.5 9984 3656 Accepted 100
1 1 0003.1 9984 3644 Accepted 100
2 2 0002.6 9984 3644 Accepted 100
3 2 0002.6 9984 3652 Accepted 100
4 2 0002.7 9984 3692 Accepted 100
5 2 0002.7 9984 3696 Accepted 100
6 2 0002.4 9984 3568 Accepted 100
7 2 0002.5 9984 3564 Accepted 100
8 2 0002.6 9984 3780 Accepted 100
9 2 0002.6 9984 3652 Accepted 100
10 2 0002.6 9984 3652 Accepted 100
11 2 0002.5 9984 3560 Accepted 100
12 2 0002.5 9984 3708 Accepted 100
13 2 0002.5 9984 3572 Accepted 100
14 2 0002.5 9984 3664 Accepted 100
15 2 0002.7 9984 3592 Accepted 100
16 2 0002.7 9984 3560 Accepted 100
17 2 0002.7 9984 3668 Accepted 100
18 2 0002.6 9984 3660 Accepted 100
19 2 0002.6 9984 3568 Accepted 100
20 2 0002.5 9984 3712 Accepted 100
21 3 0022.0 10012 7756 Accepted 100
22 3 0017.8 10012 7748 Accepted 100
23 3 0017.5 10016 7580 Accepted 100
24 3 0018.1 10016 7584 Accepted 100
25 3 0017.5 10008 7680 Accepted 100
26 3 0017.5 10012 7604 Accepted 100
27 3 0018.0 10016 7696 Accepted 100
28 3 0018.1 10020 7656 Accepted 100
29 3 0017.4 10012 7680 Accepted 100
30 3 0018.4 10016 7680 Accepted 100
31 3 0017.5 10012 7608 Accepted 100
32 3 0017.9 10012 7712 Accepted 100
33 3 0021.3 10016 7684 Accepted 100
34 3 0021.9 10016 7724 Accepted 100
35 3 0021.3 10012 7684 Accepted 100
36 3 0021.5 10012 7588 Accepted 100
37 3 0021.5 10012 7732 Accepted 100
38 3 0022.0 10016 7804 Accepted 100
39 3 0022.1 10012 7736 Accepted 100
40 3 0021.9 10012 7688 Accepted 100
41 3 0021.4 10016 7692 Accepted 100
42 3 0021.3 10012 7608 Accepted 100
43 3 0003.8 9984 4208 Accepted 100
44 3 0004.1 9984 4316 Accepted 100
45 3 0003.3 9984 3964 Accepted 100
46 3 0003.3 9984 4140 Accepted 100
47 3 0003.7 9984 4276 Accepted 100
48 3 0003.6 9984 4176 Accepted 100
49 3 0003.8 9984 4368 Accepted 100
50 3 0004.7 9984 4700 Accepted 100
51 3 0004.5 9984 4628 Accepted 100
52 3 0004.9 9984 4704 Accepted 100
53 3 0008.7 9984 5804 Accepted 100
54 3 0009.0 9984 6032 Accepted 100
55 3 0010.3 9984 6252 Accepted 100
56 3 0011.8 9984 6520 Accepted 100
57 3 0012.6 9984 6552 Accepted 100
58 3 0003.2 9984 3888 Accepted 100
59 3 0012.7 9984 6616 Accepted 100
60 3 0013.2 9984 6828 Accepted 100
61 3 0005.2 9984 4812 Accepted 100
62 3 0013.3 9984 6952 Accepted 100
63 3 0005.3 9984 4748 Accepted 100
64 3 0005.9 9984 4988 Accepted 100
65 3 0006.7 9984 5156 Accepted 100
66 3 0013.0 9984 6476 Accepted 100
67 3 0016.0 9984 6948 Accepted 100
68 3 0016.4 9984 7084 Accepted 100
69 3 0018.2 9996 7280 Accepted 100
70 3 0018.5 10000 7348 Accepted 100
71 3 0018.9 10000 7372 Accepted 100
72 3 0021.5 10012 7684 Accepted 100
73 3 0002.7 9984 3712 Accepted 100
74 3 0002.6 9984 3720 Accepted 100
75 3 0002.5 9984 3688 Accepted 100
76 3 0002.6 9984 3724 Accepted 100
77 3 0002.5 9984 3592 Accepted 100
78 3 0002.7 9984 3680 Accepted 100
79 3 0002.8 9984 3740 Accepted 100
80 3 0002.6 9984 3600 Accepted 100
81 3 0002.4 9984 3492 Accepted 100
82 3 0002.8 9984 3728 Accepted 100
83 3 0002.7 9984 3732 Accepted 100
84 3 0002.6 9984 3672 Accepted 100
85 3 0002.6 9984 3684 Accepted 100
86 3 0002.6 9984 3716 Accepted 100
87 3 0002.6 9984 3652 Accepted 100
88 3 0002.5 9984 3608 Accepted 100
89 3 0002.8 9984 3560 Accepted 100
90 3 0003.4 9984 3668 Accepted 100
91 3 0002.6 9984 3712 Accepted 100
92 3 0002.7 9984 3656 Accepted 100
93 3 0003.4 9984 3636 Accepted 100
94 3 0002.6 9984 3764 Accepted 100
95 3 0003.3 9984 3508 Accepted 100
96 3 0002.5 9984 3636 Accepted 100
97 3 0002.9 9984 3704 Accepted 100
98 3 0002.6 9984 3668 Accepted 100
99 3 0002.9 9984 3644 Accepted 100
100 4 0407.4 10008 7644 Wrong Answer 0
101 4 0411.3 10016 7532 Wrong Answer 0
102 4 0300.1 10012 7716 Wrong Answer 0
103 4 0283.7 10016 7520 Wrong Answer 0
104 4 0412.0 10012 7724 Wrong Answer 0
105 4 0557.0 10008 7592 Time Limit Exceeded 0
106 4 0402.7 10012 7640 Wrong Answer 0
107 4 0409.2 10012 7692 Wrong Answer 0
108 4 0412.5 10012 7484 Wrong Answer 0
109 4 0413.8 10012 7732 Wrong Answer 0
110 4 0318.1 10012 7740 Wrong Answer 0
111 4 0412.5 10016 7684 Wrong Answer 0
112 4 0300.4 10016 7756 Wrong Answer 0
113 4 0411.5 9996 7496 Wrong Answer 0
114 4 0420.6 9996 7616 Wrong Answer 0
115 4 0260.0 10000 7468 Wrong Answer 0
116 4 0392.6 10008 7576 Wrong Answer 0
117 4 0324.0 10004 7652 Wrong Answer 0
118 4 0391.5 10008 7528 Wrong Answer 0
119 4 0405.1 10012 7664 Wrong Answer 0
120 4 0410.1 10016 7668 Wrong Answer 0
121 4 0285.2 10016 7632 Wrong Answer 0
122 4 0413.9 10012 7716 Wrong Answer 0
123 4 0400.7 10012 7492 Wrong Answer 0
124 4 0277.3 10004 7724 Wrong Answer 0
125 4 0018.4 10012 7508 Accepted 100
126 4 0417.5 10016 7652 Wrong Answer 0
127 4 0286.5 10012 7724 Wrong Answer 0
128 4 0279.3 10008 7472 Wrong Answer 0
129 4 0414.6 10012 7780 Wrong Answer 0
130 4 0270.7 10008 7680 Wrong Answer 0
131 4 0407.7 10008 7456 Wrong Answer 0
132 4 0269.0 10012 7696 Wrong Answer 0
133 4 0417.9 10012 7712 Wrong Answer 0
134 4 0562.0 10012 7356 Time Limit Exceeded 0
135 4 0410.8 10012 7672 Wrong Answer 0
136 4 0413.8 10012 7700 Wrong Answer 0
137 4 0310.4 10000 7524 Wrong Answer 0
138 4 0314.2 9984 6832 Wrong Answer 0
139 4 0062.3 9984 4232 Wrong Answer 0
140 4 0449.7 9984 6932 Wrong Answer 0
141 4 0268.8 10012 7644 Wrong Answer 0
142 4 0184.4 9984 5416 Wrong Answer 0
143 4 0235.2 9988 7116 Wrong Answer 0
144 4 0208.4 9984 6800 Wrong Answer 0
145 4 0013.5 9984 6708 Accepted 100
146 4 0251.2 10000 7524 Wrong Answer 0
147 4 0270.5 10008 7684 Wrong Answer 0
148 4 0162.1 9984 5724 Wrong Answer 0
149 4 0269.7 9988 7004 Wrong Answer 0
150 4 0243.1 9984 5944 Wrong Answer 0
151 4 0035.8 9984 3932 Wrong Answer 0
152 4 0038.0 9984 4060 Wrong Answer 0
153 4 0040.7 9984 4016 Wrong Answer 0
154 4 0030.1 9984 3812 Wrong Answer 0
155 4 0045.3 9984 3840 Wrong Answer 0
156 4 0033.6 9984 3972 Wrong Answer 0
157 4 0040.0 9984 4020 Wrong Answer 0
158 4 0057.7 9984 3976 Wrong Answer 0
159 4 0033.6 9984 4008 Wrong Answer 0
160 4 0034.3 9984 4032 Wrong Answer 0
161 4 0039.5 9984 3976 Wrong Answer 0
162 4 0040.0 9984 4092 Wrong Answer 0
163 4 0040.5 9984 4012 Wrong Answer 0
164 4 0043.6 9984 4008 Wrong Answer 0
165 4 0046.3 9984 4144 Wrong Answer 0
166 4 0034.2 9984 4104 Wrong Answer 0
167 4 0051.8 9984 3992 Wrong Answer 0
168 4 0038.0 9984 4188 Wrong Answer 0
169 4 0044.6 9984 4044 Wrong Answer 0
170 4 0064.4 9984 4072 Wrong Answer 0
171 4 0037.4 9984 3968 Wrong Answer 0
172 4 0038.3 9984 4132 Wrong Answer 0
173 4 0042.7 9984 4124 Wrong Answer 0
174 4 0044.3 9984 4128 Wrong Answer 0
175 4 0045.9 9984 4060 Wrong Answer 0
176 4 0048.4 9984 3980 Wrong Answer 0
177 4 0051.7 9984 4064 Wrong Answer 0
178 4 0039.2 9984 4096 Wrong Answer 0
179 4 0059.2 9984 4196 Wrong Answer 0
180 4 0043.5 9984 4160 Wrong Answer 0
181 4 0050.3 9984 4024 Wrong Answer 0
182 4 0071.9 9984 3984 Wrong Answer 0
183 4 0038.8 9984 4228 Wrong Answer 0
184 4 0044.0 9984 4260 Wrong Answer 0
185 4 0047.9 9984 4224 Wrong Answer 0
186 4 0051.7 9984 4028 Wrong Answer 0
187 5 0425.7 10016 7488 Wrong Answer 0
188 5 0405.0 10012 7736 Wrong Answer 0
189 5 0284.2 10016 7712 Wrong Answer 0
190 5 0262.0 9984 7704 Wrong Answer 0
191 5 0413.6 10020 7760 Wrong Answer 0
192 5 0264.6 9984 7748 Wrong Answer 0
193 5 0283.3 10012 7520 Wrong Answer 0
194 5 0262.0 9992 7604 Wrong Answer 0
195 5 0418.5 10020 7756 Wrong Answer 0
196 5 0002.6 9984 3744 Accepted 100
197 5 0011.0 9984 3732 Wrong Answer 0
198 5 0002.8 9984 3652 Accepted 100
199 5 0010.6 9984 3492 Wrong Answer 0
200 5 0010.4 9984 3588 Wrong Answer 0
201 5 0009.7 9984 3508 Wrong Answer 0
202 5 0002.9 9984 3728 Accepted 100
203 5 0004.3 9984 3616 Accepted 100
204 5 0002.7 9984 3744 Accepted 100
205 5 0002.7 9984 3756 Accepted 100
206 5 0002.9 9984 3512 Accepted 100
207 5 0008.9 9984 3752 Accepted 100
208 5 0003.7 9984 3748 Accepted 100
209 5 0005.3 9984 3828 Accepted 100
210 5 0003.0 9984 3696 Accepted 100
211 5 0239.8 9984 6024 Wrong Answer 0
212 5 0131.8 9984 5480 Wrong Answer 0
213 5 0135.5 9984 5568 Wrong Answer 0
214 5 0007.1 9984 5184 Accepted 100
215 5 0063.3 9984 6588 Accepted 100
216 5 0102.4 9984 4636 Wrong Answer 0
217 5 0054.3 9984 4436 Wrong Answer 0
218 5 0060.2 9984 4180 Wrong Answer 0
219 5 0170.6 9984 5496 Wrong Answer 0
220 5 0252.0 9984 7500 Wrong Answer 0
221 5 0057.2 9984 4580 Accepted 100
222 5 0303.3 9984 6672 Wrong Answer 0
Submitter:
Compiler:
c++20
Code Length:
932 Bytes
Back to Top