Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

62005
4860
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.7 7056 3748 Accepted 100
1 1 0003.0 7056 3680 Accepted 100
2 2 0002.7 7056 3452 Accepted 100
3 2 0002.5 7056 3540 Accepted 100
4 2 0002.6 7056 3624 Accepted 100
5 2 0002.5 7056 3744 Accepted 100
6 2 0002.7 7056 3544 Accepted 100
7 2 0002.5 7056 3628 Accepted 100
8 2 0002.5 7056 3648 Accepted 100
9 2 0002.4 7056 3644 Accepted 100
10 2 0002.9 7056 3644 Accepted 100
11 2 0002.6 7056 3748 Accepted 100
12 2 0002.6 7056 3644 Accepted 100
13 2 0002.8 7056 3620 Accepted 100
14 2 0002.6 7056 3688 Accepted 100
15 2 0002.8 7056 3544 Accepted 100
16 2 0002.7 7056 3684 Accepted 100
17 2 0002.7 7056 3716 Accepted 100
18 2 0002.4 7056 3552 Accepted 100
19 2 0002.5 7056 3684 Accepted 100
20 2 0002.7 7056 3652 Accepted 100
21 3 0007.5 7120 4852 Accepted 100
22 3 0005.7 7116 3816 Accepted 100
23 3 0007.5 7120 3876 Accepted 100
24 3 0005.2 7116 3836 Accepted 100
25 3 0005.2 7120 3872 Accepted 100
26 3 0005.0 7116 3736 Accepted 100
27 3 0005.3 7116 3736 Accepted 100
28 3 0005.0 7116 3876 Accepted 100
29 3 0005.0 7120 3880 Accepted 100
30 3 0005.2 7120 3740 Accepted 100
31 3 0005.3 7120 3876 Accepted 100
32 3 0005.0 7120 3872 Accepted 100
33 3 0007.4 7120 4708 Accepted 100
34 3 0007.4 7116 4708 Accepted 100
35 3 0007.6 7120 4848 Accepted 100
36 3 0007.9 7112 4844 Accepted 100
37 3 0007.9 7116 4708 Accepted 100
38 3 0007.4 7120 4856 Accepted 100
39 3 0007.5 7116 4712 Accepted 100
40 3 0007.5 7120 4848 Accepted 100
41 3 0007.3 7120 4816 Accepted 100
42 3 0007.4 7120 4860 Accepted 100
43 3 0003.1 7056 3868 Accepted 100
44 3 0003.1 7056 3840 Accepted 100
45 3 0002.8 7056 3720 Accepted 100
46 3 0002.8 7056 3564 Accepted 100
47 3 0002.7 7056 3652 Accepted 100
48 3 0002.8 7056 3696 Accepted 100
49 3 0002.7 7056 3672 Accepted 100
50 3 0003.0 7056 3592 Accepted 100
51 3 0003.1 7056 3924 Accepted 100
52 3 0003.4 7056 4008 Accepted 100
53 3 0003.4 7056 3744 Accepted 100
54 3 0003.6 7056 3724 Accepted 100
55 3 0003.8 7060 3808 Accepted 100
56 3 0004.0 7060 3776 Accepted 100
57 3 0004.1 7068 3788 Accepted 100
58 3 0002.5 7056 3684 Accepted 100
59 3 0004.2 7076 3796 Accepted 100
60 3 0004.4 7084 3804 Accepted 100
61 3 0003.6 7056 4064 Accepted 100
62 3 0004.1 7084 3704 Accepted 100
63 3 0003.7 7056 4048 Accepted 100
64 3 0003.7 7056 4072 Accepted 100
65 3 0003.8 7056 4020 Accepted 100
66 3 0005.6 7060 4460 Accepted 100
67 3 0006.2 7080 4628 Accepted 100
68 3 0006.2 7080 4640 Accepted 100
69 3 0006.4 7100 4684 Accepted 100
70 3 0006.8 7100 4736 Accepted 100
71 3 0006.9 7104 4748 Accepted 100
72 3 0007.8 7112 4772 Accepted 100
73 3 0002.6 7056 3652 Accepted 100
74 3 0002.6 7056 3656 Accepted 100
75 3 0002.6 7056 3468 Accepted 100
76 3 0002.6 7056 3692 Accepted 100
77 3 0002.5 7056 3468 Accepted 100
78 3 0002.7 7056 3460 Accepted 100
79 3 0002.5 7056 3448 Accepted 100
80 3 0002.7 7056 3688 Accepted 100
81 3 0002.7 7056 3452 Accepted 100
82 3 0002.5 7056 3628 Accepted 100
83 3 0002.6 7056 3556 Accepted 100
84 3 0002.5 7056 3452 Accepted 100
85 3 0002.6 7056 3664 Accepted 100
86 3 0002.7 7056 3748 Accepted 100
87 3 0002.5 7056 3636 Accepted 100
88 3 0002.6 7056 3548 Accepted 100
89 3 0002.6 7056 3624 Accepted 100
90 3 0002.5 7056 3640 Accepted 100
91 3 0002.6 7056 3648 Accepted 100
92 3 0002.5 7056 3612 Accepted 100
93 3 0002.6 7056 3676 Accepted 100
94 3 0002.5 7056 3652 Accepted 100
95 3 0002.5 7056 3600 Accepted 100
96 3 0002.5 7056 3712 Accepted 100
97 3 0002.7 7056 3680 Accepted 100
98 3 0002.8 7056 3636 Accepted 100
99 3 0002.7 7056 3672 Accepted 100
100 4 0580.7 7112 3668 Time Limit Exceeded 0
101 4 0585.2 7112 3584 Time Limit Exceeded 0
102 4 0584.2 7112 3644 Time Limit Exceeded 0
103 4 0601.2 7120 3620 Time Limit Exceeded 0
104 4 0580.8 7116 3540 Time Limit Exceeded 0
105 4 0600.2 7120 3776 Time Limit Exceeded 0
106 4 0587.8 7108 3812 Time Limit Exceeded 0
107 4 0576.5 7112 3828 Time Limit Exceeded 0
108 4 0602.0 7116 3812 Time Limit Exceeded 0
109 4 0595.8 7120 3656 Time Limit Exceeded 0
110 4 0553.2 7116 3588 Time Limit Exceeded 0
111 4 0552.1 7120 3504 Time Limit Exceeded 0
112 4 0555.7 7120 3616 Time Limit Exceeded 0
113 4 0553.4 7096 3480 Time Limit Exceeded 0
114 4 0592.7 7100 3656 Time Limit Exceeded 0
115 4 0588.8 7108 3796 Time Limit Exceeded 0
116 4 0600.5 7112 3796 Time Limit Exceeded 0
117 4 0600.2 7104 3488 Time Limit Exceeded 0
118 4 0602.1 7108 3504 Time Limit Exceeded 0
119 4 0595.7 7116 3668 Time Limit Exceeded 0
120 4 0551.0 7116 3596 Time Limit Exceeded 0
121 4 0592.9 7120 3508 Time Limit Exceeded 0
122 4 0593.7 7124 3512 Time Limit Exceeded 0
123 4 0576.3 7116 3648 Time Limit Exceeded 0
124 4 0554.6 7108 3676 Time Limit Exceeded 0
125 4 0005.4 7112 3892 Accepted 100
126 4 0556.7 7120 3636 Time Limit Exceeded 0
127 4 0584.2 7120 3636 Time Limit Exceeded 0
128 4 0588.2 7116 3524 Time Limit Exceeded 0
129 4 0590.9 7116 3612 Time Limit Exceeded 0
130 4 0589.7 7112 3540 Time Limit Exceeded 0
131 4 0590.7 7116 3648 Time Limit Exceeded 0
132 4 0598.9 7116 3536 Time Limit Exceeded 0
133 4 0586.1 7116 3764 Time Limit Exceeded 0
134 4 0594.2 7108 3624 Time Limit Exceeded 0
135 4 0599.3 7112 3708 Time Limit Exceeded 0
136 4 0595.1 7112 3740 Time Limit Exceeded 0
137 4 0578.6 7108 3564 Time Limit Exceeded 0
138 4 0588.7 7076 3472 Time Limit Exceeded 0
139 4 0581.1 7056 3328 Time Limit Exceeded 0
140 4 0589.7 7084 3692 Time Limit Exceeded 0
141 4 0564.9 7112 3620 Time Limit Exceeded 0
142 4 0576.0 7056 3548 Time Limit Exceeded 0
143 4 0563.7 7088 3600 Time Limit Exceeded 0
144 4 0591.9 7072 3572 Time Limit Exceeded 0
145 4 0005.0 7076 3880 Accepted 100
146 4 0582.4 7100 3616 Time Limit Exceeded 0
147 4 0590.5 7116 3716 Time Limit Exceeded 0
148 4 0587.4 7056 3624 Time Limit Exceeded 0
149 4 0590.1 7084 3580 Time Limit Exceeded 0
150 4 0592.5 7056 3652 Time Limit Exceeded 0
151 4 0587.3 7056 3432 Time Limit Exceeded 0
152 4 0592.8 7056 3500 Time Limit Exceeded 0
153 4 0586.1 7056 3468 Time Limit Exceeded 0
154 4 0590.2 7056 3548 Time Limit Exceeded 0
155 4 0587.2 7056 3416 Time Limit Exceeded 0
156 4 0591.4 7056 3468 Time Limit Exceeded 0
157 4 0584.4 7056 3456 Time Limit Exceeded 0
158 4 0572.6 7056 3360 Time Limit Exceeded 0
159 4 0569.3 7056 3328 Time Limit Exceeded 0
160 4 0592.2 7056 3360 Time Limit Exceeded 0
161 4 0575.9 7056 3412 Time Limit Exceeded 0
162 4 0592.0 7056 3464 Time Limit Exceeded 0
163 4 0586.7 7056 3540 Time Limit Exceeded 0
164 4 0595.3 7056 3440 Time Limit Exceeded 0
165 4 0595.6 7056 3472 Time Limit Exceeded 0
166 4 0598.8 7056 3412 Time Limit Exceeded 0
167 4 0598.3 7056 3496 Time Limit Exceeded 0
168 4 0602.8 7056 3328 Time Limit Exceeded 0
169 4 0579.2 7056 3456 Time Limit Exceeded 0
170 4 0589.9 7056 3484 Time Limit Exceeded 0
171 4 0601.5 7056 3496 Time Limit Exceeded 0
172 4 0598.8 7056 3496 Time Limit Exceeded 0
173 4 0567.5 7056 3324 Time Limit Exceeded 0
174 4 0580.8 7056 3440 Time Limit Exceeded 0
175 4 0565.8 7056 3544 Time Limit Exceeded 0
176 4 0596.4 7056 3416 Time Limit Exceeded 0
177 4 0576.9 7056 3416 Time Limit Exceeded 0
178 4 0590.8 7056 3504 Time Limit Exceeded 0
179 4 0568.2 7056 3372 Time Limit Exceeded 0
180 4 0601.6 7056 3480 Time Limit Exceeded 0
181 4 0551.0 7056 3404 Time Limit Exceeded 0
182 4 0596.2 7056 3496 Time Limit Exceeded 0
183 4 0581.7 7056 3368 Time Limit Exceeded 0
184 4 0589.7 7056 3332 Time Limit Exceeded 0
185 4 0550.8 7056 3468 Time Limit Exceeded 0
186 4 0582.3 7056 3344 Time Limit Exceeded 0
187 5 0578.9 7116 3588 Time Limit Exceeded 0
188 5 0557.9 7120 3708 Time Limit Exceeded 0
189 5 0586.8 7116 3708 Time Limit Exceeded 0
190 5 0592.3 7056 3600 Time Limit Exceeded 0
191 5 0573.0 7120 3500 Time Limit Exceeded 0
192 5 0570.9 7080 3604 Time Limit Exceeded 0
193 5 0581.7 7116 3716 Time Limit Exceeded 0
194 5 0585.3 7088 3604 Time Limit Exceeded 0
195 5 0563.2 7116 3636 Time Limit Exceeded 0
196 5 0002.8 7056 3692 Accepted 100
197 5 0582.0 7056 3300 Time Limit Exceeded 0
198 5 0002.8 7056 3684 Accepted 100
199 5 0008.7 7056 3648 Accepted 100
200 5 0246.9 7056 3548 Accepted 100
201 5 0569.2 7056 3468 Time Limit Exceeded 0
202 5 0002.8 7056 3680 Accepted 100
203 5 0004.0 7056 3452 Accepted 100
204 5 0002.6 7056 3684 Accepted 100
205 5 0002.7 7056 3684 Accepted 100
206 5 0002.9 7056 3716 Accepted 100
207 5 0006.7 7056 3680 Accepted 100
208 5 0002.5 7056 3680 Accepted 100
209 5 0004.4 7056 3676 Accepted 100
210 5 0002.5 7056 3684 Accepted 100
211 5 0577.3 7056 3432 Time Limit Exceeded 0
212 5 0562.8 7056 3568 Time Limit Exceeded 0
213 5 0592.5 7056 3508 Time Limit Exceeded 0
214 5 0003.7 7056 3876 Accepted 100
215 5 0035.5 7068 4020 Accepted 100
216 5 0579.5 7056 3392 Time Limit Exceeded 0
217 5 0594.4 7056 3556 Time Limit Exceeded 0
218 5 0575.4 7056 3328 Time Limit Exceeded 0
219 5 0584.2 7056 3548 Time Limit Exceeded 0
220 5 0567.5 7084 3624 Time Limit Exceeded 0
221 5 0035.6 7056 3760 Accepted 100
222 5 0585.2 7064 3536 Time Limit Exceeded 0
Submitter:
Compiler:
c++17
Code Length:
974 Bytes
Back to Top