#include <bits/stdc++.h>
#include "jelly.h"
using namespace std;
#define ve vector
typedef long long ll;
typedef pair<int, int> pii;
const int INF = 1e9 + 10;
int find_maximum_unique(int x, int y, ve<int> A, ve<int> B) {
int n = (int)A.size();
ve<ve<ve<int>>> DP(n + 1, ve<ve<int>>(x + 1, ve<int>(y + 1, -1)));
DP[0][0][0] = 0;
for (int i = 1; i <= n; i++) {
for (int j = 0; j <= x; j++) {
for (int k = 0; k <= y; k++) {
int v1 = DP[i - 1][j][k];
int v2 = -1;
int v3 = -1;
if (j - A[i - 1] >= 0) {
int v = DP[i - 1][j - A[i - 1]][k];
if (v != -1) v2 = v + 1;
}
if (k - B[i - 1] >= 0) {
int v = DP[i - 1][j][k - B[i - 1]];
if (v != -1) v2 = v + 1;
}
DP[i][j][k] = max(v1, max(v2, v3));
}
}
}
int ans = 0;
for (int j = 0; j <= x; j++) {
for (int k = 0; k <= y; k++) {
ans = max(ans, DP[n][j][k]);
}
}
return ans;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
2124 KB |
Output is correct |
2 |
Correct |
11 ms |
8560 KB |
Output is correct |
3 |
Correct |
11 ms |
8952 KB |
Output is correct |
4 |
Correct |
17 ms |
12080 KB |
Output is correct |
5 |
Correct |
13 ms |
9584 KB |
Output is correct |
6 |
Correct |
9 ms |
7756 KB |
Output is correct |
7 |
Correct |
14 ms |
10536 KB |
Output is correct |
8 |
Correct |
10 ms |
7732 KB |
Output is correct |
9 |
Correct |
13 ms |
9804 KB |
Output is correct |
10 |
Correct |
18 ms |
11624 KB |
Output is correct |
11 |
Correct |
2 ms |
1416 KB |
Output is correct |
12 |
Correct |
3 ms |
2124 KB |
Output is correct |
13 |
Correct |
12 ms |
8564 KB |
Output is correct |
14 |
Correct |
11 ms |
8908 KB |
Output is correct |
15 |
Correct |
18 ms |
12088 KB |
Output is correct |
16 |
Correct |
13 ms |
9548 KB |
Output is correct |
17 |
Correct |
10 ms |
7756 KB |
Output is correct |
18 |
Correct |
14 ms |
10652 KB |
Output is correct |
19 |
Correct |
10 ms |
7628 KB |
Output is correct |
20 |
Correct |
13 ms |
9804 KB |
Output is correct |
21 |
Correct |
3 ms |
2124 KB |
Output is correct |
22 |
Correct |
16 ms |
11724 KB |
Output is correct |
23 |
Correct |
4 ms |
2124 KB |
Output is correct |
24 |
Correct |
1 ms |
204 KB |
Output is correct |
25 |
Correct |
3 ms |
1612 KB |
Output is correct |
26 |
Correct |
2 ms |
1484 KB |
Output is correct |
27 |
Correct |
2 ms |
1056 KB |
Output is correct |
28 |
Correct |
3 ms |
1996 KB |
Output is correct |
29 |
Correct |
3 ms |
1740 KB |
Output is correct |
30 |
Correct |
3 ms |
1996 KB |
Output is correct |
31 |
Correct |
3 ms |
1612 KB |
Output is correct |
32 |
Correct |
1 ms |
204 KB |
Output is correct |
33 |
Correct |
2 ms |
1700 KB |
Output is correct |
34 |
Correct |
3 ms |
1484 KB |
Output is correct |
35 |
Correct |
2 ms |
972 KB |
Output is correct |
36 |
Correct |
3 ms |
1996 KB |
Output is correct |
37 |
Correct |
3 ms |
1740 KB |
Output is correct |
38 |
Correct |
3 ms |
1996 KB |
Output is correct |
39 |
Correct |
3 ms |
1612 KB |
Output is correct |
40 |
Correct |
2 ms |
1316 KB |
Output is correct |
41 |
Correct |
3 ms |
2124 KB |
Output is correct |
42 |
Correct |
11 ms |
8560 KB |
Output is correct |
43 |
Correct |
11 ms |
9036 KB |
Output is correct |
44 |
Correct |
16 ms |
12168 KB |
Output is correct |
45 |
Correct |
13 ms |
9548 KB |
Output is correct |
46 |
Correct |
10 ms |
7756 KB |
Output is correct |
47 |
Correct |
13 ms |
10656 KB |
Output is correct |
48 |
Correct |
10 ms |
7724 KB |
Output is correct |
49 |
Correct |
14 ms |
9804 KB |
Output is correct |
50 |
Correct |
18 ms |
11728 KB |
Output is correct |
51 |
Correct |
3 ms |
2212 KB |
Output is correct |
52 |
Correct |
1 ms |
204 KB |
Output is correct |
53 |
Correct |
3 ms |
1612 KB |
Output is correct |
54 |
Correct |
2 ms |
1484 KB |
Output is correct |
55 |
Correct |
2 ms |
972 KB |
Output is correct |
56 |
Correct |
3 ms |
1996 KB |
Output is correct |
57 |
Correct |
3 ms |
1740 KB |
Output is correct |
58 |
Correct |
3 ms |
1996 KB |
Output is correct |
59 |
Correct |
2 ms |
1612 KB |
Output is correct |
60 |
Correct |
2 ms |
1356 KB |
Output is correct |
61 |
Correct |
4 ms |
2124 KB |
Output is correct |
62 |
Correct |
13 ms |
8556 KB |
Output is correct |
63 |
Correct |
13 ms |
8876 KB |
Output is correct |
64 |
Correct |
16 ms |
12088 KB |
Output is correct |
65 |
Correct |
14 ms |
9572 KB |
Output is correct |
66 |
Correct |
10 ms |
7840 KB |
Output is correct |
67 |
Correct |
13 ms |
10612 KB |
Output is correct |
68 |
Correct |
10 ms |
7636 KB |
Output is correct |
69 |
Correct |
13 ms |
9904 KB |
Output is correct |
70 |
Correct |
16 ms |
11612 KB |
Output is correct |
71 |
Correct |
3 ms |
2124 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
2 ms |
1696 KB |
Output is correct |
74 |
Correct |
2 ms |
1484 KB |
Output is correct |
75 |
Correct |
2 ms |
972 KB |
Output is correct |
76 |
Correct |
4 ms |
1996 KB |
Output is correct |
77 |
Correct |
3 ms |
1804 KB |
Output is correct |
78 |
Correct |
3 ms |
1996 KB |
Output is correct |
79 |
Correct |
2 ms |
1612 KB |
Output is correct |
80 |
Correct |
2 ms |
1356 KB |
Output is correct |
81 |
Correct |
3 ms |
2084 KB |
Output is correct |
82 |
Correct |
11 ms |
8528 KB |
Output is correct |
83 |
Correct |
11 ms |
8944 KB |
Output is correct |
84 |
Correct |
17 ms |
12088 KB |
Output is correct |
85 |
Correct |
13 ms |
9584 KB |
Output is correct |
86 |
Correct |
10 ms |
7760 KB |
Output is correct |
87 |
Correct |
13 ms |
10676 KB |
Output is correct |
88 |
Correct |
11 ms |
7740 KB |
Output is correct |
89 |
Correct |
13 ms |
9816 KB |
Output is correct |
90 |
Correct |
16 ms |
11736 KB |
Output is correct |
91 |
Correct |
3 ms |
2136 KB |
Output is correct |
92 |
Correct |
1 ms |
216 KB |
Output is correct |
93 |
Correct |
3 ms |
1624 KB |
Output is correct |
94 |
Correct |
2 ms |
1496 KB |
Output is correct |
95 |
Correct |
2 ms |
984 KB |
Output is correct |
96 |
Correct |
3 ms |
2008 KB |
Output is correct |
97 |
Correct |
3 ms |
1712 KB |
Output is correct |
98 |
Correct |
3 ms |
1996 KB |
Output is correct |
99 |
Correct |
3 ms |
1736 KB |
Output is correct |
100 |
Correct |
2 ms |
1356 KB |
Output is correct |
101 |
Correct |
3 ms |
2084 KB |
Output is correct |
102 |
Correct |
11 ms |
8556 KB |
Output is correct |
103 |
Correct |
11 ms |
8908 KB |
Output is correct |
104 |
Correct |
16 ms |
11980 KB |
Output is correct |
105 |
Correct |
14 ms |
9576 KB |
Output is correct |
106 |
Correct |
10 ms |
7756 KB |
Output is correct |
107 |
Correct |
14 ms |
10656 KB |
Output is correct |
108 |
Correct |
9 ms |
7732 KB |
Output is correct |
109 |
Correct |
13 ms |
9908 KB |
Output is correct |
110 |
Correct |
16 ms |
11696 KB |
Output is correct |
111 |
Correct |
4 ms |
2124 KB |
Output is correct |
112 |
Correct |
1 ms |
292 KB |
Output is correct |
113 |
Correct |
2 ms |
1728 KB |
Output is correct |
114 |
Correct |
2 ms |
1484 KB |
Output is correct |
115 |
Correct |
2 ms |
972 KB |
Output is correct |
116 |
Correct |
3 ms |
1996 KB |
Output is correct |
117 |
Correct |
3 ms |
1740 KB |
Output is correct |
118 |
Correct |
3 ms |
1996 KB |
Output is correct |
119 |
Correct |
2 ms |
1612 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
2124 KB |
Output is correct |
2 |
Correct |
11 ms |
8560 KB |
Output is correct |
3 |
Correct |
11 ms |
8952 KB |
Output is correct |
4 |
Correct |
17 ms |
12080 KB |
Output is correct |
5 |
Correct |
13 ms |
9584 KB |
Output is correct |
6 |
Correct |
9 ms |
7756 KB |
Output is correct |
7 |
Correct |
14 ms |
10536 KB |
Output is correct |
8 |
Correct |
10 ms |
7732 KB |
Output is correct |
9 |
Correct |
13 ms |
9804 KB |
Output is correct |
10 |
Correct |
18 ms |
11624 KB |
Output is correct |
11 |
Correct |
2 ms |
1416 KB |
Output is correct |
12 |
Correct |
3 ms |
2124 KB |
Output is correct |
13 |
Correct |
12 ms |
8564 KB |
Output is correct |
14 |
Correct |
11 ms |
8908 KB |
Output is correct |
15 |
Correct |
18 ms |
12088 KB |
Output is correct |
16 |
Correct |
13 ms |
9548 KB |
Output is correct |
17 |
Correct |
10 ms |
7756 KB |
Output is correct |
18 |
Correct |
14 ms |
10652 KB |
Output is correct |
19 |
Correct |
10 ms |
7628 KB |
Output is correct |
20 |
Correct |
13 ms |
9804 KB |
Output is correct |
21 |
Correct |
3 ms |
2124 KB |
Output is correct |
22 |
Correct |
16 ms |
11724 KB |
Output is correct |
23 |
Correct |
4 ms |
2124 KB |
Output is correct |
24 |
Correct |
1 ms |
204 KB |
Output is correct |
25 |
Correct |
3 ms |
1612 KB |
Output is correct |
26 |
Correct |
2 ms |
1484 KB |
Output is correct |
27 |
Correct |
2 ms |
1056 KB |
Output is correct |
28 |
Correct |
3 ms |
1996 KB |
Output is correct |
29 |
Correct |
3 ms |
1740 KB |
Output is correct |
30 |
Correct |
3 ms |
1996 KB |
Output is correct |
31 |
Correct |
3 ms |
1612 KB |
Output is correct |
32 |
Correct |
1 ms |
204 KB |
Output is correct |
33 |
Correct |
2 ms |
1700 KB |
Output is correct |
34 |
Correct |
3 ms |
1484 KB |
Output is correct |
35 |
Correct |
2 ms |
972 KB |
Output is correct |
36 |
Correct |
3 ms |
1996 KB |
Output is correct |
37 |
Correct |
3 ms |
1740 KB |
Output is correct |
38 |
Correct |
3 ms |
1996 KB |
Output is correct |
39 |
Correct |
3 ms |
1612 KB |
Output is correct |
40 |
Correct |
2 ms |
1316 KB |
Output is correct |
41 |
Correct |
3 ms |
2124 KB |
Output is correct |
42 |
Correct |
11 ms |
8560 KB |
Output is correct |
43 |
Correct |
11 ms |
9036 KB |
Output is correct |
44 |
Correct |
16 ms |
12168 KB |
Output is correct |
45 |
Correct |
13 ms |
9548 KB |
Output is correct |
46 |
Correct |
10 ms |
7756 KB |
Output is correct |
47 |
Correct |
13 ms |
10656 KB |
Output is correct |
48 |
Correct |
10 ms |
7724 KB |
Output is correct |
49 |
Correct |
14 ms |
9804 KB |
Output is correct |
50 |
Correct |
18 ms |
11728 KB |
Output is correct |
51 |
Correct |
3 ms |
2212 KB |
Output is correct |
52 |
Correct |
1 ms |
204 KB |
Output is correct |
53 |
Correct |
3 ms |
1612 KB |
Output is correct |
54 |
Correct |
2 ms |
1484 KB |
Output is correct |
55 |
Correct |
2 ms |
972 KB |
Output is correct |
56 |
Correct |
3 ms |
1996 KB |
Output is correct |
57 |
Correct |
3 ms |
1740 KB |
Output is correct |
58 |
Correct |
3 ms |
1996 KB |
Output is correct |
59 |
Correct |
2 ms |
1612 KB |
Output is correct |
60 |
Correct |
2 ms |
1356 KB |
Output is correct |
61 |
Correct |
4 ms |
2124 KB |
Output is correct |
62 |
Correct |
13 ms |
8556 KB |
Output is correct |
63 |
Correct |
13 ms |
8876 KB |
Output is correct |
64 |
Correct |
16 ms |
12088 KB |
Output is correct |
65 |
Correct |
14 ms |
9572 KB |
Output is correct |
66 |
Correct |
10 ms |
7840 KB |
Output is correct |
67 |
Correct |
13 ms |
10612 KB |
Output is correct |
68 |
Correct |
10 ms |
7636 KB |
Output is correct |
69 |
Correct |
13 ms |
9904 KB |
Output is correct |
70 |
Correct |
16 ms |
11612 KB |
Output is correct |
71 |
Correct |
3 ms |
2124 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
2 ms |
1696 KB |
Output is correct |
74 |
Correct |
2 ms |
1484 KB |
Output is correct |
75 |
Correct |
2 ms |
972 KB |
Output is correct |
76 |
Correct |
4 ms |
1996 KB |
Output is correct |
77 |
Correct |
3 ms |
1804 KB |
Output is correct |
78 |
Correct |
3 ms |
1996 KB |
Output is correct |
79 |
Correct |
2 ms |
1612 KB |
Output is correct |
80 |
Correct |
2 ms |
1356 KB |
Output is correct |
81 |
Correct |
3 ms |
2084 KB |
Output is correct |
82 |
Correct |
11 ms |
8528 KB |
Output is correct |
83 |
Correct |
11 ms |
8944 KB |
Output is correct |
84 |
Correct |
17 ms |
12088 KB |
Output is correct |
85 |
Correct |
13 ms |
9584 KB |
Output is correct |
86 |
Correct |
10 ms |
7760 KB |
Output is correct |
87 |
Correct |
13 ms |
10676 KB |
Output is correct |
88 |
Correct |
11 ms |
7740 KB |
Output is correct |
89 |
Correct |
13 ms |
9816 KB |
Output is correct |
90 |
Correct |
16 ms |
11736 KB |
Output is correct |
91 |
Correct |
3 ms |
2136 KB |
Output is correct |
92 |
Correct |
1 ms |
216 KB |
Output is correct |
93 |
Correct |
3 ms |
1624 KB |
Output is correct |
94 |
Correct |
2 ms |
1496 KB |
Output is correct |
95 |
Correct |
2 ms |
984 KB |
Output is correct |
96 |
Correct |
3 ms |
2008 KB |
Output is correct |
97 |
Correct |
3 ms |
1712 KB |
Output is correct |
98 |
Correct |
3 ms |
1996 KB |
Output is correct |
99 |
Correct |
3 ms |
1736 KB |
Output is correct |
100 |
Correct |
2 ms |
1356 KB |
Output is correct |
101 |
Correct |
3 ms |
2084 KB |
Output is correct |
102 |
Correct |
11 ms |
8556 KB |
Output is correct |
103 |
Correct |
11 ms |
8908 KB |
Output is correct |
104 |
Correct |
16 ms |
11980 KB |
Output is correct |
105 |
Correct |
14 ms |
9576 KB |
Output is correct |
106 |
Correct |
10 ms |
7756 KB |
Output is correct |
107 |
Correct |
14 ms |
10656 KB |
Output is correct |
108 |
Correct |
9 ms |
7732 KB |
Output is correct |
109 |
Correct |
13 ms |
9908 KB |
Output is correct |
110 |
Correct |
16 ms |
11696 KB |
Output is correct |
111 |
Correct |
4 ms |
2124 KB |
Output is correct |
112 |
Correct |
1 ms |
292 KB |
Output is correct |
113 |
Correct |
2 ms |
1728 KB |
Output is correct |
114 |
Correct |
2 ms |
1484 KB |
Output is correct |
115 |
Correct |
2 ms |
972 KB |
Output is correct |
116 |
Correct |
3 ms |
1996 KB |
Output is correct |
117 |
Correct |
3 ms |
1740 KB |
Output is correct |
118 |
Correct |
3 ms |
1996 KB |
Output is correct |
119 |
Correct |
2 ms |
1612 KB |
Output is correct |
120 |
Incorrect |
16 ms |
9488 KB |
1st lines differ - on the 1st token, expected: '34', found: '31' |
121 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
279 ms |
182168 KB |
Output is correct |
2 |
Correct |
459 ms |
283680 KB |
Output is correct |
3 |
Correct |
113 ms |
74520 KB |
Output is correct |
4 |
Correct |
176 ms |
111348 KB |
Output is correct |
5 |
Correct |
1367 ms |
750948 KB |
Output is correct |
6 |
Correct |
1637 ms |
953512 KB |
Output is correct |
7 |
Correct |
1396 ms |
924652 KB |
Output is correct |
8 |
Correct |
263 ms |
176964 KB |
Output is correct |
9 |
Correct |
1472 ms |
978112 KB |
Output is correct |
10 |
Correct |
647 ms |
398408 KB |
Output is correct |
11 |
Correct |
1337 ms |
855992 KB |
Output is correct |
12 |
Correct |
1028 ms |
674308 KB |
Output is correct |
13 |
Correct |
971 ms |
592324 KB |
Output is correct |
14 |
Correct |
279 ms |
186564 KB |
Output is correct |
15 |
Correct |
1038 ms |
677804 KB |
Output is correct |
16 |
Correct |
991 ms |
651284 KB |
Output is correct |
17 |
Correct |
1051 ms |
687044 KB |
Output is correct |
18 |
Correct |
1122 ms |
737436 KB |
Output is correct |
19 |
Correct |
914 ms |
578500 KB |
Output is correct |
20 |
Correct |
277 ms |
184192 KB |
Output is correct |
21 |
Correct |
270 ms |
182208 KB |
Output is correct |
22 |
Correct |
427 ms |
283588 KB |
Output is correct |
23 |
Correct |
123 ms |
74608 KB |
Output is correct |
24 |
Correct |
172 ms |
111328 KB |
Output is correct |
25 |
Correct |
1219 ms |
750760 KB |
Output is correct |
26 |
Correct |
1374 ms |
953540 KB |
Output is correct |
27 |
Correct |
1332 ms |
924668 KB |
Output is correct |
28 |
Correct |
270 ms |
176872 KB |
Output is correct |
29 |
Correct |
1426 ms |
978540 KB |
Output is correct |
30 |
Correct |
648 ms |
398148 KB |
Output is correct |
31 |
Correct |
1287 ms |
856000 KB |
Output is correct |
32 |
Correct |
988 ms |
674288 KB |
Output is correct |
33 |
Correct |
952 ms |
592280 KB |
Output is correct |
34 |
Correct |
288 ms |
186268 KB |
Output is correct |
35 |
Correct |
1026 ms |
677824 KB |
Output is correct |
36 |
Correct |
950 ms |
651280 KB |
Output is correct |
37 |
Correct |
1010 ms |
687016 KB |
Output is correct |
38 |
Correct |
1083 ms |
737604 KB |
Output is correct |
39 |
Correct |
911 ms |
578388 KB |
Output is correct |
40 |
Correct |
279 ms |
184132 KB |
Output is correct |
41 |
Correct |
283 ms |
182132 KB |
Output is correct |
42 |
Correct |
436 ms |
283624 KB |
Output is correct |
43 |
Correct |
117 ms |
74648 KB |
Output is correct |
44 |
Correct |
168 ms |
111300 KB |
Output is correct |
45 |
Correct |
1152 ms |
750692 KB |
Output is correct |
46 |
Correct |
1459 ms |
953388 KB |
Output is correct |
47 |
Correct |
1351 ms |
924612 KB |
Output is correct |
48 |
Correct |
264 ms |
176836 KB |
Output is correct |
49 |
Correct |
1469 ms |
978204 KB |
Output is correct |
50 |
Correct |
654 ms |
398276 KB |
Output is correct |
51 |
Correct |
1240 ms |
856004 KB |
Output is correct |
52 |
Correct |
1038 ms |
674332 KB |
Output is correct |
53 |
Correct |
939 ms |
592480 KB |
Output is correct |
54 |
Correct |
278 ms |
186312 KB |
Output is correct |
55 |
Correct |
991 ms |
677716 KB |
Output is correct |
56 |
Correct |
946 ms |
651320 KB |
Output is correct |
57 |
Correct |
1010 ms |
687016 KB |
Output is correct |
58 |
Correct |
1100 ms |
737616 KB |
Output is correct |
59 |
Correct |
900 ms |
578536 KB |
Output is correct |
60 |
Correct |
285 ms |
184108 KB |
Output is correct |
61 |
Correct |
271 ms |
182212 KB |
Output is correct |
62 |
Correct |
422 ms |
283572 KB |
Output is correct |
63 |
Correct |
118 ms |
74564 KB |
Output is correct |
64 |
Correct |
176 ms |
111316 KB |
Output is correct |
65 |
Correct |
1138 ms |
750724 KB |
Output is correct |
66 |
Correct |
1507 ms |
953476 KB |
Output is correct |
67 |
Correct |
1400 ms |
924564 KB |
Output is correct |
68 |
Correct |
272 ms |
176840 KB |
Output is correct |
69 |
Correct |
1517 ms |
978120 KB |
Output is correct |
70 |
Correct |
681 ms |
398248 KB |
Output is correct |
71 |
Correct |
1367 ms |
855932 KB |
Output is correct |
72 |
Correct |
1035 ms |
674224 KB |
Output is correct |
73 |
Correct |
1049 ms |
592288 KB |
Output is correct |
74 |
Correct |
301 ms |
186328 KB |
Output is correct |
75 |
Correct |
1110 ms |
677680 KB |
Output is correct |
76 |
Correct |
1056 ms |
651248 KB |
Output is correct |
77 |
Correct |
1042 ms |
686988 KB |
Output is correct |
78 |
Correct |
1217 ms |
737476 KB |
Output is correct |
79 |
Correct |
978 ms |
578304 KB |
Output is correct |
80 |
Correct |
287 ms |
184156 KB |
Output is correct |
81 |
Correct |
283 ms |
182216 KB |
Output is correct |
82 |
Correct |
485 ms |
283612 KB |
Output is correct |
83 |
Correct |
114 ms |
74524 KB |
Output is correct |
84 |
Correct |
168 ms |
111264 KB |
Output is correct |
85 |
Correct |
1227 ms |
750800 KB |
Output is correct |
86 |
Correct |
1734 ms |
953444 KB |
Output is correct |
87 |
Correct |
1429 ms |
924556 KB |
Output is correct |
88 |
Correct |
274 ms |
176840 KB |
Output is correct |
89 |
Correct |
1775 ms |
978204 KB |
Output is correct |
90 |
Correct |
664 ms |
398152 KB |
Output is correct |
91 |
Correct |
1448 ms |
855960 KB |
Output is correct |
92 |
Correct |
1172 ms |
674300 KB |
Output is correct |
93 |
Correct |
1050 ms |
592328 KB |
Output is correct |
94 |
Correct |
335 ms |
186304 KB |
Output is correct |
95 |
Correct |
1109 ms |
677636 KB |
Output is correct |
96 |
Correct |
1045 ms |
651344 KB |
Output is correct |
97 |
Correct |
1147 ms |
687036 KB |
Output is correct |
98 |
Correct |
1278 ms |
737528 KB |
Output is correct |
99 |
Correct |
1004 ms |
578516 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
2188 ms |
1926128 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
1677 ms |
2097156 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
2124 KB |
Output is correct |
2 |
Correct |
11 ms |
8560 KB |
Output is correct |
3 |
Correct |
11 ms |
8952 KB |
Output is correct |
4 |
Correct |
17 ms |
12080 KB |
Output is correct |
5 |
Correct |
13 ms |
9584 KB |
Output is correct |
6 |
Correct |
9 ms |
7756 KB |
Output is correct |
7 |
Correct |
14 ms |
10536 KB |
Output is correct |
8 |
Correct |
10 ms |
7732 KB |
Output is correct |
9 |
Correct |
13 ms |
9804 KB |
Output is correct |
10 |
Correct |
18 ms |
11624 KB |
Output is correct |
11 |
Correct |
2 ms |
1416 KB |
Output is correct |
12 |
Correct |
3 ms |
2124 KB |
Output is correct |
13 |
Correct |
12 ms |
8564 KB |
Output is correct |
14 |
Correct |
11 ms |
8908 KB |
Output is correct |
15 |
Correct |
18 ms |
12088 KB |
Output is correct |
16 |
Correct |
13 ms |
9548 KB |
Output is correct |
17 |
Correct |
10 ms |
7756 KB |
Output is correct |
18 |
Correct |
14 ms |
10652 KB |
Output is correct |
19 |
Correct |
10 ms |
7628 KB |
Output is correct |
20 |
Correct |
13 ms |
9804 KB |
Output is correct |
21 |
Correct |
3 ms |
2124 KB |
Output is correct |
22 |
Correct |
16 ms |
11724 KB |
Output is correct |
23 |
Correct |
4 ms |
2124 KB |
Output is correct |
24 |
Correct |
1 ms |
204 KB |
Output is correct |
25 |
Correct |
3 ms |
1612 KB |
Output is correct |
26 |
Correct |
2 ms |
1484 KB |
Output is correct |
27 |
Correct |
2 ms |
1056 KB |
Output is correct |
28 |
Correct |
3 ms |
1996 KB |
Output is correct |
29 |
Correct |
3 ms |
1740 KB |
Output is correct |
30 |
Correct |
3 ms |
1996 KB |
Output is correct |
31 |
Correct |
3 ms |
1612 KB |
Output is correct |
32 |
Correct |
1 ms |
204 KB |
Output is correct |
33 |
Correct |
2 ms |
1700 KB |
Output is correct |
34 |
Correct |
3 ms |
1484 KB |
Output is correct |
35 |
Correct |
2 ms |
972 KB |
Output is correct |
36 |
Correct |
3 ms |
1996 KB |
Output is correct |
37 |
Correct |
3 ms |
1740 KB |
Output is correct |
38 |
Correct |
3 ms |
1996 KB |
Output is correct |
39 |
Correct |
3 ms |
1612 KB |
Output is correct |
40 |
Correct |
2 ms |
1316 KB |
Output is correct |
41 |
Correct |
3 ms |
2124 KB |
Output is correct |
42 |
Correct |
11 ms |
8560 KB |
Output is correct |
43 |
Correct |
11 ms |
9036 KB |
Output is correct |
44 |
Correct |
16 ms |
12168 KB |
Output is correct |
45 |
Correct |
13 ms |
9548 KB |
Output is correct |
46 |
Correct |
10 ms |
7756 KB |
Output is correct |
47 |
Correct |
13 ms |
10656 KB |
Output is correct |
48 |
Correct |
10 ms |
7724 KB |
Output is correct |
49 |
Correct |
14 ms |
9804 KB |
Output is correct |
50 |
Correct |
18 ms |
11728 KB |
Output is correct |
51 |
Correct |
3 ms |
2212 KB |
Output is correct |
52 |
Correct |
1 ms |
204 KB |
Output is correct |
53 |
Correct |
3 ms |
1612 KB |
Output is correct |
54 |
Correct |
2 ms |
1484 KB |
Output is correct |
55 |
Correct |
2 ms |
972 KB |
Output is correct |
56 |
Correct |
3 ms |
1996 KB |
Output is correct |
57 |
Correct |
3 ms |
1740 KB |
Output is correct |
58 |
Correct |
3 ms |
1996 KB |
Output is correct |
59 |
Correct |
2 ms |
1612 KB |
Output is correct |
60 |
Correct |
2 ms |
1356 KB |
Output is correct |
61 |
Correct |
4 ms |
2124 KB |
Output is correct |
62 |
Correct |
13 ms |
8556 KB |
Output is correct |
63 |
Correct |
13 ms |
8876 KB |
Output is correct |
64 |
Correct |
16 ms |
12088 KB |
Output is correct |
65 |
Correct |
14 ms |
9572 KB |
Output is correct |
66 |
Correct |
10 ms |
7840 KB |
Output is correct |
67 |
Correct |
13 ms |
10612 KB |
Output is correct |
68 |
Correct |
10 ms |
7636 KB |
Output is correct |
69 |
Correct |
13 ms |
9904 KB |
Output is correct |
70 |
Correct |
16 ms |
11612 KB |
Output is correct |
71 |
Correct |
3 ms |
2124 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
2 ms |
1696 KB |
Output is correct |
74 |
Correct |
2 ms |
1484 KB |
Output is correct |
75 |
Correct |
2 ms |
972 KB |
Output is correct |
76 |
Correct |
4 ms |
1996 KB |
Output is correct |
77 |
Correct |
3 ms |
1804 KB |
Output is correct |
78 |
Correct |
3 ms |
1996 KB |
Output is correct |
79 |
Correct |
2 ms |
1612 KB |
Output is correct |
80 |
Correct |
2 ms |
1356 KB |
Output is correct |
81 |
Correct |
3 ms |
2084 KB |
Output is correct |
82 |
Correct |
11 ms |
8528 KB |
Output is correct |
83 |
Correct |
11 ms |
8944 KB |
Output is correct |
84 |
Correct |
17 ms |
12088 KB |
Output is correct |
85 |
Correct |
13 ms |
9584 KB |
Output is correct |
86 |
Correct |
10 ms |
7760 KB |
Output is correct |
87 |
Correct |
13 ms |
10676 KB |
Output is correct |
88 |
Correct |
11 ms |
7740 KB |
Output is correct |
89 |
Correct |
13 ms |
9816 KB |
Output is correct |
90 |
Correct |
16 ms |
11736 KB |
Output is correct |
91 |
Correct |
3 ms |
2136 KB |
Output is correct |
92 |
Correct |
1 ms |
216 KB |
Output is correct |
93 |
Correct |
3 ms |
1624 KB |
Output is correct |
94 |
Correct |
2 ms |
1496 KB |
Output is correct |
95 |
Correct |
2 ms |
984 KB |
Output is correct |
96 |
Correct |
3 ms |
2008 KB |
Output is correct |
97 |
Correct |
3 ms |
1712 KB |
Output is correct |
98 |
Correct |
3 ms |
1996 KB |
Output is correct |
99 |
Correct |
3 ms |
1736 KB |
Output is correct |
100 |
Correct |
2 ms |
1356 KB |
Output is correct |
101 |
Correct |
3 ms |
2084 KB |
Output is correct |
102 |
Correct |
11 ms |
8556 KB |
Output is correct |
103 |
Correct |
11 ms |
8908 KB |
Output is correct |
104 |
Correct |
16 ms |
11980 KB |
Output is correct |
105 |
Correct |
14 ms |
9576 KB |
Output is correct |
106 |
Correct |
10 ms |
7756 KB |
Output is correct |
107 |
Correct |
14 ms |
10656 KB |
Output is correct |
108 |
Correct |
9 ms |
7732 KB |
Output is correct |
109 |
Correct |
13 ms |
9908 KB |
Output is correct |
110 |
Correct |
16 ms |
11696 KB |
Output is correct |
111 |
Correct |
4 ms |
2124 KB |
Output is correct |
112 |
Correct |
1 ms |
292 KB |
Output is correct |
113 |
Correct |
2 ms |
1728 KB |
Output is correct |
114 |
Correct |
2 ms |
1484 KB |
Output is correct |
115 |
Correct |
2 ms |
972 KB |
Output is correct |
116 |
Correct |
3 ms |
1996 KB |
Output is correct |
117 |
Correct |
3 ms |
1740 KB |
Output is correct |
118 |
Correct |
3 ms |
1996 KB |
Output is correct |
119 |
Correct |
2 ms |
1612 KB |
Output is correct |
120 |
Incorrect |
16 ms |
9488 KB |
1st lines differ - on the 1st token, expected: '34', found: '31' |
121 |
Halted |
0 ms |
0 KB |
- |