Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

61499
5860
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.4 10156 3672 Accepted 100
1 1 0002.6 10156 3744 Accepted 100
2 2 0002.7 10156 3644 Accepted 100
3 2 0002.8 10156 3736 Accepted 100
4 2 0002.6 10156 3692 Accepted 100
5 2 0002.7 10156 3732 Accepted 100
6 2 0004.1 10156 3456 Accepted 100
7 2 0002.5 10156 3672 Accepted 100
8 2 0002.6 10156 3660 Accepted 100
9 2 0003.1 10156 3636 Accepted 100
10 2 0003.2 10156 3740 Accepted 100
11 2 0003.2 10156 3704 Accepted 100
12 2 0003.4 10156 3664 Accepted 100
13 2 0003.2 10156 3552 Accepted 100
14 2 0004.3 10156 3512 Accepted 100
15 2 0002.5 10156 3668 Accepted 100
16 2 0002.8 10156 3640 Accepted 100
17 2 0002.4 10156 3600 Accepted 100
18 2 0004.2 10156 3676 Accepted 100
19 2 0004.1 10156 3684 Accepted 100
20 2 0002.6 10156 3644 Accepted 100
21 3 0012.5 10224 5860 Accepted 100
22 3 0005.1 10220 3868 Accepted 100
23 3 0004.9 10216 3860 Accepted 100
24 3 0005.2 10220 3824 Accepted 100
25 3 0007.2 10220 3704 Accepted 100
26 3 0004.9 10220 3796 Accepted 100
27 3 0005.0 10216 3828 Accepted 100
28 3 0004.9 10216 3864 Accepted 100
29 3 0005.0 10220 3704 Accepted 100
30 3 0005.1 10224 3800 Accepted 100
31 3 0004.8 10220 3748 Accepted 100
32 3 0004.9 10224 3900 Accepted 100
33 3 0011.9 10216 5832 Accepted 100
34 3 0012.1 10220 5840 Accepted 100
35 3 0016.3 10220 5840 Accepted 100
36 3 0014.6 10224 5844 Accepted 100
37 3 0012.3 10216 5788 Accepted 100
38 3 0016.2 10224 5696 Accepted 100
39 3 0015.4 10220 5692 Accepted 100
40 3 0014.4 10216 5792 Accepted 100
41 3 0017.0 10220 5852 Accepted 100
42 3 0012.2 10220 5856 Accepted 100
43 3 0003.2 10156 3852 Accepted 100
44 3 0003.5 10156 3876 Accepted 100
45 3 0002.6 10156 3668 Accepted 100
46 3 0002.7 10156 3628 Accepted 100
47 3 0002.5 10156 3688 Accepted 100
48 3 0002.6 10156 3576 Accepted 100
49 3 0002.7 10156 3560 Accepted 100
50 3 0002.8 10156 3684 Accepted 100
51 3 0003.7 10156 4156 Accepted 100
52 3 0004.0 10156 4056 Accepted 100
53 3 0003.6 10156 3712 Accepted 100
54 3 0004.5 10156 3780 Accepted 100
55 3 0003.9 10156 3792 Accepted 100
56 3 0003.8 10168 3804 Accepted 100
57 3 0004.1 10172 3820 Accepted 100
58 3 0003.3 10156 3644 Accepted 100
59 3 0005.1 10176 3748 Accepted 100
60 3 0004.2 10180 3752 Accepted 100
61 3 0005.2 10156 4240 Accepted 100
62 3 0004.2 10180 3644 Accepted 100
63 3 0004.4 10156 4336 Accepted 100
64 3 0004.5 10156 4240 Accepted 100
65 3 0005.0 10156 4496 Accepted 100
66 3 0008.3 10164 5164 Accepted 100
67 3 0012.2 10184 5360 Accepted 100
68 3 0014.2 10188 5460 Accepted 100
69 3 0010.4 10200 5604 Accepted 100
70 3 0010.9 10200 5644 Accepted 100
71 3 0011.3 10200 5684 Accepted 100
72 3 0011.9 10216 5808 Accepted 100
73 3 0002.5 10156 3680 Accepted 100
74 3 0002.5 10156 3612 Accepted 100
75 3 0004.1 10156 3524 Accepted 100
76 3 0002.4 10156 3572 Accepted 100
77 3 0002.6 10156 3528 Accepted 100
78 3 0002.4 10156 3636 Accepted 100
79 3 0002.4 10156 3608 Accepted 100
80 3 0002.5 10156 3548 Accepted 100
81 3 0002.6 10156 3700 Accepted 100
82 3 0002.5 10156 3548 Accepted 100
83 3 0002.5 10156 3736 Accepted 100
84 3 0002.4 10156 3700 Accepted 100
85 3 0002.4 10156 3632 Accepted 100
86 3 0002.6 10156 3668 Accepted 100
87 3 0002.5 10156 3632 Accepted 100
88 3 0002.5 10156 3672 Accepted 100
89 3 0002.4 10156 3552 Accepted 100
90 3 0002.4 10156 3548 Accepted 100
91 3 0002.6 10156 3548 Accepted 100
92 3 0002.5 10156 3548 Accepted 100
93 3 0002.6 10156 3672 Accepted 100
94 3 0002.5 10156 3668 Accepted 100
95 3 0002.6 10156 3740 Accepted 100
96 3 0002.7 10156 3644 Accepted 100
97 3 0002.7 10156 3680 Accepted 100
98 3 0002.6 10156 3768 Accepted 100
99 3 0002.6 10156 3712 Accepted 100
100 4 0571.1 10212 3512 Time Limit Exceeded 0
101 4 0561.6 10216 3636 Time Limit Exceeded 0
102 4 0599.7 10216 3752 Time Limit Exceeded 0
103 4 0596.4 10216 3884 Time Limit Exceeded 0
104 4 0571.0 10220 3636 Time Limit Exceeded 0
105 4 0561.9 10220 3816 Time Limit Exceeded 0
106 4 0590.8 10212 3932 Time Limit Exceeded 0
107 4 0601.2 10212 3868 Time Limit Exceeded 0
108 4 0553.8 10216 3972 Time Limit Exceeded 0
109 4 0551.9 10220 3976 Time Limit Exceeded 0
110 4 0559.8 10220 3816 Time Limit Exceeded 0
111 4 0552.6 10216 3540 Time Limit Exceeded 0
112 4 0598.9 10212 3740 Time Limit Exceeded 0
113 4 0593.0 10196 3608 Time Limit Exceeded 0
114 4 0586.9 10204 3580 Time Limit Exceeded 0
115 4 0596.1 10204 3800 Time Limit Exceeded 0
116 4 0598.3 10212 3936 Time Limit Exceeded 0
117 4 0595.3 10204 3664 Time Limit Exceeded 0
118 4 0553.3 10212 3552 Time Limit Exceeded 0
119 4 0584.4 10216 3624 Time Limit Exceeded 0
120 4 0586.9 10216 3660 Time Limit Exceeded 0
121 4 0570.9 10220 3536 Time Limit Exceeded 0
122 4 0570.6 10216 3544 Time Limit Exceeded 0
123 4 0588.8 10208 3552 Time Limit Exceeded 0
124 4 0580.9 10208 3664 Time Limit Exceeded 0
125 4 0006.1 10212 3780 Accepted 100
126 4 0565.6 10216 3588 Time Limit Exceeded 0
127 4 0572.8 10216 3568 Time Limit Exceeded 0
128 4 0567.4 10212 3588 Time Limit Exceeded 0
129 4 0583.6 10220 3628 Time Limit Exceeded 0
130 4 0590.6 10212 3568 Time Limit Exceeded 0
131 4 0573.4 10216 3700 Time Limit Exceeded 0
132 4 0562.5 10212 3588 Time Limit Exceeded 0
133 4 0557.9 10216 3680 Time Limit Exceeded 0
134 4 0600.7 10212 3752 Time Limit Exceeded 0
135 4 0577.6 10216 3660 Time Limit Exceeded 0
136 4 0572.8 10220 3796 Time Limit Exceeded 0
137 4 0599.7 10208 3812 Time Limit Exceeded 0
138 4 0595.1 10176 3628 Time Limit Exceeded 0
139 4 0563.4 10156 3368 Time Limit Exceeded 0
140 4 0573.6 10176 3692 Time Limit Exceeded 0
141 4 0580.8 10208 3772 Time Limit Exceeded 0
142 4 0572.3 10156 3476 Time Limit Exceeded 0
143 4 0583.2 10184 3564 Time Limit Exceeded 0
144 4 0589.4 10168 3620 Time Limit Exceeded 0
145 4 0005.0 10180 3792 Accepted 100
146 4 0592.0 10200 3740 Time Limit Exceeded 0
147 4 0570.5 10212 3600 Time Limit Exceeded 0
148 4 0583.2 10156 3548 Time Limit Exceeded 0
149 4 0575.8 10188 3764 Time Limit Exceeded 0
150 4 0574.2 10156 3712 Time Limit Exceeded 0
151 4 0564.9 10156 3324 Time Limit Exceeded 0
152 4 0583.0 10156 3436 Time Limit Exceeded 0
153 4 0568.2 10156 3456 Time Limit Exceeded 0
154 4 0596.4 10156 3336 Time Limit Exceeded 0
155 4 0576.0 10156 3460 Time Limit Exceeded 0
156 4 0587.3 10156 3332 Time Limit Exceeded 0
157 4 0562.7 10156 3436 Time Limit Exceeded 0
158 4 0563.8 10156 3444 Time Limit Exceeded 0
159 4 0565.6 10156 3452 Time Limit Exceeded 0
160 4 0567.8 10156 3488 Time Limit Exceeded 0
161 4 0577.4 10156 3448 Time Limit Exceeded 0
162 4 0561.7 10156 3488 Time Limit Exceeded 0
163 4 0577.8 10156 3416 Time Limit Exceeded 0
164 4 0554.5 10156 3480 Time Limit Exceeded 0
165 4 0579.2 10156 3340 Time Limit Exceeded 0
166 4 0577.2 10156 3440 Time Limit Exceeded 0
167 4 0565.4 10156 3496 Time Limit Exceeded 0
168 4 0583.6 10156 3336 Time Limit Exceeded 0
169 4 0574.7 10156 3328 Time Limit Exceeded 0
170 4 0579.0 10156 3340 Time Limit Exceeded 0
171 4 0596.0 10156 3340 Time Limit Exceeded 0
172 4 0556.6 10156 3356 Time Limit Exceeded 0
173 4 0583.1 10156 3492 Time Limit Exceeded 0
174 4 0587.8 10156 3480 Time Limit Exceeded 0
175 4 0578.2 10156 3348 Time Limit Exceeded 0
176 4 0552.5 10156 3476 Time Limit Exceeded 0
177 4 0551.3 10156 3500 Time Limit Exceeded 0
178 4 0595.4 10156 3456 Time Limit Exceeded 0
179 4 0602.0 10156 3372 Time Limit Exceeded 0
180 4 0582.8 10156 3504 Time Limit Exceeded 0
181 4 0573.6 10156 3496 Time Limit Exceeded 0
182 4 0566.8 10156 3492 Time Limit Exceeded 0
183 4 0573.7 10156 3460 Time Limit Exceeded 0
184 4 0576.3 10156 3484 Time Limit Exceeded 0
185 4 0571.3 10156 3396 Time Limit Exceeded 0
186 4 0560.8 10156 3464 Time Limit Exceeded 0
187 5 0572.7 10220 3552 Time Limit Exceeded 0
188 5 0567.2 10216 4004 Time Limit Exceeded 0
189 5 0590.0 10220 4048 Time Limit Exceeded 0
190 5 0580.4 10156 3536 Time Limit Exceeded 0
191 5 0575.3 10216 3648 Time Limit Exceeded 0
192 5 0572.8 10180 3572 Time Limit Exceeded 0
193 5 0557.2 10212 3512 Time Limit Exceeded 0
194 5 0590.2 10192 3532 Time Limit Exceeded 0
195 5 0573.2 10216 3560 Time Limit Exceeded 0
196 5 0002.7 10156 3648 Accepted 100
197 5 0579.4 10156 3464 Time Limit Exceeded 0
198 5 0003.7 10156 3556 Accepted 100
199 5 0010.9 10156 3668 Accepted 100
200 5 0256.8 10156 3512 Accepted 100
201 5 0598.7 10156 3312 Time Limit Exceeded 0
202 5 0003.5 10156 3664 Accepted 100
203 5 0003.8 10156 3640 Accepted 100
204 5 0002.6 10156 3556 Accepted 100
205 5 0003.2 10156 3640 Accepted 100
206 5 0003.1 10156 3644 Accepted 100
207 5 0006.9 10156 3708 Accepted 100
208 5 0002.7 10156 3636 Accepted 100
209 5 0004.1 10156 3464 Accepted 100
210 5 0002.8 10156 3668 Accepted 100
211 5 0571.8 10156 3432 Time Limit Exceeded 0
212 5 0574.2 10156 3740 Time Limit Exceeded 0
213 5 0563.3 10156 3704 Time Limit Exceeded 0
214 5 0004.0 10156 3996 Accepted 100
215 5 0038.9 10164 4140 Accepted 100
216 5 0595.2 10156 3360 Time Limit Exceeded 0
217 5 0568.1 10156 3492 Time Limit Exceeded 0
218 5 0572.7 10156 3436 Time Limit Exceeded 0
219 5 0578.3 10156 3384 Time Limit Exceeded 0
220 5 0594.2 10184 3584 Time Limit Exceeded 0
221 5 0032.5 10156 3740 Accepted 100
222 5 0591.0 10168 3604 Time Limit Exceeded 0
Submitter:
Compiler:
c++20
Code Length:
1.07 KB
Back to Top