Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

27829
4876
Time Limit Exceeded
0

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資。 0 / 0
2 2~20 $nm \le 16$ 0 / 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 3688 Accepted 100
1 1 0002.5 7048 3628 Accepted 100
2 2 0002.6 7048 3452 Accepted 100
3 2 0002.6 7048 3676 Accepted 100
4 2 0002.5 7048 3688 Accepted 100
5 2 0002.6 7048 3640 Accepted 100
6 2 0002.6 7048 3648 Accepted 100
7 2 0002.5 7048 3644 Accepted 100
8 2 0002.6 7048 3548 Accepted 100
9 2 0002.6 7048 3688 Accepted 100
10 2 0002.6 7048 3648 Accepted 100
11 2 0002.8 7048 3680 Accepted 100
12 2 0002.8 7048 3644 Accepted 100
13 2 0003.2 7048 3684 Accepted 100
14 2 0002.6 7048 3688 Accepted 100
15 2 0003.2 7048 3648 Wrong Answer 0
16 2 0002.6 7048 3668 Accepted 100
17 2 0002.7 7048 3684 Accepted 100
18 2 0003.0 7048 3412 Accepted 100
19 2 0003.1 7048 3540 Accepted 100
20 2 0003.2 7048 3720 Accepted 100
21 3 0006.9 7080 4680 Wrong Answer 0
22 3 0004.7 7080 3808 Wrong Answer 0
23 3 0004.6 7080 3708 Wrong Answer 0
24 3 0004.8 7080 3708 Wrong Answer 0
25 3 0004.7 7080 3780 Wrong Answer 0
26 3 0004.6 7076 3784 Wrong Answer 0
27 3 0005.5 7076 3704 Wrong Answer 0
28 3 0004.7 7076 3836 Wrong Answer 0
29 3 0004.7 7080 3808 Wrong Answer 0
30 3 0004.6 7076 3844 Wrong Answer 0
31 3 0004.8 7080 3780 Wrong Answer 0
32 3 0004.7 7080 3844 Wrong Answer 0
33 3 0006.8 7076 4576 Wrong Answer 0
34 3 0007.0 7080 4812 Wrong Answer 0
35 3 0006.8 7080 4772 Wrong Answer 0
36 3 0006.9 7080 4876 Wrong Answer 0
37 3 0007.2 7080 4816 Wrong Answer 0
38 3 0007.0 7080 4692 Wrong Answer 0
39 3 0006.7 7080 4756 Wrong Answer 0
40 3 0006.7 7076 4804 Wrong Answer 0
41 3 0006.7 7076 4752 Wrong Answer 0
42 3 0008.4 7076 4584 Wrong Answer 0
43 3 0002.8 7048 3664 Accepted 100
44 3 0003.1 7048 3864 Accepted 100
45 3 0003.2 7048 3588 Accepted 100
46 3 0002.7 7048 3692 Accepted 100
47 3 0003.6 7048 3700 Accepted 100
48 3 0002.6 7048 3580 Accepted 100
49 3 0002.9 7048 3700 Accepted 100
50 3 0002.8 7048 3584 Accepted 100
51 3 0003.3 7048 3728 Accepted 100
52 3 0003.3 7048 3968 Accepted 100
53 3 0003.5 7048 3704 Wrong Answer 0
54 3 0003.5 7048 3680 Wrong Answer 0
55 3 0003.7 7048 3744 Wrong Answer 0
56 3 0003.7 7048 3792 Wrong Answer 0
57 3 0003.8 7048 3724 Wrong Answer 0
58 3 0002.5 7048 3552 Accepted 100
59 3 0004.0 7048 3808 Wrong Answer 0
60 3 0003.8 7048 3808 Wrong Answer 0
61 3 0003.5 7048 3940 Accepted 100
62 3 0003.9 7048 3776 Wrong Answer 0
63 3 0003.5 7048 4012 Accepted 100
64 3 0003.4 7048 4084 Accepted 100
65 3 0003.6 7048 3996 Accepted 100
66 3 0004.9 7048 4544 Wrong Answer 0
67 3 0006.3 7048 4596 Wrong Answer 0
68 3 0005.6 7048 4636 Wrong Answer 0
69 3 0006.3 7060 4548 Wrong Answer 0
70 3 0006.1 7060 4700 Wrong Answer 0
71 3 0006.5 7060 4668 Wrong Answer 0
72 3 0006.7 7072 4788 Wrong Answer 0
73 3 0002.6 7048 3652 Accepted 100
74 3 0002.7 7048 3652 Accepted 100
75 3 0002.5 7048 3756 Accepted 100
76 3 0002.5 7048 3688 Accepted 100
77 3 0002.4 7048 3556 Accepted 100
78 3 0002.6 7048 3700 Accepted 100
79 3 0002.4 7048 3548 Accepted 100
80 3 0002.5 7048 3684 Accepted 100
81 3 0002.6 7048 3556 Accepted 100
82 3 0002.5 7048 3540 Accepted 100
83 3 0002.6 7048 3680 Accepted 100
84 3 0002.5 7048 3640 Accepted 100
85 3 0002.5 7048 3452 Accepted 100
86 3 0002.5 7048 3612 Accepted 100
87 3 0002.4 7048 3448 Accepted 100
88 3 0002.5 7048 3680 Accepted 100
89 3 0002.4 7048 3628 Accepted 100
90 3 0002.5 7048 3684 Accepted 100
91 3 0002.5 7048 3640 Accepted 100
92 3 0002.5 7048 3680 Accepted 100
93 3 0002.4 7048 3680 Accepted 100
94 3 0002.7 7048 3684 Accepted 100
95 3 0002.6 7048 3688 Accepted 100
96 3 0002.5 7048 3684 Accepted 100
97 3 0002.5 7048 3708 Accepted 100
98 3 0002.8 7048 3656 Accepted 100
99 3 0002.5 7048 3684 Accepted 100
100 4 0004.3 7072 3908 Wrong Answer 0
101 4 0004.2 7072 3836 Wrong Answer 0
102 4 0006.1 7080 3820 Wrong Answer 0
103 4 0005.7 7080 3928 Wrong Answer 0
104 4 0004.3 7076 3724 Wrong Answer 0
105 4 0005.5 7080 3980 Wrong Answer 0
106 4 0005.6 7076 3988 Wrong Answer 0
107 4 0005.4 7076 3996 Wrong Answer 0
108 4 0005.5 7076 3992 Wrong Answer 0
109 4 0005.7 7080 3996 Wrong Answer 0
110 4 0005.5 7076 3876 Wrong Answer 0
111 4 0004.2 7076 3844 Wrong Answer 0
112 4 0005.6 7080 3900 Wrong Answer 0
113 4 0004.1 7072 3804 Wrong Answer 0
114 4 0004.1 7072 3844 Wrong Answer 0
115 4 0005.3 7068 3876 Wrong Answer 0
116 4 0005.3 7068 3828 Wrong Answer 0
117 4 0004.3 7072 3844 Wrong Answer 0
118 4 0004.2 7076 3712 Wrong Answer 0
119 4 0004.4 7076 3792 Wrong Answer 0
120 4 0004.3 7080 3880 Wrong Answer 0
121 4 0004.3 7080 3732 Wrong Answer 0
122 4 0004.3 7076 3856 Wrong Answer 0
123 4 0004.7 7072 3916 Wrong Answer 0
124 4 0004.5 7072 3712 Wrong Answer 0
125 4 0004.7 7076 3736 Wrong Answer 0
126 4 0004.8 7076 3760 Wrong Answer 0
127 4 0004.9 7080 3808 Wrong Answer 0
128 4 0004.8 7076 3832 Wrong Answer 0
129 4 0005.5 7080 3876 Wrong Answer 0
130 4 0005.1 7076 3736 Wrong Answer 0
131 4 0005.2 7076 3740 Wrong Answer 0
132 4 0005.4 7080 3912 Wrong Answer 0
133 4 0005.5 7080 3824 Wrong Answer 0
134 4 0005.2 7072 3656 Wrong Answer 0
135 4 0005.5 7072 3848 Wrong Answer 0
136 4 0006.2 7080 3892 Wrong Answer 0
137 4 0005.4 7064 3924 Wrong Answer 0
138 4 0003.8 7048 3712 Wrong Answer 0
139 4 0564.7 7048 3364 Time Limit Exceeded 0
140 4 0004.7 7048 3884 Wrong Answer 0
141 4 0005.5 7072 3828 Wrong Answer 0
142 4 0558.9 7048 3384 Time Limit Exceeded 0
143 4 0004.5 7048 3712 Wrong Answer 0
144 4 0004.8 7048 3824 Wrong Answer 0
145 4 0004.6 7048 3612 Wrong Answer 0
146 4 0005.2 7064 3872 Wrong Answer 0
147 4 0005.5 7080 3664 Wrong Answer 0
148 4 0003.7 7048 3856 Wrong Answer 0
149 4 0004.9 7052 3868 Wrong Answer 0
150 4 0004.0 7048 3732 Wrong Answer 0
151 4 0553.7 7048 3396 Time Limit Exceeded 0
152 4 0586.1 7048 3400 Time Limit Exceeded 0
153 4 0595.8 7048 3544 Time Limit Exceeded 0
154 4 0585.4 7048 3404 Time Limit Exceeded 0
155 4 0572.1 7048 3356 Time Limit Exceeded 0
156 4 0576.9 7048 3320 Time Limit Exceeded 0
157 4 0586.2 7048 3312 Time Limit Exceeded 0
158 4 0588.9 7048 3488 Time Limit Exceeded 0
159 4 0579.8 7048 3408 Time Limit Exceeded 0
160 4 0588.4 7048 3328 Time Limit Exceeded 0
161 4 0583.7 7048 3332 Time Limit Exceeded 0
162 4 0621.4 7048 3408 Time Limit Exceeded 0
163 4 0557.0 7048 3320 Time Limit Exceeded 0
164 4 0562.7 7048 3504 Time Limit Exceeded 0
165 4 0588.1 7048 3404 Time Limit Exceeded 0
166 4 0596.6 7048 3312 Time Limit Exceeded 0
167 4 0594.5 7048 3544 Time Limit Exceeded 0
168 4 0594.6 7048 3268 Time Limit Exceeded 0
169 4 0585.8 7048 3468 Time Limit Exceeded 0
170 4 0593.4 7048 3328 Time Limit Exceeded 0
171 4 0560.6 7048 3484 Time Limit Exceeded 0
172 4 0561.1 7048 3480 Time Limit Exceeded 0
173 4 0574.0 7048 3540 Time Limit Exceeded 0
174 4 0586.6 7048 3380 Time Limit Exceeded 0
175 4 0582.2 7048 3340 Time Limit Exceeded 0
176 4 0587.9 7048 3412 Time Limit Exceeded 0
177 4 0587.9 7048 3532 Time Limit Exceeded 0
178 4 0593.1 7048 3332 Time Limit Exceeded 0
179 4 0581.9 7048 3508 Time Limit Exceeded 0
180 4 0590.4 7048 3344 Time Limit Exceeded 0
181 4 0590.0 7048 3324 Time Limit Exceeded 0
182 4 0593.2 7048 3360 Time Limit Exceeded 0
183 4 0582.1 7048 3360 Time Limit Exceeded 0
184 4 0593.0 7048 3492 Time Limit Exceeded 0
185 4 0587.0 7048 3548 Time Limit Exceeded 0
186 4 0554.1 7048 3368 Time Limit Exceeded 0
187 5 0004.2 7084 3668 Wrong Answer 0
188 5 0005.7 7076 4004 Wrong Answer 0
189 5 0005.9 7080 4056 Wrong Answer 0
190 5 0004.5 7080 3912 Wrong Answer 0
191 5 0004.2 7076 3836 Wrong Answer 0
192 5 0004.2 7076 3612 Wrong Answer 0
193 5 0004.3 7076 3836 Wrong Answer 0
194 5 0004.2 7076 3836 Wrong Answer 0
195 5 0004.6 7080 3840 Wrong Answer 0
196 5 0002.7 7048 3564 Accepted 100
197 5 0588.0 7048 3284 Time Limit Exceeded 0
198 5 0002.7 7048 3596 Accepted 100
199 5 0008.1 7048 3640 Accepted 100
200 5 0235.4 7048 3676 Accepted 100
201 5 0597.5 7048 3304 Time Limit Exceeded 0
202 5 0002.7 7048 3692 Accepted 100
203 5 0003.6 7048 3648 Accepted 100
204 5 0002.7 7048 3688 Accepted 100
205 5 0002.6 7048 3620 Accepted 100
206 5 0002.7 7048 3548 Accepted 100
207 5 0005.8 7048 3568 Wrong Answer 0
208 5 0002.6 7048 3712 Wrong Answer 0
209 5 0003.8 7048 3552 Wrong Answer 0
210 5 0002.6 7048 3572 Accepted 100
211 5 0003.8 7048 3808 Wrong Answer 0
212 5 0593.8 7048 3640 Time Limit Exceeded 0
213 5 0590.4 7048 3664 Time Limit Exceeded 0
214 5 0003.4 7048 3896 Accepted 100
215 5 0004.5 7048 3960 Wrong Answer 0
216 5 0600.6 7048 3352 Time Limit Exceeded 0
217 5 0604.8 7048 3500 Time Limit Exceeded 0
218 5 0599.1 7048 3456 Time Limit Exceeded 0
219 5 0551.2 7048 3484 Time Limit Exceeded 0
220 5 0004.3 7072 3712 Wrong Answer 0
221 5 0029.3 7048 3652 Accepted 100
222 5 0003.6 7048 3792 Wrong Answer 0
Submitter:
Compiler:
c++17
Code Length:
1.11 KB
Back to Top