Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

1997
7828
Wrong Answer
89

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$ 47 / 47
5 187~222 無額外限制。 0 / 11

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.5 9984 3700 Accepted 100
1 1 0002.7 9984 3704 Accepted 100
2 2 0002.7 9984 3684 Accepted 100
3 2 0002.5 9984 3684 Accepted 100
4 2 0002.8 9984 3544 Accepted 100
5 2 0002.6 9984 3640 Accepted 100
6 2 0002.9 9984 3600 Accepted 100
7 2 0002.5 9984 3572 Accepted 100
8 2 0002.7 9984 3672 Accepted 100
9 2 0002.5 9984 3608 Accepted 100
10 2 0002.5 9984 3596 Accepted 100
11 2 0002.8 9984 3564 Accepted 100
12 2 0002.6 9984 3588 Accepted 100
13 2 0003.2 9984 3592 Accepted 100
14 2 0002.6 9984 3700 Accepted 100
15 2 0002.7 9984 3576 Accepted 100
16 2 0002.8 9984 3768 Accepted 100
17 2 0002.8 9984 3644 Accepted 100
18 2 0002.6 9984 3564 Accepted 100
19 2 0002.9 9984 3704 Accepted 100
20 2 0002.5 9984 3576 Accepted 100
21 3 0021.3 10016 7728 Accepted 100
22 3 0015.6 10012 7764 Accepted 100
23 3 0015.4 10016 7792 Accepted 100
24 3 0014.9 10016 7724 Accepted 100
25 3 0015.3 10016 7732 Accepted 100
26 3 0015.0 10012 7504 Accepted 100
27 3 0015.6 10012 7740 Accepted 100
28 3 0016.5 10012 7512 Accepted 100
29 3 0015.6 10012 7748 Accepted 100
30 3 0015.8 10016 7524 Accepted 100
31 3 0017.3 10020 7788 Accepted 100
32 3 0015.9 10012 7760 Accepted 100
33 3 0022.0 10012 7664 Accepted 100
34 3 0020.6 10016 7592 Accepted 100
35 3 0019.9 10012 7628 Accepted 100
36 3 0021.9 10012 7676 Accepted 100
37 3 0019.8 10012 7704 Accepted 100
38 3 0019.6 10012 7656 Accepted 100
39 3 0020.1 10016 7628 Accepted 100
40 3 0020.1 10016 7676 Accepted 100
41 3 0024.9 10012 7716 Accepted 100
42 3 0020.3 10012 7756 Accepted 100
43 3 0003.8 9984 4396 Accepted 100
44 3 0003.7 9984 4376 Accepted 100
45 3 0003.4 9984 4016 Accepted 100
46 3 0003.4 9984 4212 Accepted 100
47 3 0003.3 9984 4164 Accepted 100
48 3 0003.5 9984 4184 Accepted 100
49 3 0003.7 9984 4248 Accepted 100
50 3 0004.2 9984 4716 Accepted 100
51 3 0004.6 9984 4628 Accepted 100
52 3 0004.5 9984 4648 Accepted 100
53 3 0007.3 9984 5700 Accepted 100
54 3 0008.2 9984 6032 Accepted 100
55 3 0009.2 9984 6372 Accepted 100
56 3 0009.9 9984 6396 Accepted 100
57 3 0010.3 9984 6576 Accepted 100
58 3 0003.1 9984 3932 Accepted 100
59 3 0010.7 9984 6816 Accepted 100
60 3 0011.4 9984 6728 Accepted 100
61 3 0004.8 9984 4684 Accepted 100
62 3 0011.7 9984 6736 Accepted 100
63 3 0005.2 9984 4880 Accepted 100
64 3 0005.7 9984 4876 Accepted 100
65 3 0006.4 9984 5296 Accepted 100
66 3 0012.3 9984 6400 Accepted 100
67 3 0016.5 9984 6824 Accepted 100
68 3 0016.5 9984 6888 Accepted 100
69 3 0018.6 9996 7288 Accepted 100
70 3 0023.2 10000 7360 Accepted 100
71 3 0017.2 10004 7324 Accepted 100
72 3 0024.9 10008 7688 Accepted 100
73 3 0002.6 9984 3684 Accepted 100
74 3 0003.0 9984 3724 Accepted 100
75 3 0002.7 9984 3748 Accepted 100
76 3 0002.6 9984 3624 Accepted 100
77 3 0002.7 9984 3680 Accepted 100
78 3 0002.7 9984 3728 Accepted 100
79 3 0002.6 9984 3716 Accepted 100
80 3 0003.1 9984 3584 Accepted 100
81 3 0002.8 9984 3752 Accepted 100
82 3 0002.8 9984 3664 Accepted 100
83 3 0002.9 9984 3728 Accepted 100
84 3 0003.4 9984 3740 Accepted 100
85 3 0003.1 9984 3624 Accepted 100
86 3 0002.5 9984 3592 Accepted 100
87 3 0002.6 9984 3652 Accepted 100
88 3 0002.5 9984 3468 Accepted 100
89 3 0002.6 9984 3580 Accepted 100
90 3 0002.6 9984 3700 Accepted 100
91 3 0002.6 9984 3704 Accepted 100
92 3 0002.5 9984 3708 Accepted 100
93 3 0002.5 9984 3628 Accepted 100
94 3 0002.6 9984 3692 Accepted 100
95 3 0002.5 9984 3548 Accepted 100
96 3 0002.9 9984 3692 Accepted 100
97 3 0002.6 9984 3572 Accepted 100
98 3 0002.6 9984 3480 Accepted 100
99 3 0002.5 9984 3580 Accepted 100
100 4 0016.0 10008 7560 Accepted 100
101 4 0016.3 10012 7620 Accepted 100
102 4 0016.8 10016 7664 Accepted 100
103 4 0017.1 10012 7756 Accepted 100
104 4 0016.5 10016 7684 Accepted 100
105 4 0016.9 10012 7640 Accepted 100
106 4 0016.0 10008 7528 Accepted 100
107 4 0016.1 10016 7476 Accepted 100
108 4 0016.3 10012 7724 Accepted 100
109 4 0016.4 10012 7688 Accepted 100
110 4 0016.5 10012 7756 Accepted 100
111 4 0016.8 10012 7744 Accepted 100
112 4 0016.7 10016 7628 Accepted 100
113 4 0015.8 10012 7608 Accepted 100
114 4 0015.9 10012 7632 Accepted 100
115 4 0015.8 10004 7604 Accepted 100
116 4 0015.7 10004 7432 Accepted 100
117 4 0017.0 10008 7688 Accepted 100
118 4 0015.7 10008 7500 Accepted 100
119 4 0016.5 10012 7664 Accepted 100
120 4 0016.6 10012 7588 Accepted 100
121 4 0016.6 10016 7492 Accepted 100
122 4 0016.9 10012 7696 Accepted 100
123 4 0017.7 10008 7628 Accepted 100
124 4 0016.5 10008 7672 Accepted 100
125 4 0016.3 10008 7420 Accepted 100
126 4 0017.0 10012 7584 Accepted 100
127 4 0017.1 10012 7592 Accepted 100
128 4 0017.3 10016 7764 Accepted 100
129 4 0016.9 10012 7620 Accepted 100
130 4 0016.5 10016 7648 Accepted 100
131 4 0016.8 10012 7664 Accepted 100
132 4 0018.0 10016 7740 Accepted 100
133 4 0017.3 10016 7532 Accepted 100
134 4 0017.1 10012 7556 Accepted 100
135 4 0016.3 10016 7748 Accepted 100
136 4 0016.2 10012 7736 Accepted 100
137 4 0016.1 10008 7436 Accepted 100
138 4 0012.1 9984 6732 Accepted 100
139 4 0003.6 9984 4236 Accepted 100
140 4 0012.6 9984 6912 Accepted 100
141 4 0016.2 10016 7540 Accepted 100
142 4 0006.7 9984 5440 Accepted 100
143 4 0013.5 9988 6920 Accepted 100
144 4 0011.6 9984 6784 Accepted 100
145 4 0011.6 9984 6728 Accepted 100
146 4 0015.1 10008 7468 Accepted 100
147 4 0016.6 10020 7828 Accepted 100
148 4 0007.7 9984 5840 Accepted 100
149 4 0013.2 9996 7004 Accepted 100
150 4 0008.5 9984 6084 Accepted 100
151 4 0002.9 9984 3828 Accepted 100
152 4 0002.9 9984 3992 Accepted 100
153 4 0003.0 9984 4016 Accepted 100
154 4 0003.1 9984 4048 Accepted 100
155 4 0003.3 9984 3832 Accepted 100
156 4 0003.3 9984 4096 Accepted 100
157 4 0003.0 9984 3764 Accepted 100
158 4 0003.1 9984 3884 Accepted 100
159 4 0003.0 9984 4008 Accepted 100
160 4 0003.2 9984 4040 Accepted 100
161 4 0003.6 9984 3996 Accepted 100
162 4 0003.4 9984 3988 Accepted 100
163 4 0003.1 9984 4012 Accepted 100
164 4 0003.2 9984 3928 Accepted 100
165 4 0003.3 9984 4076 Accepted 100
166 4 0003.4 9984 4028 Accepted 100
167 4 0003.6 9984 4008 Accepted 100
168 4 0003.4 9984 4020 Accepted 100
169 4 0003.2 9984 4036 Accepted 100
170 4 0003.2 9984 4068 Accepted 100
171 4 0003.7 9984 4068 Accepted 100
172 4 0003.2 9984 4132 Accepted 100
173 4 0003.7 9984 4028 Accepted 100
174 4 0003.9 9984 4192 Accepted 100
175 4 0003.1 9984 4000 Accepted 100
176 4 0003.2 9984 4096 Accepted 100
177 4 0003.5 9984 4132 Accepted 100
178 4 0003.3 9984 4020 Accepted 100
179 4 0003.2 9984 4140 Accepted 100
180 4 0004.7 9984 4268 Accepted 100
181 4 0003.5 9984 3956 Accepted 100
182 4 0003.1 9984 4124 Accepted 100
183 4 0003.3 9984 4096 Accepted 100
184 4 0003.7 9984 4200 Accepted 100
185 4 0003.4 9984 4172 Accepted 100
186 4 0004.2 9984 4204 Accepted 100
187 5 0016.6 10016 7760 Accepted 100
188 5 0017.1 10012 7744 Accepted 100
189 5 0016.8 10012 7784 Accepted 100
190 5 0015.6 10012 7720 Accepted 100
191 5 0015.9 10012 7624 Accepted 100
192 5 0016.3 10012 7624 Accepted 100
193 5 0016.2 10012 7692 Accepted 100
194 5 0016.3 10016 7784 Accepted 100
195 5 0016.4 10016 7628 Accepted 100
196 5 0002.8 9984 3744 Accepted 100
197 5 0002.7 9984 3636 Accepted 100
198 5 0002.6 9984 3572 Accepted 100
199 5 0002.5 9984 3680 Accepted 100
200 5 0002.5 9984 3672 Accepted 100
201 5 0002.7 9984 3724 Accepted 100
202 5 0002.5 9984 3688 Accepted 100
203 5 0002.7 9984 3628 Accepted 100
204 5 0002.5 9984 3580 Accepted 100
205 5 0002.6 9984 3672 Accepted 100
206 5 0002.8 9984 3504 Accepted 100
207 5 0002.8 9984 3752 Accepted 100
208 5 0002.6 9984 3756 Accepted 100
209 5 0002.6 9984 3828 Accepted 100
210 5 0002.7 9984 3736 Accepted 100
211 5 0008.5 9984 6024 Accepted 100
212 5 0006.8 9984 5552 Accepted 100
213 5 0007.2 9984 5632 Accepted 100
214 5 0006.2 9984 5392 Accepted 100
215 5 0011.1 9984 6724 Accepted 100
216 5 0020.2 9984 4756 Wrong Answer 0
217 5 0003.8 9984 4216 Accepted 100
218 5 0003.4 9984 4092 Accepted 100
219 5 0007.0 9984 5592 Accepted 100
220 5 0015.6 10008 7624 Accepted 100
221 5 0004.5 9984 4792 Accepted 100
222 5 0011.1 9984 6668 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.01 KB
Back to Top