#include<bits/stdc++.h>
#include<jelly.h>
using namespace std;
int find_maximum_unique(int x, int y, vector<int> a, vector<int> b) {
int n = a.size();
vector<vector<vector<int>>> knapsack {};
for (int i = 0; i < n+1; i++) {
knapsack.push_back({});
for (int j = 0; j < x+1; j++) {
knapsack[i].push_back({});
for (int k = 0; k < y+1; k++) {
knapsack[i][j].push_back(0);
}
}
}
for (int i = 0; i < n+1; i++) {
for (int j = 0; j < x+1; j++) {
for (int k = 0; k < y+1; k++) {
int current_jelly = i-1;
int a_value = 0; int b_value = 0; int o_value = 0;
if ((i-1)>=0 && (j-a[current_jelly])>=0) {
a_value = knapsack[i-1][j-a[current_jelly]][k] + 1;
}
if ((i-1)>=0 && (k-b[current_jelly])>=0) {
b_value = knapsack[i-1][j][k-b[current_jelly]] + 1;
}
if ((i-1)>=0) {
o_value = knapsack[i-1][j][k];
}
int value = max(max(0, o_value), max(a_value, b_value));
knapsack[i][j][k] = value;
}
}
}
return knapsack[n][x][y];
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
8 ms |
3052 KB |
Output is correct |
2 |
Correct |
28 ms |
9452 KB |
Output is correct |
3 |
Correct |
31 ms |
9708 KB |
Output is correct |
4 |
Correct |
42 ms |
12140 KB |
Output is correct |
5 |
Correct |
32 ms |
10348 KB |
Output is correct |
6 |
Correct |
25 ms |
8300 KB |
Output is correct |
7 |
Correct |
46 ms |
11648 KB |
Output is correct |
8 |
Correct |
25 ms |
8812 KB |
Output is correct |
9 |
Correct |
35 ms |
10476 KB |
Output is correct |
10 |
Correct |
41 ms |
11884 KB |
Output is correct |
11 |
Correct |
5 ms |
1516 KB |
Output is correct |
12 |
Correct |
8 ms |
3052 KB |
Output is correct |
13 |
Correct |
28 ms |
9452 KB |
Output is correct |
14 |
Correct |
29 ms |
9708 KB |
Output is correct |
15 |
Correct |
40 ms |
12140 KB |
Output is correct |
16 |
Correct |
32 ms |
10348 KB |
Output is correct |
17 |
Correct |
24 ms |
8300 KB |
Output is correct |
18 |
Correct |
36 ms |
11628 KB |
Output is correct |
19 |
Correct |
27 ms |
8812 KB |
Output is correct |
20 |
Correct |
33 ms |
10476 KB |
Output is correct |
21 |
Correct |
7 ms |
2412 KB |
Output is correct |
22 |
Correct |
40 ms |
11884 KB |
Output is correct |
23 |
Correct |
7 ms |
2412 KB |
Output is correct |
24 |
Correct |
1 ms |
364 KB |
Output is correct |
25 |
Correct |
5 ms |
1772 KB |
Output is correct |
26 |
Correct |
5 ms |
1516 KB |
Output is correct |
27 |
Correct |
3 ms |
1132 KB |
Output is correct |
28 |
Correct |
7 ms |
2412 KB |
Output is correct |
29 |
Correct |
6 ms |
2028 KB |
Output is correct |
30 |
Correct |
7 ms |
2668 KB |
Output is correct |
31 |
Correct |
6 ms |
1900 KB |
Output is correct |
32 |
Correct |
1 ms |
364 KB |
Output is correct |
33 |
Correct |
5 ms |
1772 KB |
Output is correct |
34 |
Correct |
5 ms |
1516 KB |
Output is correct |
35 |
Correct |
3 ms |
1260 KB |
Output is correct |
36 |
Correct |
7 ms |
2412 KB |
Output is correct |
37 |
Correct |
6 ms |
2028 KB |
Output is correct |
38 |
Correct |
7 ms |
2668 KB |
Output is correct |
39 |
Correct |
6 ms |
1900 KB |
Output is correct |
40 |
Correct |
5 ms |
1516 KB |
Output is correct |
41 |
Correct |
8 ms |
3052 KB |
Output is correct |
42 |
Correct |
28 ms |
9452 KB |
Output is correct |
43 |
Correct |
29 ms |
9708 KB |
Output is correct |
44 |
Correct |
43 ms |
12140 KB |
Output is correct |
45 |
Correct |
32 ms |
10348 KB |
Output is correct |
46 |
Correct |
25 ms |
8300 KB |
Output is correct |
47 |
Correct |
35 ms |
11628 KB |
Output is correct |
48 |
Correct |
25 ms |
8832 KB |
Output is correct |
49 |
Correct |
33 ms |
10476 KB |
Output is correct |
50 |
Correct |
40 ms |
11884 KB |
Output is correct |
51 |
Correct |
7 ms |
2412 KB |
Output is correct |
52 |
Correct |
1 ms |
364 KB |
Output is correct |
53 |
Correct |
5 ms |
1772 KB |
Output is correct |
54 |
Correct |
5 ms |
1516 KB |
Output is correct |
55 |
Correct |
3 ms |
1152 KB |
Output is correct |
56 |
Correct |
7 ms |
2412 KB |
Output is correct |
57 |
Correct |
6 ms |
2028 KB |
Output is correct |
58 |
Correct |
7 ms |
2668 KB |
Output is correct |
59 |
Correct |
6 ms |
1900 KB |
Output is correct |
60 |
Correct |
5 ms |
1516 KB |
Output is correct |
61 |
Correct |
9 ms |
3052 KB |
Output is correct |
62 |
Correct |
28 ms |
9452 KB |
Output is correct |
63 |
Correct |
29 ms |
9708 KB |
Output is correct |
64 |
Correct |
41 ms |
12140 KB |
Output is correct |
65 |
Correct |
32 ms |
10476 KB |
Output is correct |
66 |
Correct |
26 ms |
8300 KB |
Output is correct |
67 |
Correct |
35 ms |
11628 KB |
Output is correct |
68 |
Correct |
24 ms |
8812 KB |
Output is correct |
69 |
Correct |
33 ms |
10476 KB |
Output is correct |
70 |
Correct |
39 ms |
11884 KB |
Output is correct |
71 |
Correct |
7 ms |
2412 KB |
Output is correct |
72 |
Correct |
1 ms |
364 KB |
Output is correct |
73 |
Correct |
5 ms |
1772 KB |
Output is correct |
74 |
Correct |
6 ms |
1516 KB |
Output is correct |
75 |
Correct |
3 ms |
1132 KB |
Output is correct |
76 |
Correct |
7 ms |
2412 KB |
Output is correct |
77 |
Correct |
6 ms |
2028 KB |
Output is correct |
78 |
Correct |
7 ms |
2668 KB |
Output is correct |
79 |
Correct |
6 ms |
1900 KB |
Output is correct |
80 |
Correct |
5 ms |
1516 KB |
Output is correct |
81 |
Correct |
8 ms |
3052 KB |
Output is correct |
82 |
Correct |
28 ms |
9452 KB |
Output is correct |
83 |
Correct |
27 ms |
9708 KB |
Output is correct |
84 |
Correct |
41 ms |
12140 KB |
Output is correct |
85 |
Correct |
32 ms |
10348 KB |
Output is correct |
86 |
Correct |
25 ms |
8284 KB |
Output is correct |
87 |
Correct |
35 ms |
11628 KB |
Output is correct |
88 |
Correct |
25 ms |
8812 KB |
Output is correct |
89 |
Correct |
33 ms |
10476 KB |
Output is correct |
90 |
Correct |
40 ms |
11884 KB |
Output is correct |
91 |
Correct |
7 ms |
2412 KB |
Output is correct |
92 |
Correct |
1 ms |
364 KB |
Output is correct |
93 |
Correct |
5 ms |
1772 KB |
Output is correct |
94 |
Correct |
5 ms |
1516 KB |
Output is correct |
95 |
Correct |
3 ms |
1132 KB |
Output is correct |
96 |
Correct |
7 ms |
2412 KB |
Output is correct |
97 |
Correct |
6 ms |
2028 KB |
Output is correct |
98 |
Correct |
7 ms |
2668 KB |
Output is correct |
99 |
Correct |
6 ms |
1900 KB |
Output is correct |
100 |
Correct |
5 ms |
1516 KB |
Output is correct |
101 |
Correct |
8 ms |
3052 KB |
Output is correct |
102 |
Correct |
28 ms |
9452 KB |
Output is correct |
103 |
Correct |
29 ms |
9652 KB |
Output is correct |
104 |
Correct |
41 ms |
12164 KB |
Output is correct |
105 |
Correct |
32 ms |
10476 KB |
Output is correct |
106 |
Correct |
25 ms |
8300 KB |
Output is correct |
107 |
Correct |
36 ms |
11772 KB |
Output is correct |
108 |
Correct |
25 ms |
8812 KB |
Output is correct |
109 |
Correct |
33 ms |
10476 KB |
Output is correct |
110 |
Correct |
40 ms |
11884 KB |
Output is correct |
111 |
Correct |
7 ms |
2412 KB |
Output is correct |
112 |
Correct |
1 ms |
364 KB |
Output is correct |
113 |
Correct |
5 ms |
1772 KB |
Output is correct |
114 |
Correct |
5 ms |
1516 KB |
Output is correct |
115 |
Correct |
3 ms |
1152 KB |
Output is correct |
116 |
Correct |
7 ms |
2412 KB |
Output is correct |
117 |
Correct |
6 ms |
2028 KB |
Output is correct |
118 |
Correct |
7 ms |
2668 KB |
Output is correct |
119 |
Correct |
6 ms |
1900 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
8 ms |
3052 KB |
Output is correct |
2 |
Correct |
28 ms |
9452 KB |
Output is correct |
3 |
Correct |
31 ms |
9708 KB |
Output is correct |
4 |
Correct |
42 ms |
12140 KB |
Output is correct |
5 |
Correct |
32 ms |
10348 KB |
Output is correct |
6 |
Correct |
25 ms |
8300 KB |
Output is correct |
7 |
Correct |
46 ms |
11648 KB |
Output is correct |
8 |
Correct |
25 ms |
8812 KB |
Output is correct |
9 |
Correct |
35 ms |
10476 KB |
Output is correct |
10 |
Correct |
41 ms |
11884 KB |
Output is correct |
11 |
Correct |
5 ms |
1516 KB |
Output is correct |
12 |
Correct |
8 ms |
3052 KB |
Output is correct |
13 |
Correct |
28 ms |
9452 KB |
Output is correct |
14 |
Correct |
29 ms |
9708 KB |
Output is correct |
15 |
Correct |
40 ms |
12140 KB |
Output is correct |
16 |
Correct |
32 ms |
10348 KB |
Output is correct |
17 |
Correct |
24 ms |
8300 KB |
Output is correct |
18 |
Correct |
36 ms |
11628 KB |
Output is correct |
19 |
Correct |
27 ms |
8812 KB |
Output is correct |
20 |
Correct |
33 ms |
10476 KB |
Output is correct |
21 |
Correct |
7 ms |
2412 KB |
Output is correct |
22 |
Correct |
40 ms |
11884 KB |
Output is correct |
23 |
Correct |
7 ms |
2412 KB |
Output is correct |
24 |
Correct |
1 ms |
364 KB |
Output is correct |
25 |
Correct |
5 ms |
1772 KB |
Output is correct |
26 |
Correct |
5 ms |
1516 KB |
Output is correct |
27 |
Correct |
3 ms |
1132 KB |
Output is correct |
28 |
Correct |
7 ms |
2412 KB |
Output is correct |
29 |
Correct |
6 ms |
2028 KB |
Output is correct |
30 |
Correct |
7 ms |
2668 KB |
Output is correct |
31 |
Correct |
6 ms |
1900 KB |
Output is correct |
32 |
Correct |
1 ms |
364 KB |
Output is correct |
33 |
Correct |
5 ms |
1772 KB |
Output is correct |
34 |
Correct |
5 ms |
1516 KB |
Output is correct |
35 |
Correct |
3 ms |
1260 KB |
Output is correct |
36 |
Correct |
7 ms |
2412 KB |
Output is correct |
37 |
Correct |
6 ms |
2028 KB |
Output is correct |
38 |
Correct |
7 ms |
2668 KB |
Output is correct |
39 |
Correct |
6 ms |
1900 KB |
Output is correct |
40 |
Correct |
5 ms |
1516 KB |
Output is correct |
41 |
Correct |
8 ms |
3052 KB |
Output is correct |
42 |
Correct |
28 ms |
9452 KB |
Output is correct |
43 |
Correct |
29 ms |
9708 KB |
Output is correct |
44 |
Correct |
43 ms |
12140 KB |
Output is correct |
45 |
Correct |
32 ms |
10348 KB |
Output is correct |
46 |
Correct |
25 ms |
8300 KB |
Output is correct |
47 |
Correct |
35 ms |
11628 KB |
Output is correct |
48 |
Correct |
25 ms |
8832 KB |
Output is correct |
49 |
Correct |
33 ms |
10476 KB |
Output is correct |
50 |
Correct |
40 ms |
11884 KB |
Output is correct |
51 |
Correct |
7 ms |
2412 KB |
Output is correct |
52 |
Correct |
1 ms |
364 KB |
Output is correct |
53 |
Correct |
5 ms |
1772 KB |
Output is correct |
54 |
Correct |
5 ms |
1516 KB |
Output is correct |
55 |
Correct |
3 ms |
1152 KB |
Output is correct |
56 |
Correct |
7 ms |
2412 KB |
Output is correct |
57 |
Correct |
6 ms |
2028 KB |
Output is correct |
58 |
Correct |
7 ms |
2668 KB |
Output is correct |
59 |
Correct |
6 ms |
1900 KB |
Output is correct |
60 |
Correct |
5 ms |
1516 KB |
Output is correct |
61 |
Correct |
9 ms |
3052 KB |
Output is correct |
62 |
Correct |
28 ms |
9452 KB |
Output is correct |
63 |
Correct |
29 ms |
9708 KB |
Output is correct |
64 |
Correct |
41 ms |
12140 KB |
Output is correct |
65 |
Correct |
32 ms |
10476 KB |
Output is correct |
66 |
Correct |
26 ms |
8300 KB |
Output is correct |
67 |
Correct |
35 ms |
11628 KB |
Output is correct |
68 |
Correct |
24 ms |
8812 KB |
Output is correct |
69 |
Correct |
33 ms |
10476 KB |
Output is correct |
70 |
Correct |
39 ms |
11884 KB |
Output is correct |
71 |
Correct |
7 ms |
2412 KB |
Output is correct |
72 |
Correct |
1 ms |
364 KB |
Output is correct |
73 |
Correct |
5 ms |
1772 KB |
Output is correct |
74 |
Correct |
6 ms |
1516 KB |
Output is correct |
75 |
Correct |
3 ms |
1132 KB |
Output is correct |
76 |
Correct |
7 ms |
2412 KB |
Output is correct |
77 |
Correct |
6 ms |
2028 KB |
Output is correct |
78 |
Correct |
7 ms |
2668 KB |
Output is correct |
79 |
Correct |
6 ms |
1900 KB |
Output is correct |
80 |
Correct |
5 ms |
1516 KB |
Output is correct |
81 |
Correct |
8 ms |
3052 KB |
Output is correct |
82 |
Correct |
28 ms |
9452 KB |
Output is correct |
83 |
Correct |
27 ms |
9708 KB |
Output is correct |
84 |
Correct |
41 ms |
12140 KB |
Output is correct |
85 |
Correct |
32 ms |
10348 KB |
Output is correct |
86 |
Correct |
25 ms |
8284 KB |
Output is correct |
87 |
Correct |
35 ms |
11628 KB |
Output is correct |
88 |
Correct |
25 ms |
8812 KB |
Output is correct |
89 |
Correct |
33 ms |
10476 KB |
Output is correct |
90 |
Correct |
40 ms |
11884 KB |
Output is correct |
91 |
Correct |
7 ms |
2412 KB |
Output is correct |
92 |
Correct |
1 ms |
364 KB |
Output is correct |
93 |
Correct |
5 ms |
1772 KB |
Output is correct |
94 |
Correct |
5 ms |
1516 KB |
Output is correct |
95 |
Correct |
3 ms |
1132 KB |
Output is correct |
96 |
Correct |
7 ms |
2412 KB |
Output is correct |
97 |
Correct |
6 ms |
2028 KB |
Output is correct |
98 |
Correct |
7 ms |
2668 KB |
Output is correct |
99 |
Correct |
6 ms |
1900 KB |
Output is correct |
100 |
Correct |
5 ms |
1516 KB |
Output is correct |
101 |
Correct |
8 ms |
3052 KB |
Output is correct |
102 |
Correct |
28 ms |
9452 KB |
Output is correct |
103 |
Correct |
29 ms |
9652 KB |
Output is correct |
104 |
Correct |
41 ms |
12164 KB |
Output is correct |
105 |
Correct |
32 ms |
10476 KB |
Output is correct |
106 |
Correct |
25 ms |
8300 KB |
Output is correct |
107 |
Correct |
36 ms |
11772 KB |
Output is correct |
108 |
Correct |
25 ms |
8812 KB |
Output is correct |
109 |
Correct |
33 ms |
10476 KB |
Output is correct |
110 |
Correct |
40 ms |
11884 KB |
Output is correct |
111 |
Correct |
7 ms |
2412 KB |
Output is correct |
112 |
Correct |
1 ms |
364 KB |
Output is correct |
113 |
Correct |
5 ms |
1772 KB |
Output is correct |
114 |
Correct |
5 ms |
1516 KB |
Output is correct |
115 |
Correct |
3 ms |
1152 KB |
Output is correct |
116 |
Correct |
7 ms |
2412 KB |
Output is correct |
117 |
Correct |
6 ms |
2028 KB |
Output is correct |
118 |
Correct |
7 ms |
2668 KB |
Output is correct |
119 |
Correct |
6 ms |
1900 KB |
Output is correct |
120 |
Correct |
43 ms |
13804 KB |
Output is correct |
121 |
Correct |
549 ms |
186348 KB |
Output is correct |
122 |
Correct |
571 ms |
174700 KB |
Output is correct |
123 |
Correct |
544 ms |
172908 KB |
Output is correct |
124 |
Correct |
590 ms |
171372 KB |
Output is correct |
125 |
Correct |
550 ms |
179052 KB |
Output is correct |
126 |
Correct |
617 ms |
184820 KB |
Output is correct |
127 |
Correct |
542 ms |
178664 KB |
Output is correct |
128 |
Correct |
717 ms |
200940 KB |
Output is correct |
129 |
Correct |
556 ms |
170220 KB |
Output is correct |
130 |
Correct |
28 ms |
8812 KB |
Output is correct |
131 |
Correct |
1 ms |
364 KB |
Output is correct |
132 |
Correct |
38 ms |
11116 KB |
Output is correct |
133 |
Correct |
5 ms |
1516 KB |
Output is correct |
134 |
Correct |
26 ms |
7916 KB |
Output is correct |
135 |
Correct |
74 ms |
24428 KB |
Output is correct |
136 |
Correct |
83 ms |
24940 KB |
Output is correct |
137 |
Correct |
53 ms |
13932 KB |
Output is correct |
138 |
Correct |
95 ms |
25324 KB |
Output is correct |
139 |
Correct |
45 ms |
14188 KB |
Output is correct |
140 |
Correct |
42 ms |
13804 KB |
Output is correct |
141 |
Correct |
558 ms |
186348 KB |
Output is correct |
142 |
Correct |
566 ms |
174700 KB |
Output is correct |
143 |
Correct |
548 ms |
172908 KB |
Output is correct |
144 |
Correct |
589 ms |
171364 KB |
Output is correct |
145 |
Correct |
550 ms |
178924 KB |
Output is correct |
146 |
Correct |
621 ms |
184684 KB |
Output is correct |
147 |
Correct |
548 ms |
178688 KB |
Output is correct |
148 |
Correct |
730 ms |
200684 KB |
Output is correct |
149 |
Correct |
558 ms |
170388 KB |
Output is correct |
150 |
Correct |
27 ms |
8812 KB |
Output is correct |
151 |
Correct |
1 ms |
364 KB |
Output is correct |
152 |
Correct |
38 ms |
11116 KB |
Output is correct |
153 |
Correct |
5 ms |
1516 KB |
Output is correct |
154 |
Correct |
25 ms |
7916 KB |
Output is correct |
155 |
Correct |
72 ms |
24172 KB |
Output is correct |
156 |
Correct |
85 ms |
25068 KB |
Output is correct |
157 |
Correct |
52 ms |
13932 KB |
Output is correct |
158 |
Correct |
96 ms |
25376 KB |
Output is correct |
159 |
Correct |
45 ms |
14188 KB |
Output is correct |
160 |
Correct |
42 ms |
13804 KB |
Output is correct |
161 |
Correct |
561 ms |
186220 KB |
Output is correct |
162 |
Correct |
567 ms |
174572 KB |
Output is correct |
163 |
Correct |
541 ms |
172780 KB |
Output is correct |
164 |
Correct |
593 ms |
171312 KB |
Output is correct |
165 |
Correct |
552 ms |
179052 KB |
Output is correct |
166 |
Correct |
616 ms |
184812 KB |
Output is correct |
167 |
Correct |
534 ms |
178796 KB |
Output is correct |
168 |
Correct |
715 ms |
200812 KB |
Output is correct |
169 |
Correct |
556 ms |
170220 KB |
Output is correct |
170 |
Correct |
28 ms |
8940 KB |
Output is correct |
171 |
Correct |
1 ms |
364 KB |
Output is correct |
172 |
Correct |
38 ms |
11116 KB |
Output is correct |
173 |
Correct |
5 ms |
1516 KB |
Output is correct |
174 |
Correct |
26 ms |
7916 KB |
Output is correct |
175 |
Correct |
72 ms |
24172 KB |
Output is correct |
176 |
Correct |
84 ms |
25056 KB |
Output is correct |
177 |
Correct |
52 ms |
13932 KB |
Output is correct |
178 |
Correct |
97 ms |
25324 KB |
Output is correct |
179 |
Correct |
44 ms |
14188 KB |
Output is correct |
180 |
Correct |
42 ms |
13804 KB |
Output is correct |
181 |
Correct |
557 ms |
186220 KB |
Output is correct |
182 |
Correct |
562 ms |
174572 KB |
Output is correct |
183 |
Correct |
552 ms |
172848 KB |
Output is correct |
184 |
Correct |
583 ms |
171372 KB |
Output is correct |
185 |
Correct |
550 ms |
178796 KB |
Output is correct |
186 |
Correct |
620 ms |
184812 KB |
Output is correct |
187 |
Correct |
545 ms |
178668 KB |
Output is correct |
188 |
Correct |
714 ms |
200556 KB |
Output is correct |
189 |
Correct |
552 ms |
170220 KB |
Output is correct |
190 |
Correct |
27 ms |
8812 KB |
Output is correct |
191 |
Correct |
1 ms |
364 KB |
Output is correct |
192 |
Correct |
38 ms |
11116 KB |
Output is correct |
193 |
Correct |
5 ms |
1516 KB |
Output is correct |
194 |
Correct |
26 ms |
7916 KB |
Output is correct |
195 |
Correct |
72 ms |
24172 KB |
Output is correct |
196 |
Correct |
85 ms |
25008 KB |
Output is correct |
197 |
Correct |
55 ms |
13904 KB |
Output is correct |
198 |
Correct |
96 ms |
25324 KB |
Output is correct |
199 |
Correct |
47 ms |
14188 KB |
Output is correct |
200 |
Correct |
43 ms |
13804 KB |
Output is correct |
201 |
Correct |
558 ms |
186324 KB |
Output is correct |
202 |
Correct |
570 ms |
174472 KB |
Output is correct |
203 |
Correct |
548 ms |
172780 KB |
Output is correct |
204 |
Correct |
586 ms |
171372 KB |
Output is correct |
205 |
Correct |
556 ms |
179052 KB |
Output is correct |
206 |
Correct |
618 ms |
184812 KB |
Output is correct |
207 |
Correct |
540 ms |
178628 KB |
Output is correct |
208 |
Correct |
713 ms |
200616 KB |
Output is correct |
209 |
Correct |
559 ms |
170476 KB |
Output is correct |
210 |
Correct |
27 ms |
8812 KB |
Output is correct |
211 |
Correct |
1 ms |
364 KB |
Output is correct |
212 |
Correct |
38 ms |
11116 KB |
Output is correct |
213 |
Correct |
5 ms |
1516 KB |
Output is correct |
214 |
Correct |
27 ms |
7916 KB |
Output is correct |
215 |
Correct |
72 ms |
24172 KB |
Output is correct |
216 |
Correct |
85 ms |
24940 KB |
Output is correct |
217 |
Correct |
52 ms |
13932 KB |
Output is correct |
218 |
Correct |
95 ms |
25324 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
349 ms |
190060 KB |
Output is correct |
2 |
Correct |
539 ms |
291820 KB |
Output is correct |
3 |
Correct |
151 ms |
82668 KB |
Output is correct |
4 |
Correct |
220 ms |
119404 KB |
Output is correct |
5 |
Correct |
1368 ms |
750828 KB |
Output is correct |
6 |
Correct |
1801 ms |
954292 KB |
Output is correct |
7 |
Correct |
1697 ms |
925608 KB |
Output is correct |
8 |
Correct |
345 ms |
184812 KB |
Output is correct |
9 |
Correct |
1818 ms |
978816 KB |
Output is correct |
10 |
Correct |
749 ms |
406252 KB |
Output is correct |
11 |
Correct |
1540 ms |
856044 KB |
Output is correct |
12 |
Correct |
1253 ms |
674540 KB |
Output is correct |
13 |
Correct |
1104 ms |
592820 KB |
Output is correct |
14 |
Correct |
360 ms |
194284 KB |
Output is correct |
15 |
Correct |
1249 ms |
677908 KB |
Output is correct |
16 |
Correct |
1209 ms |
651528 KB |
Output is correct |
17 |
Correct |
1260 ms |
687084 KB |
Output is correct |
18 |
Correct |
1346 ms |
737516 KB |
Output is correct |
19 |
Correct |
1079 ms |
581100 KB |
Output is correct |
20 |
Correct |
351 ms |
191980 KB |
Output is correct |
21 |
Correct |
351 ms |
190188 KB |
Output is correct |
22 |
Correct |
532 ms |
291820 KB |
Output is correct |
23 |
Correct |
148 ms |
82412 KB |
Output is correct |
24 |
Correct |
223 ms |
119404 KB |
Output is correct |
25 |
Correct |
1384 ms |
750756 KB |
Output is correct |
26 |
Correct |
1763 ms |
954152 KB |
Output is correct |
27 |
Correct |
1692 ms |
925460 KB |
Output is correct |
28 |
Correct |
342 ms |
184684 KB |
Output is correct |
29 |
Correct |
1811 ms |
978940 KB |
Output is correct |
30 |
Correct |
731 ms |
406124 KB |
Output is correct |
31 |
Correct |
1545 ms |
856044 KB |
Output is correct |
32 |
Correct |
1239 ms |
674412 KB |
Output is correct |
33 |
Correct |
1085 ms |
592876 KB |
Output is correct |
34 |
Correct |
360 ms |
194156 KB |
Output is correct |
35 |
Correct |
1255 ms |
678056 KB |
Output is correct |
36 |
Correct |
1184 ms |
651500 KB |
Output is correct |
37 |
Correct |
1251 ms |
687212 KB |
Output is correct |
38 |
Correct |
1338 ms |
737528 KB |
Output is correct |
39 |
Correct |
1079 ms |
581100 KB |
Output is correct |
40 |
Correct |
366 ms |
191980 KB |
Output is correct |
41 |
Correct |
351 ms |
190188 KB |
Output is correct |
42 |
Correct |
536 ms |
291820 KB |
Output is correct |
43 |
Correct |
150 ms |
82412 KB |
Output is correct |
44 |
Correct |
225 ms |
119532 KB |
Output is correct |
45 |
Correct |
1409 ms |
750828 KB |
Output is correct |
46 |
Correct |
1745 ms |
954408 KB |
Output is correct |
47 |
Correct |
1690 ms |
925480 KB |
Output is correct |
48 |
Correct |
341 ms |
184812 KB |
Output is correct |
49 |
Correct |
1793 ms |
979240 KB |
Output is correct |
50 |
Correct |
739 ms |
406252 KB |
Output is correct |
51 |
Correct |
1550 ms |
856172 KB |
Output is correct |
52 |
Correct |
1239 ms |
674668 KB |
Output is correct |
53 |
Correct |
1100 ms |
592876 KB |
Output is correct |
54 |
Correct |
373 ms |
194192 KB |
Output is correct |
55 |
Correct |
1254 ms |
678124 KB |
Output is correct |
56 |
Correct |
1193 ms |
651628 KB |
Output is correct |
57 |
Correct |
1267 ms |
687212 KB |
Output is correct |
58 |
Correct |
1341 ms |
737644 KB |
Output is correct |
59 |
Correct |
1074 ms |
581356 KB |
Output is correct |
60 |
Correct |
358 ms |
192108 KB |
Output is correct |
61 |
Correct |
350 ms |
190188 KB |
Output is correct |
62 |
Correct |
532 ms |
291820 KB |
Output is correct |
63 |
Correct |
148 ms |
82412 KB |
Output is correct |
64 |
Correct |
222 ms |
119532 KB |
Output is correct |
65 |
Correct |
1375 ms |
750700 KB |
Output is correct |
66 |
Correct |
1748 ms |
954280 KB |
Output is correct |
67 |
Correct |
1683 ms |
925352 KB |
Output is correct |
68 |
Correct |
343 ms |
184684 KB |
Output is correct |
69 |
Correct |
1797 ms |
979112 KB |
Output is correct |
70 |
Correct |
741 ms |
406252 KB |
Output is correct |
71 |
Correct |
1554 ms |
856056 KB |
Output is correct |
72 |
Correct |
1245 ms |
674608 KB |
Output is correct |
73 |
Correct |
1084 ms |
592748 KB |
Output is correct |
74 |
Correct |
360 ms |
194156 KB |
Output is correct |
75 |
Correct |
1250 ms |
677996 KB |
Output is correct |
76 |
Correct |
1196 ms |
651816 KB |
Output is correct |
77 |
Correct |
1252 ms |
687084 KB |
Output is correct |
78 |
Correct |
1340 ms |
737516 KB |
Output is correct |
79 |
Correct |
1074 ms |
580972 KB |
Output is correct |
80 |
Correct |
360 ms |
191980 KB |
Output is correct |
81 |
Correct |
353 ms |
190060 KB |
Output is correct |
82 |
Correct |
532 ms |
291692 KB |
Output is correct |
83 |
Correct |
149 ms |
82412 KB |
Output is correct |
84 |
Correct |
224 ms |
119388 KB |
Output is correct |
85 |
Correct |
1370 ms |
750868 KB |
Output is correct |
86 |
Correct |
1753 ms |
954280 KB |
Output is correct |
87 |
Correct |
1690 ms |
925608 KB |
Output is correct |
88 |
Correct |
340 ms |
184684 KB |
Output is correct |
89 |
Correct |
1804 ms |
979024 KB |
Output is correct |
90 |
Correct |
746 ms |
406124 KB |
Output is correct |
91 |
Correct |
1554 ms |
856124 KB |
Output is correct |
92 |
Correct |
1249 ms |
674540 KB |
Output is correct |
93 |
Correct |
1106 ms |
592748 KB |
Output is correct |
94 |
Correct |
369 ms |
194156 KB |
Output is correct |
95 |
Correct |
1257 ms |
677952 KB |
Output is correct |
96 |
Correct |
1206 ms |
651500 KB |
Output is correct |
97 |
Correct |
1257 ms |
687132 KB |
Output is correct |
98 |
Correct |
1362 ms |
737644 KB |
Output is correct |
99 |
Correct |
1111 ms |
581004 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
2185 ms |
1395272 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
2153 ms |
1602176 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
8 ms |
3052 KB |
Output is correct |
2 |
Correct |
28 ms |
9452 KB |
Output is correct |
3 |
Correct |
31 ms |
9708 KB |
Output is correct |
4 |
Correct |
42 ms |
12140 KB |
Output is correct |
5 |
Correct |
32 ms |
10348 KB |
Output is correct |
6 |
Correct |
25 ms |
8300 KB |
Output is correct |
7 |
Correct |
46 ms |
11648 KB |
Output is correct |
8 |
Correct |
25 ms |
8812 KB |
Output is correct |
9 |
Correct |
35 ms |
10476 KB |
Output is correct |
10 |
Correct |
41 ms |
11884 KB |
Output is correct |
11 |
Correct |
5 ms |
1516 KB |
Output is correct |
12 |
Correct |
8 ms |
3052 KB |
Output is correct |
13 |
Correct |
28 ms |
9452 KB |
Output is correct |
14 |
Correct |
29 ms |
9708 KB |
Output is correct |
15 |
Correct |
40 ms |
12140 KB |
Output is correct |
16 |
Correct |
32 ms |
10348 KB |
Output is correct |
17 |
Correct |
24 ms |
8300 KB |
Output is correct |
18 |
Correct |
36 ms |
11628 KB |
Output is correct |
19 |
Correct |
27 ms |
8812 KB |
Output is correct |
20 |
Correct |
33 ms |
10476 KB |
Output is correct |
21 |
Correct |
7 ms |
2412 KB |
Output is correct |
22 |
Correct |
40 ms |
11884 KB |
Output is correct |
23 |
Correct |
7 ms |
2412 KB |
Output is correct |
24 |
Correct |
1 ms |
364 KB |
Output is correct |
25 |
Correct |
5 ms |
1772 KB |
Output is correct |
26 |
Correct |
5 ms |
1516 KB |
Output is correct |
27 |
Correct |
3 ms |
1132 KB |
Output is correct |
28 |
Correct |
7 ms |
2412 KB |
Output is correct |
29 |
Correct |
6 ms |
2028 KB |
Output is correct |
30 |
Correct |
7 ms |
2668 KB |
Output is correct |
31 |
Correct |
6 ms |
1900 KB |
Output is correct |
32 |
Correct |
1 ms |
364 KB |
Output is correct |
33 |
Correct |
5 ms |
1772 KB |
Output is correct |
34 |
Correct |
5 ms |
1516 KB |
Output is correct |
35 |
Correct |
3 ms |
1260 KB |
Output is correct |
36 |
Correct |
7 ms |
2412 KB |
Output is correct |
37 |
Correct |
6 ms |
2028 KB |
Output is correct |
38 |
Correct |
7 ms |
2668 KB |
Output is correct |
39 |
Correct |
6 ms |
1900 KB |
Output is correct |
40 |
Correct |
5 ms |
1516 KB |
Output is correct |
41 |
Correct |
8 ms |
3052 KB |
Output is correct |
42 |
Correct |
28 ms |
9452 KB |
Output is correct |
43 |
Correct |
29 ms |
9708 KB |
Output is correct |
44 |
Correct |
43 ms |
12140 KB |
Output is correct |
45 |
Correct |
32 ms |
10348 KB |
Output is correct |
46 |
Correct |
25 ms |
8300 KB |
Output is correct |
47 |
Correct |
35 ms |
11628 KB |
Output is correct |
48 |
Correct |
25 ms |
8832 KB |
Output is correct |
49 |
Correct |
33 ms |
10476 KB |
Output is correct |
50 |
Correct |
40 ms |
11884 KB |
Output is correct |
51 |
Correct |
7 ms |
2412 KB |
Output is correct |
52 |
Correct |
1 ms |
364 KB |
Output is correct |
53 |
Correct |
5 ms |
1772 KB |
Output is correct |
54 |
Correct |
5 ms |
1516 KB |
Output is correct |
55 |
Correct |
3 ms |
1152 KB |
Output is correct |
56 |
Correct |
7 ms |
2412 KB |
Output is correct |
57 |
Correct |
6 ms |
2028 KB |
Output is correct |
58 |
Correct |
7 ms |
2668 KB |
Output is correct |
59 |
Correct |
6 ms |
1900 KB |
Output is correct |
60 |
Correct |
5 ms |
1516 KB |
Output is correct |
61 |
Correct |
9 ms |
3052 KB |
Output is correct |
62 |
Correct |
28 ms |
9452 KB |
Output is correct |
63 |
Correct |
29 ms |
9708 KB |
Output is correct |
64 |
Correct |
41 ms |
12140 KB |
Output is correct |
65 |
Correct |
32 ms |
10476 KB |
Output is correct |
66 |
Correct |
26 ms |
8300 KB |
Output is correct |
67 |
Correct |
35 ms |
11628 KB |
Output is correct |
68 |
Correct |
24 ms |
8812 KB |
Output is correct |
69 |
Correct |
33 ms |
10476 KB |
Output is correct |
70 |
Correct |
39 ms |
11884 KB |
Output is correct |
71 |
Correct |
7 ms |
2412 KB |
Output is correct |
72 |
Correct |
1 ms |
364 KB |
Output is correct |
73 |
Correct |
5 ms |
1772 KB |
Output is correct |
74 |
Correct |
6 ms |
1516 KB |
Output is correct |
75 |
Correct |
3 ms |
1132 KB |
Output is correct |
76 |
Correct |
7 ms |
2412 KB |
Output is correct |
77 |
Correct |
6 ms |
2028 KB |
Output is correct |
78 |
Correct |
7 ms |
2668 KB |
Output is correct |
79 |
Correct |
6 ms |
1900 KB |
Output is correct |
80 |
Correct |
5 ms |
1516 KB |
Output is correct |
81 |
Correct |
8 ms |
3052 KB |
Output is correct |
82 |
Correct |
28 ms |
9452 KB |
Output is correct |
83 |
Correct |
27 ms |
9708 KB |
Output is correct |
84 |
Correct |
41 ms |
12140 KB |
Output is correct |
85 |
Correct |
32 ms |
10348 KB |
Output is correct |
86 |
Correct |
25 ms |
8284 KB |
Output is correct |
87 |
Correct |
35 ms |
11628 KB |
Output is correct |
88 |
Correct |
25 ms |
8812 KB |
Output is correct |
89 |
Correct |
33 ms |
10476 KB |
Output is correct |
90 |
Correct |
40 ms |
11884 KB |
Output is correct |
91 |
Correct |
7 ms |
2412 KB |
Output is correct |
92 |
Correct |
1 ms |
364 KB |
Output is correct |
93 |
Correct |
5 ms |
1772 KB |
Output is correct |
94 |
Correct |
5 ms |
1516 KB |
Output is correct |
95 |
Correct |
3 ms |
1132 KB |
Output is correct |
96 |
Correct |
7 ms |
2412 KB |
Output is correct |
97 |
Correct |
6 ms |
2028 KB |
Output is correct |
98 |
Correct |
7 ms |
2668 KB |
Output is correct |
99 |
Correct |
6 ms |
1900 KB |
Output is correct |
100 |
Correct |
5 ms |
1516 KB |
Output is correct |
101 |
Correct |
8 ms |
3052 KB |
Output is correct |
102 |
Correct |
28 ms |
9452 KB |
Output is correct |
103 |
Correct |
29 ms |
9652 KB |
Output is correct |
104 |
Correct |
41 ms |
12164 KB |
Output is correct |
105 |
Correct |
32 ms |
10476 KB |
Output is correct |
106 |
Correct |
25 ms |
8300 KB |
Output is correct |
107 |
Correct |
36 ms |
11772 KB |
Output is correct |
108 |
Correct |
25 ms |
8812 KB |
Output is correct |
109 |
Correct |
33 ms |
10476 KB |
Output is correct |
110 |
Correct |
40 ms |
11884 KB |
Output is correct |
111 |
Correct |
7 ms |
2412 KB |
Output is correct |
112 |
Correct |
1 ms |
364 KB |
Output is correct |
113 |
Correct |
5 ms |
1772 KB |
Output is correct |
114 |
Correct |
5 ms |
1516 KB |
Output is correct |
115 |
Correct |
3 ms |
1152 KB |
Output is correct |
116 |
Correct |
7 ms |
2412 KB |
Output is correct |
117 |
Correct |
6 ms |
2028 KB |
Output is correct |
118 |
Correct |
7 ms |
2668 KB |
Output is correct |
119 |
Correct |
6 ms |
1900 KB |
Output is correct |
120 |
Correct |
43 ms |
13804 KB |
Output is correct |
121 |
Correct |
549 ms |
186348 KB |
Output is correct |
122 |
Correct |
571 ms |
174700 KB |
Output is correct |
123 |
Correct |
544 ms |
172908 KB |
Output is correct |
124 |
Correct |
590 ms |
171372 KB |
Output is correct |
125 |
Correct |
550 ms |
179052 KB |
Output is correct |
126 |
Correct |
617 ms |
184820 KB |
Output is correct |
127 |
Correct |
542 ms |
178664 KB |
Output is correct |
128 |
Correct |
717 ms |
200940 KB |
Output is correct |
129 |
Correct |
556 ms |
170220 KB |
Output is correct |
130 |
Correct |
28 ms |
8812 KB |
Output is correct |
131 |
Correct |
1 ms |
364 KB |
Output is correct |
132 |
Correct |
38 ms |
11116 KB |
Output is correct |
133 |
Correct |
5 ms |
1516 KB |
Output is correct |
134 |
Correct |
26 ms |
7916 KB |
Output is correct |
135 |
Correct |
74 ms |
24428 KB |
Output is correct |
136 |
Correct |
83 ms |
24940 KB |
Output is correct |
137 |
Correct |
53 ms |
13932 KB |
Output is correct |
138 |
Correct |
95 ms |
25324 KB |
Output is correct |
139 |
Correct |
45 ms |
14188 KB |
Output is correct |
140 |
Correct |
42 ms |
13804 KB |
Output is correct |
141 |
Correct |
558 ms |
186348 KB |
Output is correct |
142 |
Correct |
566 ms |
174700 KB |
Output is correct |
143 |
Correct |
548 ms |
172908 KB |
Output is correct |
144 |
Correct |
589 ms |
171364 KB |
Output is correct |
145 |
Correct |
550 ms |
178924 KB |
Output is correct |
146 |
Correct |
621 ms |
184684 KB |
Output is correct |
147 |
Correct |
548 ms |
178688 KB |
Output is correct |
148 |
Correct |
730 ms |
200684 KB |
Output is correct |
149 |
Correct |
558 ms |
170388 KB |
Output is correct |
150 |
Correct |
27 ms |
8812 KB |
Output is correct |
151 |
Correct |
1 ms |
364 KB |
Output is correct |
152 |
Correct |
38 ms |
11116 KB |
Output is correct |
153 |
Correct |
5 ms |
1516 KB |
Output is correct |
154 |
Correct |
25 ms |
7916 KB |
Output is correct |
155 |
Correct |
72 ms |
24172 KB |
Output is correct |
156 |
Correct |
85 ms |
25068 KB |
Output is correct |
157 |
Correct |
52 ms |
13932 KB |
Output is correct |
158 |
Correct |
96 ms |
25376 KB |
Output is correct |
159 |
Correct |
45 ms |
14188 KB |
Output is correct |
160 |
Correct |
42 ms |
13804 KB |
Output is correct |
161 |
Correct |
561 ms |
186220 KB |
Output is correct |
162 |
Correct |
567 ms |
174572 KB |
Output is correct |
163 |
Correct |
541 ms |
172780 KB |
Output is correct |
164 |
Correct |
593 ms |
171312 KB |
Output is correct |
165 |
Correct |
552 ms |
179052 KB |
Output is correct |
166 |
Correct |
616 ms |
184812 KB |
Output is correct |
167 |
Correct |
534 ms |
178796 KB |
Output is correct |
168 |
Correct |
715 ms |
200812 KB |
Output is correct |
169 |
Correct |
556 ms |
170220 KB |
Output is correct |
170 |
Correct |
28 ms |
8940 KB |
Output is correct |
171 |
Correct |
1 ms |
364 KB |
Output is correct |
172 |
Correct |
38 ms |
11116 KB |
Output is correct |
173 |
Correct |
5 ms |
1516 KB |
Output is correct |
174 |
Correct |
26 ms |
7916 KB |
Output is correct |
175 |
Correct |
72 ms |
24172 KB |
Output is correct |
176 |
Correct |
84 ms |
25056 KB |
Output is correct |
177 |
Correct |
52 ms |
13932 KB |
Output is correct |
178 |
Correct |
97 ms |
25324 KB |
Output is correct |
179 |
Correct |
44 ms |
14188 KB |
Output is correct |
180 |
Correct |
42 ms |
13804 KB |
Output is correct |
181 |
Correct |
557 ms |
186220 KB |
Output is correct |
182 |
Correct |
562 ms |
174572 KB |
Output is correct |
183 |
Correct |
552 ms |
172848 KB |
Output is correct |
184 |
Correct |
583 ms |
171372 KB |
Output is correct |
185 |
Correct |
550 ms |
178796 KB |
Output is correct |
186 |
Correct |
620 ms |
184812 KB |
Output is correct |
187 |
Correct |
545 ms |
178668 KB |
Output is correct |
188 |
Correct |
714 ms |
200556 KB |
Output is correct |
189 |
Correct |
552 ms |
170220 KB |
Output is correct |
190 |
Correct |
27 ms |
8812 KB |
Output is correct |
191 |
Correct |
1 ms |
364 KB |
Output is correct |
192 |
Correct |
38 ms |
11116 KB |
Output is correct |
193 |
Correct |
5 ms |
1516 KB |
Output is correct |
194 |
Correct |
26 ms |
7916 KB |
Output is correct |
195 |
Correct |
72 ms |
24172 KB |
Output is correct |
196 |
Correct |
85 ms |
25008 KB |
Output is correct |
197 |
Correct |
55 ms |
13904 KB |
Output is correct |
198 |
Correct |
96 ms |
25324 KB |
Output is correct |
199 |
Correct |
47 ms |
14188 KB |
Output is correct |
200 |
Correct |
43 ms |
13804 KB |
Output is correct |
201 |
Correct |
558 ms |
186324 KB |
Output is correct |
202 |
Correct |
570 ms |
174472 KB |
Output is correct |
203 |
Correct |
548 ms |
172780 KB |
Output is correct |
204 |
Correct |
586 ms |
171372 KB |
Output is correct |
205 |
Correct |
556 ms |
179052 KB |
Output is correct |
206 |
Correct |
618 ms |
184812 KB |
Output is correct |
207 |
Correct |
540 ms |
178628 KB |
Output is correct |
208 |
Correct |
713 ms |
200616 KB |
Output is correct |
209 |
Correct |
559 ms |
170476 KB |
Output is correct |
210 |
Correct |
27 ms |
8812 KB |
Output is correct |
211 |
Correct |
1 ms |
364 KB |
Output is correct |
212 |
Correct |
38 ms |
11116 KB |
Output is correct |
213 |
Correct |
5 ms |
1516 KB |
Output is correct |
214 |
Correct |
27 ms |
7916 KB |
Output is correct |
215 |
Correct |
72 ms |
24172 KB |
Output is correct |
216 |
Correct |
85 ms |
24940 KB |
Output is correct |
217 |
Correct |
52 ms |
13932 KB |
Output is correct |
218 |
Correct |
95 ms |
25324 KB |
Output is correct |
219 |
Correct |
349 ms |
190060 KB |
Output is correct |
220 |
Correct |
539 ms |
291820 KB |
Output is correct |
221 |
Correct |
151 ms |
82668 KB |
Output is correct |
222 |
Correct |
220 ms |
119404 KB |
Output is correct |
223 |
Correct |
1368 ms |
750828 KB |
Output is correct |
224 |
Correct |
1801 ms |
954292 KB |
Output is correct |
225 |
Correct |
1697 ms |
925608 KB |
Output is correct |
226 |
Correct |
345 ms |
184812 KB |
Output is correct |
227 |
Correct |
1818 ms |
978816 KB |
Output is correct |
228 |
Correct |
749 ms |
406252 KB |
Output is correct |
229 |
Correct |
1540 ms |
856044 KB |
Output is correct |
230 |
Correct |
1253 ms |
674540 KB |
Output is correct |
231 |
Correct |
1104 ms |
592820 KB |
Output is correct |
232 |
Correct |
360 ms |
194284 KB |
Output is correct |
233 |
Correct |
1249 ms |
677908 KB |
Output is correct |
234 |
Correct |
1209 ms |
651528 KB |
Output is correct |
235 |
Correct |
1260 ms |
687084 KB |
Output is correct |
236 |
Correct |
1346 ms |
737516 KB |
Output is correct |
237 |
Correct |
1079 ms |
581100 KB |
Output is correct |
238 |
Correct |
351 ms |
191980 KB |
Output is correct |
239 |
Correct |
351 ms |
190188 KB |
Output is correct |
240 |
Correct |
532 ms |
291820 KB |
Output is correct |
241 |
Correct |
148 ms |
82412 KB |
Output is correct |
242 |
Correct |
223 ms |
119404 KB |
Output is correct |
243 |
Correct |
1384 ms |
750756 KB |
Output is correct |
244 |
Correct |
1763 ms |
954152 KB |
Output is correct |
245 |
Correct |
1692 ms |
925460 KB |
Output is correct |
246 |
Correct |
342 ms |
184684 KB |
Output is correct |
247 |
Correct |
1811 ms |
978940 KB |
Output is correct |
248 |
Correct |
731 ms |
406124 KB |
Output is correct |
249 |
Correct |
1545 ms |
856044 KB |
Output is correct |
250 |
Correct |
1239 ms |
674412 KB |
Output is correct |
251 |
Correct |
1085 ms |
592876 KB |
Output is correct |
252 |
Correct |
360 ms |
194156 KB |
Output is correct |
253 |
Correct |
1255 ms |
678056 KB |
Output is correct |
254 |
Correct |
1184 ms |
651500 KB |
Output is correct |
255 |
Correct |
1251 ms |
687212 KB |
Output is correct |
256 |
Correct |
1338 ms |
737528 KB |
Output is correct |
257 |
Correct |
1079 ms |
581100 KB |
Output is correct |
258 |
Correct |
366 ms |
191980 KB |
Output is correct |
259 |
Correct |
351 ms |
190188 KB |
Output is correct |
260 |
Correct |
536 ms |
291820 KB |
Output is correct |
261 |
Correct |
150 ms |
82412 KB |
Output is correct |
262 |
Correct |
225 ms |
119532 KB |
Output is correct |
263 |
Correct |
1409 ms |
750828 KB |
Output is correct |
264 |
Correct |
1745 ms |
954408 KB |
Output is correct |
265 |
Correct |
1690 ms |
925480 KB |
Output is correct |
266 |
Correct |
341 ms |
184812 KB |
Output is correct |
267 |
Correct |
1793 ms |
979240 KB |
Output is correct |
268 |
Correct |
739 ms |
406252 KB |
Output is correct |
269 |
Correct |
1550 ms |
856172 KB |
Output is correct |
270 |
Correct |
1239 ms |
674668 KB |
Output is correct |
271 |
Correct |
1100 ms |
592876 KB |
Output is correct |
272 |
Correct |
373 ms |
194192 KB |
Output is correct |
273 |
Correct |
1254 ms |
678124 KB |
Output is correct |
274 |
Correct |
1193 ms |
651628 KB |
Output is correct |
275 |
Correct |
1267 ms |
687212 KB |
Output is correct |
276 |
Correct |
1341 ms |
737644 KB |
Output is correct |
277 |
Correct |
1074 ms |
581356 KB |
Output is correct |
278 |
Correct |
358 ms |
192108 KB |
Output is correct |
279 |
Correct |
350 ms |
190188 KB |
Output is correct |
280 |
Correct |
532 ms |
291820 KB |
Output is correct |
281 |
Correct |
148 ms |
82412 KB |
Output is correct |
282 |
Correct |
222 ms |
119532 KB |
Output is correct |
283 |
Correct |
1375 ms |
750700 KB |
Output is correct |
284 |
Correct |
1748 ms |
954280 KB |
Output is correct |
285 |
Correct |
1683 ms |
925352 KB |
Output is correct |
286 |
Correct |
343 ms |
184684 KB |
Output is correct |
287 |
Correct |
1797 ms |
979112 KB |
Output is correct |
288 |
Correct |
741 ms |
406252 KB |
Output is correct |
289 |
Correct |
1554 ms |
856056 KB |
Output is correct |
290 |
Correct |
1245 ms |
674608 KB |
Output is correct |
291 |
Correct |
1084 ms |
592748 KB |
Output is correct |
292 |
Correct |
360 ms |
194156 KB |
Output is correct |
293 |
Correct |
1250 ms |
677996 KB |
Output is correct |
294 |
Correct |
1196 ms |
651816 KB |
Output is correct |
295 |
Correct |
1252 ms |
687084 KB |
Output is correct |
296 |
Correct |
1340 ms |
737516 KB |
Output is correct |
297 |
Correct |
1074 ms |
580972 KB |
Output is correct |
298 |
Correct |
360 ms |
191980 KB |
Output is correct |
299 |
Correct |
353 ms |
190060 KB |
Output is correct |
300 |
Correct |
532 ms |
291692 KB |
Output is correct |
301 |
Correct |
149 ms |
82412 KB |
Output is correct |
302 |
Correct |
224 ms |
119388 KB |
Output is correct |
303 |
Correct |
1370 ms |
750868 KB |
Output is correct |
304 |
Correct |
1753 ms |
954280 KB |
Output is correct |
305 |
Correct |
1690 ms |
925608 KB |
Output is correct |
306 |
Correct |
340 ms |
184684 KB |
Output is correct |
307 |
Correct |
1804 ms |
979024 KB |
Output is correct |
308 |
Correct |
746 ms |
406124 KB |
Output is correct |
309 |
Correct |
1554 ms |
856124 KB |
Output is correct |
310 |
Correct |
1249 ms |
674540 KB |
Output is correct |
311 |
Correct |
1106 ms |
592748 KB |
Output is correct |
312 |
Correct |
369 ms |
194156 KB |
Output is correct |
313 |
Correct |
1257 ms |
677952 KB |
Output is correct |
314 |
Correct |
1206 ms |
651500 KB |
Output is correct |
315 |
Correct |
1257 ms |
687132 KB |
Output is correct |
316 |
Correct |
1362 ms |
737644 KB |
Output is correct |
317 |
Correct |
1111 ms |
581004 KB |
Output is correct |
318 |
Execution timed out |
2185 ms |
1395272 KB |
Time limit exceeded |
319 |
Halted |
0 ms |
0 KB |
- |