Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

27696
4908
Time Limit Exceeded
7

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$ 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.6 7048 3680 Accepted 100
1 1 0002.5 7048 3600 Accepted 100
2 2 0002.6 7048 3676 Accepted 100
3 2 0002.6 7048 3448 Accepted 100
4 2 0002.8 7048 3624 Accepted 100
5 2 0002.6 7048 3644 Accepted 100
6 2 0002.6 7048 3644 Accepted 100
7 2 0002.4 7048 3708 Accepted 100
8 2 0002.7 7048 3752 Accepted 100
9 2 0002.4 7048 3544 Accepted 100
10 2 0002.5 7048 3644 Accepted 100
11 2 0002.5 7048 3644 Accepted 100
12 2 0002.7 7048 3640 Accepted 100
13 2 0002.7 7048 3752 Accepted 100
14 2 0002.9 7048 3452 Accepted 100
15 2 0002.7 7048 3564 Accepted 100
16 2 0002.6 7048 3752 Accepted 100
17 2 0002.4 7048 3632 Accepted 100
18 2 0002.5 7048 3548 Accepted 100
19 2 0002.5 7048 3684 Accepted 100
20 2 0002.5 7048 3760 Accepted 100
21 3 0007.4 7108 4848 Wrong Answer 0
22 3 0005.2 7112 3880 Wrong Answer 0
23 3 0005.4 7104 3732 Wrong Answer 0
24 3 0005.2 7112 3740 Wrong Answer 0
25 3 0005.3 7112 3816 Wrong Answer 0
26 3 0005.2 7108 3836 Wrong Answer 0
27 3 0005.6 7108 3836 Wrong Answer 0
28 3 0005.4 7108 3876 Wrong Answer 0
29 3 0005.5 7108 3824 Wrong Answer 0
30 3 0005.3 7108 3644 Wrong Answer 0
31 3 0005.5 7108 3816 Wrong Answer 0
32 3 0005.2 7112 3840 Wrong Answer 0
33 3 0007.3 7104 4696 Wrong Answer 0
34 3 0007.4 7108 4608 Wrong Answer 0
35 3 0007.3 7108 4724 Wrong Answer 0
36 3 0007.1 7112 4844 Wrong Answer 0
37 3 0007.4 7108 4836 Wrong Answer 0
38 3 0007.4 7112 4756 Wrong Answer 0
39 3 0007.5 7112 4808 Wrong Answer 0
40 3 0008.2 7108 4908 Wrong Answer 0
41 3 0007.5 7108 4840 Wrong Answer 0
42 3 0007.5 7112 4792 Wrong Answer 0
43 3 0002.9 7048 3808 Accepted 100
44 3 0002.8 7048 3740 Accepted 100
45 3 0002.8 7048 3464 Accepted 100
46 3 0003.2 7048 3564 Accepted 100
47 3 0002.6 7048 3648 Accepted 100
48 3 0002.6 7048 3564 Accepted 100
49 3 0003.8 7048 3652 Accepted 100
50 3 0003.5 7048 3688 Accepted 100
51 3 0003.1 7048 3836 Accepted 100
52 3 0003.1 7048 3836 Accepted 100
53 3 0003.4 7048 3712 Wrong Answer 0
54 3 0003.4 7048 3648 Wrong Answer 0
55 3 0003.9 7048 3800 Wrong Answer 0
56 3 0003.9 7056 3676 Wrong Answer 0
57 3 0004.3 7064 3596 Wrong Answer 0
58 3 0002.6 7048 3588 Accepted 100
59 3 0005.2 7068 3896 Wrong Answer 0
60 3 0004.4 7076 3716 Wrong Answer 0
61 3 0003.2 7048 3948 Accepted 100
62 3 0004.4 7072 3780 Wrong Answer 0
63 3 0003.9 7048 3968 Accepted 100
64 3 0004.8 7048 3936 Accepted 100
65 3 0003.9 7048 4204 Accepted 100
66 3 0005.4 7056 4500 Wrong Answer 0
67 3 0007.0 7072 4480 Wrong Answer 0
68 3 0006.1 7072 4660 Wrong Answer 0
69 3 0006.8 7088 4708 Wrong Answer 0
70 3 0006.5 7096 4700 Wrong Answer 0
71 3 0006.7 7092 4660 Wrong Answer 0
72 3 0007.3 7100 4776 Wrong Answer 0
73 3 0002.6 7048 3684 Accepted 100
74 3 0002.5 7048 3652 Accepted 100
75 3 0002.5 7048 3684 Accepted 100
76 3 0002.6 7048 3660 Accepted 100
77 3 0002.4 7048 3556 Accepted 100
78 3 0002.6 7048 3756 Accepted 100
79 3 0002.5 7048 3544 Accepted 100
80 3 0002.5 7048 3556 Accepted 100
81 3 0002.6 7048 3544 Accepted 100
82 3 0002.6 7048 3676 Accepted 100
83 3 0002.6 7048 3620 Accepted 100
84 3 0002.6 7048 3540 Accepted 100
85 3 0002.4 7048 3660 Accepted 100
86 3 0002.6 7048 3648 Accepted 100
87 3 0002.5 7048 3684 Accepted 100
88 3 0002.8 7048 3688 Accepted 100
89 3 0002.6 7048 3544 Accepted 100
90 3 0002.7 7048 3708 Accepted 100
91 3 0002.9 7048 3644 Accepted 100
92 3 0002.4 7048 3684 Accepted 100
93 3 0002.5 7048 3644 Accepted 100
94 3 0002.7 7048 3460 Accepted 100
95 3 0002.9 7048 3684 Accepted 100
96 3 0002.6 7048 3688 Accepted 100
97 3 0002.5 7048 3620 Accepted 100
98 3 0002.6 7048 3696 Accepted 100
99 3 0002.5 7048 3464 Accepted 100
100 4 0004.4 7104 3836 Wrong Answer 0
101 4 0004.4 7108 3904 Wrong Answer 0
102 4 0006.2 7108 3864 Wrong Answer 0
103 4 0005.9 7108 3956 Wrong Answer 0
104 4 0004.5 7108 3740 Wrong Answer 0
105 4 0006.1 7112 3980 Wrong Answer 0
106 4 0005.8 7104 3980 Wrong Answer 0
107 4 0006.1 7108 3968 Wrong Answer 0
108 4 0005.8 7108 3968 Wrong Answer 0
109 4 0006.0 7112 4096 Wrong Answer 0
110 4 0005.6 7112 3968 Wrong Answer 0
111 4 0004.4 7112 3876 Wrong Answer 0
112 4 0005.7 7112 3952 Wrong Answer 0
113 4 0004.3 7108 3836 Wrong Answer 0
114 4 0004.4 7104 3752 Wrong Answer 0
115 4 0006.2 7100 3984 Wrong Answer 0
116 4 0005.8 7100 3768 Wrong Answer 0
117 4 0004.6 7104 3940 Wrong Answer 0
118 4 0004.4 7096 3860 Wrong Answer 0
119 4 0004.4 7104 3812 Wrong Answer 0
120 4 0004.6 7112 3912 Wrong Answer 0
121 4 0004.6 7108 3884 Wrong Answer 0
122 4 0004.5 7108 3784 Wrong Answer 0
123 4 0004.6 7100 3840 Wrong Answer 0
124 4 0004.6 7108 3820 Wrong Answer 0
125 4 0004.7 7100 3844 Wrong Answer 0
126 4 0005.1 7112 3900 Wrong Answer 0
127 4 0005.0 7104 3848 Wrong Answer 0
128 4 0005.4 7112 3840 Wrong Answer 0
129 4 0005.2 7112 3908 Wrong Answer 0
130 4 0005.2 7108 3908 Wrong Answer 0
131 4 0005.3 7108 3912 Wrong Answer 0
132 4 0005.6 7112 3824 Wrong Answer 0
133 4 0005.6 7112 3692 Wrong Answer 0
134 4 0006.2 7104 3780 Wrong Answer 0
135 4 0005.8 7112 3988 Wrong Answer 0
136 4 0006.4 7112 3904 Wrong Answer 0
137 4 0005.8 7100 3920 Wrong Answer 0
138 4 0004.1 7060 3856 Wrong Answer 0
139 4 0560.4 7048 3400 Time Limit Exceeded 0
140 4 0004.9 7076 3888 Wrong Answer 0
141 4 0005.9 7108 3944 Wrong Answer 0
142 4 0558.9 7048 3436 Time Limit Exceeded 0
143 4 0004.5 7076 3864 Wrong Answer 0
144 4 0004.4 7068 3888 Wrong Answer 0
145 4 0004.5 7068 3812 Wrong Answer 0
146 4 0005.4 7096 3908 Wrong Answer 0
147 4 0005.5 7112 3860 Wrong Answer 0
148 4 0003.7 7048 3788 Wrong Answer 0
149 4 0005.2 7084 3696 Wrong Answer 0
150 4 0004.1 7048 3916 Wrong Answer 0
151 4 0563.3 7048 3500 Time Limit Exceeded 0
152 4 0576.1 7048 3484 Time Limit Exceeded 0
153 4 0558.0 7048 3432 Time Limit Exceeded 0
154 4 0572.7 7048 3492 Time Limit Exceeded 0
155 4 0588.2 7048 3412 Time Limit Exceeded 0
156 4 0587.5 7048 3316 Time Limit Exceeded 0
157 4 0597.1 7048 3320 Time Limit Exceeded 0
158 4 0587.4 7048 3316 Time Limit Exceeded 0
159 4 0559.3 7048 3492 Time Limit Exceeded 0
160 4 0561.7 7048 3336 Time Limit Exceeded 0
161 4 0599.5 7048 3412 Time Limit Exceeded 0
162 4 0588.7 7048 3328 Time Limit Exceeded 0
163 4 0589.5 7048 3504 Time Limit Exceeded 0
164 4 0561.8 7048 3432 Time Limit Exceeded 0
165 4 0577.4 7048 3376 Time Limit Exceeded 0
166 4 0567.2 7048 3412 Time Limit Exceeded 0
167 4 0594.2 7048 3472 Time Limit Exceeded 0
168 4 0592.1 7048 3336 Time Limit Exceeded 0
169 4 0591.6 7048 3464 Time Limit Exceeded 0
170 4 0595.6 7048 3460 Time Limit Exceeded 0
171 4 0591.3 7048 3496 Time Limit Exceeded 0
172 4 0592.5 7048 3324 Time Limit Exceeded 0
173 4 0593.0 7048 3368 Time Limit Exceeded 0
174 4 0602.3 7048 3332 Time Limit Exceeded 0
175 4 0584.7 7048 3476 Time Limit Exceeded 0
176 4 0572.6 7048 3368 Time Limit Exceeded 0
177 4 0590.6 7048 3504 Time Limit Exceeded 0
178 4 0593.1 7048 3344 Time Limit Exceeded 0
179 4 0559.8 7048 3332 Time Limit Exceeded 0
180 4 0590.2 7048 3512 Time Limit Exceeded 0
181 4 0570.3 7048 3484 Time Limit Exceeded 0
182 4 0591.3 7048 3364 Time Limit Exceeded 0
183 4 0573.2 7048 3372 Time Limit Exceeded 0
184 4 0584.7 7048 3336 Time Limit Exceeded 0
185 4 0582.3 7048 3328 Time Limit Exceeded 0
186 4 0554.4 7048 3500 Time Limit Exceeded 0
187 5 0004.5 7112 3740 Wrong Answer 0
188 5 0006.0 7104 4104 Wrong Answer 0
189 5 0006.2 7108 3944 Wrong Answer 0
190 5 0004.7 7112 3840 Wrong Answer 0
191 5 0004.4 7112 3876 Wrong Answer 0
192 5 0004.4 7112 3944 Wrong Answer 0
193 5 0004.3 7108 3836 Wrong Answer 0
194 5 0004.3 7108 3736 Wrong Answer 0
195 5 0004.3 7108 3876 Wrong Answer 0
196 5 0002.5 7048 3632 Accepted 100
197 5 0581.1 7048 3360 Time Limit Exceeded 0
198 5 0002.7 7048 3672 Accepted 100
199 5 0008.6 7048 3564 Accepted 100
200 5 0248.4 7048 3672 Accepted 100
201 5 0591.8 7048 3440 Time Limit Exceeded 0
202 5 0002.8 7048 3548 Accepted 100
203 5 0003.7 7048 3652 Accepted 100
204 5 0002.6 7048 3552 Accepted 100
205 5 0003.1 7048 3684 Accepted 100
206 5 0002.8 7048 3648 Accepted 100
207 5 0006.7 7048 3564 Accepted 100
208 5 0002.6 7048 3544 Accepted 100
209 5 0004.3 7048 3688 Accepted 100
210 5 0002.8 7048 3568 Accepted 100
211 5 0003.8 7048 3740 Wrong Answer 0
212 5 0571.3 7048 3488 Time Limit Exceeded 0
213 5 0561.4 7048 3720 Time Limit Exceeded 0
214 5 0003.9 7048 3772 Accepted 100
215 5 0006.2 7060 4048 Wrong Answer 0
216 5 0600.5 7048 3528 Time Limit Exceeded 0
217 5 0550.9 7048 3488 Time Limit Exceeded 0
218 5 0593.8 7048 3320 Time Limit Exceeded 0
219 5 0552.5 7048 3372 Time Limit Exceeded 0
220 5 0004.8 7100 3804 Wrong Answer 0
221 5 0035.8 7048 3804 Accepted 100
222 5 0003.9 7060 3648 Wrong Answer 0
Submitter:
Compiler:
c++17
Code Length:
1.08 KB
Back to Top