Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

38125
3924
Time Limit Exceeded
65

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$ 0 / 35
4 100~186 $n \ge 12$ 且 $m \ge 12$ 47 / 47
5 187~222 無額外限制。 11 / 11

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0480.9 6216 3772 Accepted 100
1 1 0030.5 6216 3760 Accepted 100
2 2 0480.5 6216 3760 Accepted 100
3 2 0480.9 6216 3720 Accepted 100
4 2 0481.1 6216 3784 Accepted 100
5 2 0030.1 6216 3832 Accepted 100
6 2 0003.3 6216 3724 Accepted 100
7 2 0008.0 6216 3700 Accepted 100
8 2 0195.4 6216 3820 Accepted 100
9 2 0481.1 6216 3728 Accepted 100
10 2 0480.8 6216 3700 Accepted 100
11 2 0004.7 6216 3724 Accepted 100
12 2 0005.3 6216 3768 Accepted 100
13 2 0481.0 6216 3772 Accepted 100
14 2 0004.7 6216 3764 Accepted 100
15 2 0002.7 6216 3828 Accepted 100
16 2 0006.5 6216 3700 Accepted 100
17 2 0003.7 6216 3764 Accepted 100
18 2 0009.0 6216 3728 Accepted 100
19 2 0019.2 6216 3592 Accepted 100
20 2 0059.5 6216 3768 Accepted 100
21 3 0490.5 6216 3784 Wrong Answer 0
22 3 0488.5 6216 3788 Wrong Answer 0
23 3 0487.4 6216 3784 Wrong Answer 0
24 3 0486.0 6216 3920 Wrong Answer 0
25 3 0485.5 6216 3748 Wrong Answer 0
26 3 0487.7 6216 3916 Wrong Answer 0
27 3 0488.7 6216 3792 Wrong Answer 0
28 3 0489.8 6216 3692 Wrong Answer 0
29 3 0486.8 6216 3816 Wrong Answer 0
30 3 0491.0 6216 3624 Wrong Answer 0
31 3 0486.8 6216 3820 Wrong Answer 0
32 3 0490.1 6216 3920 Wrong Answer 0
33 3 0484.9 6216 3920 Wrong Answer 0
34 3 0486.6 6216 3756 Wrong Answer 0
35 3 0484.1 6216 3852 Wrong Answer 0
36 3 0487.3 6216 3916 Wrong Answer 0
37 3 0485.3 6216 3816 Wrong Answer 0
38 3 0487.6 6216 3796 Wrong Answer 0
39 3 0485.5 6216 3856 Wrong Answer 0
40 3 0490.7 6216 3792 Wrong Answer 0
41 3 0489.3 6216 3812 Wrong Answer 0
42 3 0502.2 6216 3856 Time Limit Exceeded 0
43 3 0484.2 6216 3776 Wrong Answer 0
44 3 0483.2 6216 3840 Wrong Answer 0
45 3 0481.4 6216 3728 Wrong Answer 0
46 3 0480.8 6216 3736 Wrong Answer 0
47 3 0483.1 6216 3732 Wrong Answer 0
48 3 0482.4 6216 3772 Wrong Answer 0
49 3 0483.5 6216 3736 Wrong Answer 0
50 3 0485.4 6216 3844 Wrong Answer 0
51 3 0482.7 6216 3844 Wrong Answer 0
52 3 0482.1 6216 3728 Wrong Answer 0
53 3 0482.3 6216 3812 Wrong Answer 0
54 3 0487.5 6216 3820 Wrong Answer 0
55 3 0492.6 6216 3816 Wrong Answer 0
56 3 0493.7 6216 3756 Wrong Answer 0
57 3 0487.9 6216 3776 Wrong Answer 0
58 3 0480.8 6216 3732 Wrong Answer 0
59 3 0495.2 6216 3884 Wrong Answer 0
60 3 0489.8 6216 3744 Wrong Answer 0
61 3 0484.1 6216 3720 Wrong Answer 0
62 3 0495.3 6216 3828 Wrong Answer 0
63 3 0482.8 6216 3788 Wrong Answer 0
64 3 0481.6 6216 3752 Wrong Answer 0
65 3 0485.2 6216 3796 Wrong Answer 0
66 3 0492.1 6216 3744 Wrong Answer 0
67 3 0491.5 6216 3656 Wrong Answer 0
68 3 0484.7 6216 3824 Wrong Answer 0
69 3 0481.8 6216 3748 Wrong Answer 0
70 3 0493.7 6216 3824 Wrong Answer 0
71 3 0497.7 6216 3780 Wrong Answer 0
72 3 0481.7 6216 3860 Wrong Answer 0
73 3 0400.1 6216 3700 Accepted 100
74 3 0481.2 6216 3688 Wrong Answer 0
75 3 0481.0 6216 3712 Wrong Answer 0
76 3 0480.5 6216 3704 Wrong Answer 0
77 3 0481.5 6216 3724 Wrong Answer 0
78 3 0480.8 6216 3596 Wrong Answer 0
79 3 0277.6 6216 3536 Accepted 100
80 3 0481.2 6216 3828 Wrong Answer 0
81 3 0480.9 6216 3760 Wrong Answer 0
82 3 0480.8 6216 3700 Wrong Answer 0
83 3 0481.3 6216 3704 Wrong Answer 0
84 3 0480.5 6216 3600 Wrong Answer 0
85 3 0480.6 6216 3760 Accepted 100
86 3 0480.8 6216 3768 Accepted 100
87 3 0480.6 6216 3488 Accepted 100
88 3 0011.1 6216 3720 Accepted 100
89 3 0012.9 6216 3816 Accepted 100
90 3 0008.2 6216 3768 Accepted 100
91 3 0047.2 6216 3824 Accepted 100
92 3 0119.7 6216 3760 Accepted 100
93 3 0480.9 6216 3748 Accepted 100
94 3 0480.4 6216 3704 Accepted 100
95 3 0058.5 6216 3816 Accepted 100
96 3 0011.4 6216 3600 Accepted 100
97 3 0011.2 6216 3684 Accepted 100
98 3 0024.4 6216 3704 Accepted 100
99 3 0172.8 6216 3596 Accepted 100
100 4 0007.3 6216 3788 Accepted 100
101 4 0007.5 6216 3860 Accepted 100
102 4 0006.7 6216 3856 Accepted 100
103 4 0006.3 6216 3864 Accepted 100
104 4 0006.7 6216 3852 Accepted 100
105 4 0006.7 6216 3912 Accepted 100
106 4 0006.9 6216 3924 Accepted 100
107 4 0007.4 6216 3800 Accepted 100
108 4 0007.4 6216 3856 Accepted 100
109 4 0007.4 6216 3788 Accepted 100
110 4 0005.9 6216 3696 Accepted 100
111 4 0007.4 6216 3788 Accepted 100
112 4 0006.7 6216 3912 Accepted 100
113 4 0007.4 6216 3816 Accepted 100
114 4 0006.8 6216 3848 Accepted 100
115 4 0006.7 6216 3764 Accepted 100
116 4 0006.6 6216 3768 Accepted 100
117 4 0006.2 6216 3824 Accepted 100
118 4 0006.3 6216 3824 Accepted 100
119 4 0006.4 6216 3696 Accepted 100
120 4 0006.2 6216 3776 Accepted 100
121 4 0006.1 6216 3816 Accepted 100
122 4 0006.3 6216 3820 Accepted 100
123 4 0005.7 6216 3912 Accepted 100
124 4 0005.9 6216 3820 Accepted 100
125 4 0005.9 6216 3820 Accepted 100
126 4 0005.6 6216 3868 Accepted 100
127 4 0006.0 6216 3924 Accepted 100
128 4 0005.5 6216 3784 Accepted 100
129 4 0005.8 6216 3784 Accepted 100
130 4 0005.9 6216 3924 Accepted 100
131 4 0005.7 6216 3820 Accepted 100
132 4 0005.9 6216 3916 Accepted 100
133 4 0006.7 6216 3860 Accepted 100
134 4 0005.7 6216 3820 Accepted 100
135 4 0006.2 6216 3816 Accepted 100
136 4 0006.0 6216 3628 Accepted 100
137 4 0006.1 6216 3784 Accepted 100
138 4 0005.4 6216 3760 Accepted 100
139 4 0002.7 6216 3776 Accepted 100
140 4 0005.4 6216 3660 Accepted 100
141 4 0006.8 6216 3696 Accepted 100
142 4 0003.6 6216 3856 Accepted 100
143 4 0005.3 6216 3788 Accepted 100
144 4 0004.7 6216 3780 Accepted 100
145 4 0005.0 6216 3732 Accepted 100
146 4 0005.6 6216 3768 Accepted 100
147 4 0005.8 6216 3696 Accepted 100
148 4 0004.4 6216 3736 Accepted 100
149 4 0005.4 6216 3824 Accepted 100
150 4 0004.7 6216 3548 Accepted 100
151 4 0002.6 6216 3612 Accepted 100
152 4 0002.6 6216 3740 Accepted 100
153 4 0002.7 6216 3828 Accepted 100
154 4 0002.8 6216 3608 Accepted 100
155 4 0002.6 6216 3736 Accepted 100
156 4 0002.6 6216 3700 Accepted 100
157 4 0002.6 6216 3736 Accepted 100
158 4 0002.7 6216 3736 Accepted 100
159 4 0002.8 6216 3736 Accepted 100
160 4 0002.8 6216 3540 Accepted 100
161 4 0002.7 6216 3780 Accepted 100
162 4 0002.7 6216 3840 Accepted 100
163 4 0002.6 6216 3776 Accepted 100
164 4 0002.6 6216 3708 Accepted 100
165 4 0002.6 6216 3736 Accepted 100
166 4 0002.6 6216 3740 Accepted 100
167 4 0002.8 6216 3740 Accepted 100
168 4 0002.7 6216 3736 Accepted 100
169 4 0002.7 6216 3608 Accepted 100
170 4 0002.6 6216 3612 Accepted 100
171 4 0002.7 6216 3828 Accepted 100
172 4 0002.7 6216 3672 Accepted 100
173 4 0002.7 6216 3828 Accepted 100
174 4 0002.7 6216 3708 Accepted 100
175 4 0002.7 6216 3732 Accepted 100
176 4 0002.8 6216 3776 Accepted 100
177 4 0002.9 6216 3772 Accepted 100
178 4 0002.7 6216 3708 Accepted 100
179 4 0002.8 6216 3840 Accepted 100
180 4 0002.7 6216 3736 Accepted 100
181 4 0002.7 6216 3772 Accepted 100
182 4 0002.7 6216 3776 Accepted 100
183 4 0002.8 6216 3772 Accepted 100
184 4 0002.7 6216 3740 Accepted 100
185 4 0002.8 6216 3548 Accepted 100
186 4 0002.8 6216 3716 Accepted 100
187 5 0008.4 6216 3784 Accepted 100
188 5 0007.6 6216 3764 Accepted 100
189 5 0009.2 6216 3856 Accepted 100
190 5 0069.6 6216 3816 Accepted 100
191 5 0024.1 6216 3692 Accepted 100
192 5 0017.3 6216 3916 Accepted 100
193 5 0013.6 6216 3860 Accepted 100
194 5 0011.2 6216 3820 Accepted 100
195 5 0009.3 6216 3796 Accepted 100
196 5 0002.6 6216 3724 Accepted 100
197 5 0002.4 6216 3700 Accepted 100
198 5 0002.8 6216 3828 Accepted 100
199 5 0002.7 6216 3828 Accepted 100
200 5 0002.6 6216 3724 Accepted 100
201 5 0002.7 6216 3684 Accepted 100
202 5 0002.7 6216 3764 Accepted 100
203 5 0002.5 6216 3684 Accepted 100
204 5 0002.6 6216 3724 Accepted 100
205 5 0002.4 6216 3760 Accepted 100
206 5 0002.5 6216 3720 Accepted 100
207 5 0002.5 6216 3704 Accepted 100
208 5 0002.5 6216 3720 Accepted 100
209 5 0002.5 6216 3692 Accepted 100
210 5 0002.5 6216 3704 Accepted 100
211 5 0004.4 6216 3884 Accepted 100
212 5 0004.4 6216 3812 Accepted 100
213 5 0004.7 6216 3772 Accepted 100
214 5 0004.8 6216 3732 Accepted 100
215 5 0007.1 6216 3888 Accepted 100
216 5 0004.7 6216 3728 Accepted 100
217 5 0002.9 6216 3720 Accepted 100
218 5 0002.8 6216 3704 Accepted 100
219 5 0004.4 6216 3884 Accepted 100
220 5 0010.8 6216 3756 Accepted 100
221 5 0003.2 6216 3844 Accepted 100
222 5 0006.2 6216 3764 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
4.1 KB
Back to Top