Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

618
3688
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資。 0 / 0
2 3~9 $L \le 7$ 10 / 10
3 10~42 $L \le 10 ^ 3$ 20 / 20
4 43~143 $L \le 10 ^ 5$ 34 / 34
5 144~244 無額外限制。 36 / 36

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.6 6208 3548 Accepted 100
1 1 0002.6 6208 3564 Accepted 100
2 1 0002.4 6208 3552 Accepted 100
3 2 0002.4 6208 3496 Accepted 100
4 2 0002.4 6208 3604 Accepted 100
5 2 0002.4 6208 3552 Accepted 100
6 2 0002.7 6208 3592 Accepted 100
7 2 0002.4 6208 3412 Accepted 100
8 2 0002.4 6208 3564 Accepted 100
9 2 0002.6 6208 3600 Accepted 100
10 3 0002.6 6208 3544 Accepted 100
11 3 0002.5 6208 3584 Accepted 100
12 3 0002.6 6208 3608 Accepted 100
13 3 0002.6 6208 3576 Accepted 100
14 3 0002.5 6208 3580 Accepted 100
15 3 0002.5 6208 3564 Accepted 100
16 3 0002.4 6208 3544 Accepted 100
17 3 0002.5 6208 3556 Accepted 100
18 3 0002.4 6208 3500 Accepted 100
19 3 0002.5 6208 3552 Accepted 100
20 3 0002.5 6208 3548 Accepted 100
21 3 0002.5 6208 3540 Accepted 100
22 3 0002.7 6208 3548 Accepted 100
23 3 0002.5 6208 3552 Accepted 100
24 3 0002.6 6208 3612 Accepted 100
25 3 0002.4 6208 3440 Accepted 100
26 3 0002.6 6208 3564 Accepted 100
27 3 0002.5 6208 3544 Accepted 100
28 3 0002.6 6208 3436 Accepted 100
29 3 0002.6 6208 3484 Accepted 100
30 3 0002.7 6208 3600 Accepted 100
31 3 0002.6 6208 3556 Accepted 100
32 3 0002.6 6208 3560 Accepted 100
33 3 0002.6 6208 3556 Accepted 100
34 3 0002.5 6208 3592 Accepted 100
35 3 0002.5 6208 3556 Accepted 100
36 3 0002.6 6208 3544 Accepted 100
37 3 0002.6 6208 3552 Accepted 100
38 3 0002.5 6208 3596 Accepted 100
39 3 0002.6 6208 3616 Accepted 100
40 3 0002.6 6208 3548 Accepted 100
41 3 0002.6 6208 3544 Accepted 100
42 3 0002.5 6208 3572 Accepted 100
43 4 0002.5 6208 3580 Accepted 100
44 4 0002.6 6208 3440 Accepted 100
45 4 0002.6 6208 3556 Accepted 100
46 4 0002.6 6208 3560 Accepted 100
47 4 0002.9 6208 3596 Accepted 100
48 4 0002.7 6208 3552 Accepted 100
49 4 0002.6 6208 3612 Accepted 100
50 4 0002.6 6208 3556 Accepted 100
51 4 0002.5 6208 3688 Accepted 100
52 4 0002.6 6208 3616 Accepted 100
53 4 0002.5 6208 3600 Accepted 100
54 4 0002.5 6208 3568 Accepted 100
55 4 0002.6 6208 3552 Accepted 100
56 4 0002.6 6208 3564 Accepted 100
57 4 0002.6 6208 3544 Accepted 100
58 4 0002.4 6208 3564 Accepted 100
59 4 0002.6 6208 3560 Accepted 100
60 4 0002.5 6208 3548 Accepted 100
61 4 0002.6 6208 3596 Accepted 100
62 4 0002.4 6208 3684 Accepted 100
63 4 0002.6 6208 3568 Accepted 100
64 4 0002.5 6208 3556 Accepted 100
65 4 0002.6 6208 3608 Accepted 100
66 4 0002.6 6208 3620 Accepted 100
67 4 0002.7 6208 3652 Accepted 100
68 4 0002.6 6208 3568 Accepted 100
69 4 0002.5 6208 3548 Accepted 100
70 4 0002.5 6208 3544 Accepted 100
71 4 0002.5 6208 3616 Accepted 100
72 4 0002.5 6208 3592 Accepted 100
73 4 0002.6 6208 3580 Accepted 100
74 4 0002.5 6208 3620 Accepted 100
75 4 0002.6 6208 3564 Accepted 100
76 4 0002.5 6208 3568 Accepted 100
77 4 0002.6 6208 3620 Accepted 100
78 4 0002.6 6208 3444 Accepted 100
79 4 0002.6 6208 3576 Accepted 100
80 4 0002.6 6208 3552 Accepted 100
81 4 0002.6 6208 3564 Accepted 100
82 4 0002.7 6208 3404 Accepted 100
83 4 0002.5 6208 3564 Accepted 100
84 4 0002.7 6208 3592 Accepted 100
85 4 0002.5 6208 3548 Accepted 100
86 4 0002.6 6208 3684 Accepted 100
87 4 0002.5 6208 3600 Accepted 100
88 4 0002.7 6208 3568 Accepted 100
89 4 0002.5 6208 3404 Accepted 100
90 4 0002.5 6208 3564 Accepted 100
91 4 0002.6 6208 3608 Accepted 100
92 4 0002.5 6208 3680 Accepted 100
93 4 0002.5 6208 3552 Accepted 100
94 4 0002.6 6208 3556 Accepted 100
95 4 0002.6 6208 3592 Accepted 100
96 4 0002.6 6208 3548 Accepted 100
97 4 0002.5 6208 3544 Accepted 100
98 4 0002.5 6208 3560 Accepted 100
99 4 0002.5 6208 3440 Accepted 100
100 4 0002.5 6208 3556 Accepted 100
101 4 0002.6 6208 3556 Accepted 100
102 4 0002.5 6208 3552 Accepted 100
103 4 0002.4 6208 3548 Accepted 100
104 4 0002.6 6208 3600 Accepted 100
105 4 0002.5 6208 3604 Accepted 100
106 4 0002.6 6208 3520 Accepted 100
107 4 0002.5 6208 3548 Accepted 100
108 4 0002.6 6208 3608 Accepted 100
109 4 0002.6 6208 3548 Accepted 100
110 4 0002.5 6208 3408 Accepted 100
111 4 0002.5 6208 3608 Accepted 100
112 4 0002.5 6208 3440 Accepted 100
113 4 0002.4 6208 3588 Accepted 100
114 4 0002.5 6208 3548 Accepted 100
115 4 0002.4 6208 3564 Accepted 100
116 4 0002.6 6208 3596 Accepted 100
117 4 0002.6 6208 3556 Accepted 100
118 4 0002.5 6208 3612 Accepted 100
119 4 0002.4 6208 3584 Accepted 100
120 4 0002.4 6208 3600 Accepted 100
121 4 0002.4 6208 3544 Accepted 100
122 4 0002.5 6208 3596 Accepted 100
123 4 0002.4 6208 3560 Accepted 100
124 4 0002.6 6208 3436 Accepted 100
125 4 0002.6 6208 3592 Accepted 100
126 4 0002.5 6208 3560 Accepted 100
127 4 0002.6 6208 3592 Accepted 100
128 4 0002.4 6208 3556 Accepted 100
129 4 0002.7 6208 3556 Accepted 100
130 4 0002.6 6208 3584 Accepted 100
131 4 0002.4 6208 3608 Accepted 100
132 4 0002.5 6208 3588 Accepted 100
133 4 0002.4 6208 3680 Accepted 100
134 4 0002.6 6208 3532 Accepted 100
135 4 0002.5 6208 3440 Accepted 100
136 4 0002.5 6208 3604 Accepted 100
137 4 0002.5 6208 3612 Accepted 100
138 4 0002.5 6208 3596 Accepted 100
139 4 0002.4 6208 3412 Accepted 100
140 4 0002.5 6208 3680 Accepted 100
141 4 0002.6 6208 3548 Accepted 100
142 4 0002.5 6208 3548 Accepted 100
143 4 0002.6 6208 3548 Accepted 100
144 5 0002.7 6208 3588 Accepted 100
145 5 0002.5 6208 3596 Accepted 100
146 5 0002.4 6208 3600 Accepted 100
147 5 0002.5 6208 3560 Accepted 100
148 5 0002.5 6208 3568 Accepted 100
149 5 0002.5 6208 3596 Accepted 100
150 5 0002.5 6208 3440 Accepted 100
151 5 0002.5 6208 3608 Accepted 100
152 5 0002.5 6208 3608 Accepted 100
153 5 0002.4 6208 3404 Accepted 100
154 5 0002.6 6208 3560 Accepted 100
155 5 0002.6 6208 3676 Accepted 100
156 5 0002.4 6208 3556 Accepted 100
157 5 0002.5 6208 3652 Accepted 100
158 5 0002.5 6208 3596 Accepted 100
159 5 0002.4 6208 3676 Accepted 100
160 5 0002.5 6208 3544 Accepted 100
161 5 0002.5 6208 3440 Accepted 100
162 5 0002.7 6208 3684 Accepted 100
163 5 0002.6 6208 3548 Accepted 100
164 5 0002.5 6208 3592 Accepted 100
165 5 0002.5 6208 3604 Accepted 100
166 5 0002.4 6208 3552 Accepted 100
167 5 0002.5 6208 3600 Accepted 100
168 5 0002.4 6208 3604 Accepted 100
169 5 0002.5 6208 3680 Accepted 100
170 5 0002.4 6208 3564 Accepted 100
171 5 0002.5 6208 3540 Accepted 100
172 5 0002.4 6208 3560 Accepted 100
173 5 0002.6 6208 3556 Accepted 100
174 5 0002.6 6208 3580 Accepted 100
175 5 0002.6 6208 3560 Accepted 100
176 5 0002.4 6208 3564 Accepted 100
177 5 0002.5 6208 3592 Accepted 100
178 5 0002.6 6208 3548 Accepted 100
179 5 0002.6 6208 3444 Accepted 100
180 5 0002.6 6208 3608 Accepted 100
181 5 0002.4 6208 3536 Accepted 100
182 5 0002.5 6208 3556 Accepted 100
183 5 0002.4 6208 3600 Accepted 100
184 5 0002.5 6208 3556 Accepted 100
185 5 0002.5 6208 3600 Accepted 100
186 5 0002.4 6208 3552 Accepted 100
187 5 0002.4 6208 3680 Accepted 100
188 5 0002.4 6208 3548 Accepted 100
189 5 0002.4 6208 3544 Accepted 100
190 5 0002.5 6208 3544 Accepted 100
191 5 0002.5 6208 3564 Accepted 100
192 5 0002.6 6208 3612 Accepted 100
193 5 0002.6 6208 3604 Accepted 100
194 5 0002.5 6208 3608 Accepted 100
195 5 0002.5 6208 3436 Accepted 100
196 5 0002.5 6208 3604 Accepted 100
197 5 0002.4 6208 3440 Accepted 100
198 5 0002.6 6208 3616 Accepted 100
199 5 0002.6 6208 3556 Accepted 100
200 5 0002.4 6208 3564 Accepted 100
201 5 0002.5 6208 3596 Accepted 100
202 5 0002.4 6208 3556 Accepted 100
203 5 0002.4 6208 3436 Accepted 100
204 5 0002.4 6208 3608 Accepted 100
205 5 0002.5 6208 3684 Accepted 100
206 5 0002.4 6208 3608 Accepted 100
207 5 0002.5 6208 3564 Accepted 100
208 5 0002.4 6208 3548 Accepted 100
209 5 0002.5 6208 3560 Accepted 100
210 5 0002.4 6208 3568 Accepted 100
211 5 0002.6 6208 3556 Accepted 100
212 5 0003.1 6208 3564 Accepted 100
213 5 0002.4 6208 3408 Accepted 100
214 5 0002.5 6208 3512 Accepted 100
215 5 0002.4 6208 3612 Accepted 100
216 5 0002.7 6208 3552 Accepted 100
217 5 0002.7 6208 3588 Accepted 100
218 5 0002.6 6208 3596 Accepted 100
219 5 0002.4 6208 3604 Accepted 100
220 5 0002.4 6208 3544 Accepted 100
221 5 0002.5 6208 3552 Accepted 100
222 5 0002.6 6208 3604 Accepted 100
223 5 0002.4 6208 3592 Accepted 100
224 5 0002.5 6208 3600 Accepted 100
225 5 0002.4 6208 3564 Accepted 100
226 5 0002.4 6208 3412 Accepted 100
227 5 0002.4 6208 3404 Accepted 100
228 5 0002.4 6208 3552 Accepted 100
229 5 0002.4 6208 3600 Accepted 100
230 5 0002.5 6208 3612 Accepted 100
231 5 0002.5 6208 3620 Accepted 100
232 5 0002.6 6208 3552 Accepted 100
233 5 0002.5 6208 3604 Accepted 100
234 5 0002.6 6208 3560 Accepted 100
235 5 0002.5 6208 3588 Accepted 100
236 5 0002.6 6208 3484 Accepted 100
237 5 0002.6 6208 3556 Accepted 100
238 5 0002.6 6208 3444 Accepted 100
239 5 0002.5 6208 3568 Accepted 100
240 5 0002.4 6208 3556 Accepted 100
241 5 0002.5 6208 3600 Accepted 100
242 5 0002.4 6208 3684 Accepted 100
243 5 0002.5 6208 3516 Accepted 100
244 5 0002.5 6208 3596 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.53 KB
Back to Top