#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;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
4 ms |
2124 KB |
Output is correct |
2 |
Correct |
12 ms |
8568 KB |
Output is correct |
3 |
Correct |
12 ms |
8908 KB |
Output is correct |
4 |
Correct |
18 ms |
11980 KB |
Output is correct |
5 |
Correct |
13 ms |
9572 KB |
Output is correct |
6 |
Correct |
10 ms |
7756 KB |
Output is correct |
7 |
Correct |
13 ms |
10572 KB |
Output is correct |
8 |
Correct |
11 ms |
7612 KB |
Output is correct |
9 |
Correct |
13 ms |
9908 KB |
Output is correct |
10 |
Correct |
17 ms |
11724 KB |
Output is correct |
11 |
Correct |
2 ms |
1356 KB |
Output is correct |
12 |
Correct |
3 ms |
2124 KB |
Output is correct |
13 |
Correct |
13 ms |
8524 KB |
Output is correct |
14 |
Correct |
15 ms |
8852 KB |
Output is correct |
15 |
Correct |
17 ms |
11988 KB |
Output is correct |
16 |
Correct |
16 ms |
9512 KB |
Output is correct |
17 |
Correct |
9 ms |
7852 KB |
Output is correct |
18 |
Correct |
14 ms |
10652 KB |
Output is correct |
19 |
Correct |
10 ms |
7628 KB |
Output is correct |
20 |
Correct |
14 ms |
9904 KB |
Output is correct |
21 |
Correct |
4 ms |
2124 KB |
Output is correct |
22 |
Correct |
20 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 |
3 ms |
1484 KB |
Output is correct |
27 |
Correct |
2 ms |
972 KB |
Output is correct |
28 |
Correct |
4 ms |
2064 KB |
Output is correct |
29 |
Correct |
3 ms |
1740 KB |
Output is correct |
30 |
Correct |
4 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 |
1612 KB |
Output is correct |
34 |
Correct |
2 ms |
1484 KB |
Output is correct |
35 |
Correct |
2 ms |
972 KB |
Output is correct |
36 |
Correct |
3 ms |
1996 KB |
Output is correct |
37 |
Correct |
3 ms |
1740 KB |
Output is correct |
38 |
Correct |
3 ms |
1952 KB |
Output is correct |
39 |
Correct |
3 ms |
1612 KB |
Output is correct |
40 |
Correct |
2 ms |
1356 KB |
Output is correct |
41 |
Correct |
3 ms |
2124 KB |
Output is correct |
42 |
Correct |
11 ms |
8568 KB |
Output is correct |
43 |
Correct |
10 ms |
8908 KB |
Output is correct |
44 |
Correct |
15 ms |
11980 KB |
Output is correct |
45 |
Correct |
13 ms |
9548 KB |
Output is correct |
46 |
Correct |
9 ms |
7840 KB |
Output is correct |
47 |
Correct |
15 ms |
10572 KB |
Output is correct |
48 |
Correct |
12 ms |
7720 KB |
Output is correct |
49 |
Correct |
14 ms |
9804 KB |
Output is correct |
50 |
Correct |
17 ms |
11596 KB |
Output is correct |
51 |
Correct |
3 ms |
2124 KB |
Output is correct |
52 |
Correct |
1 ms |
204 KB |
Output is correct |
53 |
Correct |
2 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 |
4 ms |
1996 KB |
Output is correct |
57 |
Correct |
3 ms |
1696 KB |
Output is correct |
58 |
Correct |
3 ms |
2004 KB |
Output is correct |
59 |
Correct |
3 ms |
1612 KB |
Output is correct |
60 |
Correct |
3 ms |
1356 KB |
Output is correct |
61 |
Correct |
3 ms |
2088 KB |
Output is correct |
62 |
Correct |
10 ms |
8524 KB |
Output is correct |
63 |
Correct |
11 ms |
8868 KB |
Output is correct |
64 |
Correct |
16 ms |
12088 KB |
Output is correct |
65 |
Correct |
14 ms |
9548 KB |
Output is correct |
66 |
Correct |
10 ms |
7756 KB |
Output is correct |
67 |
Correct |
19 ms |
10632 KB |
Output is correct |
68 |
Correct |
10 ms |
7628 KB |
Output is correct |
69 |
Correct |
12 ms |
9912 KB |
Output is correct |
70 |
Correct |
19 ms |
11692 KB |
Output is correct |
71 |
Correct |
4 ms |
2124 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
3 ms |
1612 KB |
Output is correct |
74 |
Correct |
2 ms |
1484 KB |
Output is correct |
75 |
Correct |
2 ms |
1004 KB |
Output is correct |
76 |
Correct |
3 ms |
1996 KB |
Output is correct |
77 |
Correct |
3 ms |
1740 KB |
Output is correct |
78 |
Correct |
3 ms |
1996 KB |
Output is correct |
79 |
Correct |
2 ms |
1612 KB |
Output is correct |
80 |
Correct |
2 ms |
1356 KB |
Output is correct |
81 |
Correct |
3 ms |
2124 KB |
Output is correct |
82 |
Correct |
12 ms |
8560 KB |
Output is correct |
83 |
Correct |
14 ms |
8872 KB |
Output is correct |
84 |
Correct |
20 ms |
12060 KB |
Output is correct |
85 |
Correct |
13 ms |
9580 KB |
Output is correct |
86 |
Correct |
11 ms |
7848 KB |
Output is correct |
87 |
Correct |
15 ms |
10656 KB |
Output is correct |
88 |
Correct |
12 ms |
7632 KB |
Output is correct |
89 |
Correct |
17 ms |
9804 KB |
Output is correct |
90 |
Correct |
18 ms |
11596 KB |
Output is correct |
91 |
Correct |
3 ms |
2124 KB |
Output is correct |
92 |
Correct |
1 ms |
204 KB |
Output is correct |
93 |
Correct |
3 ms |
1612 KB |
Output is correct |
94 |
Correct |
3 ms |
1476 KB |
Output is correct |
95 |
Correct |
2 ms |
972 KB |
Output is correct |
96 |
Correct |
3 ms |
1996 KB |
Output is correct |
97 |
Correct |
3 ms |
1740 KB |
Output is correct |
98 |
Correct |
3 ms |
1996 KB |
Output is correct |
99 |
Correct |
3 ms |
1612 KB |
Output is correct |
100 |
Correct |
2 ms |
1356 KB |
Output is correct |
101 |
Correct |
3 ms |
2124 KB |
Output is correct |
102 |
Correct |
11 ms |
8524 KB |
Output is correct |
103 |
Correct |
11 ms |
8908 KB |
Output is correct |
104 |
Correct |
17 ms |
12088 KB |
Output is correct |
105 |
Correct |
16 ms |
9576 KB |
Output is correct |
106 |
Correct |
10 ms |
7844 KB |
Output is correct |
107 |
Correct |
17 ms |
10656 KB |
Output is correct |
108 |
Correct |
10 ms |
7628 KB |
Output is correct |
109 |
Correct |
17 ms |
9804 KB |
Output is correct |
110 |
Correct |
16 ms |
11596 KB |
Output is correct |
111 |
Correct |
4 ms |
2124 KB |
Output is correct |
112 |
Correct |
1 ms |
204 KB |
Output is correct |
113 |
Correct |
2 ms |
1612 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 |
2 ms |
1740 KB |
Output is correct |
118 |
Correct |
3 ms |
1996 KB |
Output is correct |
119 |
Correct |
2 ms |
1612 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
4 ms |
2124 KB |
Output is correct |
2 |
Correct |
12 ms |
8568 KB |
Output is correct |
3 |
Correct |
12 ms |
8908 KB |
Output is correct |
4 |
Correct |
18 ms |
11980 KB |
Output is correct |
5 |
Correct |
13 ms |
9572 KB |
Output is correct |
6 |
Correct |
10 ms |
7756 KB |
Output is correct |
7 |
Correct |
13 ms |
10572 KB |
Output is correct |
8 |
Correct |
11 ms |
7612 KB |
Output is correct |
9 |
Correct |
13 ms |
9908 KB |
Output is correct |
10 |
Correct |
17 ms |
11724 KB |
Output is correct |
11 |
Correct |
2 ms |
1356 KB |
Output is correct |
12 |
Correct |
3 ms |
2124 KB |
Output is correct |
13 |
Correct |
13 ms |
8524 KB |
Output is correct |
14 |
Correct |
15 ms |
8852 KB |
Output is correct |
15 |
Correct |
17 ms |
11988 KB |
Output is correct |
16 |
Correct |
16 ms |
9512 KB |
Output is correct |
17 |
Correct |
9 ms |
7852 KB |
Output is correct |
18 |
Correct |
14 ms |
10652 KB |
Output is correct |
19 |
Correct |
10 ms |
7628 KB |
Output is correct |
20 |
Correct |
14 ms |
9904 KB |
Output is correct |
21 |
Correct |
4 ms |
2124 KB |
Output is correct |
22 |
Correct |
20 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 |
3 ms |
1484 KB |
Output is correct |
27 |
Correct |
2 ms |
972 KB |
Output is correct |
28 |
Correct |
4 ms |
2064 KB |
Output is correct |
29 |
Correct |
3 ms |
1740 KB |
Output is correct |
30 |
Correct |
4 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 |
1612 KB |
Output is correct |
34 |
Correct |
2 ms |
1484 KB |
Output is correct |
35 |
Correct |
2 ms |
972 KB |
Output is correct |
36 |
Correct |
3 ms |
1996 KB |
Output is correct |
37 |
Correct |
3 ms |
1740 KB |
Output is correct |
38 |
Correct |
3 ms |
1952 KB |
Output is correct |
39 |
Correct |
3 ms |
1612 KB |
Output is correct |
40 |
Correct |
2 ms |
1356 KB |
Output is correct |
41 |
Correct |
3 ms |
2124 KB |
Output is correct |
42 |
Correct |
11 ms |
8568 KB |
Output is correct |
43 |
Correct |
10 ms |
8908 KB |
Output is correct |
44 |
Correct |
15 ms |
11980 KB |
Output is correct |
45 |
Correct |
13 ms |
9548 KB |
Output is correct |
46 |
Correct |
9 ms |
7840 KB |
Output is correct |
47 |
Correct |
15 ms |
10572 KB |
Output is correct |
48 |
Correct |
12 ms |
7720 KB |
Output is correct |
49 |
Correct |
14 ms |
9804 KB |
Output is correct |
50 |
Correct |
17 ms |
11596 KB |
Output is correct |
51 |
Correct |
3 ms |
2124 KB |
Output is correct |
52 |
Correct |
1 ms |
204 KB |
Output is correct |
53 |
Correct |
2 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 |
4 ms |
1996 KB |
Output is correct |
57 |
Correct |
3 ms |
1696 KB |
Output is correct |
58 |
Correct |
3 ms |
2004 KB |
Output is correct |
59 |
Correct |
3 ms |
1612 KB |
Output is correct |
60 |
Correct |
3 ms |
1356 KB |
Output is correct |
61 |
Correct |
3 ms |
2088 KB |
Output is correct |
62 |
Correct |
10 ms |
8524 KB |
Output is correct |
63 |
Correct |
11 ms |
8868 KB |
Output is correct |
64 |
Correct |
16 ms |
12088 KB |
Output is correct |
65 |
Correct |
14 ms |
9548 KB |
Output is correct |
66 |
Correct |
10 ms |
7756 KB |
Output is correct |
67 |
Correct |
19 ms |
10632 KB |
Output is correct |
68 |
Correct |
10 ms |
7628 KB |
Output is correct |
69 |
Correct |
12 ms |
9912 KB |
Output is correct |
70 |
Correct |
19 ms |
11692 KB |
Output is correct |
71 |
Correct |
4 ms |
2124 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
3 ms |
1612 KB |
Output is correct |
74 |
Correct |
2 ms |
1484 KB |
Output is correct |
75 |
Correct |
2 ms |
1004 KB |
Output is correct |
76 |
Correct |
3 ms |
1996 KB |
Output is correct |
77 |
Correct |
3 ms |
1740 KB |
Output is correct |
78 |
Correct |
3 ms |
1996 KB |
Output is correct |
79 |
Correct |
2 ms |
1612 KB |
Output is correct |
80 |
Correct |
2 ms |
1356 KB |
Output is correct |
81 |
Correct |
3 ms |
2124 KB |
Output is correct |
82 |
Correct |
12 ms |
8560 KB |
Output is correct |
83 |
Correct |
14 ms |
8872 KB |
Output is correct |
84 |
Correct |
20 ms |
12060 KB |
Output is correct |
85 |
Correct |
13 ms |
9580 KB |
Output is correct |
86 |
Correct |
11 ms |
7848 KB |
Output is correct |
87 |
Correct |
15 ms |
10656 KB |
Output is correct |
88 |
Correct |
12 ms |
7632 KB |
Output is correct |
89 |
Correct |
17 ms |
9804 KB |
Output is correct |
90 |
Correct |
18 ms |
11596 KB |
Output is correct |
91 |
Correct |
3 ms |
2124 KB |
Output is correct |
92 |
Correct |
1 ms |
204 KB |
Output is correct |
93 |
Correct |
3 ms |
1612 KB |
Output is correct |
94 |
Correct |
3 ms |
1476 KB |
Output is correct |
95 |
Correct |
2 ms |
972 KB |
Output is correct |
96 |
Correct |
3 ms |
1996 KB |
Output is correct |
97 |
Correct |
3 ms |
1740 KB |
Output is correct |
98 |
Correct |
3 ms |
1996 KB |
Output is correct |
99 |
Correct |
3 ms |
1612 KB |
Output is correct |
100 |
Correct |
2 ms |
1356 KB |
Output is correct |
101 |
Correct |
3 ms |
2124 KB |
Output is correct |
102 |
Correct |
11 ms |
8524 KB |
Output is correct |
103 |
Correct |
11 ms |
8908 KB |
Output is correct |
104 |
Correct |
17 ms |
12088 KB |
Output is correct |
105 |
Correct |
16 ms |
9576 KB |
Output is correct |
106 |
Correct |
10 ms |
7844 KB |
Output is correct |
107 |
Correct |
17 ms |
10656 KB |
Output is correct |
108 |
Correct |
10 ms |
7628 KB |
Output is correct |
109 |
Correct |
17 ms |
9804 KB |
Output is correct |
110 |
Correct |
16 ms |
11596 KB |
Output is correct |
111 |
Correct |
4 ms |
2124 KB |
Output is correct |
112 |
Correct |
1 ms |
204 KB |
Output is correct |
113 |
Correct |
2 ms |
1612 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 |
2 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 |
18 ms |
9568 KB |
1st lines differ - on the 1st token, expected: '34', found: '31' |
121 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
298 ms |
182344 KB |
Output is correct |
2 |
Correct |
420 ms |
283580 KB |
Output is correct |
3 |
Correct |
119 ms |
74528 KB |
Output is correct |
4 |
Correct |
167 ms |
111376 KB |
Output is correct |
5 |
Correct |
1328 ms |
750772 KB |
Output is correct |
6 |
Correct |
1641 ms |
953376 KB |
Output is correct |
7 |
Correct |
1467 ms |
924608 KB |
Output is correct |
8 |
Correct |
370 ms |
176836 KB |
Output is correct |
9 |
Correct |
1978 ms |
978236 KB |
Output is correct |
10 |
Correct |
646 ms |
398292 KB |
Output is correct |
11 |
Correct |
1398 ms |
855964 KB |
Output is correct |
12 |
Correct |
1132 ms |
674324 KB |
Output is correct |
13 |
Correct |
1044 ms |
592324 KB |
Output is correct |
14 |
Correct |
294 ms |
186436 KB |
Output is correct |
15 |
Correct |
1147 ms |
677752 KB |
Output is correct |
16 |
Correct |
1091 ms |
651232 KB |
Output is correct |
17 |
Correct |
1138 ms |
687036 KB |
Output is correct |
18 |
Correct |
1183 ms |
737512 KB |
Output is correct |
19 |
Correct |
987 ms |
578312 KB |
Output is correct |
20 |
Correct |
299 ms |
184148 KB |
Output is correct |
21 |
Correct |
287 ms |
182124 KB |
Output is correct |
22 |
Correct |
428 ms |
283564 KB |
Output is correct |
23 |
Correct |
119 ms |
74500 KB |
Output is correct |
24 |
Correct |
173 ms |
111380 KB |
Output is correct |
25 |
Correct |
1231 ms |
750704 KB |
Output is correct |
26 |
Correct |
1509 ms |
953440 KB |
Output is correct |
27 |
Correct |
1521 ms |
924656 KB |
Output is correct |
28 |
Correct |
307 ms |
176840 KB |
Output is correct |
29 |
Correct |
1512 ms |
978340 KB |
Output is correct |
30 |
Correct |
693 ms |
398244 KB |
Output is correct |
31 |
Correct |
1330 ms |
855932 KB |
Output is correct |
32 |
Correct |
1098 ms |
674300 KB |
Output is correct |
33 |
Correct |
981 ms |
592376 KB |
Output is correct |
34 |
Correct |
270 ms |
186304 KB |
Output is correct |
35 |
Correct |
1084 ms |
677800 KB |
Output is correct |
36 |
Correct |
1060 ms |
651260 KB |
Output is correct |
37 |
Correct |
1142 ms |
686920 KB |
Output is correct |
38 |
Correct |
1195 ms |
737424 KB |
Output is correct |
39 |
Correct |
918 ms |
578452 KB |
Output is correct |
40 |
Correct |
277 ms |
184184 KB |
Output is correct |
41 |
Correct |
271 ms |
182116 KB |
Output is correct |
42 |
Correct |
429 ms |
283624 KB |
Output is correct |
43 |
Correct |
115 ms |
74688 KB |
Output is correct |
44 |
Correct |
166 ms |
111444 KB |
Output is correct |
45 |
Correct |
1175 ms |
750692 KB |
Output is correct |
46 |
Correct |
1487 ms |
953352 KB |
Output is correct |
47 |
Correct |
1470 ms |
924588 KB |
Output is correct |
48 |
Correct |
263 ms |
176836 KB |
Output is correct |
49 |
Correct |
1544 ms |
978228 KB |
Output is correct |
50 |
Correct |
637 ms |
398156 KB |
Output is correct |
51 |
Correct |
1301 ms |
856132 KB |
Output is correct |
52 |
Correct |
1090 ms |
674320 KB |
Output is correct |
53 |
Correct |
971 ms |
592384 KB |
Output is correct |
54 |
Correct |
280 ms |
186436 KB |
Output is correct |
55 |
Correct |
1031 ms |
677700 KB |
Output is correct |
56 |
Correct |
998 ms |
651332 KB |
Output is correct |
57 |
Correct |
1115 ms |
687192 KB |
Output is correct |
58 |
Correct |
1181 ms |
737544 KB |
Output is correct |
59 |
Correct |
926 ms |
578496 KB |
Output is correct |
60 |
Correct |
288 ms |
184132 KB |
Output is correct |
61 |
Correct |
274 ms |
182164 KB |
Output is correct |
62 |
Correct |
414 ms |
283532 KB |
Output is correct |
63 |
Correct |
111 ms |
74564 KB |
Output is correct |
64 |
Correct |
168 ms |
111340 KB |
Output is correct |
65 |
Correct |
1177 ms |
750876 KB |
Output is correct |
66 |
Correct |
1517 ms |
953360 KB |
Output is correct |
67 |
Correct |
1454 ms |
924600 KB |
Output is correct |
68 |
Correct |
265 ms |
176784 KB |
Output is correct |
69 |
Correct |
1602 ms |
978348 KB |
Output is correct |
70 |
Correct |
650 ms |
398240 KB |
Output is correct |
71 |
Correct |
1317 ms |
856076 KB |
Output is correct |
72 |
Correct |
1039 ms |
674240 KB |
Output is correct |
73 |
Correct |
994 ms |
592392 KB |
Output is correct |
74 |
Correct |
272 ms |
186284 KB |
Output is correct |
75 |
Correct |
1053 ms |
677748 KB |
Output is correct |
76 |
Correct |
1018 ms |
651388 KB |
Output is correct |
77 |
Correct |
1091 ms |
687044 KB |
Output is correct |
78 |
Correct |
1186 ms |
737568 KB |
Output is correct |
79 |
Correct |
944 ms |
578560 KB |
Output is correct |
80 |
Correct |
298 ms |
184036 KB |
Output is correct |
81 |
Correct |
267 ms |
182284 KB |
Output is correct |
82 |
Correct |
426 ms |
283700 KB |
Output is correct |
83 |
Correct |
112 ms |
74492 KB |
Output is correct |
84 |
Correct |
173 ms |
111356 KB |
Output is correct |
85 |
Correct |
1154 ms |
750848 KB |
Output is correct |
86 |
Correct |
1481 ms |
953392 KB |
Output is correct |
87 |
Correct |
1488 ms |
924656 KB |
Output is correct |
88 |
Correct |
275 ms |
176884 KB |
Output is correct |
89 |
Correct |
1530 ms |
978116 KB |
Output is correct |
90 |
Correct |
667 ms |
398244 KB |
Output is correct |
91 |
Correct |
1309 ms |
855972 KB |
Output is correct |
92 |
Correct |
1044 ms |
674256 KB |
Output is correct |
93 |
Correct |
979 ms |
592328 KB |
Output is correct |
94 |
Correct |
282 ms |
186308 KB |
Output is correct |
95 |
Correct |
1063 ms |
677924 KB |
Output is correct |
96 |
Correct |
991 ms |
651296 KB |
Output is correct |
97 |
Correct |
1084 ms |
686984 KB |
Output is correct |
98 |
Correct |
1163 ms |
737428 KB |
Output is correct |
99 |
Correct |
943 ms |
578500 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Execution timed out |
2171 ms |
2013956 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
1405 ms |
2097156 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
4 ms |
2124 KB |
Output is correct |
2 |
Correct |
12 ms |
8568 KB |
Output is correct |
3 |
Correct |
12 ms |
8908 KB |
Output is correct |
4 |
Correct |
18 ms |
11980 KB |
Output is correct |
5 |
Correct |
13 ms |
9572 KB |
Output is correct |
6 |
Correct |
10 ms |
7756 KB |
Output is correct |
7 |
Correct |
13 ms |
10572 KB |
Output is correct |
8 |
Correct |
11 ms |
7612 KB |
Output is correct |
9 |
Correct |
13 ms |
9908 KB |
Output is correct |
10 |
Correct |
17 ms |
11724 KB |
Output is correct |
11 |
Correct |
2 ms |
1356 KB |
Output is correct |
12 |
Correct |
3 ms |
2124 KB |
Output is correct |
13 |
Correct |
13 ms |
8524 KB |
Output is correct |
14 |
Correct |
15 ms |
8852 KB |
Output is correct |
15 |
Correct |
17 ms |
11988 KB |
Output is correct |
16 |
Correct |
16 ms |
9512 KB |
Output is correct |
17 |
Correct |
9 ms |
7852 KB |
Output is correct |
18 |
Correct |
14 ms |
10652 KB |
Output is correct |
19 |
Correct |
10 ms |
7628 KB |
Output is correct |
20 |
Correct |
14 ms |
9904 KB |
Output is correct |
21 |
Correct |
4 ms |
2124 KB |
Output is correct |
22 |
Correct |
20 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 |
3 ms |
1484 KB |
Output is correct |
27 |
Correct |
2 ms |
972 KB |
Output is correct |
28 |
Correct |
4 ms |
2064 KB |
Output is correct |
29 |
Correct |
3 ms |
1740 KB |
Output is correct |
30 |
Correct |
4 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 |
1612 KB |
Output is correct |
34 |
Correct |
2 ms |
1484 KB |
Output is correct |
35 |
Correct |
2 ms |
972 KB |
Output is correct |
36 |
Correct |
3 ms |
1996 KB |
Output is correct |
37 |
Correct |
3 ms |
1740 KB |
Output is correct |
38 |
Correct |
3 ms |
1952 KB |
Output is correct |
39 |
Correct |
3 ms |
1612 KB |
Output is correct |
40 |
Correct |
2 ms |
1356 KB |
Output is correct |
41 |
Correct |
3 ms |
2124 KB |
Output is correct |
42 |
Correct |
11 ms |
8568 KB |
Output is correct |
43 |
Correct |
10 ms |
8908 KB |
Output is correct |
44 |
Correct |
15 ms |
11980 KB |
Output is correct |
45 |
Correct |
13 ms |
9548 KB |
Output is correct |
46 |
Correct |
9 ms |
7840 KB |
Output is correct |
47 |
Correct |
15 ms |
10572 KB |
Output is correct |
48 |
Correct |
12 ms |
7720 KB |
Output is correct |
49 |
Correct |
14 ms |
9804 KB |
Output is correct |
50 |
Correct |
17 ms |
11596 KB |
Output is correct |
51 |
Correct |
3 ms |
2124 KB |
Output is correct |
52 |
Correct |
1 ms |
204 KB |
Output is correct |
53 |
Correct |
2 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 |
4 ms |
1996 KB |
Output is correct |
57 |
Correct |
3 ms |
1696 KB |
Output is correct |
58 |
Correct |
3 ms |
2004 KB |
Output is correct |
59 |
Correct |
3 ms |
1612 KB |
Output is correct |
60 |
Correct |
3 ms |
1356 KB |
Output is correct |
61 |
Correct |
3 ms |
2088 KB |
Output is correct |
62 |
Correct |
10 ms |
8524 KB |
Output is correct |
63 |
Correct |
11 ms |
8868 KB |
Output is correct |
64 |
Correct |
16 ms |
12088 KB |
Output is correct |
65 |
Correct |
14 ms |
9548 KB |
Output is correct |
66 |
Correct |
10 ms |
7756 KB |
Output is correct |
67 |
Correct |
19 ms |
10632 KB |
Output is correct |
68 |
Correct |
10 ms |
7628 KB |
Output is correct |
69 |
Correct |
12 ms |
9912 KB |
Output is correct |
70 |
Correct |
19 ms |
11692 KB |
Output is correct |
71 |
Correct |
4 ms |
2124 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
3 ms |
1612 KB |
Output is correct |
74 |
Correct |
2 ms |
1484 KB |
Output is correct |
75 |
Correct |
2 ms |
1004 KB |
Output is correct |
76 |
Correct |
3 ms |
1996 KB |
Output is correct |
77 |
Correct |
3 ms |
1740 KB |
Output is correct |
78 |
Correct |
3 ms |
1996 KB |
Output is correct |
79 |
Correct |
2 ms |
1612 KB |
Output is correct |
80 |
Correct |
2 ms |
1356 KB |
Output is correct |
81 |
Correct |
3 ms |
2124 KB |
Output is correct |
82 |
Correct |
12 ms |
8560 KB |
Output is correct |
83 |
Correct |
14 ms |
8872 KB |
Output is correct |
84 |
Correct |
20 ms |
12060 KB |
Output is correct |
85 |
Correct |
13 ms |
9580 KB |
Output is correct |
86 |
Correct |
11 ms |
7848 KB |
Output is correct |
87 |
Correct |
15 ms |
10656 KB |
Output is correct |
88 |
Correct |
12 ms |
7632 KB |
Output is correct |
89 |
Correct |
17 ms |
9804 KB |
Output is correct |
90 |
Correct |
18 ms |
11596 KB |
Output is correct |
91 |
Correct |
3 ms |
2124 KB |
Output is correct |
92 |
Correct |
1 ms |
204 KB |
Output is correct |
93 |
Correct |
3 ms |
1612 KB |
Output is correct |
94 |
Correct |
3 ms |
1476 KB |
Output is correct |
95 |
Correct |
2 ms |
972 KB |
Output is correct |
96 |
Correct |
3 ms |
1996 KB |
Output is correct |
97 |
Correct |
3 ms |
1740 KB |
Output is correct |
98 |
Correct |
3 ms |
1996 KB |
Output is correct |
99 |
Correct |
3 ms |
1612 KB |
Output is correct |
100 |
Correct |
2 ms |
1356 KB |
Output is correct |
101 |
Correct |
3 ms |
2124 KB |
Output is correct |
102 |
Correct |
11 ms |
8524 KB |
Output is correct |
103 |
Correct |
11 ms |
8908 KB |
Output is correct |
104 |
Correct |
17 ms |
12088 KB |
Output is correct |
105 |
Correct |
16 ms |
9576 KB |
Output is correct |
106 |
Correct |
10 ms |
7844 KB |
Output is correct |
107 |
Correct |
17 ms |
10656 KB |
Output is correct |
108 |
Correct |
10 ms |
7628 KB |
Output is correct |
109 |
Correct |
17 ms |
9804 KB |
Output is correct |
110 |
Correct |
16 ms |
11596 KB |
Output is correct |
111 |
Correct |
4 ms |
2124 KB |
Output is correct |
112 |
Correct |
1 ms |
204 KB |
Output is correct |
113 |
Correct |
2 ms |
1612 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 |
2 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 |
18 ms |
9568 KB |
1st lines differ - on the 1st token, expected: '34', found: '31' |
121 |
Halted |
0 ms |
0 KB |
- |