#include <bits/stdc++.h>
#include "jelly.h"
using namespace std;
int find_maximum_unique(int x, int y, vector<int>a, vector<int>b) {
const int n = (int)a.size();
vector<vector<vector<int>>>dp(n+1, vector<vector<int>>(x+1, vector<int>(y+1, 0)));
int ans = 0;
for(int i = 1 ; i <= n ; i++) {
for(int j = 0 ; j <= x ; j++) {
for(int k = 0 ; k <= y ; k++) {
dp[i][j][k] = max(dp[i][j][k], dp[i-1][j][k]);
if(j >= a[i-1])
dp[i][j][k] = max(dp[i][j][k], 1 + dp[i-1][j - a[i-1]][k]);
if(k >= b[i-1])
dp[i][j][k] = max(dp[i][j][k], 1 + dp[i-1][j][k - b[i-1]]);
ans = max(ans, dp[i][j][k]);
}
}
}
return ans;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
2004 KB |
Output is correct |
2 |
Correct |
9 ms |
8532 KB |
Output is correct |
3 |
Correct |
10 ms |
8916 KB |
Output is correct |
4 |
Correct |
15 ms |
12088 KB |
Output is correct |
5 |
Correct |
11 ms |
9556 KB |
Output is correct |
6 |
Correct |
8 ms |
7764 KB |
Output is correct |
7 |
Correct |
11 ms |
10580 KB |
Output is correct |
8 |
Correct |
7 ms |
7636 KB |
Output is correct |
9 |
Correct |
13 ms |
9812 KB |
Output is correct |
10 |
Correct |
16 ms |
11604 KB |
Output is correct |
11 |
Correct |
2 ms |
1364 KB |
Output is correct |
12 |
Correct |
3 ms |
2004 KB |
Output is correct |
13 |
Correct |
9 ms |
8532 KB |
Output is correct |
14 |
Correct |
12 ms |
8916 KB |
Output is correct |
15 |
Correct |
16 ms |
11988 KB |
Output is correct |
16 |
Correct |
12 ms |
9484 KB |
Output is correct |
17 |
Correct |
8 ms |
7764 KB |
Output is correct |
18 |
Correct |
12 ms |
10660 KB |
Output is correct |
19 |
Correct |
9 ms |
7636 KB |
Output is correct |
20 |
Correct |
15 ms |
9800 KB |
Output is correct |
21 |
Correct |
2 ms |
2132 KB |
Output is correct |
22 |
Correct |
15 ms |
11644 KB |
Output is correct |
23 |
Correct |
3 ms |
2132 KB |
Output is correct |
24 |
Correct |
1 ms |
212 KB |
Output is correct |
25 |
Correct |
2 ms |
1620 KB |
Output is correct |
26 |
Correct |
2 ms |
1492 KB |
Output is correct |
27 |
Correct |
1 ms |
980 KB |
Output is correct |
28 |
Correct |
2 ms |
2004 KB |
Output is correct |
29 |
Correct |
2 ms |
1748 KB |
Output is correct |
30 |
Correct |
3 ms |
2004 KB |
Output is correct |
31 |
Correct |
2 ms |
1620 KB |
Output is correct |
32 |
Correct |
0 ms |
212 KB |
Output is correct |
33 |
Correct |
2 ms |
1620 KB |
Output is correct |
34 |
Correct |
2 ms |
1492 KB |
Output is correct |
35 |
Correct |
2 ms |
980 KB |
Output is correct |
36 |
Correct |
2 ms |
2004 KB |
Output is correct |
37 |
Correct |
2 ms |
1876 KB |
Output is correct |
38 |
Correct |
3 ms |
2004 KB |
Output is correct |
39 |
Correct |
4 ms |
1608 KB |
Output is correct |
40 |
Correct |
2 ms |
1364 KB |
Output is correct |
41 |
Correct |
5 ms |
2132 KB |
Output is correct |
42 |
Correct |
9 ms |
8532 KB |
Output is correct |
43 |
Correct |
11 ms |
8916 KB |
Output is correct |
44 |
Correct |
15 ms |
11988 KB |
Output is correct |
45 |
Correct |
14 ms |
9580 KB |
Output is correct |
46 |
Correct |
9 ms |
7856 KB |
Output is correct |
47 |
Correct |
11 ms |
10564 KB |
Output is correct |
48 |
Correct |
8 ms |
7636 KB |
Output is correct |
49 |
Correct |
13 ms |
9812 KB |
Output is correct |
50 |
Correct |
16 ms |
11604 KB |
Output is correct |
51 |
Correct |
3 ms |
2132 KB |
Output is correct |
52 |
Correct |
0 ms |
212 KB |
Output is correct |
53 |
Correct |
3 ms |
1620 KB |
Output is correct |
54 |
Correct |
2 ms |
1492 KB |
Output is correct |
55 |
Correct |
1 ms |
980 KB |
Output is correct |
56 |
Correct |
2 ms |
2004 KB |
Output is correct |
57 |
Correct |
2 ms |
1748 KB |
Output is correct |
58 |
Correct |
2 ms |
2004 KB |
Output is correct |
59 |
Correct |
2 ms |
1620 KB |
Output is correct |
60 |
Correct |
3 ms |
1364 KB |
Output is correct |
61 |
Correct |
3 ms |
2004 KB |
Output is correct |
62 |
Correct |
9 ms |
8532 KB |
Output is correct |
63 |
Correct |
9 ms |
8916 KB |
Output is correct |
64 |
Correct |
19 ms |
11988 KB |
Output is correct |
65 |
Correct |
11 ms |
9556 KB |
Output is correct |
66 |
Correct |
11 ms |
7764 KB |
Output is correct |
67 |
Correct |
14 ms |
10580 KB |
Output is correct |
68 |
Correct |
8 ms |
7724 KB |
Output is correct |
69 |
Correct |
13 ms |
9812 KB |
Output is correct |
70 |
Correct |
18 ms |
11604 KB |
Output is correct |
71 |
Correct |
3 ms |
2132 KB |
Output is correct |
72 |
Correct |
0 ms |
212 KB |
Output is correct |
73 |
Correct |
2 ms |
1620 KB |
Output is correct |
74 |
Correct |
2 ms |
1492 KB |
Output is correct |
75 |
Correct |
1 ms |
980 KB |
Output is correct |
76 |
Correct |
2 ms |
2004 KB |
Output is correct |
77 |
Correct |
2 ms |
1748 KB |
Output is correct |
78 |
Correct |
4 ms |
2004 KB |
Output is correct |
79 |
Correct |
2 ms |
1604 KB |
Output is correct |
80 |
Correct |
3 ms |
1364 KB |
Output is correct |
81 |
Correct |
3 ms |
2004 KB |
Output is correct |
82 |
Correct |
10 ms |
8532 KB |
Output is correct |
83 |
Correct |
9 ms |
8892 KB |
Output is correct |
84 |
Correct |
21 ms |
11988 KB |
Output is correct |
85 |
Correct |
13 ms |
9584 KB |
Output is correct |
86 |
Correct |
8 ms |
7764 KB |
Output is correct |
87 |
Correct |
11 ms |
10580 KB |
Output is correct |
88 |
Correct |
7 ms |
7636 KB |
Output is correct |
89 |
Correct |
12 ms |
9812 KB |
Output is correct |
90 |
Correct |
14 ms |
11604 KB |
Output is correct |
91 |
Correct |
3 ms |
2132 KB |
Output is correct |
92 |
Correct |
0 ms |
212 KB |
Output is correct |
93 |
Correct |
2 ms |
1620 KB |
Output is correct |
94 |
Correct |
2 ms |
1492 KB |
Output is correct |
95 |
Correct |
1 ms |
980 KB |
Output is correct |
96 |
Correct |
3 ms |
2004 KB |
Output is correct |
97 |
Correct |
2 ms |
1748 KB |
Output is correct |
98 |
Correct |
4 ms |
2004 KB |
Output is correct |
99 |
Correct |
2 ms |
1492 KB |
Output is correct |
100 |
Correct |
2 ms |
1364 KB |
Output is correct |
101 |
Correct |
3 ms |
2004 KB |
Output is correct |
102 |
Correct |
10 ms |
8532 KB |
Output is correct |
103 |
Correct |
10 ms |
8916 KB |
Output is correct |
104 |
Correct |
19 ms |
12092 KB |
Output is correct |
105 |
Correct |
16 ms |
9556 KB |
Output is correct |
106 |
Correct |
8 ms |
7764 KB |
Output is correct |
107 |
Correct |
15 ms |
10656 KB |
Output is correct |
108 |
Correct |
8 ms |
7724 KB |
Output is correct |
109 |
Correct |
11 ms |
9812 KB |
Output is correct |
110 |
Correct |
16 ms |
11604 KB |
Output is correct |
111 |
Correct |
4 ms |
2132 KB |
Output is correct |
112 |
Correct |
0 ms |
212 KB |
Output is correct |
113 |
Correct |
3 ms |
1620 KB |
Output is correct |
114 |
Correct |
2 ms |
1492 KB |
Output is correct |
115 |
Correct |
2 ms |
980 KB |
Output is correct |
116 |
Correct |
4 ms |
2004 KB |
Output is correct |
117 |
Correct |
2 ms |
1748 KB |
Output is correct |
118 |
Correct |
2 ms |
2004 KB |
Output is correct |
119 |
Correct |
2 ms |
1620 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
2004 KB |
Output is correct |
2 |
Correct |
9 ms |
8532 KB |
Output is correct |
3 |
Correct |
10 ms |
8916 KB |
Output is correct |
4 |
Correct |
15 ms |
12088 KB |
Output is correct |
5 |
Correct |
11 ms |
9556 KB |
Output is correct |
6 |
Correct |
8 ms |
7764 KB |
Output is correct |
7 |
Correct |
11 ms |
10580 KB |
Output is correct |
8 |
Correct |
7 ms |
7636 KB |
Output is correct |
9 |
Correct |
13 ms |
9812 KB |
Output is correct |
10 |
Correct |
16 ms |
11604 KB |
Output is correct |
11 |
Correct |
2 ms |
1364 KB |
Output is correct |
12 |
Correct |
3 ms |
2004 KB |
Output is correct |
13 |
Correct |
9 ms |
8532 KB |
Output is correct |
14 |
Correct |
12 ms |
8916 KB |
Output is correct |
15 |
Correct |
16 ms |
11988 KB |
Output is correct |
16 |
Correct |
12 ms |
9484 KB |
Output is correct |
17 |
Correct |
8 ms |
7764 KB |
Output is correct |
18 |
Correct |
12 ms |
10660 KB |
Output is correct |
19 |
Correct |
9 ms |
7636 KB |
Output is correct |
20 |
Correct |
15 ms |
9800 KB |
Output is correct |
21 |
Correct |
2 ms |
2132 KB |
Output is correct |
22 |
Correct |
15 ms |
11644 KB |
Output is correct |
23 |
Correct |
3 ms |
2132 KB |
Output is correct |
24 |
Correct |
1 ms |
212 KB |
Output is correct |
25 |
Correct |
2 ms |
1620 KB |
Output is correct |
26 |
Correct |
2 ms |
1492 KB |
Output is correct |
27 |
Correct |
1 ms |
980 KB |
Output is correct |
28 |
Correct |
2 ms |
2004 KB |
Output is correct |
29 |
Correct |
2 ms |
1748 KB |
Output is correct |
30 |
Correct |
3 ms |
2004 KB |
Output is correct |
31 |
Correct |
2 ms |
1620 KB |
Output is correct |
32 |
Correct |
0 ms |
212 KB |
Output is correct |
33 |
Correct |
2 ms |
1620 KB |
Output is correct |
34 |
Correct |
2 ms |
1492 KB |
Output is correct |
35 |
Correct |
2 ms |
980 KB |
Output is correct |
36 |
Correct |
2 ms |
2004 KB |
Output is correct |
37 |
Correct |
2 ms |
1876 KB |
Output is correct |
38 |
Correct |
3 ms |
2004 KB |
Output is correct |
39 |
Correct |
4 ms |
1608 KB |
Output is correct |
40 |
Correct |
2 ms |
1364 KB |
Output is correct |
41 |
Correct |
5 ms |
2132 KB |
Output is correct |
42 |
Correct |
9 ms |
8532 KB |
Output is correct |
43 |
Correct |
11 ms |
8916 KB |
Output is correct |
44 |
Correct |
15 ms |
11988 KB |
Output is correct |
45 |
Correct |
14 ms |
9580 KB |
Output is correct |
46 |
Correct |
9 ms |
7856 KB |
Output is correct |
47 |
Correct |
11 ms |
10564 KB |
Output is correct |
48 |
Correct |
8 ms |
7636 KB |
Output is correct |
49 |
Correct |
13 ms |
9812 KB |
Output is correct |
50 |
Correct |
16 ms |
11604 KB |
Output is correct |
51 |
Correct |
3 ms |
2132 KB |
Output is correct |
52 |
Correct |
0 ms |
212 KB |
Output is correct |
53 |
Correct |
3 ms |
1620 KB |
Output is correct |
54 |
Correct |
2 ms |
1492 KB |
Output is correct |
55 |
Correct |
1 ms |
980 KB |
Output is correct |
56 |
Correct |
2 ms |
2004 KB |
Output is correct |
57 |
Correct |
2 ms |
1748 KB |
Output is correct |
58 |
Correct |
2 ms |
2004 KB |
Output is correct |
59 |
Correct |
2 ms |
1620 KB |
Output is correct |
60 |
Correct |
3 ms |
1364 KB |
Output is correct |
61 |
Correct |
3 ms |
2004 KB |
Output is correct |
62 |
Correct |
9 ms |
8532 KB |
Output is correct |
63 |
Correct |
9 ms |
8916 KB |
Output is correct |
64 |
Correct |
19 ms |
11988 KB |
Output is correct |
65 |
Correct |
11 ms |
9556 KB |
Output is correct |
66 |
Correct |
11 ms |
7764 KB |
Output is correct |
67 |
Correct |
14 ms |
10580 KB |
Output is correct |
68 |
Correct |
8 ms |
7724 KB |
Output is correct |
69 |
Correct |
13 ms |
9812 KB |
Output is correct |
70 |
Correct |
18 ms |
11604 KB |
Output is correct |
71 |
Correct |
3 ms |
2132 KB |
Output is correct |
72 |
Correct |
0 ms |
212 KB |
Output is correct |
73 |
Correct |
2 ms |
1620 KB |
Output is correct |
74 |
Correct |
2 ms |
1492 KB |
Output is correct |
75 |
Correct |
1 ms |
980 KB |
Output is correct |
76 |
Correct |
2 ms |
2004 KB |
Output is correct |
77 |
Correct |
2 ms |
1748 KB |
Output is correct |
78 |
Correct |
4 ms |
2004 KB |
Output is correct |
79 |
Correct |
2 ms |
1604 KB |
Output is correct |
80 |
Correct |
3 ms |
1364 KB |
Output is correct |
81 |
Correct |
3 ms |
2004 KB |
Output is correct |
82 |
Correct |
10 ms |
8532 KB |
Output is correct |
83 |
Correct |
9 ms |
8892 KB |
Output is correct |
84 |
Correct |
21 ms |
11988 KB |
Output is correct |
85 |
Correct |
13 ms |
9584 KB |
Output is correct |
86 |
Correct |
8 ms |
7764 KB |
Output is correct |
87 |
Correct |
11 ms |
10580 KB |
Output is correct |
88 |
Correct |
7 ms |
7636 KB |
Output is correct |
89 |
Correct |
12 ms |
9812 KB |
Output is correct |
90 |
Correct |
14 ms |
11604 KB |
Output is correct |
91 |
Correct |
3 ms |
2132 KB |
Output is correct |
92 |
Correct |
0 ms |
212 KB |
Output is correct |
93 |
Correct |
2 ms |
1620 KB |
Output is correct |
94 |
Correct |
2 ms |
1492 KB |
Output is correct |
95 |
Correct |
1 ms |
980 KB |
Output is correct |
96 |
Correct |
3 ms |
2004 KB |
Output is correct |
97 |
Correct |
2 ms |
1748 KB |
Output is correct |
98 |
Correct |
4 ms |
2004 KB |
Output is correct |
99 |
Correct |
2 ms |
1492 KB |
Output is correct |
100 |
Correct |
2 ms |
1364 KB |
Output is correct |
101 |
Correct |
3 ms |
2004 KB |
Output is correct |
102 |
Correct |
10 ms |
8532 KB |
Output is correct |
103 |
Correct |
10 ms |
8916 KB |
Output is correct |
104 |
Correct |
19 ms |
12092 KB |
Output is correct |
105 |
Correct |
16 ms |
9556 KB |
Output is correct |
106 |
Correct |
8 ms |
7764 KB |
Output is correct |
107 |
Correct |
15 ms |
10656 KB |
Output is correct |
108 |
Correct |
8 ms |
7724 KB |
Output is correct |
109 |
Correct |
11 ms |
9812 KB |
Output is correct |
110 |
Correct |
16 ms |
11604 KB |
Output is correct |
111 |
Correct |
4 ms |
2132 KB |
Output is correct |
112 |
Correct |
0 ms |
212 KB |
Output is correct |
113 |
Correct |
3 ms |
1620 KB |
Output is correct |
114 |
Correct |
2 ms |
1492 KB |
Output is correct |
115 |
Correct |
2 ms |
980 KB |
Output is correct |
116 |
Correct |
4 ms |
2004 KB |
Output is correct |
117 |
Correct |
2 ms |
1748 KB |
Output is correct |
118 |
Correct |
2 ms |
2004 KB |
Output is correct |
119 |
Correct |
2 ms |
1620 KB |
Output is correct |
120 |
Correct |
13 ms |
9560 KB |
Output is correct |
121 |
Correct |
200 ms |
150588 KB |
Output is correct |
122 |
Correct |
207 ms |
158236 KB |
Output is correct |
123 |
Correct |
203 ms |
141048 KB |
Output is correct |
124 |
Correct |
255 ms |
156652 KB |
Output is correct |
125 |
Correct |
183 ms |
152780 KB |
Output is correct |
126 |
Correct |
208 ms |
174972 KB |
Output is correct |
127 |
Correct |
195 ms |
148356 KB |
Output is correct |
128 |
Correct |
277 ms |
191612 KB |
Output is correct |
129 |
Correct |
229 ms |
145416 KB |
Output is correct |
130 |
Correct |
9 ms |
7508 KB |
Output is correct |
131 |
Correct |
1 ms |
256 KB |
Output is correct |
132 |
Correct |
14 ms |
10708 KB |
Output is correct |
133 |
Correct |
2 ms |
1364 KB |
Output is correct |
134 |
Correct |
13 ms |
6740 KB |
Output is correct |
135 |
Correct |
32 ms |
19608 KB |
Output is correct |
136 |
Correct |
26 ms |
20564 KB |
Output is correct |
137 |
Correct |
17 ms |
13268 KB |
Output is correct |
138 |
Correct |
39 ms |
22224 KB |
Output is correct |
139 |
Correct |
15 ms |
9948 KB |
Output is correct |
140 |
Correct |
13 ms |
9556 KB |
Output is correct |
141 |
Correct |
179 ms |
150712 KB |
Output is correct |
142 |
Correct |
209 ms |
158356 KB |
Output is correct |
143 |
Correct |
213 ms |
141052 KB |
Output is correct |
144 |
Correct |
259 ms |
156564 KB |
Output is correct |
145 |
Correct |
203 ms |
152868 KB |
Output is correct |
146 |
Correct |
224 ms |
174908 KB |
Output is correct |
147 |
Correct |
204 ms |
148396 KB |
Output is correct |
148 |
Correct |
315 ms |
191680 KB |
Output is correct |
149 |
Correct |
257 ms |
145408 KB |
Output is correct |
150 |
Correct |
12 ms |
7508 KB |
Output is correct |
151 |
Correct |
1 ms |
212 KB |
Output is correct |
152 |
Correct |
14 ms |
10708 KB |
Output is correct |
153 |
Correct |
2 ms |
1492 KB |
Output is correct |
154 |
Correct |
15 ms |
6696 KB |
Output is correct |
155 |
Correct |
25 ms |
19572 KB |
Output is correct |
156 |
Correct |
35 ms |
20508 KB |
Output is correct |
157 |
Correct |
22 ms |
13396 KB |
Output is correct |
158 |
Correct |
40 ms |
22280 KB |
Output is correct |
159 |
Correct |
17 ms |
9956 KB |
Output is correct |
160 |
Correct |
15 ms |
9556 KB |
Output is correct |
161 |
Correct |
228 ms |
150588 KB |
Output is correct |
162 |
Correct |
223 ms |
158348 KB |
Output is correct |
163 |
Correct |
236 ms |
141016 KB |
Output is correct |
164 |
Correct |
269 ms |
156540 KB |
Output is correct |
165 |
Correct |
211 ms |
152904 KB |
Output is correct |
166 |
Correct |
263 ms |
174828 KB |
Output is correct |
167 |
Correct |
194 ms |
148468 KB |
Output is correct |
168 |
Correct |
343 ms |
191676 KB |
Output is correct |
169 |
Correct |
240 ms |
145412 KB |
Output is correct |
170 |
Correct |
11 ms |
7520 KB |
Output is correct |
171 |
Correct |
1 ms |
212 KB |
Output is correct |
172 |
Correct |
15 ms |
10708 KB |
Output is correct |
173 |
Correct |
2 ms |
1364 KB |
Output is correct |
174 |
Correct |
11 ms |
6808 KB |
Output is correct |
175 |
Correct |
26 ms |
19632 KB |
Output is correct |
176 |
Correct |
32 ms |
20596 KB |
Output is correct |
177 |
Correct |
26 ms |
13328 KB |
Output is correct |
178 |
Correct |
37 ms |
22188 KB |
Output is correct |
179 |
Correct |
22 ms |
9904 KB |
Output is correct |
180 |
Correct |
16 ms |
9572 KB |
Output is correct |
181 |
Correct |
193 ms |
150588 KB |
Output is correct |
182 |
Correct |
252 ms |
158352 KB |
Output is correct |
183 |
Correct |
248 ms |
141044 KB |
Output is correct |
184 |
Correct |
236 ms |
156552 KB |
Output is correct |
185 |
Correct |
197 ms |
152928 KB |
Output is correct |
186 |
Correct |
238 ms |
174928 KB |
Output is correct |
187 |
Correct |
184 ms |
148468 KB |
Output is correct |
188 |
Correct |
290 ms |
191556 KB |
Output is correct |
189 |
Correct |
230 ms |
145412 KB |
Output is correct |
190 |
Correct |
9 ms |
7508 KB |
Output is correct |
191 |
Correct |
1 ms |
300 KB |
Output is correct |
192 |
Correct |
13 ms |
10712 KB |
Output is correct |
193 |
Correct |
2 ms |
1492 KB |
Output is correct |
194 |
Correct |
10 ms |
6740 KB |
Output is correct |
195 |
Correct |
27 ms |
19560 KB |
Output is correct |
196 |
Correct |
27 ms |
20588 KB |
Output is correct |
197 |
Correct |
17 ms |
13268 KB |
Output is correct |
198 |
Correct |
37 ms |
22188 KB |
Output is correct |
199 |
Correct |
23 ms |
9900 KB |
Output is correct |
200 |
Correct |
13 ms |
9524 KB |
Output is correct |
201 |
Correct |
196 ms |
150584 KB |
Output is correct |
202 |
Correct |
200 ms |
158316 KB |
Output is correct |
203 |
Correct |
205 ms |
141044 KB |
Output is correct |
204 |
Correct |
241 ms |
156660 KB |
Output is correct |
205 |
Correct |
178 ms |
152780 KB |
Output is correct |
206 |
Correct |
194 ms |
174948 KB |
Output is correct |
207 |
Correct |
178 ms |
148468 KB |
Output is correct |
208 |
Correct |
279 ms |
191680 KB |
Output is correct |
209 |
Correct |
225 ms |
145408 KB |
Output is correct |
210 |
Correct |
9 ms |
7508 KB |
Output is correct |
211 |
Correct |
1 ms |
212 KB |
Output is correct |
212 |
Correct |
13 ms |
10792 KB |
Output is correct |
213 |
Correct |
2 ms |
1364 KB |
Output is correct |
214 |
Correct |
11 ms |
6696 KB |
Output is correct |
215 |
Correct |
24 ms |
19540 KB |
Output is correct |
216 |
Correct |
25 ms |
20564 KB |
Output is correct |
217 |
Correct |
16 ms |
13268 KB |
Output is correct |
218 |
Correct |
39 ms |
22356 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
221 ms |
182220 KB |
Output is correct |
2 |
Correct |
351 ms |
283596 KB |
Output is correct |
3 |
Correct |
94 ms |
74572 KB |
Output is correct |
4 |
Correct |
147 ms |
111388 KB |
Output is correct |
5 |
Correct |
965 ms |
750744 KB |
Output is correct |
6 |
Correct |
1189 ms |
953416 KB |
Output is correct |
7 |
Correct |
1092 ms |
924596 KB |
Output is correct |
8 |
Correct |
219 ms |
176772 KB |
Output is correct |
9 |
Correct |
1164 ms |
978140 KB |
Output is correct |
10 |
Correct |
619 ms |
398256 KB |
Output is correct |
11 |
Correct |
982 ms |
856084 KB |
Output is correct |
12 |
Correct |
814 ms |
674324 KB |
Output is correct |
13 |
Correct |
764 ms |
592408 KB |
Output is correct |
14 |
Correct |
235 ms |
186316 KB |
Output is correct |
15 |
Correct |
760 ms |
677688 KB |
Output is correct |
16 |
Correct |
745 ms |
651200 KB |
Output is correct |
17 |
Correct |
815 ms |
686924 KB |
Output is correct |
18 |
Correct |
844 ms |
737516 KB |
Output is correct |
19 |
Correct |
723 ms |
578388 KB |
Output is correct |
20 |
Correct |
219 ms |
184132 KB |
Output is correct |
21 |
Correct |
207 ms |
182148 KB |
Output is correct |
22 |
Correct |
327 ms |
283596 KB |
Output is correct |
23 |
Correct |
86 ms |
74568 KB |
Output is correct |
24 |
Correct |
127 ms |
111388 KB |
Output is correct |
25 |
Correct |
855 ms |
750740 KB |
Output is correct |
26 |
Correct |
1087 ms |
953452 KB |
Output is correct |
27 |
Correct |
1061 ms |
924588 KB |
Output is correct |
28 |
Correct |
210 ms |
176960 KB |
Output is correct |
29 |
Correct |
1134 ms |
978196 KB |
Output is correct |
30 |
Correct |
548 ms |
398256 KB |
Output is correct |
31 |
Correct |
971 ms |
856012 KB |
Output is correct |
32 |
Correct |
798 ms |
674300 KB |
Output is correct |
33 |
Correct |
827 ms |
592288 KB |
Output is correct |
34 |
Correct |
231 ms |
186316 KB |
Output is correct |
35 |
Correct |
866 ms |
677652 KB |
Output is correct |
36 |
Correct |
822 ms |
651272 KB |
Output is correct |
37 |
Correct |
784 ms |
686948 KB |
Output is correct |
38 |
Correct |
842 ms |
737496 KB |
Output is correct |
39 |
Correct |
703 ms |
578348 KB |
Output is correct |
40 |
Correct |
228 ms |
184140 KB |
Output is correct |
41 |
Correct |
220 ms |
182232 KB |
Output is correct |
42 |
Correct |
373 ms |
283716 KB |
Output is correct |
43 |
Correct |
94 ms |
74576 KB |
Output is correct |
44 |
Correct |
137 ms |
111388 KB |
Output is correct |
45 |
Correct |
965 ms |
750748 KB |
Output is correct |
46 |
Correct |
1114 ms |
953416 KB |
Output is correct |
47 |
Correct |
1105 ms |
924708 KB |
Output is correct |
48 |
Correct |
209 ms |
176844 KB |
Output is correct |
49 |
Correct |
1191 ms |
978152 KB |
Output is correct |
50 |
Correct |
481 ms |
398252 KB |
Output is correct |
51 |
Correct |
966 ms |
856040 KB |
Output is correct |
52 |
Correct |
774 ms |
674260 KB |
Output is correct |
53 |
Correct |
753 ms |
592432 KB |
Output is correct |
54 |
Correct |
208 ms |
186328 KB |
Output is correct |
55 |
Correct |
848 ms |
677708 KB |
Output is correct |
56 |
Correct |
794 ms |
651248 KB |
Output is correct |
57 |
Correct |
813 ms |
687008 KB |
Output is correct |
58 |
Correct |
973 ms |
737464 KB |
Output is correct |
59 |
Correct |
808 ms |
578436 KB |
Output is correct |
60 |
Correct |
257 ms |
184076 KB |
Output is correct |
61 |
Correct |
224 ms |
182224 KB |
Output is correct |
62 |
Correct |
341 ms |
283528 KB |
Output is correct |
63 |
Correct |
98 ms |
74528 KB |
Output is correct |
64 |
Correct |
164 ms |
111344 KB |
Output is correct |
65 |
Correct |
1014 ms |
750728 KB |
Output is correct |
66 |
Correct |
1384 ms |
953464 KB |
Output is correct |
67 |
Correct |
1253 ms |
924636 KB |
Output is correct |
68 |
Correct |
250 ms |
176852 KB |
Output is correct |
69 |
Correct |
1234 ms |
978124 KB |
Output is correct |
70 |
Correct |
585 ms |
398272 KB |
Output is correct |
71 |
Correct |
1020 ms |
856016 KB |
Output is correct |
72 |
Correct |
771 ms |
674348 KB |
Output is correct |
73 |
Correct |
733 ms |
592336 KB |
Output is correct |
74 |
Correct |
227 ms |
186332 KB |
Output is correct |
75 |
Correct |
776 ms |
677752 KB |
Output is correct |
76 |
Correct |
771 ms |
651308 KB |
Output is correct |
77 |
Correct |
867 ms |
687096 KB |
Output is correct |
78 |
Correct |
911 ms |
737520 KB |
Output is correct |
79 |
Correct |
737 ms |
578424 KB |
Output is correct |
80 |
Correct |
245 ms |
184076 KB |
Output is correct |
81 |
Correct |
246 ms |
182220 KB |
Output is correct |
82 |
Correct |
346 ms |
283636 KB |
Output is correct |
83 |
Correct |
90 ms |
74584 KB |
Output is correct |
84 |
Correct |
128 ms |
111388 KB |
Output is correct |
85 |
Correct |
874 ms |
750888 KB |
Output is correct |
86 |
Correct |
1101 ms |
953472 KB |
Output is correct |
87 |
Correct |
1026 ms |
924616 KB |
Output is correct |
88 |
Correct |
220 ms |
176852 KB |
Output is correct |
89 |
Correct |
1115 ms |
978204 KB |
Output is correct |
90 |
Correct |
524 ms |
398256 KB |
Output is correct |
91 |
Correct |
1010 ms |
856068 KB |
Output is correct |
92 |
Correct |
853 ms |
674260 KB |
Output is correct |
93 |
Correct |
803 ms |
592372 KB |
Output is correct |
94 |
Correct |
203 ms |
186336 KB |
Output is correct |
95 |
Correct |
807 ms |
677764 KB |
Output is correct |
96 |
Correct |
750 ms |
651212 KB |
Output is correct |
97 |
Correct |
802 ms |
687096 KB |
Output is correct |
98 |
Correct |
856 ms |
737492 KB |
Output is correct |
99 |
Correct |
760 ms |
578540 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
1276 ms |
2097152 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
986 ms |
2097152 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
2004 KB |
Output is correct |
2 |
Correct |
9 ms |
8532 KB |
Output is correct |
3 |
Correct |
10 ms |
8916 KB |
Output is correct |
4 |
Correct |
15 ms |
12088 KB |
Output is correct |
5 |
Correct |
11 ms |
9556 KB |
Output is correct |
6 |
Correct |
8 ms |
7764 KB |
Output is correct |
7 |
Correct |
11 ms |
10580 KB |
Output is correct |
8 |
Correct |
7 ms |
7636 KB |
Output is correct |
9 |
Correct |
13 ms |
9812 KB |
Output is correct |
10 |
Correct |
16 ms |
11604 KB |
Output is correct |
11 |
Correct |
2 ms |
1364 KB |
Output is correct |
12 |
Correct |
3 ms |
2004 KB |
Output is correct |
13 |
Correct |
9 ms |
8532 KB |
Output is correct |
14 |
Correct |
12 ms |
8916 KB |
Output is correct |
15 |
Correct |
16 ms |
11988 KB |
Output is correct |
16 |
Correct |
12 ms |
9484 KB |
Output is correct |
17 |
Correct |
8 ms |
7764 KB |
Output is correct |
18 |
Correct |
12 ms |
10660 KB |
Output is correct |
19 |
Correct |
9 ms |
7636 KB |
Output is correct |
20 |
Correct |
15 ms |
9800 KB |
Output is correct |
21 |
Correct |
2 ms |
2132 KB |
Output is correct |
22 |
Correct |
15 ms |
11644 KB |
Output is correct |
23 |
Correct |
3 ms |
2132 KB |
Output is correct |
24 |
Correct |
1 ms |
212 KB |
Output is correct |
25 |
Correct |
2 ms |
1620 KB |
Output is correct |
26 |
Correct |
2 ms |
1492 KB |
Output is correct |
27 |
Correct |
1 ms |
980 KB |
Output is correct |
28 |
Correct |
2 ms |
2004 KB |
Output is correct |
29 |
Correct |
2 ms |
1748 KB |
Output is correct |
30 |
Correct |
3 ms |
2004 KB |
Output is correct |
31 |
Correct |
2 ms |
1620 KB |
Output is correct |
32 |
Correct |
0 ms |
212 KB |
Output is correct |
33 |
Correct |
2 ms |
1620 KB |
Output is correct |
34 |
Correct |
2 ms |
1492 KB |
Output is correct |
35 |
Correct |
2 ms |
980 KB |
Output is correct |
36 |
Correct |
2 ms |
2004 KB |
Output is correct |
37 |
Correct |
2 ms |
1876 KB |
Output is correct |
38 |
Correct |
3 ms |
2004 KB |
Output is correct |
39 |
Correct |
4 ms |
1608 KB |
Output is correct |
40 |
Correct |
2 ms |
1364 KB |
Output is correct |
41 |
Correct |
5 ms |
2132 KB |
Output is correct |
42 |
Correct |
9 ms |
8532 KB |
Output is correct |
43 |
Correct |
11 ms |
8916 KB |
Output is correct |
44 |
Correct |
15 ms |
11988 KB |
Output is correct |
45 |
Correct |
14 ms |
9580 KB |
Output is correct |
46 |
Correct |
9 ms |
7856 KB |
Output is correct |
47 |
Correct |
11 ms |
10564 KB |
Output is correct |
48 |
Correct |
8 ms |
7636 KB |
Output is correct |
49 |
Correct |
13 ms |
9812 KB |
Output is correct |
50 |
Correct |
16 ms |
11604 KB |
Output is correct |
51 |
Correct |
3 ms |
2132 KB |
Output is correct |
52 |
Correct |
0 ms |
212 KB |
Output is correct |
53 |
Correct |
3 ms |
1620 KB |
Output is correct |
54 |
Correct |
2 ms |
1492 KB |
Output is correct |
55 |
Correct |
1 ms |
980 KB |
Output is correct |
56 |
Correct |
2 ms |
2004 KB |
Output is correct |
57 |
Correct |
2 ms |
1748 KB |
Output is correct |
58 |
Correct |
2 ms |
2004 KB |
Output is correct |
59 |
Correct |
2 ms |
1620 KB |
Output is correct |
60 |
Correct |
3 ms |
1364 KB |
Output is correct |
61 |
Correct |
3 ms |
2004 KB |
Output is correct |
62 |
Correct |
9 ms |
8532 KB |
Output is correct |
63 |
Correct |
9 ms |
8916 KB |
Output is correct |
64 |
Correct |
19 ms |
11988 KB |
Output is correct |
65 |
Correct |
11 ms |
9556 KB |
Output is correct |
66 |
Correct |
11 ms |
7764 KB |
Output is correct |
67 |
Correct |
14 ms |
10580 KB |
Output is correct |
68 |
Correct |
8 ms |
7724 KB |
Output is correct |
69 |
Correct |
13 ms |
9812 KB |
Output is correct |
70 |
Correct |
18 ms |
11604 KB |
Output is correct |
71 |
Correct |
3 ms |
2132 KB |
Output is correct |
72 |
Correct |
0 ms |
212 KB |
Output is correct |
73 |
Correct |
2 ms |
1620 KB |
Output is correct |
74 |
Correct |
2 ms |
1492 KB |
Output is correct |
75 |
Correct |
1 ms |
980 KB |
Output is correct |
76 |
Correct |
2 ms |
2004 KB |
Output is correct |
77 |
Correct |
2 ms |
1748 KB |
Output is correct |
78 |
Correct |
4 ms |
2004 KB |
Output is correct |
79 |
Correct |
2 ms |
1604 KB |
Output is correct |
80 |
Correct |
3 ms |
1364 KB |
Output is correct |
81 |
Correct |
3 ms |
2004 KB |
Output is correct |
82 |
Correct |
10 ms |
8532 KB |
Output is correct |
83 |
Correct |
9 ms |
8892 KB |
Output is correct |
84 |
Correct |
21 ms |
11988 KB |
Output is correct |
85 |
Correct |
13 ms |
9584 KB |
Output is correct |
86 |
Correct |
8 ms |
7764 KB |
Output is correct |
87 |
Correct |
11 ms |
10580 KB |
Output is correct |
88 |
Correct |
7 ms |
7636 KB |
Output is correct |
89 |
Correct |
12 ms |
9812 KB |
Output is correct |
90 |
Correct |
14 ms |
11604 KB |
Output is correct |
91 |
Correct |
3 ms |
2132 KB |
Output is correct |
92 |
Correct |
0 ms |
212 KB |
Output is correct |
93 |
Correct |
2 ms |
1620 KB |
Output is correct |
94 |
Correct |
2 ms |
1492 KB |
Output is correct |
95 |
Correct |
1 ms |
980 KB |
Output is correct |
96 |
Correct |
3 ms |
2004 KB |
Output is correct |
97 |
Correct |
2 ms |
1748 KB |
Output is correct |
98 |
Correct |
4 ms |
2004 KB |
Output is correct |
99 |
Correct |
2 ms |
1492 KB |
Output is correct |
100 |
Correct |
2 ms |
1364 KB |
Output is correct |
101 |
Correct |
3 ms |
2004 KB |
Output is correct |
102 |
Correct |
10 ms |
8532 KB |
Output is correct |
103 |
Correct |
10 ms |
8916 KB |
Output is correct |
104 |
Correct |
19 ms |
12092 KB |
Output is correct |
105 |
Correct |
16 ms |
9556 KB |
Output is correct |
106 |
Correct |
8 ms |
7764 KB |
Output is correct |
107 |
Correct |
15 ms |
10656 KB |
Output is correct |
108 |
Correct |
8 ms |
7724 KB |
Output is correct |
109 |
Correct |
11 ms |
9812 KB |
Output is correct |
110 |
Correct |
16 ms |
11604 KB |
Output is correct |
111 |
Correct |
4 ms |
2132 KB |
Output is correct |
112 |
Correct |
0 ms |
212 KB |
Output is correct |
113 |
Correct |
3 ms |
1620 KB |
Output is correct |
114 |
Correct |
2 ms |
1492 KB |
Output is correct |
115 |
Correct |
2 ms |
980 KB |
Output is correct |
116 |
Correct |
4 ms |
2004 KB |
Output is correct |
117 |
Correct |
2 ms |
1748 KB |
Output is correct |
118 |
Correct |
2 ms |
2004 KB |
Output is correct |
119 |
Correct |
2 ms |
1620 KB |
Output is correct |
120 |
Correct |
13 ms |
9560 KB |
Output is correct |
121 |
Correct |
200 ms |
150588 KB |
Output is correct |
122 |
Correct |
207 ms |
158236 KB |
Output is correct |
123 |
Correct |
203 ms |
141048 KB |
Output is correct |
124 |
Correct |
255 ms |
156652 KB |
Output is correct |
125 |
Correct |
183 ms |
152780 KB |
Output is correct |
126 |
Correct |
208 ms |
174972 KB |
Output is correct |
127 |
Correct |
195 ms |
148356 KB |
Output is correct |
128 |
Correct |
277 ms |
191612 KB |
Output is correct |
129 |
Correct |
229 ms |
145416 KB |
Output is correct |
130 |
Correct |
9 ms |
7508 KB |
Output is correct |
131 |
Correct |
1 ms |
256 KB |
Output is correct |
132 |
Correct |
14 ms |
10708 KB |
Output is correct |
133 |
Correct |
2 ms |
1364 KB |
Output is correct |
134 |
Correct |
13 ms |
6740 KB |
Output is correct |
135 |
Correct |
32 ms |
19608 KB |
Output is correct |
136 |
Correct |
26 ms |
20564 KB |
Output is correct |
137 |
Correct |
17 ms |
13268 KB |
Output is correct |
138 |
Correct |
39 ms |
22224 KB |
Output is correct |
139 |
Correct |
15 ms |
9948 KB |
Output is correct |
140 |
Correct |
13 ms |
9556 KB |
Output is correct |
141 |
Correct |
179 ms |
150712 KB |
Output is correct |
142 |
Correct |
209 ms |
158356 KB |
Output is correct |
143 |
Correct |
213 ms |
141052 KB |
Output is correct |
144 |
Correct |
259 ms |
156564 KB |
Output is correct |
145 |
Correct |
203 ms |
152868 KB |
Output is correct |
146 |
Correct |
224 ms |
174908 KB |
Output is correct |
147 |
Correct |
204 ms |
148396 KB |
Output is correct |
148 |
Correct |
315 ms |
191680 KB |
Output is correct |
149 |
Correct |
257 ms |
145408 KB |
Output is correct |
150 |
Correct |
12 ms |
7508 KB |
Output is correct |
151 |
Correct |
1 ms |
212 KB |
Output is correct |
152 |
Correct |
14 ms |
10708 KB |
Output is correct |
153 |
Correct |
2 ms |
1492 KB |
Output is correct |
154 |
Correct |
15 ms |
6696 KB |
Output is correct |
155 |
Correct |
25 ms |
19572 KB |
Output is correct |
156 |
Correct |
35 ms |
20508 KB |
Output is correct |
157 |
Correct |
22 ms |
13396 KB |
Output is correct |
158 |
Correct |
40 ms |
22280 KB |
Output is correct |
159 |
Correct |
17 ms |
9956 KB |
Output is correct |
160 |
Correct |
15 ms |
9556 KB |
Output is correct |
161 |
Correct |
228 ms |
150588 KB |
Output is correct |
162 |
Correct |
223 ms |
158348 KB |
Output is correct |
163 |
Correct |
236 ms |
141016 KB |
Output is correct |
164 |
Correct |
269 ms |
156540 KB |
Output is correct |
165 |
Correct |
211 ms |
152904 KB |
Output is correct |
166 |
Correct |
263 ms |
174828 KB |
Output is correct |
167 |
Correct |
194 ms |
148468 KB |
Output is correct |
168 |
Correct |
343 ms |
191676 KB |
Output is correct |
169 |
Correct |
240 ms |
145412 KB |
Output is correct |
170 |
Correct |
11 ms |
7520 KB |
Output is correct |
171 |
Correct |
1 ms |
212 KB |
Output is correct |
172 |
Correct |
15 ms |
10708 KB |
Output is correct |
173 |
Correct |
2 ms |
1364 KB |
Output is correct |
174 |
Correct |
11 ms |
6808 KB |
Output is correct |
175 |
Correct |
26 ms |
19632 KB |
Output is correct |
176 |
Correct |
32 ms |
20596 KB |
Output is correct |
177 |
Correct |
26 ms |
13328 KB |
Output is correct |
178 |
Correct |
37 ms |
22188 KB |
Output is correct |
179 |
Correct |
22 ms |
9904 KB |
Output is correct |
180 |
Correct |
16 ms |
9572 KB |
Output is correct |
181 |
Correct |
193 ms |
150588 KB |
Output is correct |
182 |
Correct |
252 ms |
158352 KB |
Output is correct |
183 |
Correct |
248 ms |
141044 KB |
Output is correct |
184 |
Correct |
236 ms |
156552 KB |
Output is correct |
185 |
Correct |
197 ms |
152928 KB |
Output is correct |
186 |
Correct |
238 ms |
174928 KB |
Output is correct |
187 |
Correct |
184 ms |
148468 KB |
Output is correct |
188 |
Correct |
290 ms |
191556 KB |
Output is correct |
189 |
Correct |
230 ms |
145412 KB |
Output is correct |
190 |
Correct |
9 ms |
7508 KB |
Output is correct |
191 |
Correct |
1 ms |
300 KB |
Output is correct |
192 |
Correct |
13 ms |
10712 KB |
Output is correct |
193 |
Correct |
2 ms |
1492 KB |
Output is correct |
194 |
Correct |
10 ms |
6740 KB |
Output is correct |
195 |
Correct |
27 ms |
19560 KB |
Output is correct |
196 |
Correct |
27 ms |
20588 KB |
Output is correct |
197 |
Correct |
17 ms |
13268 KB |
Output is correct |
198 |
Correct |
37 ms |
22188 KB |
Output is correct |
199 |
Correct |
23 ms |
9900 KB |
Output is correct |
200 |
Correct |
13 ms |
9524 KB |
Output is correct |
201 |
Correct |
196 ms |
150584 KB |
Output is correct |
202 |
Correct |
200 ms |
158316 KB |
Output is correct |
203 |
Correct |
205 ms |
141044 KB |
Output is correct |
204 |
Correct |
241 ms |
156660 KB |
Output is correct |
205 |
Correct |
178 ms |
152780 KB |
Output is correct |
206 |
Correct |
194 ms |
174948 KB |
Output is correct |
207 |
Correct |
178 ms |
148468 KB |
Output is correct |
208 |
Correct |
279 ms |
191680 KB |
Output is correct |
209 |
Correct |
225 ms |
145408 KB |
Output is correct |
210 |
Correct |
9 ms |
7508 KB |
Output is correct |
211 |
Correct |
1 ms |
212 KB |
Output is correct |
212 |
Correct |
13 ms |
10792 KB |
Output is correct |
213 |
Correct |
2 ms |
1364 KB |
Output is correct |
214 |
Correct |
11 ms |
6696 KB |
Output is correct |
215 |
Correct |
24 ms |
19540 KB |
Output is correct |
216 |
Correct |
25 ms |
20564 KB |
Output is correct |
217 |
Correct |
16 ms |
13268 KB |
Output is correct |
218 |
Correct |
39 ms |
22356 KB |
Output is correct |
219 |
Correct |
221 ms |
182220 KB |
Output is correct |
220 |
Correct |
351 ms |
283596 KB |
Output is correct |
221 |
Correct |
94 ms |
74572 KB |
Output is correct |
222 |
Correct |
147 ms |
111388 KB |
Output is correct |
223 |
Correct |
965 ms |
750744 KB |
Output is correct |
224 |
Correct |
1189 ms |
953416 KB |
Output is correct |
225 |
Correct |
1092 ms |
924596 KB |
Output is correct |
226 |
Correct |
219 ms |
176772 KB |
Output is correct |
227 |
Correct |
1164 ms |
978140 KB |
Output is correct |
228 |
Correct |
619 ms |
398256 KB |
Output is correct |
229 |
Correct |
982 ms |
856084 KB |
Output is correct |
230 |
Correct |
814 ms |
674324 KB |
Output is correct |
231 |
Correct |
764 ms |
592408 KB |
Output is correct |
232 |
Correct |
235 ms |
186316 KB |
Output is correct |
233 |
Correct |
760 ms |
677688 KB |
Output is correct |
234 |
Correct |
745 ms |
651200 KB |
Output is correct |
235 |
Correct |
815 ms |
686924 KB |
Output is correct |
236 |
Correct |
844 ms |
737516 KB |
Output is correct |
237 |
Correct |
723 ms |
578388 KB |
Output is correct |
238 |
Correct |
219 ms |
184132 KB |
Output is correct |
239 |
Correct |
207 ms |
182148 KB |
Output is correct |
240 |
Correct |
327 ms |
283596 KB |
Output is correct |
241 |
Correct |
86 ms |
74568 KB |
Output is correct |
242 |
Correct |
127 ms |
111388 KB |
Output is correct |
243 |
Correct |
855 ms |
750740 KB |
Output is correct |
244 |
Correct |
1087 ms |
953452 KB |
Output is correct |
245 |
Correct |
1061 ms |
924588 KB |
Output is correct |
246 |
Correct |
210 ms |
176960 KB |
Output is correct |
247 |
Correct |
1134 ms |
978196 KB |
Output is correct |
248 |
Correct |
548 ms |
398256 KB |
Output is correct |
249 |
Correct |
971 ms |
856012 KB |
Output is correct |
250 |
Correct |
798 ms |
674300 KB |
Output is correct |
251 |
Correct |
827 ms |
592288 KB |
Output is correct |
252 |
Correct |
231 ms |
186316 KB |
Output is correct |
253 |
Correct |
866 ms |
677652 KB |
Output is correct |
254 |
Correct |
822 ms |
651272 KB |
Output is correct |
255 |
Correct |
784 ms |
686948 KB |
Output is correct |
256 |
Correct |
842 ms |
737496 KB |
Output is correct |
257 |
Correct |
703 ms |
578348 KB |
Output is correct |
258 |
Correct |
228 ms |
184140 KB |
Output is correct |
259 |
Correct |
220 ms |
182232 KB |
Output is correct |
260 |
Correct |
373 ms |
283716 KB |
Output is correct |
261 |
Correct |
94 ms |
74576 KB |
Output is correct |
262 |
Correct |
137 ms |
111388 KB |
Output is correct |
263 |
Correct |
965 ms |
750748 KB |
Output is correct |
264 |
Correct |
1114 ms |
953416 KB |
Output is correct |
265 |
Correct |
1105 ms |
924708 KB |
Output is correct |
266 |
Correct |
209 ms |
176844 KB |
Output is correct |
267 |
Correct |
1191 ms |
978152 KB |
Output is correct |
268 |
Correct |
481 ms |
398252 KB |
Output is correct |
269 |
Correct |
966 ms |
856040 KB |
Output is correct |
270 |
Correct |
774 ms |
674260 KB |
Output is correct |
271 |
Correct |
753 ms |
592432 KB |
Output is correct |
272 |
Correct |
208 ms |
186328 KB |
Output is correct |
273 |
Correct |
848 ms |
677708 KB |
Output is correct |
274 |
Correct |
794 ms |
651248 KB |
Output is correct |
275 |
Correct |
813 ms |
687008 KB |
Output is correct |
276 |
Correct |
973 ms |
737464 KB |
Output is correct |
277 |
Correct |
808 ms |
578436 KB |
Output is correct |
278 |
Correct |
257 ms |
184076 KB |
Output is correct |
279 |
Correct |
224 ms |
182224 KB |
Output is correct |
280 |
Correct |
341 ms |
283528 KB |
Output is correct |
281 |
Correct |
98 ms |
74528 KB |
Output is correct |
282 |
Correct |
164 ms |
111344 KB |
Output is correct |
283 |
Correct |
1014 ms |
750728 KB |
Output is correct |
284 |
Correct |
1384 ms |
953464 KB |
Output is correct |
285 |
Correct |
1253 ms |
924636 KB |
Output is correct |
286 |
Correct |
250 ms |
176852 KB |
Output is correct |
287 |
Correct |
1234 ms |
978124 KB |
Output is correct |
288 |
Correct |
585 ms |
398272 KB |
Output is correct |
289 |
Correct |
1020 ms |
856016 KB |
Output is correct |
290 |
Correct |
771 ms |
674348 KB |
Output is correct |
291 |
Correct |
733 ms |
592336 KB |
Output is correct |
292 |
Correct |
227 ms |
186332 KB |
Output is correct |
293 |
Correct |
776 ms |
677752 KB |
Output is correct |
294 |
Correct |
771 ms |
651308 KB |
Output is correct |
295 |
Correct |
867 ms |
687096 KB |
Output is correct |
296 |
Correct |
911 ms |
737520 KB |
Output is correct |
297 |
Correct |
737 ms |
578424 KB |
Output is correct |
298 |
Correct |
245 ms |
184076 KB |
Output is correct |
299 |
Correct |
246 ms |
182220 KB |
Output is correct |
300 |
Correct |
346 ms |
283636 KB |
Output is correct |
301 |
Correct |
90 ms |
74584 KB |
Output is correct |
302 |
Correct |
128 ms |
111388 KB |
Output is correct |
303 |
Correct |
874 ms |
750888 KB |
Output is correct |
304 |
Correct |
1101 ms |
953472 KB |
Output is correct |
305 |
Correct |
1026 ms |
924616 KB |
Output is correct |
306 |
Correct |
220 ms |
176852 KB |
Output is correct |
307 |
Correct |
1115 ms |
978204 KB |
Output is correct |
308 |
Correct |
524 ms |
398256 KB |
Output is correct |
309 |
Correct |
1010 ms |
856068 KB |
Output is correct |
310 |
Correct |
853 ms |
674260 KB |
Output is correct |
311 |
Correct |
803 ms |
592372 KB |
Output is correct |
312 |
Correct |
203 ms |
186336 KB |
Output is correct |
313 |
Correct |
807 ms |
677764 KB |
Output is correct |
314 |
Correct |
750 ms |
651212 KB |
Output is correct |
315 |
Correct |
802 ms |
687096 KB |
Output is correct |
316 |
Correct |
856 ms |
737492 KB |
Output is correct |
317 |
Correct |
760 ms |
578540 KB |
Output is correct |
318 |
Runtime error |
1276 ms |
2097152 KB |
Execution killed with signal 9 |
319 |
Halted |
0 ms |
0 KB |
- |