Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

27451
4812
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 3748 Accepted 100
1 1 0002.5 7048 3684 Accepted 100
2 2 0002.7 7048 3548 Accepted 100
3 2 0002.7 7048 3752 Accepted 100
4 2 0002.5 7048 3640 Accepted 100
5 2 0002.7 7048 3644 Accepted 100
6 2 0002.7 7048 3672 Accepted 100
7 2 0002.8 7048 3644 Accepted 100
8 2 0002.7 7048 3644 Accepted 100
9 2 0002.6 7048 3616 Accepted 100
10 2 0002.8 7048 3672 Accepted 100
11 2 0002.7 7048 3680 Accepted 100
12 2 0002.7 7048 3456 Accepted 100
13 2 0002.5 7048 3684 Accepted 100
14 2 0002.7 7048 3588 Accepted 100
15 2 0002.7 7048 3616 Wrong Answer 0
16 2 0002.5 7048 3652 Accepted 100
17 2 0002.6 7048 3628 Accepted 100
18 2 0002.7 7048 3688 Accepted 100
19 2 0002.7 7048 3680 Accepted 100
20 2 0002.5 7048 3648 Accepted 100
21 3 0006.6 7080 4780 Wrong Answer 0
22 3 0004.8 7076 3784 Wrong Answer 0
23 3 0004.8 7080 3808 Wrong Answer 0
24 3 0004.7 7076 3756 Wrong Answer 0
25 3 0004.8 7076 3844 Wrong Answer 0
26 3 0004.9 7076 3868 Wrong Answer 0
27 3 0004.8 7080 3800 Wrong Answer 0
28 3 0005.3 7080 3872 Wrong Answer 0
29 3 0004.8 7076 3812 Wrong Answer 0
30 3 0004.6 7080 3724 Wrong Answer 0
31 3 0004.7 7080 3708 Wrong Answer 0
32 3 0004.7 7076 3776 Wrong Answer 0
33 3 0006.6 7080 4772 Wrong Answer 0
34 3 0006.6 7076 4768 Wrong Answer 0
35 3 0006.6 7080 4672 Wrong Answer 0
36 3 0006.8 7076 4800 Wrong Answer 0
37 3 0006.7 7080 4776 Wrong Answer 0
38 3 0006.8 7076 4752 Wrong Answer 0
39 3 0006.6 7076 4812 Wrong Answer 0
40 3 0006.7 7076 4672 Wrong Answer 0
41 3 0007.2 7076 4720 Wrong Answer 0
42 3 0006.8 7076 4776 Wrong Answer 0
43 3 0002.8 7048 3852 Accepted 100
44 3 0003.0 7048 3812 Accepted 100
45 3 0002.5 7048 3556 Accepted 100
46 3 0002.6 7048 3656 Accepted 100
47 3 0002.7 7048 3560 Accepted 100
48 3 0002.7 7048 3696 Accepted 100
49 3 0002.9 7048 3664 Accepted 100
50 3 0003.0 7048 3684 Accepted 100
51 3 0003.0 7048 3816 Accepted 100
52 3 0003.4 7048 3820 Accepted 100
53 3 0003.3 7048 3832 Wrong Answer 0
54 3 0003.5 7048 3492 Wrong Answer 0
55 3 0003.8 7048 3628 Wrong Answer 0
56 3 0003.7 7048 3652 Wrong Answer 0
57 3 0003.8 7048 3864 Wrong Answer 0
58 3 0002.6 7048 3604 Accepted 100
59 3 0003.8 7048 3796 Wrong Answer 0
60 3 0004.1 7052 3812 Wrong Answer 0
61 3 0003.3 7048 4060 Accepted 100
62 3 0004.3 7048 3772 Wrong Answer 0
63 3 0003.6 7048 4080 Accepted 100
64 3 0003.4 7048 4060 Accepted 100
65 3 0003.7 7048 4096 Accepted 100
66 3 0004.9 7048 4384 Wrong Answer 0
67 3 0005.5 7048 4596 Wrong Answer 0
68 3 0005.6 7056 4580 Wrong Answer 0
69 3 0006.4 7060 4548 Wrong Answer 0
70 3 0006.0 7068 4572 Wrong Answer 0
71 3 0006.6 7064 4672 Wrong Answer 0
72 3 0006.6 7076 4784 Wrong Answer 0
73 3 0002.7 7048 3628 Accepted 100
74 3 0002.5 7048 3552 Accepted 100
75 3 0002.7 7048 3756 Accepted 100
76 3 0002.9 7048 3464 Accepted 100
77 3 0002.8 7048 3656 Accepted 100
78 3 0002.6 7048 3632 Accepted 100
79 3 0002.5 7048 3620 Accepted 100
80 3 0002.5 7048 3628 Accepted 100
81 3 0002.8 7048 3680 Accepted 100
82 3 0002.6 7048 3544 Accepted 100
83 3 0002.6 7048 3644 Accepted 100
84 3 0002.6 7048 3752 Accepted 100
85 3 0002.6 7048 3684 Accepted 100
86 3 0002.5 7048 3744 Accepted 100
87 3 0002.6 7048 3680 Accepted 100
88 3 0002.4 7048 3592 Accepted 100
89 3 0002.8 7048 3648 Accepted 100
90 3 0002.5 7048 3640 Accepted 100
91 3 0002.5 7048 3688 Accepted 100
92 3 0002.6 7048 3680 Accepted 100
93 3 0002.9 7048 3684 Accepted 100
94 3 0002.5 7048 3652 Accepted 100
95 3 0002.8 7048 3688 Accepted 100
96 3 0002.6 7048 3460 Accepted 100
97 3 0002.4 7048 3624 Accepted 100
98 3 0002.5 7048 3548 Accepted 100
99 3 0002.4 7048 3684 Accepted 100
100 4 0004.4 7072 3804 Wrong Answer 0
101 4 0004.1 7076 3848 Wrong Answer 0
102 4 0005.8 7080 3836 Wrong Answer 0
103 4 0005.8 7076 3840 Wrong Answer 0
104 4 0004.2 7080 3792 Wrong Answer 0
105 4 0005.6 7080 3948 Wrong Answer 0
106 4 0005.5 7072 3992 Wrong Answer 0
107 4 0005.6 7076 3956 Wrong Answer 0
108 4 0005.5 7080 3876 Wrong Answer 0
109 4 0005.6 7080 3956 Wrong Answer 0
110 4 0005.6 7076 3896 Wrong Answer 0
111 4 0004.3 7080 3712 Wrong Answer 0
112 4 0005.5 7076 3832 Wrong Answer 0
113 4 0004.1 7072 3764 Wrong Answer 0
114 4 0004.3 7076 3912 Wrong Answer 0
115 4 0005.5 7068 3836 Wrong Answer 0
116 4 0005.9 7072 3996 Wrong Answer 0
117 4 0004.3 7072 3704 Wrong Answer 0
118 4 0004.3 7068 3704 Wrong Answer 0
119 4 0004.3 7076 3916 Wrong Answer 0
120 4 0004.4 7080 3844 Wrong Answer 0
121 4 0004.6 7076 3852 Wrong Answer 0
122 4 0004.4 7076 3732 Wrong Answer 0
123 4 0004.6 7076 3856 Wrong Answer 0
124 4 0004.5 7072 3728 Wrong Answer 0
125 4 0004.7 7072 3920 Wrong Answer 0
126 4 0004.8 7076 3928 Wrong Answer 0
127 4 0005.5 7072 3856 Wrong Answer 0
128 4 0005.3 7080 3940 Wrong Answer 0
129 4 0005.4 7084 3648 Wrong Answer 0
130 4 0005.3 7072 3804 Wrong Answer 0
131 4 0005.4 7076 3840 Wrong Answer 0
132 4 0005.6 7080 3848 Wrong Answer 0
133 4 0005.6 7080 3888 Wrong Answer 0
134 4 0005.6 7080 3756 Wrong Answer 0
135 4 0005.7 7076 3912 Wrong Answer 0
136 4 0006.4 7080 3996 Wrong Answer 0
137 4 0007.1 7068 3992 Wrong Answer 0
138 4 0004.6 7048 3748 Wrong Answer 0
139 4 0571.6 7048 3548 Time Limit Exceeded 0
140 4 0004.7 7048 3864 Wrong Answer 0
141 4 0005.7 7072 3908 Wrong Answer 0
142 4 0564.5 7048 3392 Time Limit Exceeded 0
143 4 0004.4 7052 3832 Wrong Answer 0
144 4 0004.5 7048 3716 Wrong Answer 0
145 4 0004.5 7048 3808 Wrong Answer 0
146 4 0005.3 7068 3904 Wrong Answer 0
147 4 0005.7 7080 3888 Wrong Answer 0
148 4 0003.6 7048 3692 Wrong Answer 0
149 4 0004.7 7056 3776 Wrong Answer 0
150 4 0003.9 7048 3896 Wrong Answer 0
151 4 0599.0 7048 3452 Time Limit Exceeded 0
152 4 0562.9 7048 3540 Time Limit Exceeded 0
153 4 0554.6 7048 3400 Time Limit Exceeded 0
154 4 0565.2 7048 3488 Time Limit Exceeded 0
155 4 0594.3 7048 3544 Time Limit Exceeded 0
156 4 0564.7 7048 3488 Time Limit Exceeded 0
157 4 0600.8 7048 3540 Time Limit Exceeded 0
158 4 0594.9 7048 3452 Time Limit Exceeded 0
159 4 0556.2 7048 3496 Time Limit Exceeded 0
160 4 0551.5 7048 3316 Time Limit Exceeded 0
161 4 0556.5 7048 3496 Time Limit Exceeded 0
162 4 0551.9 7048 3492 Time Limit Exceeded 0
163 4 0553.8 7048 3316 Time Limit Exceeded 0
164 4 0556.2 7048 3452 Time Limit Exceeded 0
165 4 0598.7 7048 3320 Time Limit Exceeded 0
166 4 0597.2 7048 3484 Time Limit Exceeded 0
167 4 0553.8 7048 3324 Time Limit Exceeded 0
168 4 0554.0 7048 3488 Time Limit Exceeded 0
169 4 0603.0 7048 3432 Time Limit Exceeded 0
170 4 0598.1 7048 3260 Time Limit Exceeded 0
171 4 0562.9 7048 3408 Time Limit Exceeded 0
172 4 0562.1 7048 3496 Time Limit Exceeded 0
173 4 0561.8 7048 3408 Time Limit Exceeded 0
174 4 0591.5 7048 3448 Time Limit Exceeded 0
175 4 0560.6 7048 3484 Time Limit Exceeded 0
176 4 0578.3 7048 3464 Time Limit Exceeded 0
177 4 0593.6 7048 3364 Time Limit Exceeded 0
178 4 0590.3 7048 3492 Time Limit Exceeded 0
179 4 0584.4 7048 3468 Time Limit Exceeded 0
180 4 0583.8 7048 3500 Time Limit Exceeded 0
181 4 0590.1 7048 3340 Time Limit Exceeded 0
182 4 0586.7 7048 3512 Time Limit Exceeded 0
183 4 0567.8 7048 3324 Time Limit Exceeded 0
184 4 0588.1 7048 3512 Time Limit Exceeded 0
185 4 0566.7 7048 3492 Time Limit Exceeded 0
186 4 0553.8 7048 3476 Time Limit Exceeded 0
187 5 0004.3 7080 3708 Wrong Answer 0
188 5 0005.8 7080 3892 Wrong Answer 0
189 5 0005.7 7076 3912 Wrong Answer 0
190 5 0004.2 7080 3912 Wrong Answer 0
191 5 0004.4 7076 3844 Wrong Answer 0
192 5 0004.4 7080 3808 Wrong Answer 0
193 5 0004.3 7084 3756 Wrong Answer 0
194 5 0004.2 7080 3724 Wrong Answer 0
195 5 0004.4 7080 3848 Wrong Answer 0
196 5 0002.7 7048 3568 Accepted 100
197 5 0602.0 7048 3444 Time Limit Exceeded 0
198 5 0002.8 7048 3452 Accepted 100
199 5 0009.0 7048 3616 Accepted 100
200 5 0222.3 7048 3644 Accepted 100
201 5 0608.3 7048 3304 Time Limit Exceeded 0
202 5 0002.6 7048 3456 Accepted 100
203 5 0003.7 7048 3644 Accepted 100
204 5 0002.5 7048 3752 Accepted 100
205 5 0003.0 7048 3684 Accepted 100
206 5 0003.2 7048 3648 Accepted 100
207 5 0006.4 7048 3632 Wrong Answer 0
208 5 0002.7 7048 3564 Wrong Answer 0
209 5 0004.1 7048 3676 Wrong Answer 0
210 5 0002.8 7048 3552 Accepted 100
211 5 0003.6 7048 3628 Wrong Answer 0
212 5 0574.9 7048 3640 Time Limit Exceeded 0
213 5 0552.3 7048 3488 Time Limit Exceeded 0
214 5 0003.4 7048 3900 Accepted 100
215 5 0004.4 7048 4000 Wrong Answer 0
216 5 0600.7 7048 3504 Time Limit Exceeded 0
217 5 0584.4 7048 3364 Time Limit Exceeded 0
218 5 0567.0 7048 3540 Time Limit Exceeded 0
219 5 0560.9 7048 3584 Time Limit Exceeded 0
220 5 0004.1 7072 3796 Wrong Answer 0
221 5 0028.8 7048 3736 Accepted 100
222 5 0003.6 7048 3576 Wrong Answer 0
Submitter:
Compiler:
c++17
Code Length:
1016 Bytes
Back to Top