//Coded by Chirath Nirodha
#include<bits/stdc++.h>
using namespace std;
#include "jelly.h"
#define MP make_pair
#define PB push_back
#define F first
#define S second
typedef long long ll;
bool sub4(vector<int> v){
for(int i=1;i<v.size();i++)if(v[i]!=v[i-1])return false;
return true;
}
bool sub5(vector<int> v,vector<int> w){
for(int i=0;i<v.size();i++)if(v[i]!=w[i])return false;
return true;
}
int find_maximum_unique(int x, int y, vector<int> a, vector<int> b) {
int n = a.size();
if(y==0){
int dp1[n+1][x+1];
for(int i=0;i<=x;i++)dp1[0][i]=0;
for(int i=1;i<=n;i++){
for(int j=0;j<=x;j++){
dp1[i][j]=dp1[i-1][j];
if(j-a[i-1]>=0)dp1[i][j]=max(dp1[i][j],dp1[i-1][j-a[i-1]]+1);
}
}
return dp1[n][x];
}
else if(sub4(b)){
int dp2[n+1][x+1];
for(int i=0;i<=x;i++)dp2[0][i]=0;
for(int i=1;i<=n;i++){
for(int j=0;j<=x;j++){
dp2[i][j]=dp2[i-1][j];
if(j-a[i-1]>=0)dp2[i][j]=max(dp2[i][j],dp2[i-1][j-a[i-1]]+1);
}
}
int ans=dp2[n][x];
ans=min(n,ans+y/b[0]);
return ans;
}
else if(sub5(a,b)){
x+=y;
int dp3[n+1][x+1];
for(int i=0;i<=x;i++)dp3[0][i]=0;
for(int i=1;i<=n;i++){
for(int j=0;j<=x;j++){
dp3[i][j]=dp3[i-1][j];
if(j-a[i-1]>=0)dp3[i][j]=max(dp3[i][j],dp3[i-1][j-a[i-1]]+1);
}
}
return dp3[n][x];
}
else{
int dp[n+1][x+1][y+1];
for(int i=0;i<=x;i++)for(int j=0;j<=y;j++)dp[0][x][y]=0;
for(int i=1;i<=n;i++){
for(int j=0;j<=x;j++){
for(int k=0;k<=y;k++){
dp[i][j][k]=dp[i-1][j][k];
if(j-a[i-1]>=0)dp[i][j][k]=max(dp[i][j][k],dp[i-1][j-a[i-1]][k]+1);
if(k-b[i-1]>=0)dp[i][j][k]=max(dp[i][j][k],dp[i-1][j][k-b[i-1]]+1);
}
}
}
return dp[n][x][y];
}
return n;
}
Compilation message
jelly.cpp: In function 'bool sub4(std::vector<int>)':
jelly.cpp:12:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i=1;i<v.size();i++)if(v[i]!=v[i-1])return false;
| ~^~~~~~~~~
jelly.cpp: In function 'bool sub5(std::vector<int>, std::vector<int>)':
jelly.cpp:16:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for(int i=0;i<v.size();i++)if(v[i]!=w[i])return false;
| ~^~~~~~~~~
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
2 ms |
1740 KB |
Output is correct |
2 |
Correct |
7 ms |
7628 KB |
Output is correct |
3 |
Correct |
8 ms |
7884 KB |
Output is correct |
4 |
Correct |
11 ms |
11040 KB |
Output is correct |
5 |
Correct |
9 ms |
8524 KB |
Output is correct |
6 |
Correct |
7 ms |
6860 KB |
Output is correct |
7 |
Correct |
10 ms |
9628 KB |
Output is correct |
8 |
Correct |
6 ms |
6800 KB |
Output is correct |
9 |
Correct |
10 ms |
8908 KB |
Output is correct |
10 |
Correct |
12 ms |
10700 KB |
Output is correct |
11 |
Correct |
1 ms |
1100 KB |
Output is correct |
12 |
Correct |
2 ms |
1740 KB |
Output is correct |
13 |
Correct |
8 ms |
7628 KB |
Output is correct |
14 |
Correct |
8 ms |
7884 KB |
Output is correct |
15 |
Correct |
13 ms |
10956 KB |
Output is correct |
16 |
Correct |
10 ms |
8524 KB |
Output is correct |
17 |
Correct |
7 ms |
6948 KB |
Output is correct |
18 |
Correct |
10 ms |
9680 KB |
Output is correct |
19 |
Correct |
7 ms |
6732 KB |
Output is correct |
20 |
Correct |
10 ms |
8948 KB |
Output is correct |
21 |
Correct |
3 ms |
1996 KB |
Output is correct |
22 |
Correct |
12 ms |
10704 KB |
Output is correct |
23 |
Correct |
2 ms |
1996 KB |
Output is correct |
24 |
Correct |
1 ms |
204 KB |
Output is correct |
25 |
Correct |
2 ms |
1484 KB |
Output is correct |
26 |
Correct |
2 ms |
1356 KB |
Output is correct |
27 |
Correct |
1 ms |
972 KB |
Output is correct |
28 |
Correct |
2 ms |
1868 KB |
Output is correct |
29 |
Correct |
2 ms |
1484 KB |
Output is correct |
30 |
Correct |
2 ms |
1612 KB |
Output is correct |
31 |
Correct |
2 ms |
1228 KB |
Output is correct |
32 |
Correct |
1 ms |
204 KB |
Output is correct |
33 |
Correct |
2 ms |
1484 KB |
Output is correct |
34 |
Correct |
2 ms |
1356 KB |
Output is correct |
35 |
Correct |
1 ms |
972 KB |
Output is correct |
36 |
Correct |
2 ms |
1952 KB |
Output is correct |
37 |
Correct |
2 ms |
1484 KB |
Output is correct |
38 |
Correct |
2 ms |
1736 KB |
Output is correct |
39 |
Correct |
2 ms |
1184 KB |
Output is correct |
40 |
Correct |
2 ms |
1100 KB |
Output is correct |
41 |
Correct |
2 ms |
1740 KB |
Output is correct |
42 |
Correct |
9 ms |
7628 KB |
Output is correct |
43 |
Correct |
11 ms |
7976 KB |
Output is correct |
44 |
Correct |
12 ms |
11076 KB |
Output is correct |
45 |
Correct |
9 ms |
8524 KB |
Output is correct |
46 |
Correct |
8 ms |
6960 KB |
Output is correct |
47 |
Correct |
13 ms |
9676 KB |
Output is correct |
48 |
Correct |
6 ms |
6732 KB |
Output is correct |
49 |
Correct |
9 ms |
8908 KB |
Output is correct |
50 |
Correct |
10 ms |
10664 KB |
Output is correct |
51 |
Correct |
2 ms |
1996 KB |
Output is correct |
52 |
Correct |
1 ms |
204 KB |
Output is correct |
53 |
Correct |
2 ms |
1484 KB |
Output is correct |
54 |
Correct |
2 ms |
1356 KB |
Output is correct |
55 |
Correct |
1 ms |
972 KB |
Output is correct |
56 |
Correct |
2 ms |
1868 KB |
Output is correct |
57 |
Correct |
2 ms |
1484 KB |
Output is correct |
58 |
Correct |
2 ms |
1612 KB |
Output is correct |
59 |
Correct |
2 ms |
1228 KB |
Output is correct |
60 |
Correct |
2 ms |
1064 KB |
Output is correct |
61 |
Correct |
2 ms |
1740 KB |
Output is correct |
62 |
Correct |
8 ms |
7712 KB |
Output is correct |
63 |
Correct |
9 ms |
7884 KB |
Output is correct |
64 |
Correct |
12 ms |
11040 KB |
Output is correct |
65 |
Correct |
9 ms |
8524 KB |
Output is correct |
66 |
Correct |
6 ms |
6860 KB |
Output is correct |
67 |
Correct |
10 ms |
9676 KB |
Output is correct |
68 |
Correct |
7 ms |
6800 KB |
Output is correct |
69 |
Correct |
12 ms |
8908 KB |
Output is correct |
70 |
Correct |
13 ms |
10708 KB |
Output is correct |
71 |
Correct |
3 ms |
1996 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
3 ms |
1484 KB |
Output is correct |
74 |
Correct |
2 ms |
1356 KB |
Output is correct |
75 |
Correct |
1 ms |
972 KB |
Output is correct |
76 |
Correct |
2 ms |
1868 KB |
Output is correct |
77 |
Correct |
2 ms |
1484 KB |
Output is correct |
78 |
Correct |
2 ms |
1612 KB |
Output is correct |
79 |
Correct |
2 ms |
1228 KB |
Output is correct |
80 |
Correct |
2 ms |
1100 KB |
Output is correct |
81 |
Correct |
3 ms |
1740 KB |
Output is correct |
82 |
Correct |
7 ms |
7628 KB |
Output is correct |
83 |
Correct |
10 ms |
7884 KB |
Output is correct |
84 |
Correct |
12 ms |
10956 KB |
Output is correct |
85 |
Correct |
10 ms |
8652 KB |
Output is correct |
86 |
Correct |
6 ms |
6964 KB |
Output is correct |
87 |
Correct |
9 ms |
9684 KB |
Output is correct |
88 |
Correct |
9 ms |
6732 KB |
Output is correct |
89 |
Correct |
10 ms |
8908 KB |
Output is correct |
90 |
Correct |
11 ms |
10700 KB |
Output is correct |
91 |
Correct |
3 ms |
1996 KB |
Output is correct |
92 |
Correct |
1 ms |
204 KB |
Output is correct |
93 |
Correct |
2 ms |
1484 KB |
Output is correct |
94 |
Correct |
2 ms |
1356 KB |
Output is correct |
95 |
Correct |
1 ms |
972 KB |
Output is correct |
96 |
Correct |
2 ms |
1868 KB |
Output is correct |
97 |
Correct |
2 ms |
1484 KB |
Output is correct |
98 |
Correct |
2 ms |
1612 KB |
Output is correct |
99 |
Correct |
2 ms |
1228 KB |
Output is correct |
100 |
Correct |
2 ms |
1100 KB |
Output is correct |
101 |
Correct |
4 ms |
1740 KB |
Output is correct |
102 |
Correct |
8 ms |
7716 KB |
Output is correct |
103 |
Correct |
11 ms |
7992 KB |
Output is correct |
104 |
Correct |
11 ms |
11040 KB |
Output is correct |
105 |
Correct |
10 ms |
8544 KB |
Output is correct |
106 |
Correct |
7 ms |
6860 KB |
Output is correct |
107 |
Correct |
9 ms |
9664 KB |
Output is correct |
108 |
Correct |
6 ms |
6700 KB |
Output is correct |
109 |
Correct |
9 ms |
8908 KB |
Output is correct |
110 |
Correct |
11 ms |
10700 KB |
Output is correct |
111 |
Correct |
3 ms |
1996 KB |
Output is correct |
112 |
Correct |
1 ms |
204 KB |
Output is correct |
113 |
Correct |
2 ms |
1572 KB |
Output is correct |
114 |
Correct |
2 ms |
1356 KB |
Output is correct |
115 |
Correct |
1 ms |
972 KB |
Output is correct |
116 |
Correct |
2 ms |
1868 KB |
Output is correct |
117 |
Correct |
2 ms |
1444 KB |
Output is correct |
118 |
Correct |
2 ms |
1612 KB |
Output is correct |
119 |
Correct |
2 ms |
1228 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
2 ms |
1740 KB |
Output is correct |
2 |
Correct |
7 ms |
7628 KB |
Output is correct |
3 |
Correct |
8 ms |
7884 KB |
Output is correct |
4 |
Correct |
11 ms |
11040 KB |
Output is correct |
5 |
Correct |
9 ms |
8524 KB |
Output is correct |
6 |
Correct |
7 ms |
6860 KB |
Output is correct |
7 |
Correct |
10 ms |
9628 KB |
Output is correct |
8 |
Correct |
6 ms |
6800 KB |
Output is correct |
9 |
Correct |
10 ms |
8908 KB |
Output is correct |
10 |
Correct |
12 ms |
10700 KB |
Output is correct |
11 |
Correct |
1 ms |
1100 KB |
Output is correct |
12 |
Correct |
2 ms |
1740 KB |
Output is correct |
13 |
Correct |
8 ms |
7628 KB |
Output is correct |
14 |
Correct |
8 ms |
7884 KB |
Output is correct |
15 |
Correct |
13 ms |
10956 KB |
Output is correct |
16 |
Correct |
10 ms |
8524 KB |
Output is correct |
17 |
Correct |
7 ms |
6948 KB |
Output is correct |
18 |
Correct |
10 ms |
9680 KB |
Output is correct |
19 |
Correct |
7 ms |
6732 KB |
Output is correct |
20 |
Correct |
10 ms |
8948 KB |
Output is correct |
21 |
Correct |
3 ms |
1996 KB |
Output is correct |
22 |
Correct |
12 ms |
10704 KB |
Output is correct |
23 |
Correct |
2 ms |
1996 KB |
Output is correct |
24 |
Correct |
1 ms |
204 KB |
Output is correct |
25 |
Correct |
2 ms |
1484 KB |
Output is correct |
26 |
Correct |
2 ms |
1356 KB |
Output is correct |
27 |
Correct |
1 ms |
972 KB |
Output is correct |
28 |
Correct |
2 ms |
1868 KB |
Output is correct |
29 |
Correct |
2 ms |
1484 KB |
Output is correct |
30 |
Correct |
2 ms |
1612 KB |
Output is correct |
31 |
Correct |
2 ms |
1228 KB |
Output is correct |
32 |
Correct |
1 ms |
204 KB |
Output is correct |
33 |
Correct |
2 ms |
1484 KB |
Output is correct |
34 |
Correct |
2 ms |
1356 KB |
Output is correct |
35 |
Correct |
1 ms |
972 KB |
Output is correct |
36 |
Correct |
2 ms |
1952 KB |
Output is correct |
37 |
Correct |
2 ms |
1484 KB |
Output is correct |
38 |
Correct |
2 ms |
1736 KB |
Output is correct |
39 |
Correct |
2 ms |
1184 KB |
Output is correct |
40 |
Correct |
2 ms |
1100 KB |
Output is correct |
41 |
Correct |
2 ms |
1740 KB |
Output is correct |
42 |
Correct |
9 ms |
7628 KB |
Output is correct |
43 |
Correct |
11 ms |
7976 KB |
Output is correct |
44 |
Correct |
12 ms |
11076 KB |
Output is correct |
45 |
Correct |
9 ms |
8524 KB |
Output is correct |
46 |
Correct |
8 ms |
6960 KB |
Output is correct |
47 |
Correct |
13 ms |
9676 KB |
Output is correct |
48 |
Correct |
6 ms |
6732 KB |
Output is correct |
49 |
Correct |
9 ms |
8908 KB |
Output is correct |
50 |
Correct |
10 ms |
10664 KB |
Output is correct |
51 |
Correct |
2 ms |
1996 KB |
Output is correct |
52 |
Correct |
1 ms |
204 KB |
Output is correct |
53 |
Correct |
2 ms |
1484 KB |
Output is correct |
54 |
Correct |
2 ms |
1356 KB |
Output is correct |
55 |
Correct |
1 ms |
972 KB |
Output is correct |
56 |
Correct |
2 ms |
1868 KB |
Output is correct |
57 |
Correct |
2 ms |
1484 KB |
Output is correct |
58 |
Correct |
2 ms |
1612 KB |
Output is correct |
59 |
Correct |
2 ms |
1228 KB |
Output is correct |
60 |
Correct |
2 ms |
1064 KB |
Output is correct |
61 |
Correct |
2 ms |
1740 KB |
Output is correct |
62 |
Correct |
8 ms |
7712 KB |
Output is correct |
63 |
Correct |
9 ms |
7884 KB |
Output is correct |
64 |
Correct |
12 ms |
11040 KB |
Output is correct |
65 |
Correct |
9 ms |
8524 KB |
Output is correct |
66 |
Correct |
6 ms |
6860 KB |
Output is correct |
67 |
Correct |
10 ms |
9676 KB |
Output is correct |
68 |
Correct |
7 ms |
6800 KB |
Output is correct |
69 |
Correct |
12 ms |
8908 KB |
Output is correct |
70 |
Correct |
13 ms |
10708 KB |
Output is correct |
71 |
Correct |
3 ms |
1996 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
3 ms |
1484 KB |
Output is correct |
74 |
Correct |
2 ms |
1356 KB |
Output is correct |
75 |
Correct |
1 ms |
972 KB |
Output is correct |
76 |
Correct |
2 ms |
1868 KB |
Output is correct |
77 |
Correct |
2 ms |
1484 KB |
Output is correct |
78 |
Correct |
2 ms |
1612 KB |
Output is correct |
79 |
Correct |
2 ms |
1228 KB |
Output is correct |
80 |
Correct |
2 ms |
1100 KB |
Output is correct |
81 |
Correct |
3 ms |
1740 KB |
Output is correct |
82 |
Correct |
7 ms |
7628 KB |
Output is correct |
83 |
Correct |
10 ms |
7884 KB |
Output is correct |
84 |
Correct |
12 ms |
10956 KB |
Output is correct |
85 |
Correct |
10 ms |
8652 KB |
Output is correct |
86 |
Correct |
6 ms |
6964 KB |
Output is correct |
87 |
Correct |
9 ms |
9684 KB |
Output is correct |
88 |
Correct |
9 ms |
6732 KB |
Output is correct |
89 |
Correct |
10 ms |
8908 KB |
Output is correct |
90 |
Correct |
11 ms |
10700 KB |
Output is correct |
91 |
Correct |
3 ms |
1996 KB |
Output is correct |
92 |
Correct |
1 ms |
204 KB |
Output is correct |
93 |
Correct |
2 ms |
1484 KB |
Output is correct |
94 |
Correct |
2 ms |
1356 KB |
Output is correct |
95 |
Correct |
1 ms |
972 KB |
Output is correct |
96 |
Correct |
2 ms |
1868 KB |
Output is correct |
97 |
Correct |
2 ms |
1484 KB |
Output is correct |
98 |
Correct |
2 ms |
1612 KB |
Output is correct |
99 |
Correct |
2 ms |
1228 KB |
Output is correct |
100 |
Correct |
2 ms |
1100 KB |
Output is correct |
101 |
Correct |
4 ms |
1740 KB |
Output is correct |
102 |
Correct |
8 ms |
7716 KB |
Output is correct |
103 |
Correct |
11 ms |
7992 KB |
Output is correct |
104 |
Correct |
11 ms |
11040 KB |
Output is correct |
105 |
Correct |
10 ms |
8544 KB |
Output is correct |
106 |
Correct |
7 ms |
6860 KB |
Output is correct |
107 |
Correct |
9 ms |
9664 KB |
Output is correct |
108 |
Correct |
6 ms |
6700 KB |
Output is correct |
109 |
Correct |
9 ms |
8908 KB |
Output is correct |
110 |
Correct |
11 ms |
10700 KB |
Output is correct |
111 |
Correct |
3 ms |
1996 KB |
Output is correct |
112 |
Correct |
1 ms |
204 KB |
Output is correct |
113 |
Correct |
2 ms |
1572 KB |
Output is correct |
114 |
Correct |
2 ms |
1356 KB |
Output is correct |
115 |
Correct |
1 ms |
972 KB |
Output is correct |
116 |
Correct |
2 ms |
1868 KB |
Output is correct |
117 |
Correct |
2 ms |
1444 KB |
Output is correct |
118 |
Correct |
2 ms |
1612 KB |
Output is correct |
119 |
Correct |
2 ms |
1228 KB |
Output is correct |
120 |
Correct |
6 ms |
6348 KB |
Output is correct |
121 |
Correct |
135 ms |
146892 KB |
Output is correct |
122 |
Correct |
140 ms |
154560 KB |
Output is correct |
123 |
Correct |
194 ms |
137320 KB |
Output is correct |
124 |
Correct |
170 ms |
152360 KB |
Output is correct |
125 |
Correct |
143 ms |
148384 KB |
Output is correct |
126 |
Correct |
192 ms |
170476 KB |
Output is correct |
127 |
Correct |
133 ms |
143972 KB |
Output is correct |
128 |
Correct |
226 ms |
186480 KB |
Output is correct |
129 |
Correct |
148 ms |
141636 KB |
Output is correct |
130 |
Correct |
7 ms |
7372 KB |
Output is correct |
131 |
Correct |
1 ms |
204 KB |
Output is correct |
132 |
Correct |
12 ms |
10444 KB |
Output is correct |
133 |
Correct |
3 ms |
1356 KB |
Output is correct |
134 |
Correct |
12 ms |
6604 KB |
Output is correct |
135 |
Correct |
31 ms |
18944 KB |
Output is correct |
136 |
Correct |
17 ms |
17220 KB |
Output is correct |
137 |
Correct |
10 ms |
9804 KB |
Output is correct |
138 |
Correct |
21 ms |
19392 KB |
Output is correct |
139 |
Correct |
8 ms |
6688 KB |
Output is correct |
140 |
Correct |
7 ms |
6348 KB |
Output is correct |
141 |
Correct |
162 ms |
146976 KB |
Output is correct |
142 |
Correct |
186 ms |
154544 KB |
Output is correct |
143 |
Correct |
226 ms |
137408 KB |
Output is correct |
144 |
Correct |
182 ms |
152176 KB |
Output is correct |
145 |
Correct |
164 ms |
148292 KB |
Output is correct |
146 |
Correct |
197 ms |
170528 KB |
Output is correct |
147 |
Correct |
153 ms |
143972 KB |
Output is correct |
148 |
Correct |
249 ms |
186412 KB |
Output is correct |
149 |
Correct |
181 ms |
141668 KB |
Output is correct |
150 |
Correct |
9 ms |
7332 KB |
Output is correct |
151 |
Correct |
1 ms |
204 KB |
Output is correct |
152 |
Correct |
13 ms |
10504 KB |
Output is correct |
153 |
Correct |
2 ms |
1484 KB |
Output is correct |
154 |
Correct |
8 ms |
6608 KB |
Output is correct |
155 |
Correct |
28 ms |
19020 KB |
Output is correct |
156 |
Correct |
24 ms |
17192 KB |
Output is correct |
157 |
Correct |
13 ms |
9892 KB |
Output is correct |
158 |
Correct |
27 ms |
19504 KB |
Output is correct |
159 |
Correct |
9 ms |
6604 KB |
Output is correct |
160 |
Correct |
7 ms |
6348 KB |
Output is correct |
161 |
Correct |
169 ms |
147028 KB |
Output is correct |
162 |
Correct |
165 ms |
154464 KB |
Output is correct |
163 |
Correct |
166 ms |
137328 KB |
Output is correct |
164 |
Correct |
178 ms |
152264 KB |
Output is correct |
165 |
Correct |
193 ms |
148260 KB |
Output is correct |
166 |
Correct |
190 ms |
170484 KB |
Output is correct |
167 |
Correct |
135 ms |
143940 KB |
Output is correct |
168 |
Correct |
219 ms |
186388 KB |
Output is correct |
169 |
Correct |
185 ms |
141796 KB |
Output is correct |
170 |
Correct |
8 ms |
7372 KB |
Output is correct |
171 |
Correct |
1 ms |
204 KB |
Output is correct |
172 |
Correct |
12 ms |
10516 KB |
Output is correct |
173 |
Correct |
2 ms |
1356 KB |
Output is correct |
174 |
Correct |
8 ms |
6604 KB |
Output is correct |
175 |
Correct |
21 ms |
18960 KB |
Output is correct |
176 |
Correct |
18 ms |
17180 KB |
Output is correct |
177 |
Correct |
12 ms |
9804 KB |
Output is correct |
178 |
Correct |
24 ms |
19404 KB |
Output is correct |
179 |
Correct |
9 ms |
6676 KB |
Output is correct |
180 |
Correct |
9 ms |
6348 KB |
Output is correct |
181 |
Correct |
142 ms |
146896 KB |
Output is correct |
182 |
Correct |
150 ms |
154564 KB |
Output is correct |
183 |
Correct |
179 ms |
137284 KB |
Output is correct |
184 |
Correct |
173 ms |
152380 KB |
Output is correct |
185 |
Correct |
153 ms |
148424 KB |
Output is correct |
186 |
Correct |
182 ms |
170560 KB |
Output is correct |
187 |
Correct |
152 ms |
144052 KB |
Output is correct |
188 |
Correct |
214 ms |
186512 KB |
Output is correct |
189 |
Correct |
159 ms |
141636 KB |
Output is correct |
190 |
Correct |
9 ms |
7384 KB |
Output is correct |
191 |
Correct |
1 ms |
204 KB |
Output is correct |
192 |
Correct |
11 ms |
10512 KB |
Output is correct |
193 |
Correct |
2 ms |
1356 KB |
Output is correct |
194 |
Correct |
9 ms |
6604 KB |
Output is correct |
195 |
Correct |
29 ms |
18936 KB |
Output is correct |
196 |
Correct |
22 ms |
17100 KB |
Output is correct |
197 |
Correct |
12 ms |
9896 KB |
Output is correct |
198 |
Correct |
25 ms |
19500 KB |
Output is correct |
199 |
Correct |
8 ms |
6604 KB |
Output is correct |
200 |
Correct |
7 ms |
6348 KB |
Output is correct |
201 |
Correct |
145 ms |
146988 KB |
Output is correct |
202 |
Correct |
177 ms |
154560 KB |
Output is correct |
203 |
Correct |
165 ms |
137328 KB |
Output is correct |
204 |
Correct |
183 ms |
152268 KB |
Output is correct |
205 |
Correct |
152 ms |
148292 KB |
Output is correct |
206 |
Correct |
169 ms |
170520 KB |
Output is correct |
207 |
Correct |
144 ms |
143968 KB |
Output is correct |
208 |
Correct |
249 ms |
186488 KB |
Output is correct |
209 |
Correct |
158 ms |
141636 KB |
Output is correct |
210 |
Correct |
7 ms |
7372 KB |
Output is correct |
211 |
Correct |
1 ms |
204 KB |
Output is correct |
212 |
Correct |
12 ms |
10512 KB |
Output is correct |
213 |
Correct |
2 ms |
1356 KB |
Output is correct |
214 |
Correct |
9 ms |
6604 KB |
Output is correct |
215 |
Correct |
25 ms |
19032 KB |
Output is correct |
216 |
Correct |
21 ms |
17132 KB |
Output is correct |
217 |
Correct |
12 ms |
9804 KB |
Output is correct |
218 |
Correct |
25 ms |
19500 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
15 ms |
13260 KB |
1st lines differ - on the 1st token, expected: '689', found: '58' |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
64 ms |
71108 KB |
Output is correct |
2 |
Correct |
71 ms |
71352 KB |
Output is correct |
3 |
Correct |
70 ms |
74468 KB |
Output is correct |
4 |
Correct |
73 ms |
74776 KB |
Output is correct |
5 |
Correct |
83 ms |
75924 KB |
Output is correct |
6 |
Correct |
66 ms |
71468 KB |
Output is correct |
7 |
Correct |
67 ms |
71236 KB |
Output is correct |
8 |
Correct |
73 ms |
74768 KB |
Output is correct |
9 |
Correct |
72 ms |
74260 KB |
Output is correct |
10 |
Correct |
66 ms |
72168 KB |
Output is correct |
11 |
Correct |
5 ms |
4428 KB |
Output is correct |
12 |
Correct |
1 ms |
332 KB |
Output is correct |
13 |
Correct |
3 ms |
1612 KB |
Output is correct |
14 |
Correct |
2 ms |
1740 KB |
Output is correct |
15 |
Correct |
5 ms |
4172 KB |
Output is correct |
16 |
Correct |
1 ms |
972 KB |
Output is correct |
17 |
Correct |
56 ms |
72476 KB |
Output is correct |
18 |
Correct |
53 ms |
70908 KB |
Output is correct |
19 |
Correct |
61 ms |
76384 KB |
Output is correct |
20 |
Correct |
61 ms |
69588 KB |
Output is correct |
21 |
Correct |
59 ms |
71128 KB |
Output is correct |
22 |
Correct |
72 ms |
71428 KB |
Output is correct |
23 |
Correct |
62 ms |
74572 KB |
Output is correct |
24 |
Correct |
64 ms |
74764 KB |
Output is correct |
25 |
Correct |
66 ms |
75968 KB |
Output is correct |
26 |
Correct |
58 ms |
71592 KB |
Output is correct |
27 |
Correct |
53 ms |
71336 KB |
Output is correct |
28 |
Correct |
60 ms |
74812 KB |
Output is correct |
29 |
Correct |
59 ms |
74280 KB |
Output is correct |
30 |
Correct |
64 ms |
72004 KB |
Output is correct |
31 |
Correct |
4 ms |
4424 KB |
Output is correct |
32 |
Correct |
1 ms |
288 KB |
Output is correct |
33 |
Correct |
2 ms |
1612 KB |
Output is correct |
34 |
Correct |
3 ms |
1740 KB |
Output is correct |
35 |
Correct |
4 ms |
4136 KB |
Output is correct |
36 |
Correct |
2 ms |
972 KB |
Output is correct |
37 |
Correct |
59 ms |
72644 KB |
Output is correct |
38 |
Correct |
63 ms |
70888 KB |
Output is correct |
39 |
Correct |
61 ms |
76356 KB |
Output is correct |
40 |
Correct |
55 ms |
69580 KB |
Output is correct |
41 |
Correct |
57 ms |
71204 KB |
Output is correct |
42 |
Correct |
64 ms |
71388 KB |
Output is correct |
43 |
Correct |
56 ms |
74564 KB |
Output is correct |
44 |
Correct |
63 ms |
74692 KB |
Output is correct |
45 |
Correct |
66 ms |
76112 KB |
Output is correct |
46 |
Correct |
59 ms |
71492 KB |
Output is correct |
47 |
Correct |
59 ms |
71308 KB |
Output is correct |
48 |
Correct |
71 ms |
74824 KB |
Output is correct |
49 |
Correct |
65 ms |
74308 KB |
Output is correct |
50 |
Correct |
62 ms |
72068 KB |
Output is correct |
51 |
Correct |
4 ms |
4428 KB |
Output is correct |
52 |
Correct |
2 ms |
332 KB |
Output is correct |
53 |
Correct |
2 ms |
1612 KB |
Output is correct |
54 |
Correct |
2 ms |
1740 KB |
Output is correct |
55 |
Correct |
5 ms |
4172 KB |
Output is correct |
56 |
Correct |
2 ms |
972 KB |
Output is correct |
57 |
Correct |
60 ms |
72556 KB |
Output is correct |
58 |
Correct |
60 ms |
70880 KB |
Output is correct |
59 |
Correct |
61 ms |
76436 KB |
Output is correct |
60 |
Correct |
56 ms |
69616 KB |
Output is correct |
61 |
Correct |
54 ms |
71200 KB |
Output is correct |
62 |
Correct |
65 ms |
71428 KB |
Output is correct |
63 |
Correct |
68 ms |
74492 KB |
Output is correct |
64 |
Correct |
65 ms |
74784 KB |
Output is correct |
65 |
Correct |
62 ms |
76020 KB |
Output is correct |
66 |
Correct |
54 ms |
71476 KB |
Output is correct |
67 |
Correct |
63 ms |
71236 KB |
Output is correct |
68 |
Correct |
62 ms |
74832 KB |
Output is correct |
69 |
Correct |
60 ms |
74328 KB |
Output is correct |
70 |
Correct |
66 ms |
72088 KB |
Output is correct |
71 |
Correct |
4 ms |
4428 KB |
Output is correct |
72 |
Correct |
1 ms |
332 KB |
Output is correct |
73 |
Correct |
2 ms |
1612 KB |
Output is correct |
74 |
Correct |
2 ms |
1740 KB |
Output is correct |
75 |
Correct |
4 ms |
4172 KB |
Output is correct |
76 |
Correct |
2 ms |
972 KB |
Output is correct |
77 |
Correct |
61 ms |
72632 KB |
Output is correct |
78 |
Correct |
53 ms |
70860 KB |
Output is correct |
79 |
Correct |
62 ms |
76444 KB |
Output is correct |
80 |
Correct |
60 ms |
69572 KB |
Output is correct |
81 |
Correct |
54 ms |
71196 KB |
Output is correct |
82 |
Correct |
53 ms |
71420 KB |
Output is correct |
83 |
Correct |
60 ms |
74564 KB |
Output is correct |
84 |
Correct |
59 ms |
74692 KB |
Output is correct |
85 |
Correct |
68 ms |
76084 KB |
Output is correct |
86 |
Correct |
60 ms |
71500 KB |
Output is correct |
87 |
Correct |
58 ms |
71236 KB |
Output is correct |
88 |
Correct |
63 ms |
74724 KB |
Output is correct |
89 |
Correct |
60 ms |
74180 KB |
Output is correct |
90 |
Correct |
57 ms |
71976 KB |
Output is correct |
91 |
Correct |
6 ms |
4428 KB |
Output is correct |
92 |
Correct |
1 ms |
296 KB |
Output is correct |
93 |
Correct |
2 ms |
1612 KB |
Output is correct |
94 |
Correct |
2 ms |
1740 KB |
Output is correct |
95 |
Correct |
4 ms |
4172 KB |
Output is correct |
96 |
Correct |
2 ms |
972 KB |
Output is correct |
97 |
Correct |
64 ms |
72532 KB |
Output is correct |
98 |
Correct |
59 ms |
70860 KB |
Output is correct |
99 |
Correct |
59 ms |
76440 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
62 ms |
79388 KB |
Output is correct |
2 |
Correct |
109 ms |
141380 KB |
Output is correct |
3 |
Correct |
124 ms |
140504 KB |
Output is correct |
4 |
Correct |
124 ms |
147780 KB |
Output is correct |
5 |
Correct |
122 ms |
143684 KB |
Output is correct |
6 |
Correct |
112 ms |
145624 KB |
Output is correct |
7 |
Correct |
122 ms |
147120 KB |
Output is correct |
8 |
Correct |
110 ms |
143560 KB |
Output is correct |
9 |
Correct |
128 ms |
142148 KB |
Output is correct |
10 |
Correct |
116 ms |
152096 KB |
Output is correct |
11 |
Correct |
64 ms |
74308 KB |
Output is correct |
12 |
Correct |
1 ms |
332 KB |
Output is correct |
13 |
Correct |
67 ms |
88016 KB |
Output is correct |
14 |
Correct |
81 ms |
78032 KB |
Output is correct |
15 |
Correct |
75 ms |
84676 KB |
Output is correct |
16 |
Correct |
61 ms |
78088 KB |
Output is correct |
17 |
Correct |
73 ms |
85608 KB |
Output is correct |
18 |
Correct |
68 ms |
85204 KB |
Output is correct |
19 |
Correct |
72 ms |
76092 KB |
Output is correct |
20 |
Correct |
66 ms |
77196 KB |
Output is correct |
21 |
Correct |
62 ms |
79368 KB |
Output is correct |
22 |
Correct |
130 ms |
141224 KB |
Output is correct |
23 |
Correct |
113 ms |
140348 KB |
Output is correct |
24 |
Correct |
120 ms |
147780 KB |
Output is correct |
25 |
Correct |
111 ms |
143580 KB |
Output is correct |
26 |
Correct |
128 ms |
145636 KB |
Output is correct |
27 |
Correct |
109 ms |
146884 KB |
Output is correct |
28 |
Correct |
114 ms |
143464 KB |
Output is correct |
29 |
Correct |
108 ms |
142148 KB |
Output is correct |
30 |
Correct |
158 ms |
152132 KB |
Output is correct |
31 |
Correct |
62 ms |
74308 KB |
Output is correct |
32 |
Correct |
1 ms |
204 KB |
Output is correct |
33 |
Correct |
72 ms |
87996 KB |
Output is correct |
34 |
Correct |
76 ms |
78112 KB |
Output is correct |
35 |
Correct |
65 ms |
84452 KB |
Output is correct |
36 |
Correct |
71 ms |
78112 KB |
Output is correct |
37 |
Correct |
80 ms |
85604 KB |
Output is correct |
38 |
Correct |
67 ms |
85172 KB |
Output is correct |
39 |
Correct |
63 ms |
76128 KB |
Output is correct |
40 |
Correct |
68 ms |
77168 KB |
Output is correct |
41 |
Correct |
65 ms |
79380 KB |
Output is correct |
42 |
Correct |
117 ms |
141264 KB |
Output is correct |
43 |
Correct |
104 ms |
140356 KB |
Output is correct |
44 |
Correct |
114 ms |
147856 KB |
Output is correct |
45 |
Correct |
115 ms |
143576 KB |
Output is correct |
46 |
Correct |
114 ms |
145576 KB |
Output is correct |
47 |
Correct |
120 ms |
146956 KB |
Output is correct |
48 |
Correct |
138 ms |
143360 KB |
Output is correct |
49 |
Correct |
104 ms |
142204 KB |
Output is correct |
50 |
Correct |
125 ms |
152136 KB |
Output is correct |
51 |
Correct |
61 ms |
74340 KB |
Output is correct |
52 |
Correct |
1 ms |
332 KB |
Output is correct |
53 |
Correct |
74 ms |
87992 KB |
Output is correct |
54 |
Correct |
65 ms |
78116 KB |
Output is correct |
55 |
Correct |
70 ms |
84524 KB |
Output is correct |
56 |
Correct |
77 ms |
78132 KB |
Output is correct |
57 |
Correct |
64 ms |
85556 KB |
Output is correct |
58 |
Correct |
69 ms |
85184 KB |
Output is correct |
59 |
Correct |
58 ms |
76132 KB |
Output is correct |
60 |
Correct |
63 ms |
77112 KB |
Output is correct |
61 |
Correct |
62 ms |
79308 KB |
Output is correct |
62 |
Correct |
108 ms |
141256 KB |
Output is correct |
63 |
Correct |
117 ms |
140452 KB |
Output is correct |
64 |
Correct |
118 ms |
147872 KB |
Output is correct |
65 |
Correct |
111 ms |
143684 KB |
Output is correct |
66 |
Correct |
113 ms |
145604 KB |
Output is correct |
67 |
Correct |
234 ms |
146956 KB |
Output is correct |
68 |
Correct |
119 ms |
143460 KB |
Output is correct |
69 |
Correct |
137 ms |
142372 KB |
Output is correct |
70 |
Correct |
139 ms |
152132 KB |
Output is correct |
71 |
Correct |
66 ms |
74256 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
79 ms |
87996 KB |
Output is correct |
74 |
Correct |
73 ms |
78020 KB |
Output is correct |
75 |
Correct |
74 ms |
84564 KB |
Output is correct |
76 |
Correct |
67 ms |
78104 KB |
Output is correct |
77 |
Correct |
75 ms |
85612 KB |
Output is correct |
78 |
Correct |
77 ms |
85188 KB |
Output is correct |
79 |
Correct |
78 ms |
76084 KB |
Output is correct |
80 |
Correct |
59 ms |
77192 KB |
Output is correct |
81 |
Correct |
69 ms |
79332 KB |
Output is correct |
82 |
Correct |
106 ms |
141308 KB |
Output is correct |
83 |
Correct |
113 ms |
140276 KB |
Output is correct |
84 |
Correct |
126 ms |
147872 KB |
Output is correct |
85 |
Correct |
126 ms |
143648 KB |
Output is correct |
86 |
Correct |
112 ms |
145544 KB |
Output is correct |
87 |
Correct |
123 ms |
146884 KB |
Output is correct |
88 |
Correct |
113 ms |
143548 KB |
Output is correct |
89 |
Correct |
111 ms |
142260 KB |
Output is correct |
90 |
Correct |
125 ms |
152132 KB |
Output is correct |
91 |
Correct |
62 ms |
74408 KB |
Output is correct |
92 |
Correct |
1 ms |
332 KB |
Output is correct |
93 |
Correct |
70 ms |
87968 KB |
Output is correct |
94 |
Correct |
62 ms |
78036 KB |
Output is correct |
95 |
Correct |
67 ms |
84516 KB |
Output is correct |
96 |
Correct |
74 ms |
78112 KB |
Output is correct |
97 |
Correct |
78 ms |
85572 KB |
Output is correct |
98 |
Correct |
90 ms |
85140 KB |
Output is correct |
99 |
Correct |
78 ms |
76064 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
2 ms |
1740 KB |
Output is correct |
2 |
Correct |
7 ms |
7628 KB |
Output is correct |
3 |
Correct |
8 ms |
7884 KB |
Output is correct |
4 |
Correct |
11 ms |
11040 KB |
Output is correct |
5 |
Correct |
9 ms |
8524 KB |
Output is correct |
6 |
Correct |
7 ms |
6860 KB |
Output is correct |
7 |
Correct |
10 ms |
9628 KB |
Output is correct |
8 |
Correct |
6 ms |
6800 KB |
Output is correct |
9 |
Correct |
10 ms |
8908 KB |
Output is correct |
10 |
Correct |
12 ms |
10700 KB |
Output is correct |
11 |
Correct |
1 ms |
1100 KB |
Output is correct |
12 |
Correct |
2 ms |
1740 KB |
Output is correct |
13 |
Correct |
8 ms |
7628 KB |
Output is correct |
14 |
Correct |
8 ms |
7884 KB |
Output is correct |
15 |
Correct |
13 ms |
10956 KB |
Output is correct |
16 |
Correct |
10 ms |
8524 KB |
Output is correct |
17 |
Correct |
7 ms |
6948 KB |
Output is correct |
18 |
Correct |
10 ms |
9680 KB |
Output is correct |
19 |
Correct |
7 ms |
6732 KB |
Output is correct |
20 |
Correct |
10 ms |
8948 KB |
Output is correct |
21 |
Correct |
3 ms |
1996 KB |
Output is correct |
22 |
Correct |
12 ms |
10704 KB |
Output is correct |
23 |
Correct |
2 ms |
1996 KB |
Output is correct |
24 |
Correct |
1 ms |
204 KB |
Output is correct |
25 |
Correct |
2 ms |
1484 KB |
Output is correct |
26 |
Correct |
2 ms |
1356 KB |
Output is correct |
27 |
Correct |
1 ms |
972 KB |
Output is correct |
28 |
Correct |
2 ms |
1868 KB |
Output is correct |
29 |
Correct |
2 ms |
1484 KB |
Output is correct |
30 |
Correct |
2 ms |
1612 KB |
Output is correct |
31 |
Correct |
2 ms |
1228 KB |
Output is correct |
32 |
Correct |
1 ms |
204 KB |
Output is correct |
33 |
Correct |
2 ms |
1484 KB |
Output is correct |
34 |
Correct |
2 ms |
1356 KB |
Output is correct |
35 |
Correct |
1 ms |
972 KB |
Output is correct |
36 |
Correct |
2 ms |
1952 KB |
Output is correct |
37 |
Correct |
2 ms |
1484 KB |
Output is correct |
38 |
Correct |
2 ms |
1736 KB |
Output is correct |
39 |
Correct |
2 ms |
1184 KB |
Output is correct |
40 |
Correct |
2 ms |
1100 KB |
Output is correct |
41 |
Correct |
2 ms |
1740 KB |
Output is correct |
42 |
Correct |
9 ms |
7628 KB |
Output is correct |
43 |
Correct |
11 ms |
7976 KB |
Output is correct |
44 |
Correct |
12 ms |
11076 KB |
Output is correct |
45 |
Correct |
9 ms |
8524 KB |
Output is correct |
46 |
Correct |
8 ms |
6960 KB |
Output is correct |
47 |
Correct |
13 ms |
9676 KB |
Output is correct |
48 |
Correct |
6 ms |
6732 KB |
Output is correct |
49 |
Correct |
9 ms |
8908 KB |
Output is correct |
50 |
Correct |
10 ms |
10664 KB |
Output is correct |
51 |
Correct |
2 ms |
1996 KB |
Output is correct |
52 |
Correct |
1 ms |
204 KB |
Output is correct |
53 |
Correct |
2 ms |
1484 KB |
Output is correct |
54 |
Correct |
2 ms |
1356 KB |
Output is correct |
55 |
Correct |
1 ms |
972 KB |
Output is correct |
56 |
Correct |
2 ms |
1868 KB |
Output is correct |
57 |
Correct |
2 ms |
1484 KB |
Output is correct |
58 |
Correct |
2 ms |
1612 KB |
Output is correct |
59 |
Correct |
2 ms |
1228 KB |
Output is correct |
60 |
Correct |
2 ms |
1064 KB |
Output is correct |
61 |
Correct |
2 ms |
1740 KB |
Output is correct |
62 |
Correct |
8 ms |
7712 KB |
Output is correct |
63 |
Correct |
9 ms |
7884 KB |
Output is correct |
64 |
Correct |
12 ms |
11040 KB |
Output is correct |
65 |
Correct |
9 ms |
8524 KB |
Output is correct |
66 |
Correct |
6 ms |
6860 KB |
Output is correct |
67 |
Correct |
10 ms |
9676 KB |
Output is correct |
68 |
Correct |
7 ms |
6800 KB |
Output is correct |
69 |
Correct |
12 ms |
8908 KB |
Output is correct |
70 |
Correct |
13 ms |
10708 KB |
Output is correct |
71 |
Correct |
3 ms |
1996 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
3 ms |
1484 KB |
Output is correct |
74 |
Correct |
2 ms |
1356 KB |
Output is correct |
75 |
Correct |
1 ms |
972 KB |
Output is correct |
76 |
Correct |
2 ms |
1868 KB |
Output is correct |
77 |
Correct |
2 ms |
1484 KB |
Output is correct |
78 |
Correct |
2 ms |
1612 KB |
Output is correct |
79 |
Correct |
2 ms |
1228 KB |
Output is correct |
80 |
Correct |
2 ms |
1100 KB |
Output is correct |
81 |
Correct |
3 ms |
1740 KB |
Output is correct |
82 |
Correct |
7 ms |
7628 KB |
Output is correct |
83 |
Correct |
10 ms |
7884 KB |
Output is correct |
84 |
Correct |
12 ms |
10956 KB |
Output is correct |
85 |
Correct |
10 ms |
8652 KB |
Output is correct |
86 |
Correct |
6 ms |
6964 KB |
Output is correct |
87 |
Correct |
9 ms |
9684 KB |
Output is correct |
88 |
Correct |
9 ms |
6732 KB |
Output is correct |
89 |
Correct |
10 ms |
8908 KB |
Output is correct |
90 |
Correct |
11 ms |
10700 KB |
Output is correct |
91 |
Correct |
3 ms |
1996 KB |
Output is correct |
92 |
Correct |
1 ms |
204 KB |
Output is correct |
93 |
Correct |
2 ms |
1484 KB |
Output is correct |
94 |
Correct |
2 ms |
1356 KB |
Output is correct |
95 |
Correct |
1 ms |
972 KB |
Output is correct |
96 |
Correct |
2 ms |
1868 KB |
Output is correct |
97 |
Correct |
2 ms |
1484 KB |
Output is correct |
98 |
Correct |
2 ms |
1612 KB |
Output is correct |
99 |
Correct |
2 ms |
1228 KB |
Output is correct |
100 |
Correct |
2 ms |
1100 KB |
Output is correct |
101 |
Correct |
4 ms |
1740 KB |
Output is correct |
102 |
Correct |
8 ms |
7716 KB |
Output is correct |
103 |
Correct |
11 ms |
7992 KB |
Output is correct |
104 |
Correct |
11 ms |
11040 KB |
Output is correct |
105 |
Correct |
10 ms |
8544 KB |
Output is correct |
106 |
Correct |
7 ms |
6860 KB |
Output is correct |
107 |
Correct |
9 ms |
9664 KB |
Output is correct |
108 |
Correct |
6 ms |
6700 KB |
Output is correct |
109 |
Correct |
9 ms |
8908 KB |
Output is correct |
110 |
Correct |
11 ms |
10700 KB |
Output is correct |
111 |
Correct |
3 ms |
1996 KB |
Output is correct |
112 |
Correct |
1 ms |
204 KB |
Output is correct |
113 |
Correct |
2 ms |
1572 KB |
Output is correct |
114 |
Correct |
2 ms |
1356 KB |
Output is correct |
115 |
Correct |
1 ms |
972 KB |
Output is correct |
116 |
Correct |
2 ms |
1868 KB |
Output is correct |
117 |
Correct |
2 ms |
1444 KB |
Output is correct |
118 |
Correct |
2 ms |
1612 KB |
Output is correct |
119 |
Correct |
2 ms |
1228 KB |
Output is correct |
120 |
Correct |
6 ms |
6348 KB |
Output is correct |
121 |
Correct |
135 ms |
146892 KB |
Output is correct |
122 |
Correct |
140 ms |
154560 KB |
Output is correct |
123 |
Correct |
194 ms |
137320 KB |
Output is correct |
124 |
Correct |
170 ms |
152360 KB |
Output is correct |
125 |
Correct |
143 ms |
148384 KB |
Output is correct |
126 |
Correct |
192 ms |
170476 KB |
Output is correct |
127 |
Correct |
133 ms |
143972 KB |
Output is correct |
128 |
Correct |
226 ms |
186480 KB |
Output is correct |
129 |
Correct |
148 ms |
141636 KB |
Output is correct |
130 |
Correct |
7 ms |
7372 KB |
Output is correct |
131 |
Correct |
1 ms |
204 KB |
Output is correct |
132 |
Correct |
12 ms |
10444 KB |
Output is correct |
133 |
Correct |
3 ms |
1356 KB |
Output is correct |
134 |
Correct |
12 ms |
6604 KB |
Output is correct |
135 |
Correct |
31 ms |
18944 KB |
Output is correct |
136 |
Correct |
17 ms |
17220 KB |
Output is correct |
137 |
Correct |
10 ms |
9804 KB |
Output is correct |
138 |
Correct |
21 ms |
19392 KB |
Output is correct |
139 |
Correct |
8 ms |
6688 KB |
Output is correct |
140 |
Correct |
7 ms |
6348 KB |
Output is correct |
141 |
Correct |
162 ms |
146976 KB |
Output is correct |
142 |
Correct |
186 ms |
154544 KB |
Output is correct |
143 |
Correct |
226 ms |
137408 KB |
Output is correct |
144 |
Correct |
182 ms |
152176 KB |
Output is correct |
145 |
Correct |
164 ms |
148292 KB |
Output is correct |
146 |
Correct |
197 ms |
170528 KB |
Output is correct |
147 |
Correct |
153 ms |
143972 KB |
Output is correct |
148 |
Correct |
249 ms |
186412 KB |
Output is correct |
149 |
Correct |
181 ms |
141668 KB |
Output is correct |
150 |
Correct |
9 ms |
7332 KB |
Output is correct |
151 |
Correct |
1 ms |
204 KB |
Output is correct |
152 |
Correct |
13 ms |
10504 KB |
Output is correct |
153 |
Correct |
2 ms |
1484 KB |
Output is correct |
154 |
Correct |
8 ms |
6608 KB |
Output is correct |
155 |
Correct |
28 ms |
19020 KB |
Output is correct |
156 |
Correct |
24 ms |
17192 KB |
Output is correct |
157 |
Correct |
13 ms |
9892 KB |
Output is correct |
158 |
Correct |
27 ms |
19504 KB |
Output is correct |
159 |
Correct |
9 ms |
6604 KB |
Output is correct |
160 |
Correct |
7 ms |
6348 KB |
Output is correct |
161 |
Correct |
169 ms |
147028 KB |
Output is correct |
162 |
Correct |
165 ms |
154464 KB |
Output is correct |
163 |
Correct |
166 ms |
137328 KB |
Output is correct |
164 |
Correct |
178 ms |
152264 KB |
Output is correct |
165 |
Correct |
193 ms |
148260 KB |
Output is correct |
166 |
Correct |
190 ms |
170484 KB |
Output is correct |
167 |
Correct |
135 ms |
143940 KB |
Output is correct |
168 |
Correct |
219 ms |
186388 KB |
Output is correct |
169 |
Correct |
185 ms |
141796 KB |
Output is correct |
170 |
Correct |
8 ms |
7372 KB |
Output is correct |
171 |
Correct |
1 ms |
204 KB |
Output is correct |
172 |
Correct |
12 ms |
10516 KB |
Output is correct |
173 |
Correct |
2 ms |
1356 KB |
Output is correct |
174 |
Correct |
8 ms |
6604 KB |
Output is correct |
175 |
Correct |
21 ms |
18960 KB |
Output is correct |
176 |
Correct |
18 ms |
17180 KB |
Output is correct |
177 |
Correct |
12 ms |
9804 KB |
Output is correct |
178 |
Correct |
24 ms |
19404 KB |
Output is correct |
179 |
Correct |
9 ms |
6676 KB |
Output is correct |
180 |
Correct |
9 ms |
6348 KB |
Output is correct |
181 |
Correct |
142 ms |
146896 KB |
Output is correct |
182 |
Correct |
150 ms |
154564 KB |
Output is correct |
183 |
Correct |
179 ms |
137284 KB |
Output is correct |
184 |
Correct |
173 ms |
152380 KB |
Output is correct |
185 |
Correct |
153 ms |
148424 KB |
Output is correct |
186 |
Correct |
182 ms |
170560 KB |
Output is correct |
187 |
Correct |
152 ms |
144052 KB |
Output is correct |
188 |
Correct |
214 ms |
186512 KB |
Output is correct |
189 |
Correct |
159 ms |
141636 KB |
Output is correct |
190 |
Correct |
9 ms |
7384 KB |
Output is correct |
191 |
Correct |
1 ms |
204 KB |
Output is correct |
192 |
Correct |
11 ms |
10512 KB |
Output is correct |
193 |
Correct |
2 ms |
1356 KB |
Output is correct |
194 |
Correct |
9 ms |
6604 KB |
Output is correct |
195 |
Correct |
29 ms |
18936 KB |
Output is correct |
196 |
Correct |
22 ms |
17100 KB |
Output is correct |
197 |
Correct |
12 ms |
9896 KB |
Output is correct |
198 |
Correct |
25 ms |
19500 KB |
Output is correct |
199 |
Correct |
8 ms |
6604 KB |
Output is correct |
200 |
Correct |
7 ms |
6348 KB |
Output is correct |
201 |
Correct |
145 ms |
146988 KB |
Output is correct |
202 |
Correct |
177 ms |
154560 KB |
Output is correct |
203 |
Correct |
165 ms |
137328 KB |
Output is correct |
204 |
Correct |
183 ms |
152268 KB |
Output is correct |
205 |
Correct |
152 ms |
148292 KB |
Output is correct |
206 |
Correct |
169 ms |
170520 KB |
Output is correct |
207 |
Correct |
144 ms |
143968 KB |
Output is correct |
208 |
Correct |
249 ms |
186488 KB |
Output is correct |
209 |
Correct |
158 ms |
141636 KB |
Output is correct |
210 |
Correct |
7 ms |
7372 KB |
Output is correct |
211 |
Correct |
1 ms |
204 KB |
Output is correct |
212 |
Correct |
12 ms |
10512 KB |
Output is correct |
213 |
Correct |
2 ms |
1356 KB |
Output is correct |
214 |
Correct |
9 ms |
6604 KB |
Output is correct |
215 |
Correct |
25 ms |
19032 KB |
Output is correct |
216 |
Correct |
21 ms |
17132 KB |
Output is correct |
217 |
Correct |
12 ms |
9804 KB |
Output is correct |
218 |
Correct |
25 ms |
19500 KB |
Output is correct |
219 |
Incorrect |
15 ms |
13260 KB |
1st lines differ - on the 1st token, expected: '689', found: '58' |
220 |
Halted |
0 ms |
0 KB |
- |