Submission #561564

# Submission time Handle Problem Language Result Execution time Memory
561564 2022-05-13T07:21:50 Z PiejanVDC Jelly Flavours (IOI20_jelly) C++17
35 / 100
1002 ms 203824 KB
#include <bits/stdc++.h>
#include "jelly.h"
using namespace std;

#define f first
#define s second

vector<pair<int,int>>v;
int N;

int dp[200][501][501];
bool ok[200][501][501];

int dfs(int i, int x, int y) {
    if(i == N)
        return 0;
    if(ok[i][x][y])
        return dp[i][x][y];
    int ret = 0;
    if(x >= v[i].f)
        ret = max(ret, 1 + dfs(i+1, x - v[i].f, y));
    if(y >= v[i].s)
        ret = max(ret, 1 + dfs(i+1, x, y - v[i].s));
    ret = max(ret, dfs(i+1,x,y));
    ok[i][x][y] = 1;
    return dp[i][x][y] = ret;
}

int find_maximum_unique(int x, int y, vector<int>a, vector<int>b) {
    N = (int)a.size();
    v.resize(N);
    for(int i = 0 ; i < N ; i++)
        v[i].f = a[i], v[i].s = b[i];
    return dfs(0, x, y);
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 1364 KB Output is correct
2 Correct 1 ms 1108 KB Output is correct
3 Correct 1 ms 980 KB Output is correct
4 Correct 4 ms 5284 KB Output is correct
5 Correct 2 ms 2516 KB Output is correct
6 Correct 1 ms 980 KB Output is correct
7 Correct 1 ms 1620 KB Output is correct
8 Correct 1 ms 724 KB Output is correct
9 Correct 3 ms 3412 KB Output is correct
10 Correct 4 ms 5204 KB Output is correct
11 Correct 1 ms 1492 KB Output is correct
12 Correct 1 ms 1364 KB Output is correct
13 Correct 1 ms 1108 KB Output is correct
14 Correct 1 ms 980 KB Output is correct
15 Correct 5 ms 5332 KB Output is correct
16 Correct 2 ms 2516 KB Output is correct
17 Correct 1 ms 980 KB Output is correct
18 Correct 1 ms 1620 KB Output is correct
19 Correct 1 ms 724 KB Output is correct
20 Correct 2 ms 3412 KB Output is correct
21 Correct 1 ms 1108 KB Output is correct
22 Correct 4 ms 5204 KB Output is correct
23 Correct 1 ms 1108 KB Output is correct
24 Correct 1 ms 340 KB Output is correct
25 Correct 1 ms 980 KB Output is correct
26 Correct 1 ms 852 KB Output is correct
27 Correct 1 ms 596 KB Output is correct
28 Correct 1 ms 1236 KB Output is correct
29 Correct 1 ms 1492 KB Output is correct
30 Correct 1 ms 724 KB Output is correct
31 Correct 3 ms 4308 KB Output is correct
32 Correct 0 ms 340 KB Output is correct
33 Correct 1 ms 980 KB Output is correct
34 Correct 1 ms 852 KB Output is correct
35 Correct 1 ms 596 KB Output is correct
36 Correct 1 ms 1236 KB Output is correct
37 Correct 1 ms 1492 KB Output is correct
38 Correct 1 ms 596 KB Output is correct
39 Correct 3 ms 4308 KB Output is correct
40 Correct 1 ms 1492 KB Output is correct
41 Correct 1 ms 1364 KB Output is correct
42 Correct 1 ms 1108 KB Output is correct
43 Correct 1 ms 980 KB Output is correct
44 Correct 4 ms 5332 KB Output is correct
45 Correct 2 ms 2516 KB Output is correct
46 Correct 1 ms 980 KB Output is correct
47 Correct 1 ms 1620 KB Output is correct
48 Correct 1 ms 724 KB Output is correct
49 Correct 2 ms 3412 KB Output is correct
50 Correct 4 ms 5204 KB Output is correct
51 Correct 1 ms 1108 KB Output is correct
52 Correct 1 ms 340 KB Output is correct
53 Correct 1 ms 980 KB Output is correct
54 Correct 1 ms 852 KB Output is correct
55 Correct 1 ms 596 KB Output is correct
56 Correct 1 ms 1236 KB Output is correct
57 Correct 1 ms 1492 KB Output is correct
58 Correct 1 ms 724 KB Output is correct
59 Correct 3 ms 4308 KB Output is correct
60 Correct 1 ms 1492 KB Output is correct
61 Correct 1 ms 1364 KB Output is correct
62 Correct 1 ms 1108 KB Output is correct
63 Correct 1 ms 980 KB Output is correct
64 Correct 6 ms 5264 KB Output is correct
65 Correct 2 ms 2516 KB Output is correct
66 Correct 1 ms 980 KB Output is correct
67 Correct 1 ms 1620 KB Output is correct
68 Correct 1 ms 724 KB Output is correct
69 Correct 2 ms 3412 KB Output is correct
70 Correct 4 ms 5204 KB Output is correct
71 Correct 1 ms 1108 KB Output is correct
72 Correct 0 ms 340 KB Output is correct
73 Correct 1 ms 980 KB Output is correct
74 Correct 1 ms 852 KB Output is correct
75 Correct 1 ms 596 KB Output is correct
76 Correct 1 ms 1236 KB Output is correct
77 Correct 1 ms 1492 KB Output is correct
78 Correct 1 ms 596 KB Output is correct
79 Correct 3 ms 4308 KB Output is correct
80 Correct 1 ms 1492 KB Output is correct
81 Correct 1 ms 1364 KB Output is correct
82 Correct 1 ms 1108 KB Output is correct
83 Correct 1 ms 980 KB Output is correct
84 Correct 5 ms 5332 KB Output is correct
85 Correct 2 ms 2516 KB Output is correct
86 Correct 1 ms 1076 KB Output is correct
87 Correct 1 ms 1620 KB Output is correct
88 Correct 1 ms 724 KB Output is correct
89 Correct 2 ms 3412 KB Output is correct
90 Correct 4 ms 5236 KB Output is correct
91 Correct 1 ms 1108 KB Output is correct
92 Correct 0 ms 340 KB Output is correct
93 Correct 1 ms 980 KB Output is correct
94 Correct 1 ms 852 KB Output is correct
95 Correct 1 ms 596 KB Output is correct
96 Correct 1 ms 1236 KB Output is correct
97 Correct 1 ms 1492 KB Output is correct
98 Correct 1 ms 724 KB Output is correct
99 Correct 3 ms 4308 KB Output is correct
100 Correct 1 ms 1492 KB Output is correct
101 Correct 1 ms 1364 KB Output is correct
102 Correct 1 ms 1108 KB Output is correct
103 Correct 1 ms 980 KB Output is correct
104 Correct 4 ms 5332 KB Output is correct
105 Correct 1 ms 2516 KB Output is correct
106 Correct 1 ms 980 KB Output is correct
107 Correct 1 ms 1620 KB Output is correct
108 Correct 1 ms 724 KB Output is correct
109 Correct 2 ms 3412 KB Output is correct
110 Correct 4 ms 5204 KB Output is correct
111 Correct 1 ms 1108 KB Output is correct
112 Correct 1 ms 340 KB Output is correct
113 Correct 1 ms 980 KB Output is correct
114 Correct 1 ms 852 KB Output is correct
115 Correct 1 ms 596 KB Output is correct
116 Correct 1 ms 1236 KB Output is correct
117 Correct 1 ms 1524 KB Output is correct
118 Correct 1 ms 724 KB Output is correct
119 Correct 2 ms 4308 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 1364 KB Output is correct
2 Correct 1 ms 1108 KB Output is correct
3 Correct 1 ms 980 KB Output is correct
4 Correct 4 ms 5284 KB Output is correct
5 Correct 2 ms 2516 KB Output is correct
6 Correct 1 ms 980 KB Output is correct
7 Correct 1 ms 1620 KB Output is correct
8 Correct 1 ms 724 KB Output is correct
9 Correct 3 ms 3412 KB Output is correct
10 Correct 4 ms 5204 KB Output is correct
11 Correct 1 ms 1492 KB Output is correct
12 Correct 1 ms 1364 KB Output is correct
13 Correct 1 ms 1108 KB Output is correct
14 Correct 1 ms 980 KB Output is correct
15 Correct 5 ms 5332 KB Output is correct
16 Correct 2 ms 2516 KB Output is correct
17 Correct 1 ms 980 KB Output is correct
18 Correct 1 ms 1620 KB Output is correct
19 Correct 1 ms 724 KB Output is correct
20 Correct 2 ms 3412 KB Output is correct
21 Correct 1 ms 1108 KB Output is correct
22 Correct 4 ms 5204 KB Output is correct
23 Correct 1 ms 1108 KB Output is correct
24 Correct 1 ms 340 KB Output is correct
25 Correct 1 ms 980 KB Output is correct
26 Correct 1 ms 852 KB Output is correct
27 Correct 1 ms 596 KB Output is correct
28 Correct 1 ms 1236 KB Output is correct
29 Correct 1 ms 1492 KB Output is correct
30 Correct 1 ms 724 KB Output is correct
31 Correct 3 ms 4308 KB Output is correct
32 Correct 0 ms 340 KB Output is correct
33 Correct 1 ms 980 KB Output is correct
34 Correct 1 ms 852 KB Output is correct
35 Correct 1 ms 596 KB Output is correct
36 Correct 1 ms 1236 KB Output is correct
37 Correct 1 ms 1492 KB Output is correct
38 Correct 1 ms 596 KB Output is correct
39 Correct 3 ms 4308 KB Output is correct
40 Correct 1 ms 1492 KB Output is correct
41 Correct 1 ms 1364 KB Output is correct
42 Correct 1 ms 1108 KB Output is correct
43 Correct 1 ms 980 KB Output is correct
44 Correct 4 ms 5332 KB Output is correct
45 Correct 2 ms 2516 KB Output is correct
46 Correct 1 ms 980 KB Output is correct
47 Correct 1 ms 1620 KB Output is correct
48 Correct 1 ms 724 KB Output is correct
49 Correct 2 ms 3412 KB Output is correct
50 Correct 4 ms 5204 KB Output is correct
51 Correct 1 ms 1108 KB Output is correct
52 Correct 1 ms 340 KB Output is correct
53 Correct 1 ms 980 KB Output is correct
54 Correct 1 ms 852 KB Output is correct
55 Correct 1 ms 596 KB Output is correct
56 Correct 1 ms 1236 KB Output is correct
57 Correct 1 ms 1492 KB Output is correct
58 Correct 1 ms 724 KB Output is correct
59 Correct 3 ms 4308 KB Output is correct
60 Correct 1 ms 1492 KB Output is correct
61 Correct 1 ms 1364 KB Output is correct
62 Correct 1 ms 1108 KB Output is correct
63 Correct 1 ms 980 KB Output is correct
64 Correct 6 ms 5264 KB Output is correct
65 Correct 2 ms 2516 KB Output is correct
66 Correct 1 ms 980 KB Output is correct
67 Correct 1 ms 1620 KB Output is correct
68 Correct 1 ms 724 KB Output is correct
69 Correct 2 ms 3412 KB Output is correct
70 Correct 4 ms 5204 KB Output is correct
71 Correct 1 ms 1108 KB Output is correct
72 Correct 0 ms 340 KB Output is correct
73 Correct 1 ms 980 KB Output is correct
74 Correct 1 ms 852 KB Output is correct
75 Correct 1 ms 596 KB Output is correct
76 Correct 1 ms 1236 KB Output is correct
77 Correct 1 ms 1492 KB Output is correct
78 Correct 1 ms 596 KB Output is correct
79 Correct 3 ms 4308 KB Output is correct
80 Correct 1 ms 1492 KB Output is correct
81 Correct 1 ms 1364 KB Output is correct
82 Correct 1 ms 1108 KB Output is correct
83 Correct 1 ms 980 KB Output is correct
84 Correct 5 ms 5332 KB Output is correct
85 Correct 2 ms 2516 KB Output is correct
86 Correct 1 ms 1076 KB Output is correct
87 Correct 1 ms 1620 KB Output is correct
88 Correct 1 ms 724 KB Output is correct
89 Correct 2 ms 3412 KB Output is correct
90 Correct 4 ms 5236 KB Output is correct
91 Correct 1 ms 1108 KB Output is correct
92 Correct 0 ms 340 KB Output is correct
93 Correct 1 ms 980 KB Output is correct
94 Correct 1 ms 852 KB Output is correct
95 Correct 1 ms 596 KB Output is correct
96 Correct 1 ms 1236 KB Output is correct
97 Correct 1 ms 1492 KB Output is correct
98 Correct 1 ms 724 KB Output is correct
99 Correct 3 ms 4308 KB Output is correct
100 Correct 1 ms 1492 KB Output is correct
101 Correct 1 ms 1364 KB Output is correct
102 Correct 1 ms 1108 KB Output is correct
103 Correct 1 ms 980 KB Output is correct
104 Correct 4 ms 5332 KB Output is correct
105 Correct 1 ms 2516 KB Output is correct
106 Correct 1 ms 980 KB Output is correct
107 Correct 1 ms 1620 KB Output is correct
108 Correct 1 ms 724 KB Output is correct
109 Correct 2 ms 3412 KB Output is correct
110 Correct 4 ms 5204 KB Output is correct
111 Correct 1 ms 1108 KB Output is correct
112 Correct 1 ms 340 KB Output is correct
113 Correct 1 ms 980 KB Output is correct
114 Correct 1 ms 852 KB Output is correct
115 Correct 1 ms 596 KB Output is correct
116 Correct 1 ms 1236 KB Output is correct
117 Correct 1 ms 1524 KB Output is correct
118 Correct 1 ms 724 KB Output is correct
119 Correct 2 ms 4308 KB Output is correct
120 Correct 134 ms 173680 KB Output is correct
121 Correct 1002 ms 203704 KB Output is correct
122 Correct 742 ms 182476 KB Output is correct
123 Correct 460 ms 151352 KB Output is correct
124 Correct 482 ms 152268 KB Output is correct
125 Correct 746 ms 183468 KB Output is correct
126 Correct 857 ms 202828 KB Output is correct
127 Correct 736 ms 191308 KB Output is correct
128 Correct 573 ms 170300 KB Output is correct
129 Correct 432 ms 150312 KB Output is correct
130 Correct 27 ms 11852 KB Output is correct
131 Correct 2 ms 2260 KB Output is correct
132 Correct 40 ms 14736 KB Output is correct
133 Correct 5 ms 3644 KB Output is correct
134 Correct 23 ms 10936 KB Output is correct
135 Correct 81 ms 29644 KB Output is correct
136 Correct 151 ms 189308 KB Output is correct
137 Correct 134 ms 177856 KB Output is correct
138 Correct 119 ms 157768 KB Output is correct
139 Correct 80 ms 147788 KB Output is correct
140 Correct 129 ms 173636 KB Output is correct
141 Correct 812 ms 203688 KB Output is correct
142 Correct 888 ms 182448 KB Output is correct
143 Correct 446 ms 151368 KB Output is correct
144 Correct 502 ms 152324 KB Output is correct
145 Correct 740 ms 183624 KB Output is correct
146 Correct 874 ms 202792 KB Output is correct
147 Correct 733 ms 191100 KB Output is correct
148 Correct 553 ms 170188 KB Output is correct
149 Correct 439 ms 150348 KB Output is correct
150 Correct 32 ms 11888 KB Output is correct
151 Correct 2 ms 2260 KB Output is correct
152 Correct 39 ms 14772 KB Output is correct
153 Correct 5 ms 3668 KB Output is correct
154 Correct 23 ms 10956 KB Output is correct
155 Correct 79 ms 29600 KB Output is correct
156 Correct 161 ms 189392 KB Output is correct
157 Correct 132 ms 177760 KB Output is correct
158 Correct 124 ms 157800 KB Output is correct
159 Correct 79 ms 147696 KB Output is correct
160 Correct 144 ms 173832 KB Output is correct
161 Correct 858 ms 203788 KB Output is correct
162 Correct 718 ms 182344 KB Output is correct
163 Correct 473 ms 151420 KB Output is correct
164 Correct 480 ms 152252 KB Output is correct
165 Correct 729 ms 183500 KB Output is correct
166 Correct 944 ms 202756 KB Output is correct
167 Correct 741 ms 191060 KB Output is correct
168 Correct 570 ms 170388 KB Output is correct
169 Correct 430 ms 150248 KB Output is correct
170 Correct 27 ms 11852 KB Output is correct
171 Correct 2 ms 2260 KB Output is correct
172 Correct 40 ms 14788 KB Output is correct
173 Correct 5 ms 3640 KB Output is correct
174 Correct 23 ms 10892 KB Output is correct
175 Correct 81 ms 29544 KB Output is correct
176 Correct 154 ms 189388 KB Output is correct
177 Correct 135 ms 177916 KB Output is correct
178 Correct 122 ms 157816 KB Output is correct
179 Correct 82 ms 147696 KB Output is correct
180 Correct 125 ms 173688 KB Output is correct
181 Correct 826 ms 203768 KB Output is correct
182 Correct 745 ms 182360 KB Output is correct
183 Correct 448 ms 151500 KB Output is correct
184 Correct 485 ms 152252 KB Output is correct
185 Correct 764 ms 183464 KB Output is correct
186 Correct 858 ms 202796 KB Output is correct
187 Correct 737 ms 191100 KB Output is correct
188 Correct 598 ms 170264 KB Output is correct
189 Correct 430 ms 150220 KB Output is correct
190 Correct 27 ms 11852 KB Output is correct
191 Correct 2 ms 2260 KB Output is correct
192 Correct 48 ms 14780 KB Output is correct
193 Correct 5 ms 3668 KB Output is correct
194 Correct 23 ms 10896 KB Output is correct
195 Correct 81 ms 29620 KB Output is correct
196 Correct 157 ms 189388 KB Output is correct
197 Correct 133 ms 177840 KB Output is correct
198 Correct 124 ms 157852 KB Output is correct
199 Correct 81 ms 147796 KB Output is correct
200 Correct 158 ms 173660 KB Output is correct
201 Correct 812 ms 203824 KB Output is correct
202 Correct 721 ms 182528 KB Output is correct
203 Correct 495 ms 151272 KB Output is correct
204 Correct 477 ms 152216 KB Output is correct
205 Correct 747 ms 183464 KB Output is correct
206 Correct 859 ms 202708 KB Output is correct
207 Correct 731 ms 191200 KB Output is correct
208 Correct 609 ms 170200 KB Output is correct
209 Correct 425 ms 150160 KB Output is correct
210 Correct 27 ms 11876 KB Output is correct
211 Correct 2 ms 2260 KB Output is correct
212 Correct 39 ms 14708 KB Output is correct
213 Correct 5 ms 3640 KB Output is correct
214 Correct 23 ms 10908 KB Output is correct
215 Correct 89 ms 29600 KB Output is correct
216 Correct 156 ms 189392 KB Output is correct
217 Correct 129 ms 177804 KB Output is correct
218 Correct 119 ms 157756 KB Output is correct
# Verdict Execution time Memory Grader output
1 Runtime error 7 ms 1132 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 7 ms 1124 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 7 ms 1188 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 1364 KB Output is correct
2 Correct 1 ms 1108 KB Output is correct
3 Correct 1 ms 980 KB Output is correct
4 Correct 4 ms 5284 KB Output is correct
5 Correct 2 ms 2516 KB Output is correct
6 Correct 1 ms 980 KB Output is correct
7 Correct 1 ms 1620 KB Output is correct
8 Correct 1 ms 724 KB Output is correct
9 Correct 3 ms 3412 KB Output is correct
10 Correct 4 ms 5204 KB Output is correct
11 Correct 1 ms 1492 KB Output is correct
12 Correct 1 ms 1364 KB Output is correct
13 Correct 1 ms 1108 KB Output is correct
14 Correct 1 ms 980 KB Output is correct
15 Correct 5 ms 5332 KB Output is correct
16 Correct 2 ms 2516 KB Output is correct
17 Correct 1 ms 980 KB Output is correct
18 Correct 1 ms 1620 KB Output is correct
19 Correct 1 ms 724 KB Output is correct
20 Correct 2 ms 3412 KB Output is correct
21 Correct 1 ms 1108 KB Output is correct
22 Correct 4 ms 5204 KB Output is correct
23 Correct 1 ms 1108 KB Output is correct
24 Correct 1 ms 340 KB Output is correct
25 Correct 1 ms 980 KB Output is correct
26 Correct 1 ms 852 KB Output is correct
27 Correct 1 ms 596 KB Output is correct
28 Correct 1 ms 1236 KB Output is correct
29 Correct 1 ms 1492 KB Output is correct
30 Correct 1 ms 724 KB Output is correct
31 Correct 3 ms 4308 KB Output is correct
32 Correct 0 ms 340 KB Output is correct
33 Correct 1 ms 980 KB Output is correct
34 Correct 1 ms 852 KB Output is correct
35 Correct 1 ms 596 KB Output is correct
36 Correct 1 ms 1236 KB Output is correct
37 Correct 1 ms 1492 KB Output is correct
38 Correct 1 ms 596 KB Output is correct
39 Correct 3 ms 4308 KB Output is correct
40 Correct 1 ms 1492 KB Output is correct
41 Correct 1 ms 1364 KB Output is correct
42 Correct 1 ms 1108 KB Output is correct
43 Correct 1 ms 980 KB Output is correct
44 Correct 4 ms 5332 KB Output is correct
45 Correct 2 ms 2516 KB Output is correct
46 Correct 1 ms 980 KB Output is correct
47 Correct 1 ms 1620 KB Output is correct
48 Correct 1 ms 724 KB Output is correct
49 Correct 2 ms 3412 KB Output is correct
50 Correct 4 ms 5204 KB Output is correct
51 Correct 1 ms 1108 KB Output is correct
52 Correct 1 ms 340 KB Output is correct
53 Correct 1 ms 980 KB Output is correct
54 Correct 1 ms 852 KB Output is correct
55 Correct 1 ms 596 KB Output is correct
56 Correct 1 ms 1236 KB Output is correct
57 Correct 1 ms 1492 KB Output is correct
58 Correct 1 ms 724 KB Output is correct
59 Correct 3 ms 4308 KB Output is correct
60 Correct 1 ms 1492 KB Output is correct
61 Correct 1 ms 1364 KB Output is correct
62 Correct 1 ms 1108 KB Output is correct
63 Correct 1 ms 980 KB Output is correct
64 Correct 6 ms 5264 KB Output is correct
65 Correct 2 ms 2516 KB Output is correct
66 Correct 1 ms 980 KB Output is correct
67 Correct 1 ms 1620 KB Output is correct
68 Correct 1 ms 724 KB Output is correct
69 Correct 2 ms 3412 KB Output is correct
70 Correct 4 ms 5204 KB Output is correct
71 Correct 1 ms 1108 KB Output is correct
72 Correct 0 ms 340 KB Output is correct
73 Correct 1 ms 980 KB Output is correct
74 Correct 1 ms 852 KB Output is correct
75 Correct 1 ms 596 KB Output is correct
76 Correct 1 ms 1236 KB Output is correct
77 Correct 1 ms 1492 KB Output is correct
78 Correct 1 ms 596 KB Output is correct
79 Correct 3 ms 4308 KB Output is correct
80 Correct 1 ms 1492 KB Output is correct
81 Correct 1 ms 1364 KB Output is correct
82 Correct 1 ms 1108 KB Output is correct
83 Correct 1 ms 980 KB Output is correct
84 Correct 5 ms 5332 KB Output is correct
85 Correct 2 ms 2516 KB Output is correct
86 Correct 1 ms 1076 KB Output is correct
87 Correct 1 ms 1620 KB Output is correct
88 Correct 1 ms 724 KB Output is correct
89 Correct 2 ms 3412 KB Output is correct
90 Correct 4 ms 5236 KB Output is correct
91 Correct 1 ms 1108 KB Output is correct
92 Correct 0 ms 340 KB Output is correct
93 Correct 1 ms 980 KB Output is correct
94 Correct 1 ms 852 KB Output is correct
95 Correct 1 ms 596 KB Output is correct
96 Correct 1 ms 1236 KB Output is correct
97 Correct 1 ms 1492 KB Output is correct
98 Correct 1 ms 724 KB Output is correct
99 Correct 3 ms 4308 KB Output is correct
100 Correct 1 ms 1492 KB Output is correct
101 Correct 1 ms 1364 KB Output is correct
102 Correct 1 ms 1108 KB Output is correct
103 Correct 1 ms 980 KB Output is correct
104 Correct 4 ms 5332 KB Output is correct
105 Correct 1 ms 2516 KB Output is correct
106 Correct 1 ms 980 KB Output is correct
107 Correct 1 ms 1620 KB Output is correct
108 Correct 1 ms 724 KB Output is correct
109 Correct 2 ms 3412 KB Output is correct
110 Correct 4 ms 5204 KB Output is correct
111 Correct 1 ms 1108 KB Output is correct
112 Correct 1 ms 340 KB Output is correct
113 Correct 1 ms 980 KB Output is correct
114 Correct 1 ms 852 KB Output is correct
115 Correct 1 ms 596 KB Output is correct
116 Correct 1 ms 1236 KB Output is correct
117 Correct 1 ms 1524 KB Output is correct
118 Correct 1 ms 724 KB Output is correct
119 Correct 2 ms 4308 KB Output is correct
120 Correct 134 ms 173680 KB Output is correct
121 Correct 1002 ms 203704 KB Output is correct
122 Correct 742 ms 182476 KB Output is correct
123 Correct 460 ms 151352 KB Output is correct
124 Correct 482 ms 152268 KB Output is correct
125 Correct 746 ms 183468 KB Output is correct
126 Correct 857 ms 202828 KB Output is correct
127 Correct 736 ms 191308 KB Output is correct
128 Correct 573 ms 170300 KB Output is correct
129 Correct 432 ms 150312 KB Output is correct
130 Correct 27 ms 11852 KB Output is correct
131 Correct 2 ms 2260 KB Output is correct
132 Correct 40 ms 14736 KB Output is correct
133 Correct 5 ms 3644 KB Output is correct
134 Correct 23 ms 10936 KB Output is correct
135 Correct 81 ms 29644 KB Output is correct
136 Correct 151 ms 189308 KB Output is correct
137 Correct 134 ms 177856 KB Output is correct
138 Correct 119 ms 157768 KB Output is correct
139 Correct 80 ms 147788 KB Output is correct
140 Correct 129 ms 173636 KB Output is correct
141 Correct 812 ms 203688 KB Output is correct
142 Correct 888 ms 182448 KB Output is correct
143 Correct 446 ms 151368 KB Output is correct
144 Correct 502 ms 152324 KB Output is correct
145 Correct 740 ms 183624 KB Output is correct
146 Correct 874 ms 202792 KB Output is correct
147 Correct 733 ms 191100 KB Output is correct
148 Correct 553 ms 170188 KB Output is correct
149 Correct 439 ms 150348 KB Output is correct
150 Correct 32 ms 11888 KB Output is correct
151 Correct 2 ms 2260 KB Output is correct
152 Correct 39 ms 14772 KB Output is correct
153 Correct 5 ms 3668 KB Output is correct
154 Correct 23 ms 10956 KB Output is correct
155 Correct 79 ms 29600 KB Output is correct
156 Correct 161 ms 189392 KB Output is correct
157 Correct 132 ms 177760 KB Output is correct
158 Correct 124 ms 157800 KB Output is correct
159 Correct 79 ms 147696 KB Output is correct
160 Correct 144 ms 173832 KB Output is correct
161 Correct 858 ms 203788 KB Output is correct
162 Correct 718 ms 182344 KB Output is correct
163 Correct 473 ms 151420 KB Output is correct
164 Correct 480 ms 152252 KB Output is correct
165 Correct 729 ms 183500 KB Output is correct
166 Correct 944 ms 202756 KB Output is correct
167 Correct 741 ms 191060 KB Output is correct
168 Correct 570 ms 170388 KB Output is correct
169 Correct 430 ms 150248 KB Output is correct
170 Correct 27 ms 11852 KB Output is correct
171 Correct 2 ms 2260 KB Output is correct
172 Correct 40 ms 14788 KB Output is correct
173 Correct 5 ms 3640 KB Output is correct
174 Correct 23 ms 10892 KB Output is correct
175 Correct 81 ms 29544 KB Output is correct
176 Correct 154 ms 189388 KB Output is correct
177 Correct 135 ms 177916 KB Output is correct
178 Correct 122 ms 157816 KB Output is correct
179 Correct 82 ms 147696 KB Output is correct
180 Correct 125 ms 173688 KB Output is correct
181 Correct 826 ms 203768 KB Output is correct
182 Correct 745 ms 182360 KB Output is correct
183 Correct 448 ms 151500 KB Output is correct
184 Correct 485 ms 152252 KB Output is correct
185 Correct 764 ms 183464 KB Output is correct
186 Correct 858 ms 202796 KB Output is correct
187 Correct 737 ms 191100 KB Output is correct
188 Correct 598 ms 170264 KB Output is correct
189 Correct 430 ms 150220 KB Output is correct
190 Correct 27 ms 11852 KB Output is correct
191 Correct 2 ms 2260 KB Output is correct
192 Correct 48 ms 14780 KB Output is correct
193 Correct 5 ms 3668 KB Output is correct
194 Correct 23 ms 10896 KB Output is correct
195 Correct 81 ms 29620 KB Output is correct
196 Correct 157 ms 189388 KB Output is correct
197 Correct 133 ms 177840 KB Output is correct
198 Correct 124 ms 157852 KB Output is correct
199 Correct 81 ms 147796 KB Output is correct
200 Correct 158 ms 173660 KB Output is correct
201 Correct 812 ms 203824 KB Output is correct
202 Correct 721 ms 182528 KB Output is correct
203 Correct 495 ms 151272 KB Output is correct
204 Correct 477 ms 152216 KB Output is correct
205 Correct 747 ms 183464 KB Output is correct
206 Correct 859 ms 202708 KB Output is correct
207 Correct 731 ms 191200 KB Output is correct
208 Correct 609 ms 170200 KB Output is correct
209 Correct 425 ms 150160 KB Output is correct
210 Correct 27 ms 11876 KB Output is correct
211 Correct 2 ms 2260 KB Output is correct
212 Correct 39 ms 14708 KB Output is correct
213 Correct 5 ms 3640 KB Output is correct
214 Correct 23 ms 10908 KB Output is correct
215 Correct 89 ms 29600 KB Output is correct
216 Correct 156 ms 189392 KB Output is correct
217 Correct 129 ms 177804 KB Output is correct
218 Correct 119 ms 157756 KB Output is correct
219 Runtime error 7 ms 1132 KB Execution killed with signal 11
220 Halted 0 ms 0 KB -