#include "jelly.h"
#include <bits/stdc++.h>
using namespace std;
int find_maximum_unique(int x, int y, std::vector<int> a, std::vector<int> b) {
int n = a.size();
vector<vector<vector<int>>> dp(n+1, vector<vector<int>> (x+1, vector<int> (y+1, 0)));
for (int i=1; i<=n; i++) {
for (int xi=0; xi<=x; xi++) {
for (int yi=0; yi<=y; yi++) {
// não compra e pega o xi ou yi menor
dp[i][xi][yi] = max(0, dp[i][xi != 0 ? xi-1 : 0][yi]);
dp[i][xi][yi] = max(dp[i][xi][yi], dp[i][xi][yi != 0 ? yi-1 : 0]);
// não compra o i
dp[i][xi][yi] = max(dp[i][xi][yi], dp[i-1][xi][yi]);
// compra na a
if (xi >= a[i-1]) dp[i][xi][yi] = max(dp[i][xi][yi], dp[i-1][xi-a[i-1]][yi] + 1);
// compra na b
if (yi >= b[i-1]) dp[i][xi][yi] = max(dp[i][xi][yi], dp[i-1][xi][yi-b[i-1]] + 1);
}
}
}
return dp[n][x][y];
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
2136 KB |
Output is correct |
2 |
Correct |
15 ms |
8536 KB |
Output is correct |
3 |
Correct |
14 ms |
9052 KB |
Output is correct |
4 |
Correct |
24 ms |
12124 KB |
Output is correct |
5 |
Correct |
18 ms |
9560 KB |
Output is correct |
6 |
Correct |
12 ms |
7768 KB |
Output is correct |
7 |
Correct |
19 ms |
10588 KB |
Output is correct |
8 |
Correct |
12 ms |
7868 KB |
Output is correct |
9 |
Correct |
19 ms |
10072 KB |
Output is correct |
10 |
Correct |
22 ms |
11612 KB |
Output is correct |
11 |
Correct |
3 ms |
1368 KB |
Output is correct |
12 |
Correct |
3 ms |
2140 KB |
Output is correct |
13 |
Correct |
14 ms |
8536 KB |
Output is correct |
14 |
Correct |
14 ms |
9048 KB |
Output is correct |
15 |
Correct |
24 ms |
12376 KB |
Output is correct |
16 |
Correct |
18 ms |
9564 KB |
Output is correct |
17 |
Correct |
12 ms |
7768 KB |
Output is correct |
18 |
Correct |
20 ms |
10588 KB |
Output is correct |
19 |
Correct |
12 ms |
7768 KB |
Output is correct |
20 |
Correct |
19 ms |
9820 KB |
Output is correct |
21 |
Correct |
4 ms |
2136 KB |
Output is correct |
22 |
Correct |
26 ms |
11868 KB |
Output is correct |
23 |
Correct |
4 ms |
2136 KB |
Output is correct |
24 |
Correct |
0 ms |
348 KB |
Output is correct |
25 |
Correct |
3 ms |
1628 KB |
Output is correct |
26 |
Correct |
2 ms |
1628 KB |
Output is correct |
27 |
Correct |
2 ms |
1116 KB |
Output is correct |
28 |
Correct |
3 ms |
2136 KB |
Output is correct |
29 |
Correct |
3 ms |
1884 KB |
Output is correct |
30 |
Correct |
3 ms |
2140 KB |
Output is correct |
31 |
Correct |
3 ms |
1628 KB |
Output is correct |
32 |
Correct |
0 ms |
344 KB |
Output is correct |
33 |
Correct |
3 ms |
1628 KB |
Output is correct |
34 |
Correct |
3 ms |
1668 KB |
Output is correct |
35 |
Correct |
2 ms |
1112 KB |
Output is correct |
36 |
Correct |
3 ms |
2256 KB |
Output is correct |
37 |
Correct |
3 ms |
1884 KB |
Output is correct |
38 |
Correct |
3 ms |
2140 KB |
Output is correct |
39 |
Correct |
3 ms |
1628 KB |
Output is correct |
40 |
Correct |
2 ms |
1372 KB |
Output is correct |
41 |
Correct |
3 ms |
2140 KB |
Output is correct |
42 |
Correct |
14 ms |
8664 KB |
Output is correct |
43 |
Correct |
15 ms |
9052 KB |
Output is correct |
44 |
Correct |
24 ms |
12120 KB |
Output is correct |
45 |
Correct |
18 ms |
9560 KB |
Output is correct |
46 |
Correct |
12 ms |
7772 KB |
Output is correct |
47 |
Correct |
19 ms |
10792 KB |
Output is correct |
48 |
Correct |
12 ms |
7772 KB |
Output is correct |
49 |
Correct |
19 ms |
10048 KB |
Output is correct |
50 |
Correct |
23 ms |
11612 KB |
Output is correct |
51 |
Correct |
4 ms |
2136 KB |
Output is correct |
52 |
Correct |
0 ms |
344 KB |
Output is correct |
53 |
Correct |
3 ms |
1628 KB |
Output is correct |
54 |
Correct |
2 ms |
1628 KB |
Output is correct |
55 |
Correct |
2 ms |
1116 KB |
Output is correct |
56 |
Correct |
3 ms |
2140 KB |
Output is correct |
57 |
Correct |
3 ms |
1884 KB |
Output is correct |
58 |
Correct |
3 ms |
2140 KB |
Output is correct |
59 |
Correct |
3 ms |
1624 KB |
Output is correct |
60 |
Correct |
2 ms |
1372 KB |
Output is correct |
61 |
Correct |
4 ms |
2264 KB |
Output is correct |
62 |
Correct |
15 ms |
8536 KB |
Output is correct |
63 |
Correct |
15 ms |
9052 KB |
Output is correct |
64 |
Correct |
25 ms |
12220 KB |
Output is correct |
65 |
Correct |
18 ms |
9564 KB |
Output is correct |
66 |
Correct |
12 ms |
7772 KB |
Output is correct |
67 |
Correct |
19 ms |
10796 KB |
Output is correct |
68 |
Correct |
12 ms |
7772 KB |
Output is correct |
69 |
Correct |
20 ms |
10040 KB |
Output is correct |
70 |
Correct |
23 ms |
11612 KB |
Output is correct |
71 |
Correct |
3 ms |
2136 KB |
Output is correct |
72 |
Correct |
0 ms |
348 KB |
Output is correct |
73 |
Correct |
3 ms |
2036 KB |
Output is correct |
74 |
Correct |
2 ms |
1628 KB |
Output is correct |
75 |
Correct |
2 ms |
1224 KB |
Output is correct |
76 |
Correct |
3 ms |
2136 KB |
Output is correct |
77 |
Correct |
3 ms |
1884 KB |
Output is correct |
78 |
Correct |
3 ms |
2208 KB |
Output is correct |
79 |
Correct |
3 ms |
1628 KB |
Output is correct |
80 |
Correct |
2 ms |
1372 KB |
Output is correct |
81 |
Correct |
3 ms |
2140 KB |
Output is correct |
82 |
Correct |
14 ms |
8540 KB |
Output is correct |
83 |
Correct |
14 ms |
9052 KB |
Output is correct |
84 |
Correct |
24 ms |
12220 KB |
Output is correct |
85 |
Correct |
19 ms |
9716 KB |
Output is correct |
86 |
Correct |
12 ms |
7772 KB |
Output is correct |
87 |
Correct |
19 ms |
10588 KB |
Output is correct |
88 |
Correct |
12 ms |
7872 KB |
Output is correct |
89 |
Correct |
19 ms |
9820 KB |
Output is correct |
90 |
Correct |
23 ms |
11864 KB |
Output is correct |
91 |
Correct |
3 ms |
2140 KB |
Output is correct |
92 |
Correct |
0 ms |
348 KB |
Output is correct |
93 |
Correct |
3 ms |
1628 KB |
Output is correct |
94 |
Correct |
3 ms |
1624 KB |
Output is correct |
95 |
Correct |
2 ms |
1116 KB |
Output is correct |
96 |
Correct |
4 ms |
2140 KB |
Output is correct |
97 |
Correct |
4 ms |
1884 KB |
Output is correct |
98 |
Correct |
3 ms |
2140 KB |
Output is correct |
99 |
Correct |
3 ms |
1624 KB |
Output is correct |
100 |
Correct |
2 ms |
1372 KB |
Output is correct |
101 |
Correct |
4 ms |
2140 KB |
Output is correct |
102 |
Correct |
14 ms |
8540 KB |
Output is correct |
103 |
Correct |
14 ms |
9052 KB |
Output is correct |
104 |
Correct |
23 ms |
12124 KB |
Output is correct |
105 |
Correct |
18 ms |
9564 KB |
Output is correct |
106 |
Correct |
13 ms |
7772 KB |
Output is correct |
107 |
Correct |
20 ms |
10792 KB |
Output is correct |
108 |
Correct |
12 ms |
7772 KB |
Output is correct |
109 |
Correct |
19 ms |
9860 KB |
Output is correct |
110 |
Correct |
23 ms |
11864 KB |
Output is correct |
111 |
Correct |
4 ms |
2140 KB |
Output is correct |
112 |
Correct |
0 ms |
348 KB |
Output is correct |
113 |
Correct |
3 ms |
1628 KB |
Output is correct |
114 |
Correct |
2 ms |
1628 KB |
Output is correct |
115 |
Correct |
2 ms |
1116 KB |
Output is correct |
116 |
Correct |
3 ms |
2140 KB |
Output is correct |
117 |
Correct |
3 ms |
1884 KB |
Output is correct |
118 |
Correct |
3 ms |
2140 KB |
Output is correct |
119 |
Correct |
3 ms |
1628 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
2136 KB |
Output is correct |
2 |
Correct |
15 ms |
8536 KB |
Output is correct |
3 |
Correct |
14 ms |
9052 KB |
Output is correct |
4 |
Correct |
24 ms |
12124 KB |
Output is correct |
5 |
Correct |
18 ms |
9560 KB |
Output is correct |
6 |
Correct |
12 ms |
7768 KB |
Output is correct |
7 |
Correct |
19 ms |
10588 KB |
Output is correct |
8 |
Correct |
12 ms |
7868 KB |
Output is correct |
9 |
Correct |
19 ms |
10072 KB |
Output is correct |
10 |
Correct |
22 ms |
11612 KB |
Output is correct |
11 |
Correct |
3 ms |
1368 KB |
Output is correct |
12 |
Correct |
3 ms |
2140 KB |
Output is correct |
13 |
Correct |
14 ms |
8536 KB |
Output is correct |
14 |
Correct |
14 ms |
9048 KB |
Output is correct |
15 |
Correct |
24 ms |
12376 KB |
Output is correct |
16 |
Correct |
18 ms |
9564 KB |
Output is correct |
17 |
Correct |
12 ms |
7768 KB |
Output is correct |
18 |
Correct |
20 ms |
10588 KB |
Output is correct |
19 |
Correct |
12 ms |
7768 KB |
Output is correct |
20 |
Correct |
19 ms |
9820 KB |
Output is correct |
21 |
Correct |
4 ms |
2136 KB |
Output is correct |
22 |
Correct |
26 ms |
11868 KB |
Output is correct |
23 |
Correct |
4 ms |
2136 KB |
Output is correct |
24 |
Correct |
0 ms |
348 KB |
Output is correct |
25 |
Correct |
3 ms |
1628 KB |
Output is correct |
26 |
Correct |
2 ms |
1628 KB |
Output is correct |
27 |
Correct |
2 ms |
1116 KB |
Output is correct |
28 |
Correct |
3 ms |
2136 KB |
Output is correct |
29 |
Correct |
3 ms |
1884 KB |
Output is correct |
30 |
Correct |
3 ms |
2140 KB |
Output is correct |
31 |
Correct |
3 ms |
1628 KB |
Output is correct |
32 |
Correct |
0 ms |
344 KB |
Output is correct |
33 |
Correct |
3 ms |
1628 KB |
Output is correct |
34 |
Correct |
3 ms |
1668 KB |
Output is correct |
35 |
Correct |
2 ms |
1112 KB |
Output is correct |
36 |
Correct |
3 ms |
2256 KB |
Output is correct |
37 |
Correct |
3 ms |
1884 KB |
Output is correct |
38 |
Correct |
3 ms |
2140 KB |
Output is correct |
39 |
Correct |
3 ms |
1628 KB |
Output is correct |
40 |
Correct |
2 ms |
1372 KB |
Output is correct |
41 |
Correct |
3 ms |
2140 KB |
Output is correct |
42 |
Correct |
14 ms |
8664 KB |
Output is correct |
43 |
Correct |
15 ms |
9052 KB |
Output is correct |
44 |
Correct |
24 ms |
12120 KB |
Output is correct |
45 |
Correct |
18 ms |
9560 KB |
Output is correct |
46 |
Correct |
12 ms |
7772 KB |
Output is correct |
47 |
Correct |
19 ms |
10792 KB |
Output is correct |
48 |
Correct |
12 ms |
7772 KB |
Output is correct |
49 |
Correct |
19 ms |
10048 KB |
Output is correct |
50 |
Correct |
23 ms |
11612 KB |
Output is correct |
51 |
Correct |
4 ms |
2136 KB |
Output is correct |
52 |
Correct |
0 ms |
344 KB |
Output is correct |
53 |
Correct |
3 ms |
1628 KB |
Output is correct |
54 |
Correct |
2 ms |
1628 KB |
Output is correct |
55 |
Correct |
2 ms |
1116 KB |
Output is correct |
56 |
Correct |
3 ms |
2140 KB |
Output is correct |
57 |
Correct |
3 ms |
1884 KB |
Output is correct |
58 |
Correct |
3 ms |
2140 KB |
Output is correct |
59 |
Correct |
3 ms |
1624 KB |
Output is correct |
60 |
Correct |
2 ms |
1372 KB |
Output is correct |
61 |
Correct |
4 ms |
2264 KB |
Output is correct |
62 |
Correct |
15 ms |
8536 KB |
Output is correct |
63 |
Correct |
15 ms |
9052 KB |
Output is correct |
64 |
Correct |
25 ms |
12220 KB |
Output is correct |
65 |
Correct |
18 ms |
9564 KB |
Output is correct |
66 |
Correct |
12 ms |
7772 KB |
Output is correct |
67 |
Correct |
19 ms |
10796 KB |
Output is correct |
68 |
Correct |
12 ms |
7772 KB |
Output is correct |
69 |
Correct |
20 ms |
10040 KB |
Output is correct |
70 |
Correct |
23 ms |
11612 KB |
Output is correct |
71 |
Correct |
3 ms |
2136 KB |
Output is correct |
72 |
Correct |
0 ms |
348 KB |
Output is correct |
73 |
Correct |
3 ms |
2036 KB |
Output is correct |
74 |
Correct |
2 ms |
1628 KB |
Output is correct |
75 |
Correct |
2 ms |
1224 KB |
Output is correct |
76 |
Correct |
3 ms |
2136 KB |
Output is correct |
77 |
Correct |
3 ms |
1884 KB |
Output is correct |
78 |
Correct |
3 ms |
2208 KB |
Output is correct |
79 |
Correct |
3 ms |
1628 KB |
Output is correct |
80 |
Correct |
2 ms |
1372 KB |
Output is correct |
81 |
Correct |
3 ms |
2140 KB |
Output is correct |
82 |
Correct |
14 ms |
8540 KB |
Output is correct |
83 |
Correct |
14 ms |
9052 KB |
Output is correct |
84 |
Correct |
24 ms |
12220 KB |
Output is correct |
85 |
Correct |
19 ms |
9716 KB |
Output is correct |
86 |
Correct |
12 ms |
7772 KB |
Output is correct |
87 |
Correct |
19 ms |
10588 KB |
Output is correct |
88 |
Correct |
12 ms |
7872 KB |
Output is correct |
89 |
Correct |
19 ms |
9820 KB |
Output is correct |
90 |
Correct |
23 ms |
11864 KB |
Output is correct |
91 |
Correct |
3 ms |
2140 KB |
Output is correct |
92 |
Correct |
0 ms |
348 KB |
Output is correct |
93 |
Correct |
3 ms |
1628 KB |
Output is correct |
94 |
Correct |
3 ms |
1624 KB |
Output is correct |
95 |
Correct |
2 ms |
1116 KB |
Output is correct |
96 |
Correct |
4 ms |
2140 KB |
Output is correct |
97 |
Correct |
4 ms |
1884 KB |
Output is correct |
98 |
Correct |
3 ms |
2140 KB |
Output is correct |
99 |
Correct |
3 ms |
1624 KB |
Output is correct |
100 |
Correct |
2 ms |
1372 KB |
Output is correct |
101 |
Correct |
4 ms |
2140 KB |
Output is correct |
102 |
Correct |
14 ms |
8540 KB |
Output is correct |
103 |
Correct |
14 ms |
9052 KB |
Output is correct |
104 |
Correct |
23 ms |
12124 KB |
Output is correct |
105 |
Correct |
18 ms |
9564 KB |
Output is correct |
106 |
Correct |
13 ms |
7772 KB |
Output is correct |
107 |
Correct |
20 ms |
10792 KB |
Output is correct |
108 |
Correct |
12 ms |
7772 KB |
Output is correct |
109 |
Correct |
19 ms |
9860 KB |
Output is correct |
110 |
Correct |
23 ms |
11864 KB |
Output is correct |
111 |
Correct |
4 ms |
2140 KB |
Output is correct |
112 |
Correct |
0 ms |
348 KB |
Output is correct |
113 |
Correct |
3 ms |
1628 KB |
Output is correct |
114 |
Correct |
2 ms |
1628 KB |
Output is correct |
115 |
Correct |
2 ms |
1116 KB |
Output is correct |
116 |
Correct |
3 ms |
2140 KB |
Output is correct |
117 |
Correct |
3 ms |
1884 KB |
Output is correct |
118 |
Correct |
3 ms |
2140 KB |
Output is correct |
119 |
Correct |
3 ms |
1628 KB |
Output is correct |
120 |
Correct |
14 ms |
9560 KB |
Output is correct |
121 |
Correct |
293 ms |
150612 KB |
Output is correct |
122 |
Correct |
305 ms |
158480 KB |
Output is correct |
123 |
Correct |
334 ms |
141172 KB |
Output is correct |
124 |
Correct |
381 ms |
156784 KB |
Output is correct |
125 |
Correct |
287 ms |
152912 KB |
Output is correct |
126 |
Correct |
333 ms |
175060 KB |
Output is correct |
127 |
Correct |
275 ms |
148564 KB |
Output is correct |
128 |
Correct |
455 ms |
191808 KB |
Output is correct |
129 |
Correct |
345 ms |
145288 KB |
Output is correct |
130 |
Correct |
16 ms |
7768 KB |
Output is correct |
131 |
Correct |
0 ms |
348 KB |
Output is correct |
132 |
Correct |
22 ms |
10844 KB |
Output is correct |
133 |
Correct |
3 ms |
1368 KB |
Output is correct |
134 |
Correct |
16 ms |
6748 KB |
Output is correct |
135 |
Correct |
38 ms |
19548 KB |
Output is correct |
136 |
Correct |
36 ms |
20720 KB |
Output is correct |
137 |
Correct |
21 ms |
13404 KB |
Output is correct |
138 |
Correct |
50 ms |
22172 KB |
Output is correct |
139 |
Correct |
21 ms |
10076 KB |
Output is correct |
140 |
Correct |
17 ms |
9816 KB |
Output is correct |
141 |
Correct |
289 ms |
150608 KB |
Output is correct |
142 |
Correct |
302 ms |
158292 KB |
Output is correct |
143 |
Correct |
342 ms |
141136 KB |
Output is correct |
144 |
Correct |
384 ms |
156776 KB |
Output is correct |
145 |
Correct |
288 ms |
152912 KB |
Output is correct |
146 |
Correct |
338 ms |
174928 KB |
Output is correct |
147 |
Correct |
278 ms |
148596 KB |
Output is correct |
148 |
Correct |
458 ms |
191812 KB |
Output is correct |
149 |
Correct |
346 ms |
145540 KB |
Output is correct |
150 |
Correct |
14 ms |
7512 KB |
Output is correct |
151 |
Correct |
0 ms |
348 KB |
Output is correct |
152 |
Correct |
21 ms |
10844 KB |
Output is correct |
153 |
Correct |
3 ms |
1372 KB |
Output is correct |
154 |
Correct |
16 ms |
6944 KB |
Output is correct |
155 |
Correct |
38 ms |
19764 KB |
Output is correct |
156 |
Correct |
40 ms |
20568 KB |
Output is correct |
157 |
Correct |
22 ms |
13524 KB |
Output is correct |
158 |
Correct |
53 ms |
22364 KB |
Output is correct |
159 |
Correct |
19 ms |
10072 KB |
Output is correct |
160 |
Correct |
15 ms |
9560 KB |
Output is correct |
161 |
Correct |
290 ms |
150716 KB |
Output is correct |
162 |
Correct |
302 ms |
158260 KB |
Output is correct |
163 |
Correct |
353 ms |
141392 KB |
Output is correct |
164 |
Correct |
373 ms |
156756 KB |
Output is correct |
165 |
Correct |
292 ms |
153028 KB |
Output is correct |
166 |
Correct |
327 ms |
174872 KB |
Output is correct |
167 |
Correct |
281 ms |
148824 KB |
Output is correct |
168 |
Correct |
460 ms |
191812 KB |
Output is correct |
169 |
Correct |
351 ms |
145536 KB |
Output is correct |
170 |
Correct |
14 ms |
7512 KB |
Output is correct |
171 |
Correct |
0 ms |
344 KB |
Output is correct |
172 |
Correct |
20 ms |
10944 KB |
Output is correct |
173 |
Correct |
3 ms |
1628 KB |
Output is correct |
174 |
Correct |
17 ms |
6748 KB |
Output is correct |
175 |
Correct |
38 ms |
19780 KB |
Output is correct |
176 |
Correct |
36 ms |
20728 KB |
Output is correct |
177 |
Correct |
21 ms |
13404 KB |
Output is correct |
178 |
Correct |
51 ms |
22364 KB |
Output is correct |
179 |
Correct |
18 ms |
10076 KB |
Output is correct |
180 |
Correct |
15 ms |
9564 KB |
Output is correct |
181 |
Correct |
288 ms |
150720 KB |
Output is correct |
182 |
Correct |
306 ms |
158544 KB |
Output is correct |
183 |
Correct |
334 ms |
141172 KB |
Output is correct |
184 |
Correct |
368 ms |
157012 KB |
Output is correct |
185 |
Correct |
291 ms |
152832 KB |
Output is correct |
186 |
Correct |
332 ms |
175188 KB |
Output is correct |
187 |
Correct |
277 ms |
148592 KB |
Output is correct |
188 |
Correct |
459 ms |
191824 KB |
Output is correct |
189 |
Correct |
344 ms |
145492 KB |
Output is correct |
190 |
Correct |
14 ms |
7512 KB |
Output is correct |
191 |
Correct |
1 ms |
348 KB |
Output is correct |
192 |
Correct |
20 ms |
10948 KB |
Output is correct |
193 |
Correct |
3 ms |
1372 KB |
Output is correct |
194 |
Correct |
15 ms |
6944 KB |
Output is correct |
195 |
Correct |
39 ms |
19544 KB |
Output is correct |
196 |
Correct |
37 ms |
20572 KB |
Output is correct |
197 |
Correct |
22 ms |
13400 KB |
Output is correct |
198 |
Correct |
51 ms |
22616 KB |
Output is correct |
199 |
Correct |
19 ms |
10076 KB |
Output is correct |
200 |
Correct |
16 ms |
9564 KB |
Output is correct |
201 |
Correct |
291 ms |
150620 KB |
Output is correct |
202 |
Correct |
313 ms |
158484 KB |
Output is correct |
203 |
Correct |
333 ms |
141116 KB |
Output is correct |
204 |
Correct |
383 ms |
156752 KB |
Output is correct |
205 |
Correct |
293 ms |
153028 KB |
Output is correct |
206 |
Correct |
333 ms |
174928 KB |
Output is correct |
207 |
Correct |
281 ms |
148560 KB |
Output is correct |
208 |
Correct |
462 ms |
191804 KB |
Output is correct |
209 |
Correct |
349 ms |
145492 KB |
Output is correct |
210 |
Correct |
14 ms |
7516 KB |
Output is correct |
211 |
Correct |
0 ms |
344 KB |
Output is correct |
212 |
Correct |
21 ms |
10948 KB |
Output is correct |
213 |
Correct |
3 ms |
1372 KB |
Output is correct |
214 |
Correct |
15 ms |
6940 KB |
Output is correct |
215 |
Correct |
39 ms |
19544 KB |
Output is correct |
216 |
Correct |
36 ms |
20572 KB |
Output is correct |
217 |
Correct |
21 ms |
13400 KB |
Output is correct |
218 |
Correct |
50 ms |
22364 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
182 ms |
182340 KB |
Output is correct |
2 |
Correct |
297 ms |
283728 KB |
Output is correct |
3 |
Correct |
79 ms |
74496 KB |
Output is correct |
4 |
Correct |
113 ms |
111444 KB |
Output is correct |
5 |
Correct |
831 ms |
750872 KB |
Output is correct |
6 |
Correct |
1006 ms |
953424 KB |
Output is correct |
7 |
Correct |
927 ms |
924756 KB |
Output is correct |
8 |
Correct |
178 ms |
176720 KB |
Output is correct |
9 |
Correct |
991 ms |
978260 KB |
Output is correct |
10 |
Correct |
423 ms |
398376 KB |
Output is correct |
11 |
Correct |
887 ms |
855968 KB |
Output is correct |
12 |
Correct |
698 ms |
674276 KB |
Output is correct |
13 |
Correct |
636 ms |
592464 KB |
Output is correct |
14 |
Correct |
189 ms |
186412 KB |
Output is correct |
15 |
Correct |
700 ms |
677716 KB |
Output is correct |
16 |
Correct |
669 ms |
651264 KB |
Output is correct |
17 |
Correct |
717 ms |
687040 KB |
Output is correct |
18 |
Correct |
760 ms |
737644 KB |
Output is correct |
19 |
Correct |
603 ms |
578608 KB |
Output is correct |
20 |
Correct |
183 ms |
184288 KB |
Output is correct |
21 |
Correct |
186 ms |
182440 KB |
Output is correct |
22 |
Correct |
278 ms |
283732 KB |
Output is correct |
23 |
Correct |
78 ms |
74616 KB |
Output is correct |
24 |
Correct |
117 ms |
111444 KB |
Output is correct |
25 |
Correct |
759 ms |
750908 KB |
Output is correct |
26 |
Correct |
1020 ms |
953404 KB |
Output is correct |
27 |
Correct |
1022 ms |
924688 KB |
Output is correct |
28 |
Correct |
257 ms |
176832 KB |
Output is correct |
29 |
Correct |
1118 ms |
978232 KB |
Output is correct |
30 |
Correct |
484 ms |
398416 KB |
Output is correct |
31 |
Correct |
912 ms |
856308 KB |
Output is correct |
32 |
Correct |
699 ms |
674512 KB |
Output is correct |
33 |
Correct |
654 ms |
592524 KB |
Output is correct |
34 |
Correct |
191 ms |
186448 KB |
Output is correct |
35 |
Correct |
714 ms |
677832 KB |
Output is correct |
36 |
Correct |
675 ms |
651544 KB |
Output is correct |
37 |
Correct |
721 ms |
687264 KB |
Output is correct |
38 |
Correct |
769 ms |
737468 KB |
Output is correct |
39 |
Correct |
614 ms |
578572 KB |
Output is correct |
40 |
Correct |
189 ms |
184212 KB |
Output is correct |
41 |
Correct |
190 ms |
182352 KB |
Output is correct |
42 |
Correct |
293 ms |
283760 KB |
Output is correct |
43 |
Correct |
80 ms |
74712 KB |
Output is correct |
44 |
Correct |
117 ms |
111396 KB |
Output is correct |
45 |
Correct |
769 ms |
750868 KB |
Output is correct |
46 |
Correct |
984 ms |
953804 KB |
Output is correct |
47 |
Correct |
957 ms |
924860 KB |
Output is correct |
48 |
Correct |
191 ms |
176976 KB |
Output is correct |
49 |
Correct |
1002 ms |
978256 KB |
Output is correct |
50 |
Correct |
421 ms |
398164 KB |
Output is correct |
51 |
Correct |
928 ms |
856124 KB |
Output is correct |
52 |
Correct |
713 ms |
674388 KB |
Output is correct |
53 |
Correct |
664 ms |
592684 KB |
Output is correct |
54 |
Correct |
193 ms |
186468 KB |
Output is correct |
55 |
Correct |
742 ms |
678096 KB |
Output is correct |
56 |
Correct |
674 ms |
651376 KB |
Output is correct |
57 |
Correct |
772 ms |
687340 KB |
Output is correct |
58 |
Correct |
780 ms |
737468 KB |
Output is correct |
59 |
Correct |
619 ms |
578656 KB |
Output is correct |
60 |
Correct |
192 ms |
184296 KB |
Output is correct |
61 |
Correct |
187 ms |
182672 KB |
Output is correct |
62 |
Correct |
286 ms |
283728 KB |
Output is correct |
63 |
Correct |
79 ms |
74576 KB |
Output is correct |
64 |
Correct |
115 ms |
111692 KB |
Output is correct |
65 |
Correct |
760 ms |
750880 KB |
Output is correct |
66 |
Correct |
993 ms |
953472 KB |
Output is correct |
67 |
Correct |
965 ms |
924804 KB |
Output is correct |
68 |
Correct |
183 ms |
176724 KB |
Output is correct |
69 |
Correct |
1016 ms |
978188 KB |
Output is correct |
70 |
Correct |
430 ms |
398384 KB |
Output is correct |
71 |
Correct |
907 ms |
856012 KB |
Output is correct |
72 |
Correct |
698 ms |
674372 KB |
Output is correct |
73 |
Correct |
656 ms |
592596 KB |
Output is correct |
74 |
Correct |
192 ms |
186464 KB |
Output is correct |
75 |
Correct |
709 ms |
677864 KB |
Output is correct |
76 |
Correct |
678 ms |
651724 KB |
Output is correct |
77 |
Correct |
734 ms |
687080 KB |
Output is correct |
78 |
Correct |
787 ms |
737616 KB |
Output is correct |
79 |
Correct |
606 ms |
578384 KB |
Output is correct |
80 |
Correct |
188 ms |
184300 KB |
Output is correct |
81 |
Correct |
183 ms |
182268 KB |
Output is correct |
82 |
Correct |
286 ms |
283760 KB |
Output is correct |
83 |
Correct |
80 ms |
74580 KB |
Output is correct |
84 |
Correct |
117 ms |
111440 KB |
Output is correct |
85 |
Correct |
811 ms |
750696 KB |
Output is correct |
86 |
Correct |
1014 ms |
953784 KB |
Output is correct |
87 |
Correct |
963 ms |
925016 KB |
Output is correct |
88 |
Correct |
187 ms |
176980 KB |
Output is correct |
89 |
Correct |
992 ms |
978264 KB |
Output is correct |
90 |
Correct |
417 ms |
398388 KB |
Output is correct |
91 |
Correct |
1293 ms |
856104 KB |
Output is correct |
92 |
Correct |
709 ms |
674324 KB |
Output is correct |
93 |
Correct |
641 ms |
592400 KB |
Output is correct |
94 |
Correct |
192 ms |
186696 KB |
Output is correct |
95 |
Correct |
701 ms |
677736 KB |
Output is correct |
96 |
Correct |
670 ms |
651348 KB |
Output is correct |
97 |
Correct |
710 ms |
687064 KB |
Output is correct |
98 |
Correct |
791 ms |
737652 KB |
Output is correct |
99 |
Correct |
625 ms |
578320 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
1696 ms |
2097152 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
959 ms |
2097152 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
2136 KB |
Output is correct |
2 |
Correct |
15 ms |
8536 KB |
Output is correct |
3 |
Correct |
14 ms |
9052 KB |
Output is correct |
4 |
Correct |
24 ms |
12124 KB |
Output is correct |
5 |
Correct |
18 ms |
9560 KB |
Output is correct |
6 |
Correct |
12 ms |
7768 KB |
Output is correct |
7 |
Correct |
19 ms |
10588 KB |
Output is correct |
8 |
Correct |
12 ms |
7868 KB |
Output is correct |
9 |
Correct |
19 ms |
10072 KB |
Output is correct |
10 |
Correct |
22 ms |
11612 KB |
Output is correct |
11 |
Correct |
3 ms |
1368 KB |
Output is correct |
12 |
Correct |
3 ms |
2140 KB |
Output is correct |
13 |
Correct |
14 ms |
8536 KB |
Output is correct |
14 |
Correct |
14 ms |
9048 KB |
Output is correct |
15 |
Correct |
24 ms |
12376 KB |
Output is correct |
16 |
Correct |
18 ms |
9564 KB |
Output is correct |
17 |
Correct |
12 ms |
7768 KB |
Output is correct |
18 |
Correct |
20 ms |
10588 KB |
Output is correct |
19 |
Correct |
12 ms |
7768 KB |
Output is correct |
20 |
Correct |
19 ms |
9820 KB |
Output is correct |
21 |
Correct |
4 ms |
2136 KB |
Output is correct |
22 |
Correct |
26 ms |
11868 KB |
Output is correct |
23 |
Correct |
4 ms |
2136 KB |
Output is correct |
24 |
Correct |
0 ms |
348 KB |
Output is correct |
25 |
Correct |
3 ms |
1628 KB |
Output is correct |
26 |
Correct |
2 ms |
1628 KB |
Output is correct |
27 |
Correct |
2 ms |
1116 KB |
Output is correct |
28 |
Correct |
3 ms |
2136 KB |
Output is correct |
29 |
Correct |
3 ms |
1884 KB |
Output is correct |
30 |
Correct |
3 ms |
2140 KB |
Output is correct |
31 |
Correct |
3 ms |
1628 KB |
Output is correct |
32 |
Correct |
0 ms |
344 KB |
Output is correct |
33 |
Correct |
3 ms |
1628 KB |
Output is correct |
34 |
Correct |
3 ms |
1668 KB |
Output is correct |
35 |
Correct |
2 ms |
1112 KB |
Output is correct |
36 |
Correct |
3 ms |
2256 KB |
Output is correct |
37 |
Correct |
3 ms |
1884 KB |
Output is correct |
38 |
Correct |
3 ms |
2140 KB |
Output is correct |
39 |
Correct |
3 ms |
1628 KB |
Output is correct |
40 |
Correct |
2 ms |
1372 KB |
Output is correct |
41 |
Correct |
3 ms |
2140 KB |
Output is correct |
42 |
Correct |
14 ms |
8664 KB |
Output is correct |
43 |
Correct |
15 ms |
9052 KB |
Output is correct |
44 |
Correct |
24 ms |
12120 KB |
Output is correct |
45 |
Correct |
18 ms |
9560 KB |
Output is correct |
46 |
Correct |
12 ms |
7772 KB |
Output is correct |
47 |
Correct |
19 ms |
10792 KB |
Output is correct |
48 |
Correct |
12 ms |
7772 KB |
Output is correct |
49 |
Correct |
19 ms |
10048 KB |
Output is correct |
50 |
Correct |
23 ms |
11612 KB |
Output is correct |
51 |
Correct |
4 ms |
2136 KB |
Output is correct |
52 |
Correct |
0 ms |
344 KB |
Output is correct |
53 |
Correct |
3 ms |
1628 KB |
Output is correct |
54 |
Correct |
2 ms |
1628 KB |
Output is correct |
55 |
Correct |
2 ms |
1116 KB |
Output is correct |
56 |
Correct |
3 ms |
2140 KB |
Output is correct |
57 |
Correct |
3 ms |
1884 KB |
Output is correct |
58 |
Correct |
3 ms |
2140 KB |
Output is correct |
59 |
Correct |
3 ms |
1624 KB |
Output is correct |
60 |
Correct |
2 ms |
1372 KB |
Output is correct |
61 |
Correct |
4 ms |
2264 KB |
Output is correct |
62 |
Correct |
15 ms |
8536 KB |
Output is correct |
63 |
Correct |
15 ms |
9052 KB |
Output is correct |
64 |
Correct |
25 ms |
12220 KB |
Output is correct |
65 |
Correct |
18 ms |
9564 KB |
Output is correct |
66 |
Correct |
12 ms |
7772 KB |
Output is correct |
67 |
Correct |
19 ms |
10796 KB |
Output is correct |
68 |
Correct |
12 ms |
7772 KB |
Output is correct |
69 |
Correct |
20 ms |
10040 KB |
Output is correct |
70 |
Correct |
23 ms |
11612 KB |
Output is correct |
71 |
Correct |
3 ms |
2136 KB |
Output is correct |
72 |
Correct |
0 ms |
348 KB |
Output is correct |
73 |
Correct |
3 ms |
2036 KB |
Output is correct |
74 |
Correct |
2 ms |
1628 KB |
Output is correct |
75 |
Correct |
2 ms |
1224 KB |
Output is correct |
76 |
Correct |
3 ms |
2136 KB |
Output is correct |
77 |
Correct |
3 ms |
1884 KB |
Output is correct |
78 |
Correct |
3 ms |
2208 KB |
Output is correct |
79 |
Correct |
3 ms |
1628 KB |
Output is correct |
80 |
Correct |
2 ms |
1372 KB |
Output is correct |
81 |
Correct |
3 ms |
2140 KB |
Output is correct |
82 |
Correct |
14 ms |
8540 KB |
Output is correct |
83 |
Correct |
14 ms |
9052 KB |
Output is correct |
84 |
Correct |
24 ms |
12220 KB |
Output is correct |
85 |
Correct |
19 ms |
9716 KB |
Output is correct |
86 |
Correct |
12 ms |
7772 KB |
Output is correct |
87 |
Correct |
19 ms |
10588 KB |
Output is correct |
88 |
Correct |
12 ms |
7872 KB |
Output is correct |
89 |
Correct |
19 ms |
9820 KB |
Output is correct |
90 |
Correct |
23 ms |
11864 KB |
Output is correct |
91 |
Correct |
3 ms |
2140 KB |
Output is correct |
92 |
Correct |
0 ms |
348 KB |
Output is correct |
93 |
Correct |
3 ms |
1628 KB |
Output is correct |
94 |
Correct |
3 ms |
1624 KB |
Output is correct |
95 |
Correct |
2 ms |
1116 KB |
Output is correct |
96 |
Correct |
4 ms |
2140 KB |
Output is correct |
97 |
Correct |
4 ms |
1884 KB |
Output is correct |
98 |
Correct |
3 ms |
2140 KB |
Output is correct |
99 |
Correct |
3 ms |
1624 KB |
Output is correct |
100 |
Correct |
2 ms |
1372 KB |
Output is correct |
101 |
Correct |
4 ms |
2140 KB |
Output is correct |
102 |
Correct |
14 ms |
8540 KB |
Output is correct |
103 |
Correct |
14 ms |
9052 KB |
Output is correct |
104 |
Correct |
23 ms |
12124 KB |
Output is correct |
105 |
Correct |
18 ms |
9564 KB |
Output is correct |
106 |
Correct |
13 ms |
7772 KB |
Output is correct |
107 |
Correct |
20 ms |
10792 KB |
Output is correct |
108 |
Correct |
12 ms |
7772 KB |
Output is correct |
109 |
Correct |
19 ms |
9860 KB |
Output is correct |
110 |
Correct |
23 ms |
11864 KB |
Output is correct |
111 |
Correct |
4 ms |
2140 KB |
Output is correct |
112 |
Correct |
0 ms |
348 KB |
Output is correct |
113 |
Correct |
3 ms |
1628 KB |
Output is correct |
114 |
Correct |
2 ms |
1628 KB |
Output is correct |
115 |
Correct |
2 ms |
1116 KB |
Output is correct |
116 |
Correct |
3 ms |
2140 KB |
Output is correct |
117 |
Correct |
3 ms |
1884 KB |
Output is correct |
118 |
Correct |
3 ms |
2140 KB |
Output is correct |
119 |
Correct |
3 ms |
1628 KB |
Output is correct |
120 |
Correct |
14 ms |
9560 KB |
Output is correct |
121 |
Correct |
293 ms |
150612 KB |
Output is correct |
122 |
Correct |
305 ms |
158480 KB |
Output is correct |
123 |
Correct |
334 ms |
141172 KB |
Output is correct |
124 |
Correct |
381 ms |
156784 KB |
Output is correct |
125 |
Correct |
287 ms |
152912 KB |
Output is correct |
126 |
Correct |
333 ms |
175060 KB |
Output is correct |
127 |
Correct |
275 ms |
148564 KB |
Output is correct |
128 |
Correct |
455 ms |
191808 KB |
Output is correct |
129 |
Correct |
345 ms |
145288 KB |
Output is correct |
130 |
Correct |
16 ms |
7768 KB |
Output is correct |
131 |
Correct |
0 ms |
348 KB |
Output is correct |
132 |
Correct |
22 ms |
10844 KB |
Output is correct |
133 |
Correct |
3 ms |
1368 KB |
Output is correct |
134 |
Correct |
16 ms |
6748 KB |
Output is correct |
135 |
Correct |
38 ms |
19548 KB |
Output is correct |
136 |
Correct |
36 ms |
20720 KB |
Output is correct |
137 |
Correct |
21 ms |
13404 KB |
Output is correct |
138 |
Correct |
50 ms |
22172 KB |
Output is correct |
139 |
Correct |
21 ms |
10076 KB |
Output is correct |
140 |
Correct |
17 ms |
9816 KB |
Output is correct |
141 |
Correct |
289 ms |
150608 KB |
Output is correct |
142 |
Correct |
302 ms |
158292 KB |
Output is correct |
143 |
Correct |
342 ms |
141136 KB |
Output is correct |
144 |
Correct |
384 ms |
156776 KB |
Output is correct |
145 |
Correct |
288 ms |
152912 KB |
Output is correct |
146 |
Correct |
338 ms |
174928 KB |
Output is correct |
147 |
Correct |
278 ms |
148596 KB |
Output is correct |
148 |
Correct |
458 ms |
191812 KB |
Output is correct |
149 |
Correct |
346 ms |
145540 KB |
Output is correct |
150 |
Correct |
14 ms |
7512 KB |
Output is correct |
151 |
Correct |
0 ms |
348 KB |
Output is correct |
152 |
Correct |
21 ms |
10844 KB |
Output is correct |
153 |
Correct |
3 ms |
1372 KB |
Output is correct |
154 |
Correct |
16 ms |
6944 KB |
Output is correct |
155 |
Correct |
38 ms |
19764 KB |
Output is correct |
156 |
Correct |
40 ms |
20568 KB |
Output is correct |
157 |
Correct |
22 ms |
13524 KB |
Output is correct |
158 |
Correct |
53 ms |
22364 KB |
Output is correct |
159 |
Correct |
19 ms |
10072 KB |
Output is correct |
160 |
Correct |
15 ms |
9560 KB |
Output is correct |
161 |
Correct |
290 ms |
150716 KB |
Output is correct |
162 |
Correct |
302 ms |
158260 KB |
Output is correct |
163 |
Correct |
353 ms |
141392 KB |
Output is correct |
164 |
Correct |
373 ms |
156756 KB |
Output is correct |
165 |
Correct |
292 ms |
153028 KB |
Output is correct |
166 |
Correct |
327 ms |
174872 KB |
Output is correct |
167 |
Correct |
281 ms |
148824 KB |
Output is correct |
168 |
Correct |
460 ms |
191812 KB |
Output is correct |
169 |
Correct |
351 ms |
145536 KB |
Output is correct |
170 |
Correct |
14 ms |
7512 KB |
Output is correct |
171 |
Correct |
0 ms |
344 KB |
Output is correct |
172 |
Correct |
20 ms |
10944 KB |
Output is correct |
173 |
Correct |
3 ms |
1628 KB |
Output is correct |
174 |
Correct |
17 ms |
6748 KB |
Output is correct |
175 |
Correct |
38 ms |
19780 KB |
Output is correct |
176 |
Correct |
36 ms |
20728 KB |
Output is correct |
177 |
Correct |
21 ms |
13404 KB |
Output is correct |
178 |
Correct |
51 ms |
22364 KB |
Output is correct |
179 |
Correct |
18 ms |
10076 KB |
Output is correct |
180 |
Correct |
15 ms |
9564 KB |
Output is correct |
181 |
Correct |
288 ms |
150720 KB |
Output is correct |
182 |
Correct |
306 ms |
158544 KB |
Output is correct |
183 |
Correct |
334 ms |
141172 KB |
Output is correct |
184 |
Correct |
368 ms |
157012 KB |
Output is correct |
185 |
Correct |
291 ms |
152832 KB |
Output is correct |
186 |
Correct |
332 ms |
175188 KB |
Output is correct |
187 |
Correct |
277 ms |
148592 KB |
Output is correct |
188 |
Correct |
459 ms |
191824 KB |
Output is correct |
189 |
Correct |
344 ms |
145492 KB |
Output is correct |
190 |
Correct |
14 ms |
7512 KB |
Output is correct |
191 |
Correct |
1 ms |
348 KB |
Output is correct |
192 |
Correct |
20 ms |
10948 KB |
Output is correct |
193 |
Correct |
3 ms |
1372 KB |
Output is correct |
194 |
Correct |
15 ms |
6944 KB |
Output is correct |
195 |
Correct |
39 ms |
19544 KB |
Output is correct |
196 |
Correct |
37 ms |
20572 KB |
Output is correct |
197 |
Correct |
22 ms |
13400 KB |
Output is correct |
198 |
Correct |
51 ms |
22616 KB |
Output is correct |
199 |
Correct |
19 ms |
10076 KB |
Output is correct |
200 |
Correct |
16 ms |
9564 KB |
Output is correct |
201 |
Correct |
291 ms |
150620 KB |
Output is correct |
202 |
Correct |
313 ms |
158484 KB |
Output is correct |
203 |
Correct |
333 ms |
141116 KB |
Output is correct |
204 |
Correct |
383 ms |
156752 KB |
Output is correct |
205 |
Correct |
293 ms |
153028 KB |
Output is correct |
206 |
Correct |
333 ms |
174928 KB |
Output is correct |
207 |
Correct |
281 ms |
148560 KB |
Output is correct |
208 |
Correct |
462 ms |
191804 KB |
Output is correct |
209 |
Correct |
349 ms |
145492 KB |
Output is correct |
210 |
Correct |
14 ms |
7516 KB |
Output is correct |
211 |
Correct |
0 ms |
344 KB |
Output is correct |
212 |
Correct |
21 ms |
10948 KB |
Output is correct |
213 |
Correct |
3 ms |
1372 KB |
Output is correct |
214 |
Correct |
15 ms |
6940 KB |
Output is correct |
215 |
Correct |
39 ms |
19544 KB |
Output is correct |
216 |
Correct |
36 ms |
20572 KB |
Output is correct |
217 |
Correct |
21 ms |
13400 KB |
Output is correct |
218 |
Correct |
50 ms |
22364 KB |
Output is correct |
219 |
Correct |
182 ms |
182340 KB |
Output is correct |
220 |
Correct |
297 ms |
283728 KB |
Output is correct |
221 |
Correct |
79 ms |
74496 KB |
Output is correct |
222 |
Correct |
113 ms |
111444 KB |
Output is correct |
223 |
Correct |
831 ms |
750872 KB |
Output is correct |
224 |
Correct |
1006 ms |
953424 KB |
Output is correct |
225 |
Correct |
927 ms |
924756 KB |
Output is correct |
226 |
Correct |
178 ms |
176720 KB |
Output is correct |
227 |
Correct |
991 ms |
978260 KB |
Output is correct |
228 |
Correct |
423 ms |
398376 KB |
Output is correct |
229 |
Correct |
887 ms |
855968 KB |
Output is correct |
230 |
Correct |
698 ms |
674276 KB |
Output is correct |
231 |
Correct |
636 ms |
592464 KB |
Output is correct |
232 |
Correct |
189 ms |
186412 KB |
Output is correct |
233 |
Correct |
700 ms |
677716 KB |
Output is correct |
234 |
Correct |
669 ms |
651264 KB |
Output is correct |
235 |
Correct |
717 ms |
687040 KB |
Output is correct |
236 |
Correct |
760 ms |
737644 KB |
Output is correct |
237 |
Correct |
603 ms |
578608 KB |
Output is correct |
238 |
Correct |
183 ms |
184288 KB |
Output is correct |
239 |
Correct |
186 ms |
182440 KB |
Output is correct |
240 |
Correct |
278 ms |
283732 KB |
Output is correct |
241 |
Correct |
78 ms |
74616 KB |
Output is correct |
242 |
Correct |
117 ms |
111444 KB |
Output is correct |
243 |
Correct |
759 ms |
750908 KB |
Output is correct |
244 |
Correct |
1020 ms |
953404 KB |
Output is correct |
245 |
Correct |
1022 ms |
924688 KB |
Output is correct |
246 |
Correct |
257 ms |
176832 KB |
Output is correct |
247 |
Correct |
1118 ms |
978232 KB |
Output is correct |
248 |
Correct |
484 ms |
398416 KB |
Output is correct |
249 |
Correct |
912 ms |
856308 KB |
Output is correct |
250 |
Correct |
699 ms |
674512 KB |
Output is correct |
251 |
Correct |
654 ms |
592524 KB |
Output is correct |
252 |
Correct |
191 ms |
186448 KB |
Output is correct |
253 |
Correct |
714 ms |
677832 KB |
Output is correct |
254 |
Correct |
675 ms |
651544 KB |
Output is correct |
255 |
Correct |
721 ms |
687264 KB |
Output is correct |
256 |
Correct |
769 ms |
737468 KB |
Output is correct |
257 |
Correct |
614 ms |
578572 KB |
Output is correct |
258 |
Correct |
189 ms |
184212 KB |
Output is correct |
259 |
Correct |
190 ms |
182352 KB |
Output is correct |
260 |
Correct |
293 ms |
283760 KB |
Output is correct |
261 |
Correct |
80 ms |
74712 KB |
Output is correct |
262 |
Correct |
117 ms |
111396 KB |
Output is correct |
263 |
Correct |
769 ms |
750868 KB |
Output is correct |
264 |
Correct |
984 ms |
953804 KB |
Output is correct |
265 |
Correct |
957 ms |
924860 KB |
Output is correct |
266 |
Correct |
191 ms |
176976 KB |
Output is correct |
267 |
Correct |
1002 ms |
978256 KB |
Output is correct |
268 |
Correct |
421 ms |
398164 KB |
Output is correct |
269 |
Correct |
928 ms |
856124 KB |
Output is correct |
270 |
Correct |
713 ms |
674388 KB |
Output is correct |
271 |
Correct |
664 ms |
592684 KB |
Output is correct |
272 |
Correct |
193 ms |
186468 KB |
Output is correct |
273 |
Correct |
742 ms |
678096 KB |
Output is correct |
274 |
Correct |
674 ms |
651376 KB |
Output is correct |
275 |
Correct |
772 ms |
687340 KB |
Output is correct |
276 |
Correct |
780 ms |
737468 KB |
Output is correct |
277 |
Correct |
619 ms |
578656 KB |
Output is correct |
278 |
Correct |
192 ms |
184296 KB |
Output is correct |
279 |
Correct |
187 ms |
182672 KB |
Output is correct |
280 |
Correct |
286 ms |
283728 KB |
Output is correct |
281 |
Correct |
79 ms |
74576 KB |
Output is correct |
282 |
Correct |
115 ms |
111692 KB |
Output is correct |
283 |
Correct |
760 ms |
750880 KB |
Output is correct |
284 |
Correct |
993 ms |
953472 KB |
Output is correct |
285 |
Correct |
965 ms |
924804 KB |
Output is correct |
286 |
Correct |
183 ms |
176724 KB |
Output is correct |
287 |
Correct |
1016 ms |
978188 KB |
Output is correct |
288 |
Correct |
430 ms |
398384 KB |
Output is correct |
289 |
Correct |
907 ms |
856012 KB |
Output is correct |
290 |
Correct |
698 ms |
674372 KB |
Output is correct |
291 |
Correct |
656 ms |
592596 KB |
Output is correct |
292 |
Correct |
192 ms |
186464 KB |
Output is correct |
293 |
Correct |
709 ms |
677864 KB |
Output is correct |
294 |
Correct |
678 ms |
651724 KB |
Output is correct |
295 |
Correct |
734 ms |
687080 KB |
Output is correct |
296 |
Correct |
787 ms |
737616 KB |
Output is correct |
297 |
Correct |
606 ms |
578384 KB |
Output is correct |
298 |
Correct |
188 ms |
184300 KB |
Output is correct |
299 |
Correct |
183 ms |
182268 KB |
Output is correct |
300 |
Correct |
286 ms |
283760 KB |
Output is correct |
301 |
Correct |
80 ms |
74580 KB |
Output is correct |
302 |
Correct |
117 ms |
111440 KB |
Output is correct |
303 |
Correct |
811 ms |
750696 KB |
Output is correct |
304 |
Correct |
1014 ms |
953784 KB |
Output is correct |
305 |
Correct |
963 ms |
925016 KB |
Output is correct |
306 |
Correct |
187 ms |
176980 KB |
Output is correct |
307 |
Correct |
992 ms |
978264 KB |
Output is correct |
308 |
Correct |
417 ms |
398388 KB |
Output is correct |
309 |
Correct |
1293 ms |
856104 KB |
Output is correct |
310 |
Correct |
709 ms |
674324 KB |
Output is correct |
311 |
Correct |
641 ms |
592400 KB |
Output is correct |
312 |
Correct |
192 ms |
186696 KB |
Output is correct |
313 |
Correct |
701 ms |
677736 KB |
Output is correct |
314 |
Correct |
670 ms |
651348 KB |
Output is correct |
315 |
Correct |
710 ms |
687064 KB |
Output is correct |
316 |
Correct |
791 ms |
737652 KB |
Output is correct |
317 |
Correct |
625 ms |
578320 KB |
Output is correct |
318 |
Runtime error |
1696 ms |
2097152 KB |
Execution killed with signal 9 |
319 |
Halted |
0 ms |
0 KB |
- |