Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

34529
68092
Wrong Answer
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 6204 3532 Accepted 100
1 1 0002.5 6204 3688 Wrong Answer 0
2 2 0002.5 6204 3636 Accepted 100
3 2 0002.4 6204 3564 Accepted 100
4 2 0002.4 6204 3632 Accepted 100
5 2 0002.4 6204 3632 Wrong Answer 0
6 2 0002.4 6204 3636 Accepted 100
7 2 0002.5 6204 3692 Wrong Answer 0
8 2 0002.4 6204 3640 Wrong Answer 0
9 2 0002.4 6204 3632 Accepted 100
10 2 0002.5 6204 3632 Accepted 100
11 2 0002.5 6204 3520 Wrong Answer 0
12 2 0002.4 6204 3568 Wrong Answer 0
13 2 0002.4 6204 3464 Accepted 100
14 2 0002.5 6204 3568 Wrong Answer 0
15 2 0002.5 6204 3696 Wrong Answer 0
16 2 0002.4 6204 3636 Wrong Answer 0
17 2 0002.4 6204 3592 Wrong Answer 0
18 2 0002.4 6204 3556 Accepted 100
19 2 0002.4 6204 3556 Wrong Answer 0
20 2 0002.5 6204 3568 Wrong Answer 0
21 3 0242.4 38744 36080 Accepted 100
22 3 0274.9 38740 36016 Accepted 100
23 3 0273.1 38320 35628 Accepted 100
24 3 0268.5 38480 35640 Accepted 100
25 3 0268.8 38456 35836 Accepted 100
26 3 0270.4 38456 35832 Accepted 100
27 3 0272.2 38452 35804 Accepted 100
28 3 0271.5 38616 35920 Accepted 100
29 3 0271.5 38600 35848 Accepted 100
30 3 0275.9 38600 36004 Accepted 100
31 3 0276.9 38596 35908 Accepted 100
32 3 0279.6 38744 36080 Accepted 100
33 3 0239.9 38320 35732 Accepted 100
34 3 0239.9 38480 35776 Accepted 100
35 3 0239.0 38456 35676 Accepted 100
36 3 0242.0 38460 35812 Accepted 100
37 3 0243.7 38456 35864 Accepted 100
38 3 0242.5 38612 35868 Accepted 100
39 3 0242.0 38600 35936 Accepted 100
40 3 0246.2 38600 36004 Accepted 100
41 3 0243.8 38596 35816 Accepted 100
42 3 0245.5 38740 35940 Accepted 100
43 3 0009.4 7528 4956 Accepted 100
44 3 0010.2 7660 5108 Accepted 100
45 3 0005.4 6600 4100 Accepted 100
46 3 0006.8 6732 4312 Accepted 100
47 3 0008.7 7396 4844 Accepted 100
48 3 0009.4 7528 4944 Accepted 100
49 3 0010.5 7660 5048 Accepted 100
50 3 0019.5 8320 5768 Accepted 100
51 3 0017.1 8188 5732 Accepted 100
52 3 0017.9 8320 5636 Accepted 100
53 3 0079.6 23196 16396 Accepted 100
54 3 0096.2 24928 18552 Accepted 100
55 3 0124.2 27792 22764 Accepted 100
56 3 0141.4 28804 24500 Accepted 100
57 3 0154.2 30096 26696 Accepted 100
58 3 0004.1 6468 3908 Accepted 100
59 3 0166.6 31400 28736 Accepted 100
60 3 0184.6 32260 29576 Accepted 100
61 3 0024.3 10760 8084 Accepted 100
62 3 0183.8 32424 29732 Accepted 100
63 3 0026.2 11028 8324 Accepted 100
64 3 0032.6 11696 9048 Accepted 100
65 3 0042.9 12628 10056 Accepted 100
66 3 0126.9 28948 24512 Accepted 100
67 3 0167.1 32260 29600 Accepted 100
68 3 0172.0 32840 30112 Accepted 100
69 3 0195.1 35004 32312 Accepted 100
70 3 0204.5 35432 32860 Accepted 100
71 3 0209.6 35720 32924 Accepted 100
72 3 0235.7 37880 35168 Accepted 100
73 3 0002.5 6204 3468 Accepted 100
74 3 0002.6 6204 3636 Accepted 100
75 3 0002.5 6204 3632 Wrong Answer 0
76 3 0002.6 6204 3596 Wrong Answer 0
77 3 0002.7 6204 3476 Wrong Answer 0
78 3 0002.6 6204 3640 Accepted 100
79 3 0002.5 6204 3472 Accepted 100
80 3 0002.6 6204 3472 Accepted 100
81 3 0002.7 6204 3424 Wrong Answer 0
82 3 0002.8 6204 3628 Wrong Answer 0
83 3 0002.5 6204 3640 Wrong Answer 0
84 3 0002.6 6204 3584 Accepted 100
85 3 0002.6 6204 3456 Accepted 100
86 3 0002.6 6204 3604 Accepted 100
87 3 0002.5 6204 3572 Accepted 100
88 3 0002.5 6204 3588 Wrong Answer 0
89 3 0002.5 6204 3628 Accepted 100
90 3 0002.6 6204 3632 Wrong Answer 0
91 3 0002.5 6204 3564 Wrong Answer 0
92 3 0002.4 6204 3632 Wrong Answer 0
93 3 0002.4 6204 3572 Accepted 100
94 3 0002.5 6204 3460 Accepted 100
95 3 0002.4 6204 3632 Wrong Answer 0
96 3 0002.5 6204 3576 Accepted 100
97 3 0002.5 6204 3628 Wrong Answer 0
98 3 0002.4 6204 3636 Wrong Answer 0
99 3 0002.4 6204 3636 Wrong Answer 0
100 4 0439.7 68496 64072 Accepted 100
101 4 0450.0 69296 65580 Wrong Answer 0
102 4 0448.5 70748 67996 Accepted 100
103 4 0456.4 70580 67744 Wrong Answer 0
104 4 0467.9 70264 67668 Wrong Answer 0
105 4 0450.7 70424 67716 Accepted 100
106 4 0415.5 68976 64792 Wrong Answer 0
107 4 0425.4 69620 66384 Accepted 100
108 4 0443.3 70104 67120 Accepted 100
109 4 0443.4 70420 67820 Accepted 100
110 4 0457.0 70584 67864 Accepted 100
111 4 0462.1 70420 67772 Accepted 100
112 4 0449.0 70744 67936 Accepted 100
113 4 0438.0 68332 64008 Accepted 100
114 4 0441.9 68656 64680 Accepted 100
115 4 0401.2 67224 62156 Accepted 100
116 4 0412.8 67388 62240 Accepted 100
117 4 0441.0 69136 66028 Accepted 100
118 4 0411.3 67064 62352 Accepted 100
119 4 0450.0 69140 66264 Accepted 100
120 4 0465.7 70264 67556 Accepted 100
121 4 0466.9 70584 68004 Accepted 100
122 4 0473.1 70744 68024 Wrong Answer 0
123 4 0436.6 68656 65852 Accepted 100
124 4 0454.7 69296 66476 Accepted 100
125 4 0448.4 68976 66284 Wrong Answer 0
126 4 0463.4 70104 67440 Accepted 100
127 4 0462.5 70264 67512 Accepted 100
128 4 0472.4 70588 67832 Accepted 100
129 4 0471.7 70748 68092 Accepted 100
130 4 0449.5 69616 66996 Accepted 100
131 4 0453.5 69616 66992 Wrong Answer 0
132 4 0460.3 70424 67680 Accepted 100
133 4 0470.4 70584 67988 Accepted 100
134 4 0445.8 68976 66384 Accepted 100
135 4 0454.3 69940 67340 Accepted 100
136 4 0450.8 69940 67252 Accepted 100
137 4 0389.0 65940 60428 Accepted 100
138 4 0267.8 54928 41784 Accepted 100
139 4 0010.6 7396 4768 Wrong Answer 0
140 4 0288.3 57772 46012 Accepted 100
141 4 0424.4 68976 65632 Wrong Answer 0
142 4 0090.9 20460 17652 Accepted 100
143 4 0315.3 59540 49852 Accepted 100
144 4 0270.5 55088 42980 Accepted 100
145 4 0266.5 55212 42972 Accepted 100
146 4 0398.4 66104 60892 Accepted 100
147 4 0466.7 70584 67844 Accepted 100
148 4 0127.0 23628 20924 Accepted 100
149 4 0335.2 60664 51592 Accepted 100
150 4 0156.5 44068 27656 Accepted 100
151 4 0004.7 6468 4036 Accepted 100
152 4 0005.1 6468 3952 Accepted 100
153 4 0005.6 6732 4092 Accepted 100
154 4 0006.1 6868 4244 Accepted 100
155 4 0006.4 7000 4416 Wrong Answer 0
156 4 0006.8 7000 4432 Wrong Answer 0
157 4 0004.8 6468 3828 Accepted 100
158 4 0005.7 6732 4164 Accepted 100
159 4 0006.3 7000 4388 Accepted 100
160 4 0006.5 7000 4400 Accepted 100
161 4 0006.8 7000 4448 Wrong Answer 0
162 4 0007.8 7132 4592 Accepted 100
163 4 0005.4 6732 4172 Accepted 100
164 4 0006.6 7000 4368 Wrong Answer 0
165 4 0006.4 7000 4420 Accepted 100
166 4 0007.4 7000 4496 Accepted 100
167 4 0008.0 7132 4604 Accepted 100
168 4 0008.4 7132 4580 Wrong Answer 0
169 4 0005.9 6868 4240 Wrong Answer 0
170 4 0006.6 7000 4296 Wrong Answer 0
171 4 0007.2 7000 4548 Accepted 100
172 4 0008.2 7132 4672 Accepted 100
173 4 0008.8 7132 4608 Accepted 100
174 4 0009.1 7264 4668 Accepted 100
175 4 0006.4 7000 4296 Accepted 100
176 4 0007.3 7000 4536 Accepted 100
177 4 0007.9 7132 4428 Accepted 100
178 4 0009.0 7132 4672 Accepted 100
179 4 0009.3 7264 4572 Accepted 100
180 4 0010.3 7264 4768 Wrong Answer 0
181 4 0006.7 7000 4456 Wrong Answer 0
182 4 0008.0 7132 4412 Wrong Answer 0
183 4 0008.4 7132 4484 Wrong Answer 0
184 4 0009.1 7264 4732 Wrong Answer 0
185 4 0009.7 7264 4772 Wrong Answer 0
186 4 0010.8 7396 4712 Wrong Answer 0
187 5 0474.5 70748 67324 Accepted 100
188 5 0437.4 70420 67288 Wrong Answer 0
189 5 0433.0 70584 66736 Accepted 100
190 5 0356.7 70580 53252 Wrong Answer 0
191 5 0402.6 70740 58524 Wrong Answer 0
192 5 0418.2 70748 61588 Wrong Answer 0
193 5 0428.1 70584 63356 Wrong Answer 0
194 5 0434.6 70580 64608 Wrong Answer 0
195 5 0461.9 70744 66084 Accepted 100
196 5 0002.6 6204 3584 Accepted 100
197 5 0002.5 6204 3640 Wrong Answer 0
198 5 0002.5 6204 3464 Wrong Answer 0
199 5 0002.6 6204 3640 Wrong Answer 0
200 5 0002.5 6204 3640 Wrong Answer 0
201 5 0002.6 6204 3632 Accepted 100
202 5 0002.5 6204 3644 Accepted 100
203 5 0002.5 6204 3600 Wrong Answer 0
204 5 0002.6 6204 3588 Wrong Answer 0
205 5 0002.6 6204 3632 Wrong Answer 0
206 5 0002.7 6204 3652 Wrong Answer 0
207 5 0002.7 6204 3656 Wrong Answer 0
208 5 0002.6 6204 3592 Accepted 100
209 5 0003.2 6204 3488 Wrong Answer 0
210 5 0002.6 6204 3600 Accepted 100
211 5 0151.0 24924 22124 Accepted 100
212 5 0093.8 21028 18364 Accepted 100
213 5 0100.6 21468 18824 Accepted 100
214 5 0067.0 19172 14744 Wrong Answer 0
215 5 0226.3 53172 37652 Accepted 100
216 5 0036.1 11036 8448 Wrong Answer 0
217 5 0018.2 9284 6800 Accepted 100
218 5 0009.9 7264 4712 Wrong Answer 0
219 5 0099.6 21328 18736 Wrong Answer 0
220 5 0412.1 68032 60212 Accepted 100
221 5 0029.2 10356 7664 Accepted 100
222 5 0246.0 53332 38544 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.51 KB
Back to Top