#include <bits/stdc++.h>
#include "jelly.h"
using namespace std;
#define ve vector
typedef long long ll;
typedef pair<int, int> pii;
const int INF = 1e9 + 10;
int find_maximum_unique(int x, int y, ve<int> A, ve<int> B) {
int n = (int)A.size();
ve<ve<ve<int>>> DP(n + 1, ve<ve<int>>(x + 1, ve<int>(y + 1, -1)));
DP[0][0][0] = 0;
for (int i = 1; i <= n; i++) {
for (int j = 0; j <= x; j++) {
for (int k = 0; k <= y; k++) {
int v1 = DP[i - 1][j][k];
int v2 = -1;
int v3 = -1;
if (j - A[i - 1] >= 0) {
int v = DP[i - 1][j - A[i - 1]][k];
if (v != -1) v2 = v + 1;
}
if (k - B[i - 1] >= 0) {
int v = DP[i - 1][j][k - B[i - 1]];
if (v != -1) v3 = v + 1;
}
DP[i][j][k] = max(v1, max(v2, v3));
}
}
}
int ans = 0;
for (int j = 0; j <= x; j++) {
for (int k = 0; k <= y; k++) {
ans = max(ans, DP[n][j][k]);
}
}
return ans;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
4 ms |
2124 KB |
Output is correct |
2 |
Correct |
12 ms |
8556 KB |
Output is correct |
3 |
Correct |
14 ms |
8944 KB |
Output is correct |
4 |
Correct |
18 ms |
11980 KB |
Output is correct |
5 |
Correct |
14 ms |
9548 KB |
Output is correct |
6 |
Correct |
10 ms |
7840 KB |
Output is correct |
7 |
Correct |
14 ms |
10572 KB |
Output is correct |
8 |
Correct |
11 ms |
7812 KB |
Output is correct |
9 |
Correct |
15 ms |
9908 KB |
Output is correct |
10 |
Correct |
18 ms |
11596 KB |
Output is correct |
11 |
Correct |
2 ms |
1356 KB |
Output is correct |
12 |
Correct |
4 ms |
2124 KB |
Output is correct |
13 |
Correct |
11 ms |
8564 KB |
Output is correct |
14 |
Correct |
11 ms |
8908 KB |
Output is correct |
15 |
Correct |
19 ms |
12100 KB |
Output is correct |
16 |
Correct |
14 ms |
9572 KB |
Output is correct |
17 |
Correct |
10 ms |
7844 KB |
Output is correct |
18 |
Correct |
15 ms |
10572 KB |
Output is correct |
19 |
Correct |
10 ms |
7716 KB |
Output is correct |
20 |
Correct |
14 ms |
9804 KB |
Output is correct |
21 |
Correct |
3 ms |
2124 KB |
Output is correct |
22 |
Correct |
18 ms |
11724 KB |
Output is correct |
23 |
Correct |
3 ms |
2124 KB |
Output is correct |
24 |
Correct |
0 ms |
204 KB |
Output is correct |
25 |
Correct |
3 ms |
1612 KB |
Output is correct |
26 |
Correct |
2 ms |
1484 KB |
Output is correct |
27 |
Correct |
2 ms |
972 KB |
Output is correct |
28 |
Correct |
3 ms |
1996 KB |
Output is correct |
29 |
Correct |
3 ms |
1740 KB |
Output is correct |
30 |
Correct |
3 ms |
1996 KB |
Output is correct |
31 |
Correct |
3 ms |
1612 KB |
Output is correct |
32 |
Correct |
1 ms |
204 KB |
Output is correct |
33 |
Correct |
3 ms |
1612 KB |
Output is correct |
34 |
Correct |
2 ms |
1484 KB |
Output is correct |
35 |
Correct |
2 ms |
972 KB |
Output is correct |
36 |
Correct |
3 ms |
1996 KB |
Output is correct |
37 |
Correct |
3 ms |
1740 KB |
Output is correct |
38 |
Correct |
3 ms |
1996 KB |
Output is correct |
39 |
Correct |
3 ms |
1612 KB |
Output is correct |
40 |
Correct |
2 ms |
1356 KB |
Output is correct |
41 |
Correct |
3 ms |
1996 KB |
Output is correct |
42 |
Correct |
12 ms |
8564 KB |
Output is correct |
43 |
Correct |
12 ms |
8908 KB |
Output is correct |
44 |
Correct |
18 ms |
12084 KB |
Output is correct |
45 |
Correct |
14 ms |
9548 KB |
Output is correct |
46 |
Correct |
11 ms |
7756 KB |
Output is correct |
47 |
Correct |
18 ms |
10524 KB |
Output is correct |
48 |
Correct |
12 ms |
7628 KB |
Output is correct |
49 |
Correct |
15 ms |
9804 KB |
Output is correct |
50 |
Correct |
19 ms |
11728 KB |
Output is correct |
51 |
Correct |
3 ms |
2072 KB |
Output is correct |
52 |
Correct |
1 ms |
272 KB |
Output is correct |
53 |
Correct |
3 ms |
1612 KB |
Output is correct |
54 |
Correct |
3 ms |
1484 KB |
Output is correct |
55 |
Correct |
2 ms |
972 KB |
Output is correct |
56 |
Correct |
3 ms |
1996 KB |
Output is correct |
57 |
Correct |
3 ms |
1740 KB |
Output is correct |
58 |
Correct |
4 ms |
1996 KB |
Output is correct |
59 |
Correct |
3 ms |
1612 KB |
Output is correct |
60 |
Correct |
2 ms |
1320 KB |
Output is correct |
61 |
Correct |
3 ms |
2124 KB |
Output is correct |
62 |
Correct |
14 ms |
8524 KB |
Output is correct |
63 |
Correct |
15 ms |
8908 KB |
Output is correct |
64 |
Correct |
17 ms |
12088 KB |
Output is correct |
65 |
Correct |
13 ms |
9548 KB |
Output is correct |
66 |
Correct |
10 ms |
7852 KB |
Output is correct |
67 |
Correct |
14 ms |
10660 KB |
Output is correct |
68 |
Correct |
12 ms |
7728 KB |
Output is correct |
69 |
Correct |
14 ms |
9804 KB |
Output is correct |
70 |
Correct |
21 ms |
11720 KB |
Output is correct |
71 |
Correct |
3 ms |
2124 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
2 ms |
1612 KB |
Output is correct |
74 |
Correct |
2 ms |
1484 KB |
Output is correct |
75 |
Correct |
2 ms |
972 KB |
Output is correct |
76 |
Correct |
3 ms |
1996 KB |
Output is correct |
77 |
Correct |
3 ms |
1740 KB |
Output is correct |
78 |
Correct |
3 ms |
1996 KB |
Output is correct |
79 |
Correct |
3 ms |
1612 KB |
Output is correct |
80 |
Correct |
2 ms |
1356 KB |
Output is correct |
81 |
Correct |
4 ms |
2124 KB |
Output is correct |
82 |
Correct |
14 ms |
8524 KB |
Output is correct |
83 |
Correct |
12 ms |
8908 KB |
Output is correct |
84 |
Correct |
19 ms |
12092 KB |
Output is correct |
85 |
Correct |
14 ms |
9576 KB |
Output is correct |
86 |
Correct |
10 ms |
7848 KB |
Output is correct |
87 |
Correct |
15 ms |
10644 KB |
Output is correct |
88 |
Correct |
10 ms |
7628 KB |
Output is correct |
89 |
Correct |
14 ms |
9908 KB |
Output is correct |
90 |
Correct |
17 ms |
11724 KB |
Output is correct |
91 |
Correct |
3 ms |
2124 KB |
Output is correct |
92 |
Correct |
1 ms |
204 KB |
Output is correct |
93 |
Correct |
2 ms |
1612 KB |
Output is correct |
94 |
Correct |
2 ms |
1484 KB |
Output is correct |
95 |
Correct |
2 ms |
972 KB |
Output is correct |
96 |
Correct |
3 ms |
1996 KB |
Output is correct |
97 |
Correct |
3 ms |
1740 KB |
Output is correct |
98 |
Correct |
3 ms |
1996 KB |
Output is correct |
99 |
Correct |
2 ms |
1612 KB |
Output is correct |
100 |
Correct |
2 ms |
1356 KB |
Output is correct |
101 |
Correct |
3 ms |
2080 KB |
Output is correct |
102 |
Correct |
12 ms |
8524 KB |
Output is correct |
103 |
Correct |
12 ms |
8872 KB |
Output is correct |
104 |
Correct |
22 ms |
12088 KB |
Output is correct |
105 |
Correct |
14 ms |
9576 KB |
Output is correct |
106 |
Correct |
11 ms |
7756 KB |
Output is correct |
107 |
Correct |
14 ms |
10572 KB |
Output is correct |
108 |
Correct |
12 ms |
7628 KB |
Output is correct |
109 |
Correct |
14 ms |
9804 KB |
Output is correct |
110 |
Correct |
21 ms |
11724 KB |
Output is correct |
111 |
Correct |
3 ms |
2124 KB |
Output is correct |
112 |
Correct |
1 ms |
204 KB |
Output is correct |
113 |
Correct |
3 ms |
1612 KB |
Output is correct |
114 |
Correct |
3 ms |
1484 KB |
Output is correct |
115 |
Correct |
2 ms |
972 KB |
Output is correct |
116 |
Correct |
1 ms |
1996 KB |
Output is correct |
117 |
Correct |
3 ms |
1740 KB |
Output is correct |
118 |
Correct |
3 ms |
1996 KB |
Output is correct |
119 |
Correct |
3 ms |
1612 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
4 ms |
2124 KB |
Output is correct |
2 |
Correct |
12 ms |
8556 KB |
Output is correct |
3 |
Correct |
14 ms |
8944 KB |
Output is correct |
4 |
Correct |
18 ms |
11980 KB |
Output is correct |
5 |
Correct |
14 ms |
9548 KB |
Output is correct |
6 |
Correct |
10 ms |
7840 KB |
Output is correct |
7 |
Correct |
14 ms |
10572 KB |
Output is correct |
8 |
Correct |
11 ms |
7812 KB |
Output is correct |
9 |
Correct |
15 ms |
9908 KB |
Output is correct |
10 |
Correct |
18 ms |
11596 KB |
Output is correct |
11 |
Correct |
2 ms |
1356 KB |
Output is correct |
12 |
Correct |
4 ms |
2124 KB |
Output is correct |
13 |
Correct |
11 ms |
8564 KB |
Output is correct |
14 |
Correct |
11 ms |
8908 KB |
Output is correct |
15 |
Correct |
19 ms |
12100 KB |
Output is correct |
16 |
Correct |
14 ms |
9572 KB |
Output is correct |
17 |
Correct |
10 ms |
7844 KB |
Output is correct |
18 |
Correct |
15 ms |
10572 KB |
Output is correct |
19 |
Correct |
10 ms |
7716 KB |
Output is correct |
20 |
Correct |
14 ms |
9804 KB |
Output is correct |
21 |
Correct |
3 ms |
2124 KB |
Output is correct |
22 |
Correct |
18 ms |
11724 KB |
Output is correct |
23 |
Correct |
3 ms |
2124 KB |
Output is correct |
24 |
Correct |
0 ms |
204 KB |
Output is correct |
25 |
Correct |
3 ms |
1612 KB |
Output is correct |
26 |
Correct |
2 ms |
1484 KB |
Output is correct |
27 |
Correct |
2 ms |
972 KB |
Output is correct |
28 |
Correct |
3 ms |
1996 KB |
Output is correct |
29 |
Correct |
3 ms |
1740 KB |
Output is correct |
30 |
Correct |
3 ms |
1996 KB |
Output is correct |
31 |
Correct |
3 ms |
1612 KB |
Output is correct |
32 |
Correct |
1 ms |
204 KB |
Output is correct |
33 |
Correct |
3 ms |
1612 KB |
Output is correct |
34 |
Correct |
2 ms |
1484 KB |
Output is correct |
35 |
Correct |
2 ms |
972 KB |
Output is correct |
36 |
Correct |
3 ms |
1996 KB |
Output is correct |
37 |
Correct |
3 ms |
1740 KB |
Output is correct |
38 |
Correct |
3 ms |
1996 KB |
Output is correct |
39 |
Correct |
3 ms |
1612 KB |
Output is correct |
40 |
Correct |
2 ms |
1356 KB |
Output is correct |
41 |
Correct |
3 ms |
1996 KB |
Output is correct |
42 |
Correct |
12 ms |
8564 KB |
Output is correct |
43 |
Correct |
12 ms |
8908 KB |
Output is correct |
44 |
Correct |
18 ms |
12084 KB |
Output is correct |
45 |
Correct |
14 ms |
9548 KB |
Output is correct |
46 |
Correct |
11 ms |
7756 KB |
Output is correct |
47 |
Correct |
18 ms |
10524 KB |
Output is correct |
48 |
Correct |
12 ms |
7628 KB |
Output is correct |
49 |
Correct |
15 ms |
9804 KB |
Output is correct |
50 |
Correct |
19 ms |
11728 KB |
Output is correct |
51 |
Correct |
3 ms |
2072 KB |
Output is correct |
52 |
Correct |
1 ms |
272 KB |
Output is correct |
53 |
Correct |
3 ms |
1612 KB |
Output is correct |
54 |
Correct |
3 ms |
1484 KB |
Output is correct |
55 |
Correct |
2 ms |
972 KB |
Output is correct |
56 |
Correct |
3 ms |
1996 KB |
Output is correct |
57 |
Correct |
3 ms |
1740 KB |
Output is correct |
58 |
Correct |
4 ms |
1996 KB |
Output is correct |
59 |
Correct |
3 ms |
1612 KB |
Output is correct |
60 |
Correct |
2 ms |
1320 KB |
Output is correct |
61 |
Correct |
3 ms |
2124 KB |
Output is correct |
62 |
Correct |
14 ms |
8524 KB |
Output is correct |
63 |
Correct |
15 ms |
8908 KB |
Output is correct |
64 |
Correct |
17 ms |
12088 KB |
Output is correct |
65 |
Correct |
13 ms |
9548 KB |
Output is correct |
66 |
Correct |
10 ms |
7852 KB |
Output is correct |
67 |
Correct |
14 ms |
10660 KB |
Output is correct |
68 |
Correct |
12 ms |
7728 KB |
Output is correct |
69 |
Correct |
14 ms |
9804 KB |
Output is correct |
70 |
Correct |
21 ms |
11720 KB |
Output is correct |
71 |
Correct |
3 ms |
2124 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
2 ms |
1612 KB |
Output is correct |
74 |
Correct |
2 ms |
1484 KB |
Output is correct |
75 |
Correct |
2 ms |
972 KB |
Output is correct |
76 |
Correct |
3 ms |
1996 KB |
Output is correct |
77 |
Correct |
3 ms |
1740 KB |
Output is correct |
78 |
Correct |
3 ms |
1996 KB |
Output is correct |
79 |
Correct |
3 ms |
1612 KB |
Output is correct |
80 |
Correct |
2 ms |
1356 KB |
Output is correct |
81 |
Correct |
4 ms |
2124 KB |
Output is correct |
82 |
Correct |
14 ms |
8524 KB |
Output is correct |
83 |
Correct |
12 ms |
8908 KB |
Output is correct |
84 |
Correct |
19 ms |
12092 KB |
Output is correct |
85 |
Correct |
14 ms |
9576 KB |
Output is correct |
86 |
Correct |
10 ms |
7848 KB |
Output is correct |
87 |
Correct |
15 ms |
10644 KB |
Output is correct |
88 |
Correct |
10 ms |
7628 KB |
Output is correct |
89 |
Correct |
14 ms |
9908 KB |
Output is correct |
90 |
Correct |
17 ms |
11724 KB |
Output is correct |
91 |
Correct |
3 ms |
2124 KB |
Output is correct |
92 |
Correct |
1 ms |
204 KB |
Output is correct |
93 |
Correct |
2 ms |
1612 KB |
Output is correct |
94 |
Correct |
2 ms |
1484 KB |
Output is correct |
95 |
Correct |
2 ms |
972 KB |
Output is correct |
96 |
Correct |
3 ms |
1996 KB |
Output is correct |
97 |
Correct |
3 ms |
1740 KB |
Output is correct |
98 |
Correct |
3 ms |
1996 KB |
Output is correct |
99 |
Correct |
2 ms |
1612 KB |
Output is correct |
100 |
Correct |
2 ms |
1356 KB |
Output is correct |
101 |
Correct |
3 ms |
2080 KB |
Output is correct |
102 |
Correct |
12 ms |
8524 KB |
Output is correct |
103 |
Correct |
12 ms |
8872 KB |
Output is correct |
104 |
Correct |
22 ms |
12088 KB |
Output is correct |
105 |
Correct |
14 ms |
9576 KB |
Output is correct |
106 |
Correct |
11 ms |
7756 KB |
Output is correct |
107 |
Correct |
14 ms |
10572 KB |
Output is correct |
108 |
Correct |
12 ms |
7628 KB |
Output is correct |
109 |
Correct |
14 ms |
9804 KB |
Output is correct |
110 |
Correct |
21 ms |
11724 KB |
Output is correct |
111 |
Correct |
3 ms |
2124 KB |
Output is correct |
112 |
Correct |
1 ms |
204 KB |
Output is correct |
113 |
Correct |
3 ms |
1612 KB |
Output is correct |
114 |
Correct |
3 ms |
1484 KB |
Output is correct |
115 |
Correct |
2 ms |
972 KB |
Output is correct |
116 |
Correct |
1 ms |
1996 KB |
Output is correct |
117 |
Correct |
3 ms |
1740 KB |
Output is correct |
118 |
Correct |
3 ms |
1996 KB |
Output is correct |
119 |
Correct |
3 ms |
1612 KB |
Output is correct |
120 |
Correct |
16 ms |
9676 KB |
Output is correct |
121 |
Correct |
209 ms |
150580 KB |
Output is correct |
122 |
Correct |
220 ms |
158276 KB |
Output is correct |
123 |
Correct |
230 ms |
141152 KB |
Output is correct |
124 |
Correct |
276 ms |
156612 KB |
Output is correct |
125 |
Correct |
220 ms |
152888 KB |
Output is correct |
126 |
Correct |
253 ms |
174920 KB |
Output is correct |
127 |
Correct |
202 ms |
148348 KB |
Output is correct |
128 |
Correct |
342 ms |
191556 KB |
Output is correct |
129 |
Correct |
244 ms |
145348 KB |
Output is correct |
130 |
Correct |
10 ms |
7500 KB |
Output is correct |
131 |
Correct |
1 ms |
204 KB |
Output is correct |
132 |
Correct |
15 ms |
10780 KB |
Output is correct |
133 |
Correct |
2 ms |
1440 KB |
Output is correct |
134 |
Correct |
11 ms |
6684 KB |
Output is correct |
135 |
Correct |
31 ms |
19636 KB |
Output is correct |
136 |
Correct |
38 ms |
20556 KB |
Output is correct |
137 |
Correct |
21 ms |
13260 KB |
Output is correct |
138 |
Correct |
39 ms |
22260 KB |
Output is correct |
139 |
Correct |
18 ms |
9932 KB |
Output is correct |
140 |
Correct |
16 ms |
9548 KB |
Output is correct |
141 |
Correct |
217 ms |
150636 KB |
Output is correct |
142 |
Correct |
235 ms |
158276 KB |
Output is correct |
143 |
Correct |
242 ms |
141116 KB |
Output is correct |
144 |
Correct |
260 ms |
156640 KB |
Output is correct |
145 |
Correct |
210 ms |
152844 KB |
Output is correct |
146 |
Correct |
253 ms |
174976 KB |
Output is correct |
147 |
Correct |
217 ms |
148356 KB |
Output is correct |
148 |
Correct |
338 ms |
191556 KB |
Output is correct |
149 |
Correct |
247 ms |
145332 KB |
Output is correct |
150 |
Correct |
12 ms |
7588 KB |
Output is correct |
151 |
Correct |
1 ms |
204 KB |
Output is correct |
152 |
Correct |
16 ms |
10728 KB |
Output is correct |
153 |
Correct |
3 ms |
1444 KB |
Output is correct |
154 |
Correct |
11 ms |
6732 KB |
Output is correct |
155 |
Correct |
29 ms |
19640 KB |
Output is correct |
156 |
Correct |
31 ms |
20556 KB |
Output is correct |
157 |
Correct |
22 ms |
13260 KB |
Output is correct |
158 |
Correct |
42 ms |
22220 KB |
Output is correct |
159 |
Correct |
17 ms |
9944 KB |
Output is correct |
160 |
Correct |
17 ms |
9548 KB |
Output is correct |
161 |
Correct |
236 ms |
150596 KB |
Output is correct |
162 |
Correct |
234 ms |
158272 KB |
Output is correct |
163 |
Correct |
232 ms |
141044 KB |
Output is correct |
164 |
Correct |
259 ms |
156560 KB |
Output is correct |
165 |
Correct |
212 ms |
152860 KB |
Output is correct |
166 |
Correct |
245 ms |
174920 KB |
Output is correct |
167 |
Correct |
206 ms |
148408 KB |
Output is correct |
168 |
Correct |
311 ms |
191672 KB |
Output is correct |
169 |
Correct |
234 ms |
145376 KB |
Output is correct |
170 |
Correct |
12 ms |
7500 KB |
Output is correct |
171 |
Correct |
1 ms |
204 KB |
Output is correct |
172 |
Correct |
16 ms |
10812 KB |
Output is correct |
173 |
Correct |
3 ms |
1484 KB |
Output is correct |
174 |
Correct |
11 ms |
6732 KB |
Output is correct |
175 |
Correct |
28 ms |
19640 KB |
Output is correct |
176 |
Correct |
34 ms |
20556 KB |
Output is correct |
177 |
Correct |
20 ms |
13376 KB |
Output is correct |
178 |
Correct |
39 ms |
22184 KB |
Output is correct |
179 |
Correct |
17 ms |
9896 KB |
Output is correct |
180 |
Correct |
17 ms |
9540 KB |
Output is correct |
181 |
Correct |
216 ms |
150580 KB |
Output is correct |
182 |
Correct |
218 ms |
158276 KB |
Output is correct |
183 |
Correct |
241 ms |
140996 KB |
Output is correct |
184 |
Correct |
297 ms |
156644 KB |
Output is correct |
185 |
Correct |
221 ms |
152780 KB |
Output is correct |
186 |
Correct |
245 ms |
174816 KB |
Output is correct |
187 |
Correct |
206 ms |
148460 KB |
Output is correct |
188 |
Correct |
327 ms |
191556 KB |
Output is correct |
189 |
Correct |
271 ms |
145404 KB |
Output is correct |
190 |
Correct |
10 ms |
7500 KB |
Output is correct |
191 |
Correct |
1 ms |
204 KB |
Output is correct |
192 |
Correct |
15 ms |
10700 KB |
Output is correct |
193 |
Correct |
2 ms |
1356 KB |
Output is correct |
194 |
Correct |
11 ms |
6732 KB |
Output is correct |
195 |
Correct |
30 ms |
19572 KB |
Output is correct |
196 |
Correct |
31 ms |
20556 KB |
Output is correct |
197 |
Correct |
22 ms |
13380 KB |
Output is correct |
198 |
Correct |
51 ms |
22264 KB |
Output is correct |
199 |
Correct |
19 ms |
9932 KB |
Output is correct |
200 |
Correct |
15 ms |
9560 KB |
Output is correct |
201 |
Correct |
210 ms |
150580 KB |
Output is correct |
202 |
Correct |
232 ms |
158340 KB |
Output is correct |
203 |
Correct |
243 ms |
141032 KB |
Output is correct |
204 |
Correct |
287 ms |
156648 KB |
Output is correct |
205 |
Correct |
212 ms |
152888 KB |
Output is correct |
206 |
Correct |
255 ms |
174912 KB |
Output is correct |
207 |
Correct |
211 ms |
148524 KB |
Output is correct |
208 |
Correct |
328 ms |
191556 KB |
Output is correct |
209 |
Correct |
251 ms |
145348 KB |
Output is correct |
210 |
Correct |
13 ms |
7584 KB |
Output is correct |
211 |
Correct |
1 ms |
204 KB |
Output is correct |
212 |
Correct |
17 ms |
10788 KB |
Output is correct |
213 |
Correct |
3 ms |
1476 KB |
Output is correct |
214 |
Correct |
12 ms |
6796 KB |
Output is correct |
215 |
Correct |
30 ms |
19636 KB |
Output is correct |
216 |
Correct |
34 ms |
20528 KB |
Output is correct |
217 |
Correct |
23 ms |
13260 KB |
Output is correct |
218 |
Correct |
39 ms |
22228 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
269 ms |
182212 KB |
Output is correct |
2 |
Correct |
440 ms |
283624 KB |
Output is correct |
3 |
Correct |
139 ms |
74576 KB |
Output is correct |
4 |
Correct |
164 ms |
111320 KB |
Output is correct |
5 |
Correct |
1257 ms |
750772 KB |
Output is correct |
6 |
Correct |
1585 ms |
953448 KB |
Output is correct |
7 |
Correct |
1559 ms |
924720 KB |
Output is correct |
8 |
Correct |
263 ms |
176836 KB |
Output is correct |
9 |
Correct |
1687 ms |
978220 KB |
Output is correct |
10 |
Correct |
665 ms |
398308 KB |
Output is correct |
11 |
Correct |
1364 ms |
855984 KB |
Output is correct |
12 |
Correct |
1037 ms |
674204 KB |
Output is correct |
13 |
Correct |
989 ms |
592376 KB |
Output is correct |
14 |
Correct |
298 ms |
186412 KB |
Output is correct |
15 |
Correct |
1118 ms |
677652 KB |
Output is correct |
16 |
Correct |
1050 ms |
651328 KB |
Output is correct |
17 |
Correct |
1070 ms |
686956 KB |
Output is correct |
18 |
Correct |
1143 ms |
737596 KB |
Output is correct |
19 |
Correct |
916 ms |
578500 KB |
Output is correct |
20 |
Correct |
285 ms |
184076 KB |
Output is correct |
21 |
Correct |
304 ms |
182212 KB |
Output is correct |
22 |
Correct |
421 ms |
283628 KB |
Output is correct |
23 |
Correct |
132 ms |
74560 KB |
Output is correct |
24 |
Correct |
164 ms |
111384 KB |
Output is correct |
25 |
Correct |
1165 ms |
750808 KB |
Output is correct |
26 |
Correct |
1508 ms |
953448 KB |
Output is correct |
27 |
Correct |
1425 ms |
924592 KB |
Output is correct |
28 |
Correct |
276 ms |
176836 KB |
Output is correct |
29 |
Correct |
1546 ms |
978216 KB |
Output is correct |
30 |
Correct |
654 ms |
398160 KB |
Output is correct |
31 |
Correct |
1316 ms |
855956 KB |
Output is correct |
32 |
Correct |
1082 ms |
674260 KB |
Output is correct |
33 |
Correct |
1002 ms |
592316 KB |
Output is correct |
34 |
Correct |
277 ms |
186308 KB |
Output is correct |
35 |
Correct |
1082 ms |
677724 KB |
Output is correct |
36 |
Correct |
1033 ms |
651232 KB |
Output is correct |
37 |
Correct |
1083 ms |
686916 KB |
Output is correct |
38 |
Correct |
1199 ms |
737628 KB |
Output is correct |
39 |
Correct |
925 ms |
578428 KB |
Output is correct |
40 |
Correct |
283 ms |
184160 KB |
Output is correct |
41 |
Correct |
300 ms |
182176 KB |
Output is correct |
42 |
Correct |
431 ms |
283712 KB |
Output is correct |
43 |
Correct |
117 ms |
74516 KB |
Output is correct |
44 |
Correct |
169 ms |
111308 KB |
Output is correct |
45 |
Correct |
1212 ms |
750732 KB |
Output is correct |
46 |
Correct |
1468 ms |
953380 KB |
Output is correct |
47 |
Correct |
1527 ms |
924620 KB |
Output is correct |
48 |
Correct |
280 ms |
176732 KB |
Output is correct |
49 |
Correct |
1566 ms |
978248 KB |
Output is correct |
50 |
Correct |
658 ms |
398240 KB |
Output is correct |
51 |
Correct |
1379 ms |
856004 KB |
Output is correct |
52 |
Correct |
1113 ms |
674196 KB |
Output is correct |
53 |
Correct |
1093 ms |
592324 KB |
Output is correct |
54 |
Correct |
311 ms |
186328 KB |
Output is correct |
55 |
Correct |
1187 ms |
677660 KB |
Output is correct |
56 |
Correct |
1106 ms |
651228 KB |
Output is correct |
57 |
Correct |
1163 ms |
686940 KB |
Output is correct |
58 |
Correct |
1238 ms |
737540 KB |
Output is correct |
59 |
Correct |
956 ms |
578372 KB |
Output is correct |
60 |
Correct |
289 ms |
184132 KB |
Output is correct |
61 |
Correct |
290 ms |
182280 KB |
Output is correct |
62 |
Correct |
421 ms |
283516 KB |
Output is correct |
63 |
Correct |
112 ms |
74692 KB |
Output is correct |
64 |
Correct |
171 ms |
111380 KB |
Output is correct |
65 |
Correct |
1201 ms |
750828 KB |
Output is correct |
66 |
Correct |
1532 ms |
953540 KB |
Output is correct |
67 |
Correct |
1498 ms |
924628 KB |
Output is correct |
68 |
Correct |
259 ms |
176784 KB |
Output is correct |
69 |
Correct |
1621 ms |
978260 KB |
Output is correct |
70 |
Correct |
683 ms |
398304 KB |
Output is correct |
71 |
Correct |
1395 ms |
856068 KB |
Output is correct |
72 |
Correct |
1073 ms |
674244 KB |
Output is correct |
73 |
Correct |
1008 ms |
592628 KB |
Output is correct |
74 |
Correct |
283 ms |
186436 KB |
Output is correct |
75 |
Correct |
1096 ms |
677720 KB |
Output is correct |
76 |
Correct |
1059 ms |
651204 KB |
Output is correct |
77 |
Correct |
1135 ms |
687040 KB |
Output is correct |
78 |
Correct |
1248 ms |
737476 KB |
Output is correct |
79 |
Correct |
1010 ms |
578388 KB |
Output is correct |
80 |
Correct |
283 ms |
184132 KB |
Output is correct |
81 |
Correct |
278 ms |
182200 KB |
Output is correct |
82 |
Correct |
446 ms |
283732 KB |
Output is correct |
83 |
Correct |
136 ms |
74468 KB |
Output is correct |
84 |
Correct |
170 ms |
111428 KB |
Output is correct |
85 |
Correct |
1211 ms |
750804 KB |
Output is correct |
86 |
Correct |
1510 ms |
953412 KB |
Output is correct |
87 |
Correct |
1529 ms |
924748 KB |
Output is correct |
88 |
Correct |
265 ms |
176872 KB |
Output is correct |
89 |
Correct |
1556 ms |
978296 KB |
Output is correct |
90 |
Correct |
655 ms |
398240 KB |
Output is correct |
91 |
Correct |
1361 ms |
855952 KB |
Output is correct |
92 |
Correct |
1075 ms |
674264 KB |
Output is correct |
93 |
Correct |
994 ms |
592292 KB |
Output is correct |
94 |
Correct |
286 ms |
186308 KB |
Output is correct |
95 |
Correct |
1139 ms |
677676 KB |
Output is correct |
96 |
Correct |
1018 ms |
651268 KB |
Output is correct |
97 |
Correct |
1087 ms |
687016 KB |
Output is correct |
98 |
Correct |
1203 ms |
737512 KB |
Output is correct |
99 |
Correct |
938 ms |
578524 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
1525 ms |
2097156 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
1342 ms |
2097156 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
4 ms |
2124 KB |
Output is correct |
2 |
Correct |
12 ms |
8556 KB |
Output is correct |
3 |
Correct |
14 ms |
8944 KB |
Output is correct |
4 |
Correct |
18 ms |
11980 KB |
Output is correct |
5 |
Correct |
14 ms |
9548 KB |
Output is correct |
6 |
Correct |
10 ms |
7840 KB |
Output is correct |
7 |
Correct |
14 ms |
10572 KB |
Output is correct |
8 |
Correct |
11 ms |
7812 KB |
Output is correct |
9 |
Correct |
15 ms |
9908 KB |
Output is correct |
10 |
Correct |
18 ms |
11596 KB |
Output is correct |
11 |
Correct |
2 ms |
1356 KB |
Output is correct |
12 |
Correct |
4 ms |
2124 KB |
Output is correct |
13 |
Correct |
11 ms |
8564 KB |
Output is correct |
14 |
Correct |
11 ms |
8908 KB |
Output is correct |
15 |
Correct |
19 ms |
12100 KB |
Output is correct |
16 |
Correct |
14 ms |
9572 KB |
Output is correct |
17 |
Correct |
10 ms |
7844 KB |
Output is correct |
18 |
Correct |
15 ms |
10572 KB |
Output is correct |
19 |
Correct |
10 ms |
7716 KB |
Output is correct |
20 |
Correct |
14 ms |
9804 KB |
Output is correct |
21 |
Correct |
3 ms |
2124 KB |
Output is correct |
22 |
Correct |
18 ms |
11724 KB |
Output is correct |
23 |
Correct |
3 ms |
2124 KB |
Output is correct |
24 |
Correct |
0 ms |
204 KB |
Output is correct |
25 |
Correct |
3 ms |
1612 KB |
Output is correct |
26 |
Correct |
2 ms |
1484 KB |
Output is correct |
27 |
Correct |
2 ms |
972 KB |
Output is correct |
28 |
Correct |
3 ms |
1996 KB |
Output is correct |
29 |
Correct |
3 ms |
1740 KB |
Output is correct |
30 |
Correct |
3 ms |
1996 KB |
Output is correct |
31 |
Correct |
3 ms |
1612 KB |
Output is correct |
32 |
Correct |
1 ms |
204 KB |
Output is correct |
33 |
Correct |
3 ms |
1612 KB |
Output is correct |
34 |
Correct |
2 ms |
1484 KB |
Output is correct |
35 |
Correct |
2 ms |
972 KB |
Output is correct |
36 |
Correct |
3 ms |
1996 KB |
Output is correct |
37 |
Correct |
3 ms |
1740 KB |
Output is correct |
38 |
Correct |
3 ms |
1996 KB |
Output is correct |
39 |
Correct |
3 ms |
1612 KB |
Output is correct |
40 |
Correct |
2 ms |
1356 KB |
Output is correct |
41 |
Correct |
3 ms |
1996 KB |
Output is correct |
42 |
Correct |
12 ms |
8564 KB |
Output is correct |
43 |
Correct |
12 ms |
8908 KB |
Output is correct |
44 |
Correct |
18 ms |
12084 KB |
Output is correct |
45 |
Correct |
14 ms |
9548 KB |
Output is correct |
46 |
Correct |
11 ms |
7756 KB |
Output is correct |
47 |
Correct |
18 ms |
10524 KB |
Output is correct |
48 |
Correct |
12 ms |
7628 KB |
Output is correct |
49 |
Correct |
15 ms |
9804 KB |
Output is correct |
50 |
Correct |
19 ms |
11728 KB |
Output is correct |
51 |
Correct |
3 ms |
2072 KB |
Output is correct |
52 |
Correct |
1 ms |
272 KB |
Output is correct |
53 |
Correct |
3 ms |
1612 KB |
Output is correct |
54 |
Correct |
3 ms |
1484 KB |
Output is correct |
55 |
Correct |
2 ms |
972 KB |
Output is correct |
56 |
Correct |
3 ms |
1996 KB |
Output is correct |
57 |
Correct |
3 ms |
1740 KB |
Output is correct |
58 |
Correct |
4 ms |
1996 KB |
Output is correct |
59 |
Correct |
3 ms |
1612 KB |
Output is correct |
60 |
Correct |
2 ms |
1320 KB |
Output is correct |
61 |
Correct |
3 ms |
2124 KB |
Output is correct |
62 |
Correct |
14 ms |
8524 KB |
Output is correct |
63 |
Correct |
15 ms |
8908 KB |
Output is correct |
64 |
Correct |
17 ms |
12088 KB |
Output is correct |
65 |
Correct |
13 ms |
9548 KB |
Output is correct |
66 |
Correct |
10 ms |
7852 KB |
Output is correct |
67 |
Correct |
14 ms |
10660 KB |
Output is correct |
68 |
Correct |
12 ms |
7728 KB |
Output is correct |
69 |
Correct |
14 ms |
9804 KB |
Output is correct |
70 |
Correct |
21 ms |
11720 KB |
Output is correct |
71 |
Correct |
3 ms |
2124 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
2 ms |
1612 KB |
Output is correct |
74 |
Correct |
2 ms |
1484 KB |
Output is correct |
75 |
Correct |
2 ms |
972 KB |
Output is correct |
76 |
Correct |
3 ms |
1996 KB |
Output is correct |
77 |
Correct |
3 ms |
1740 KB |
Output is correct |
78 |
Correct |
3 ms |
1996 KB |
Output is correct |
79 |
Correct |
3 ms |
1612 KB |
Output is correct |
80 |
Correct |
2 ms |
1356 KB |
Output is correct |
81 |
Correct |
4 ms |
2124 KB |
Output is correct |
82 |
Correct |
14 ms |
8524 KB |
Output is correct |
83 |
Correct |
12 ms |
8908 KB |
Output is correct |
84 |
Correct |
19 ms |
12092 KB |
Output is correct |
85 |
Correct |
14 ms |
9576 KB |
Output is correct |
86 |
Correct |
10 ms |
7848 KB |
Output is correct |
87 |
Correct |
15 ms |
10644 KB |
Output is correct |
88 |
Correct |
10 ms |
7628 KB |
Output is correct |
89 |
Correct |
14 ms |
9908 KB |
Output is correct |
90 |
Correct |
17 ms |
11724 KB |
Output is correct |
91 |
Correct |
3 ms |
2124 KB |
Output is correct |
92 |
Correct |
1 ms |
204 KB |
Output is correct |
93 |
Correct |
2 ms |
1612 KB |
Output is correct |
94 |
Correct |
2 ms |
1484 KB |
Output is correct |
95 |
Correct |
2 ms |
972 KB |
Output is correct |
96 |
Correct |
3 ms |
1996 KB |
Output is correct |
97 |
Correct |
3 ms |
1740 KB |
Output is correct |
98 |
Correct |
3 ms |
1996 KB |
Output is correct |
99 |
Correct |
2 ms |
1612 KB |
Output is correct |
100 |
Correct |
2 ms |
1356 KB |
Output is correct |
101 |
Correct |
3 ms |
2080 KB |
Output is correct |
102 |
Correct |
12 ms |
8524 KB |
Output is correct |
103 |
Correct |
12 ms |
8872 KB |
Output is correct |
104 |
Correct |
22 ms |
12088 KB |
Output is correct |
105 |
Correct |
14 ms |
9576 KB |
Output is correct |
106 |
Correct |
11 ms |
7756 KB |
Output is correct |
107 |
Correct |
14 ms |
10572 KB |
Output is correct |
108 |
Correct |
12 ms |
7628 KB |
Output is correct |
109 |
Correct |
14 ms |
9804 KB |
Output is correct |
110 |
Correct |
21 ms |
11724 KB |
Output is correct |
111 |
Correct |
3 ms |
2124 KB |
Output is correct |
112 |
Correct |
1 ms |
204 KB |
Output is correct |
113 |
Correct |
3 ms |
1612 KB |
Output is correct |
114 |
Correct |
3 ms |
1484 KB |
Output is correct |
115 |
Correct |
2 ms |
972 KB |
Output is correct |
116 |
Correct |
1 ms |
1996 KB |
Output is correct |
117 |
Correct |
3 ms |
1740 KB |
Output is correct |
118 |
Correct |
3 ms |
1996 KB |
Output is correct |
119 |
Correct |
3 ms |
1612 KB |
Output is correct |
120 |
Correct |
16 ms |
9676 KB |
Output is correct |
121 |
Correct |
209 ms |
150580 KB |
Output is correct |
122 |
Correct |
220 ms |
158276 KB |
Output is correct |
123 |
Correct |
230 ms |
141152 KB |
Output is correct |
124 |
Correct |
276 ms |
156612 KB |
Output is correct |
125 |
Correct |
220 ms |
152888 KB |
Output is correct |
126 |
Correct |
253 ms |
174920 KB |
Output is correct |
127 |
Correct |
202 ms |
148348 KB |
Output is correct |
128 |
Correct |
342 ms |
191556 KB |
Output is correct |
129 |
Correct |
244 ms |
145348 KB |
Output is correct |
130 |
Correct |
10 ms |
7500 KB |
Output is correct |
131 |
Correct |
1 ms |
204 KB |
Output is correct |
132 |
Correct |
15 ms |
10780 KB |
Output is correct |
133 |
Correct |
2 ms |
1440 KB |
Output is correct |
134 |
Correct |
11 ms |
6684 KB |
Output is correct |
135 |
Correct |
31 ms |
19636 KB |
Output is correct |
136 |
Correct |
38 ms |
20556 KB |
Output is correct |
137 |
Correct |
21 ms |
13260 KB |
Output is correct |
138 |
Correct |
39 ms |
22260 KB |
Output is correct |
139 |
Correct |
18 ms |
9932 KB |
Output is correct |
140 |
Correct |
16 ms |
9548 KB |
Output is correct |
141 |
Correct |
217 ms |
150636 KB |
Output is correct |
142 |
Correct |
235 ms |
158276 KB |
Output is correct |
143 |
Correct |
242 ms |
141116 KB |
Output is correct |
144 |
Correct |
260 ms |
156640 KB |
Output is correct |
145 |
Correct |
210 ms |
152844 KB |
Output is correct |
146 |
Correct |
253 ms |
174976 KB |
Output is correct |
147 |
Correct |
217 ms |
148356 KB |
Output is correct |
148 |
Correct |
338 ms |
191556 KB |
Output is correct |
149 |
Correct |
247 ms |
145332 KB |
Output is correct |
150 |
Correct |
12 ms |
7588 KB |
Output is correct |
151 |
Correct |
1 ms |
204 KB |
Output is correct |
152 |
Correct |
16 ms |
10728 KB |
Output is correct |
153 |
Correct |
3 ms |
1444 KB |
Output is correct |
154 |
Correct |
11 ms |
6732 KB |
Output is correct |
155 |
Correct |
29 ms |
19640 KB |
Output is correct |
156 |
Correct |
31 ms |
20556 KB |
Output is correct |
157 |
Correct |
22 ms |
13260 KB |
Output is correct |
158 |
Correct |
42 ms |
22220 KB |
Output is correct |
159 |
Correct |
17 ms |
9944 KB |
Output is correct |
160 |
Correct |
17 ms |
9548 KB |
Output is correct |
161 |
Correct |
236 ms |
150596 KB |
Output is correct |
162 |
Correct |
234 ms |
158272 KB |
Output is correct |
163 |
Correct |
232 ms |
141044 KB |
Output is correct |
164 |
Correct |
259 ms |
156560 KB |
Output is correct |
165 |
Correct |
212 ms |
152860 KB |
Output is correct |
166 |
Correct |
245 ms |
174920 KB |
Output is correct |
167 |
Correct |
206 ms |
148408 KB |
Output is correct |
168 |
Correct |
311 ms |
191672 KB |
Output is correct |
169 |
Correct |
234 ms |
145376 KB |
Output is correct |
170 |
Correct |
12 ms |
7500 KB |
Output is correct |
171 |
Correct |
1 ms |
204 KB |
Output is correct |
172 |
Correct |
16 ms |
10812 KB |
Output is correct |
173 |
Correct |
3 ms |
1484 KB |
Output is correct |
174 |
Correct |
11 ms |
6732 KB |
Output is correct |
175 |
Correct |
28 ms |
19640 KB |
Output is correct |
176 |
Correct |
34 ms |
20556 KB |
Output is correct |
177 |
Correct |
20 ms |
13376 KB |
Output is correct |
178 |
Correct |
39 ms |
22184 KB |
Output is correct |
179 |
Correct |
17 ms |
9896 KB |
Output is correct |
180 |
Correct |
17 ms |
9540 KB |
Output is correct |
181 |
Correct |
216 ms |
150580 KB |
Output is correct |
182 |
Correct |
218 ms |
158276 KB |
Output is correct |
183 |
Correct |
241 ms |
140996 KB |
Output is correct |
184 |
Correct |
297 ms |
156644 KB |
Output is correct |
185 |
Correct |
221 ms |
152780 KB |
Output is correct |
186 |
Correct |
245 ms |
174816 KB |
Output is correct |
187 |
Correct |
206 ms |
148460 KB |
Output is correct |
188 |
Correct |
327 ms |
191556 KB |
Output is correct |
189 |
Correct |
271 ms |
145404 KB |
Output is correct |
190 |
Correct |
10 ms |
7500 KB |
Output is correct |
191 |
Correct |
1 ms |
204 KB |
Output is correct |
192 |
Correct |
15 ms |
10700 KB |
Output is correct |
193 |
Correct |
2 ms |
1356 KB |
Output is correct |
194 |
Correct |
11 ms |
6732 KB |
Output is correct |
195 |
Correct |
30 ms |
19572 KB |
Output is correct |
196 |
Correct |
31 ms |
20556 KB |
Output is correct |
197 |
Correct |
22 ms |
13380 KB |
Output is correct |
198 |
Correct |
51 ms |
22264 KB |
Output is correct |
199 |
Correct |
19 ms |
9932 KB |
Output is correct |
200 |
Correct |
15 ms |
9560 KB |
Output is correct |
201 |
Correct |
210 ms |
150580 KB |
Output is correct |
202 |
Correct |
232 ms |
158340 KB |
Output is correct |
203 |
Correct |
243 ms |
141032 KB |
Output is correct |
204 |
Correct |
287 ms |
156648 KB |
Output is correct |
205 |
Correct |
212 ms |
152888 KB |
Output is correct |
206 |
Correct |
255 ms |
174912 KB |
Output is correct |
207 |
Correct |
211 ms |
148524 KB |
Output is correct |
208 |
Correct |
328 ms |
191556 KB |
Output is correct |
209 |
Correct |
251 ms |
145348 KB |
Output is correct |
210 |
Correct |
13 ms |
7584 KB |
Output is correct |
211 |
Correct |
1 ms |
204 KB |
Output is correct |
212 |
Correct |
17 ms |
10788 KB |
Output is correct |
213 |
Correct |
3 ms |
1476 KB |
Output is correct |
214 |
Correct |
12 ms |
6796 KB |
Output is correct |
215 |
Correct |
30 ms |
19636 KB |
Output is correct |
216 |
Correct |
34 ms |
20528 KB |
Output is correct |
217 |
Correct |
23 ms |
13260 KB |
Output is correct |
218 |
Correct |
39 ms |
22228 KB |
Output is correct |
219 |
Correct |
269 ms |
182212 KB |
Output is correct |
220 |
Correct |
440 ms |
283624 KB |
Output is correct |
221 |
Correct |
139 ms |
74576 KB |
Output is correct |
222 |
Correct |
164 ms |
111320 KB |
Output is correct |
223 |
Correct |
1257 ms |
750772 KB |
Output is correct |
224 |
Correct |
1585 ms |
953448 KB |
Output is correct |
225 |
Correct |
1559 ms |
924720 KB |
Output is correct |
226 |
Correct |
263 ms |
176836 KB |
Output is correct |
227 |
Correct |
1687 ms |
978220 KB |
Output is correct |
228 |
Correct |
665 ms |
398308 KB |
Output is correct |
229 |
Correct |
1364 ms |
855984 KB |
Output is correct |
230 |
Correct |
1037 ms |
674204 KB |
Output is correct |
231 |
Correct |
989 ms |
592376 KB |
Output is correct |
232 |
Correct |
298 ms |
186412 KB |
Output is correct |
233 |
Correct |
1118 ms |
677652 KB |
Output is correct |
234 |
Correct |
1050 ms |
651328 KB |
Output is correct |
235 |
Correct |
1070 ms |
686956 KB |
Output is correct |
236 |
Correct |
1143 ms |
737596 KB |
Output is correct |
237 |
Correct |
916 ms |
578500 KB |
Output is correct |
238 |
Correct |
285 ms |
184076 KB |
Output is correct |
239 |
Correct |
304 ms |
182212 KB |
Output is correct |
240 |
Correct |
421 ms |
283628 KB |
Output is correct |
241 |
Correct |
132 ms |
74560 KB |
Output is correct |
242 |
Correct |
164 ms |
111384 KB |
Output is correct |
243 |
Correct |
1165 ms |
750808 KB |
Output is correct |
244 |
Correct |
1508 ms |
953448 KB |
Output is correct |
245 |
Correct |
1425 ms |
924592 KB |
Output is correct |
246 |
Correct |
276 ms |
176836 KB |
Output is correct |
247 |
Correct |
1546 ms |
978216 KB |
Output is correct |
248 |
Correct |
654 ms |
398160 KB |
Output is correct |
249 |
Correct |
1316 ms |
855956 KB |
Output is correct |
250 |
Correct |
1082 ms |
674260 KB |
Output is correct |
251 |
Correct |
1002 ms |
592316 KB |
Output is correct |
252 |
Correct |
277 ms |
186308 KB |
Output is correct |
253 |
Correct |
1082 ms |
677724 KB |
Output is correct |
254 |
Correct |
1033 ms |
651232 KB |
Output is correct |
255 |
Correct |
1083 ms |
686916 KB |
Output is correct |
256 |
Correct |
1199 ms |
737628 KB |
Output is correct |
257 |
Correct |
925 ms |
578428 KB |
Output is correct |
258 |
Correct |
283 ms |
184160 KB |
Output is correct |
259 |
Correct |
300 ms |
182176 KB |
Output is correct |
260 |
Correct |
431 ms |
283712 KB |
Output is correct |
261 |
Correct |
117 ms |
74516 KB |
Output is correct |
262 |
Correct |
169 ms |
111308 KB |
Output is correct |
263 |
Correct |
1212 ms |
750732 KB |
Output is correct |
264 |
Correct |
1468 ms |
953380 KB |
Output is correct |
265 |
Correct |
1527 ms |
924620 KB |
Output is correct |
266 |
Correct |
280 ms |
176732 KB |
Output is correct |
267 |
Correct |
1566 ms |
978248 KB |
Output is correct |
268 |
Correct |
658 ms |
398240 KB |
Output is correct |
269 |
Correct |
1379 ms |
856004 KB |
Output is correct |
270 |
Correct |
1113 ms |
674196 KB |
Output is correct |
271 |
Correct |
1093 ms |
592324 KB |
Output is correct |
272 |
Correct |
311 ms |
186328 KB |
Output is correct |
273 |
Correct |
1187 ms |
677660 KB |
Output is correct |
274 |
Correct |
1106 ms |
651228 KB |
Output is correct |
275 |
Correct |
1163 ms |
686940 KB |
Output is correct |
276 |
Correct |
1238 ms |
737540 KB |
Output is correct |
277 |
Correct |
956 ms |
578372 KB |
Output is correct |
278 |
Correct |
289 ms |
184132 KB |
Output is correct |
279 |
Correct |
290 ms |
182280 KB |
Output is correct |
280 |
Correct |
421 ms |
283516 KB |
Output is correct |
281 |
Correct |
112 ms |
74692 KB |
Output is correct |
282 |
Correct |
171 ms |
111380 KB |
Output is correct |
283 |
Correct |
1201 ms |
750828 KB |
Output is correct |
284 |
Correct |
1532 ms |
953540 KB |
Output is correct |
285 |
Correct |
1498 ms |
924628 KB |
Output is correct |
286 |
Correct |
259 ms |
176784 KB |
Output is correct |
287 |
Correct |
1621 ms |
978260 KB |
Output is correct |
288 |
Correct |
683 ms |
398304 KB |
Output is correct |
289 |
Correct |
1395 ms |
856068 KB |
Output is correct |
290 |
Correct |
1073 ms |
674244 KB |
Output is correct |
291 |
Correct |
1008 ms |
592628 KB |
Output is correct |
292 |
Correct |
283 ms |
186436 KB |
Output is correct |
293 |
Correct |
1096 ms |
677720 KB |
Output is correct |
294 |
Correct |
1059 ms |
651204 KB |
Output is correct |
295 |
Correct |
1135 ms |
687040 KB |
Output is correct |
296 |
Correct |
1248 ms |
737476 KB |
Output is correct |
297 |
Correct |
1010 ms |
578388 KB |
Output is correct |
298 |
Correct |
283 ms |
184132 KB |
Output is correct |
299 |
Correct |
278 ms |
182200 KB |
Output is correct |
300 |
Correct |
446 ms |
283732 KB |
Output is correct |
301 |
Correct |
136 ms |
74468 KB |
Output is correct |
302 |
Correct |
170 ms |
111428 KB |
Output is correct |
303 |
Correct |
1211 ms |
750804 KB |
Output is correct |
304 |
Correct |
1510 ms |
953412 KB |
Output is correct |
305 |
Correct |
1529 ms |
924748 KB |
Output is correct |
306 |
Correct |
265 ms |
176872 KB |
Output is correct |
307 |
Correct |
1556 ms |
978296 KB |
Output is correct |
308 |
Correct |
655 ms |
398240 KB |
Output is correct |
309 |
Correct |
1361 ms |
855952 KB |
Output is correct |
310 |
Correct |
1075 ms |
674264 KB |
Output is correct |
311 |
Correct |
994 ms |
592292 KB |
Output is correct |
312 |
Correct |
286 ms |
186308 KB |
Output is correct |
313 |
Correct |
1139 ms |
677676 KB |
Output is correct |
314 |
Correct |
1018 ms |
651268 KB |
Output is correct |
315 |
Correct |
1087 ms |
687016 KB |
Output is correct |
316 |
Correct |
1203 ms |
737512 KB |
Output is correct |
317 |
Correct |
938 ms |
578524 KB |
Output is correct |
318 |
Runtime error |
1525 ms |
2097156 KB |
Execution killed with signal 9 |
319 |
Halted |
0 ms |
0 KB |
- |