//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(n<=200 && x<=500 && y<=500){
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];
}
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];
}
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 |
12 ms |
10956 KB |
Output is correct |
5 |
Correct |
10 ms |
8548 KB |
Output is correct |
6 |
Correct |
7 ms |
6964 KB |
Output is correct |
7 |
Correct |
11 ms |
9680 KB |
Output is correct |
8 |
Correct |
6 ms |
6732 KB |
Output is correct |
9 |
Correct |
11 ms |
8948 KB |
Output is correct |
10 |
Correct |
11 ms |
10632 KB |
Output is correct |
11 |
Correct |
1 ms |
1100 KB |
Output is correct |
12 |
Correct |
2 ms |
1740 KB |
Output is correct |
13 |
Correct |
9 ms |
7628 KB |
Output is correct |
14 |
Correct |
8 ms |
7884 KB |
Output is correct |
15 |
Correct |
12 ms |
11036 KB |
Output is correct |
16 |
Correct |
8 ms |
8524 KB |
Output is correct |
17 |
Correct |
6 ms |
6860 KB |
Output is correct |
18 |
Correct |
9 ms |
9676 KB |
Output is correct |
19 |
Correct |
6 ms |
6732 KB |
Output is correct |
20 |
Correct |
9 ms |
8888 KB |
Output is correct |
21 |
Correct |
2 ms |
1996 KB |
Output is correct |
22 |
Correct |
11 ms |
10700 KB |
Output is correct |
23 |
Correct |
2 ms |
1996 KB |
Output is correct |
24 |
Correct |
0 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 |
3 ms |
1868 KB |
Output is correct |
29 |
Correct |
4 ms |
1484 KB |
Output is correct |
30 |
Correct |
2 ms |
1612 KB |
Output is correct |
31 |
Correct |
1 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 |
1868 KB |
Output is correct |
37 |
Correct |
2 ms |
1484 KB |
Output is correct |
38 |
Correct |
2 ms |
1612 KB |
Output is correct |
39 |
Correct |
2 ms |
1228 KB |
Output is correct |
40 |
Correct |
2 ms |
1100 KB |
Output is correct |
41 |
Correct |
2 ms |
1740 KB |
Output is correct |
42 |
Correct |
7 ms |
7628 KB |
Output is correct |
43 |
Correct |
8 ms |
7884 KB |
Output is correct |
44 |
Correct |
12 ms |
10956 KB |
Output is correct |
45 |
Correct |
8 ms |
8524 KB |
Output is correct |
46 |
Correct |
6 ms |
6860 KB |
Output is correct |
47 |
Correct |
9 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 |
17 ms |
10680 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 |
1 ms |
1356 KB |
Output is correct |
55 |
Correct |
1 ms |
972 KB |
Output is correct |
56 |
Correct |
3 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 |
1100 KB |
Output is correct |
61 |
Correct |
2 ms |
1740 KB |
Output is correct |
62 |
Correct |
8 ms |
7628 KB |
Output is correct |
63 |
Correct |
8 ms |
8128 KB |
Output is correct |
64 |
Correct |
12 ms |
10920 KB |
Output is correct |
65 |
Correct |
10 ms |
8524 KB |
Output is correct |
66 |
Correct |
7 ms |
6860 KB |
Output is correct |
67 |
Correct |
10 ms |
9676 KB |
Output is correct |
68 |
Correct |
7 ms |
6732 KB |
Output is correct |
69 |
Correct |
10 ms |
8908 KB |
Output is correct |
70 |
Correct |
11 ms |
10700 KB |
Output is correct |
71 |
Correct |
2 ms |
1996 KB |
Output is correct |
72 |
Correct |
0 ms |
204 KB |
Output is correct |
73 |
Correct |
2 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 |
1 ms |
1100 KB |
Output is correct |
81 |
Correct |
2 ms |
1740 KB |
Output is correct |
82 |
Correct |
7 ms |
7628 KB |
Output is correct |
83 |
Correct |
9 ms |
7992 KB |
Output is correct |
84 |
Correct |
11 ms |
10956 KB |
Output is correct |
85 |
Correct |
9 ms |
8524 KB |
Output is correct |
86 |
Correct |
7 ms |
6860 KB |
Output is correct |
87 |
Correct |
10 ms |
9676 KB |
Output is correct |
88 |
Correct |
6 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 |
216 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 |
1356 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 |
2 ms |
1864 KB |
Output is correct |
102 |
Correct |
7 ms |
7628 KB |
Output is correct |
103 |
Correct |
7 ms |
7884 KB |
Output is correct |
104 |
Correct |
11 ms |
10956 KB |
Output is correct |
105 |
Correct |
9 ms |
8552 KB |
Output is correct |
106 |
Correct |
8 ms |
6964 KB |
Output is correct |
107 |
Correct |
9 ms |
9676 KB |
Output is correct |
108 |
Correct |
7 ms |
6732 KB |
Output is correct |
109 |
Correct |
10 ms |
8908 KB |
Output is correct |
110 |
Correct |
11 ms |
10700 KB |
Output is correct |
111 |
Correct |
2 ms |
1996 KB |
Output is correct |
112 |
Correct |
0 ms |
204 KB |
Output is correct |
113 |
Correct |
2 ms |
1484 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 |
1484 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 |
12 ms |
10956 KB |
Output is correct |
5 |
Correct |
10 ms |
8548 KB |
Output is correct |
6 |
Correct |
7 ms |
6964 KB |
Output is correct |
7 |
Correct |
11 ms |
9680 KB |
Output is correct |
8 |
Correct |
6 ms |
6732 KB |
Output is correct |
9 |
Correct |
11 ms |
8948 KB |
Output is correct |
10 |
Correct |
11 ms |
10632 KB |
Output is correct |
11 |
Correct |
1 ms |
1100 KB |
Output is correct |
12 |
Correct |
2 ms |
1740 KB |
Output is correct |
13 |
Correct |
9 ms |
7628 KB |
Output is correct |
14 |
Correct |
8 ms |
7884 KB |
Output is correct |
15 |
Correct |
12 ms |
11036 KB |
Output is correct |
16 |
Correct |
8 ms |
8524 KB |
Output is correct |
17 |
Correct |
6 ms |
6860 KB |
Output is correct |
18 |
Correct |
9 ms |
9676 KB |
Output is correct |
19 |
Correct |
6 ms |
6732 KB |
Output is correct |
20 |
Correct |
9 ms |
8888 KB |
Output is correct |
21 |
Correct |
2 ms |
1996 KB |
Output is correct |
22 |
Correct |
11 ms |
10700 KB |
Output is correct |
23 |
Correct |
2 ms |
1996 KB |
Output is correct |
24 |
Correct |
0 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 |
3 ms |
1868 KB |
Output is correct |
29 |
Correct |
4 ms |
1484 KB |
Output is correct |
30 |
Correct |
2 ms |
1612 KB |
Output is correct |
31 |
Correct |
1 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 |
1868 KB |
Output is correct |
37 |
Correct |
2 ms |
1484 KB |
Output is correct |
38 |
Correct |
2 ms |
1612 KB |
Output is correct |
39 |
Correct |
2 ms |
1228 KB |
Output is correct |
40 |
Correct |
2 ms |
1100 KB |
Output is correct |
41 |
Correct |
2 ms |
1740 KB |
Output is correct |
42 |
Correct |
7 ms |
7628 KB |
Output is correct |
43 |
Correct |
8 ms |
7884 KB |
Output is correct |
44 |
Correct |
12 ms |
10956 KB |
Output is correct |
45 |
Correct |
8 ms |
8524 KB |
Output is correct |
46 |
Correct |
6 ms |
6860 KB |
Output is correct |
47 |
Correct |
9 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 |
17 ms |
10680 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 |
1 ms |
1356 KB |
Output is correct |
55 |
Correct |
1 ms |
972 KB |
Output is correct |
56 |
Correct |
3 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 |
1100 KB |
Output is correct |
61 |
Correct |
2 ms |
1740 KB |
Output is correct |
62 |
Correct |
8 ms |
7628 KB |
Output is correct |
63 |
Correct |
8 ms |
8128 KB |
Output is correct |
64 |
Correct |
12 ms |
10920 KB |
Output is correct |
65 |
Correct |
10 ms |
8524 KB |
Output is correct |
66 |
Correct |
7 ms |
6860 KB |
Output is correct |
67 |
Correct |
10 ms |
9676 KB |
Output is correct |
68 |
Correct |
7 ms |
6732 KB |
Output is correct |
69 |
Correct |
10 ms |
8908 KB |
Output is correct |
70 |
Correct |
11 ms |
10700 KB |
Output is correct |
71 |
Correct |
2 ms |
1996 KB |
Output is correct |
72 |
Correct |
0 ms |
204 KB |
Output is correct |
73 |
Correct |
2 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 |
1 ms |
1100 KB |
Output is correct |
81 |
Correct |
2 ms |
1740 KB |
Output is correct |
82 |
Correct |
7 ms |
7628 KB |
Output is correct |
83 |
Correct |
9 ms |
7992 KB |
Output is correct |
84 |
Correct |
11 ms |
10956 KB |
Output is correct |
85 |
Correct |
9 ms |
8524 KB |
Output is correct |
86 |
Correct |
7 ms |
6860 KB |
Output is correct |
87 |
Correct |
10 ms |
9676 KB |
Output is correct |
88 |
Correct |
6 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 |
216 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 |
1356 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 |
2 ms |
1864 KB |
Output is correct |
102 |
Correct |
7 ms |
7628 KB |
Output is correct |
103 |
Correct |
7 ms |
7884 KB |
Output is correct |
104 |
Correct |
11 ms |
10956 KB |
Output is correct |
105 |
Correct |
9 ms |
8552 KB |
Output is correct |
106 |
Correct |
8 ms |
6964 KB |
Output is correct |
107 |
Correct |
9 ms |
9676 KB |
Output is correct |
108 |
Correct |
7 ms |
6732 KB |
Output is correct |
109 |
Correct |
10 ms |
8908 KB |
Output is correct |
110 |
Correct |
11 ms |
10700 KB |
Output is correct |
111 |
Correct |
2 ms |
1996 KB |
Output is correct |
112 |
Correct |
0 ms |
204 KB |
Output is correct |
113 |
Correct |
2 ms |
1484 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 |
1484 KB |
Output is correct |
118 |
Correct |
2 ms |
1612 KB |
Output is correct |
119 |
Correct |
2 ms |
1228 KB |
Output is correct |
120 |
Correct |
7 ms |
6348 KB |
Output is correct |
121 |
Correct |
136 ms |
147104 KB |
Output is correct |
122 |
Correct |
140 ms |
154564 KB |
Output is correct |
123 |
Correct |
146 ms |
137324 KB |
Output is correct |
124 |
Correct |
174 ms |
152332 KB |
Output is correct |
125 |
Correct |
133 ms |
148340 KB |
Output is correct |
126 |
Correct |
148 ms |
170392 KB |
Output is correct |
127 |
Correct |
125 ms |
143940 KB |
Output is correct |
128 |
Correct |
205 ms |
186476 KB |
Output is correct |
129 |
Correct |
151 ms |
141728 KB |
Output is correct |
130 |
Correct |
7 ms |
7372 KB |
Output is correct |
131 |
Correct |
1 ms |
204 KB |
Output is correct |
132 |
Correct |
10 ms |
10480 KB |
Output is correct |
133 |
Correct |
2 ms |
1356 KB |
Output is correct |
134 |
Correct |
8 ms |
6604 KB |
Output is correct |
135 |
Correct |
18 ms |
19020 KB |
Output is correct |
136 |
Correct |
17 ms |
17100 KB |
Output is correct |
137 |
Correct |
10 ms |
9804 KB |
Output is correct |
138 |
Correct |
23 ms |
19404 KB |
Output is correct |
139 |
Correct |
9 ms |
6672 KB |
Output is correct |
140 |
Correct |
7 ms |
6348 KB |
Output is correct |
141 |
Correct |
150 ms |
146960 KB |
Output is correct |
142 |
Correct |
135 ms |
154436 KB |
Output is correct |
143 |
Correct |
153 ms |
137332 KB |
Output is correct |
144 |
Correct |
188 ms |
152292 KB |
Output is correct |
145 |
Correct |
139 ms |
148420 KB |
Output is correct |
146 |
Correct |
151 ms |
170476 KB |
Output is correct |
147 |
Correct |
141 ms |
143916 KB |
Output is correct |
148 |
Correct |
208 ms |
186564 KB |
Output is correct |
149 |
Correct |
162 ms |
141712 KB |
Output is correct |
150 |
Correct |
7 ms |
7372 KB |
Output is correct |
151 |
Correct |
0 ms |
204 KB |
Output is correct |
152 |
Correct |
11 ms |
10444 KB |
Output is correct |
153 |
Correct |
2 ms |
1356 KB |
Output is correct |
154 |
Correct |
7 ms |
6608 KB |
Output is correct |
155 |
Correct |
20 ms |
19020 KB |
Output is correct |
156 |
Correct |
21 ms |
17100 KB |
Output is correct |
157 |
Correct |
10 ms |
9804 KB |
Output is correct |
158 |
Correct |
22 ms |
19504 KB |
Output is correct |
159 |
Correct |
8 ms |
6604 KB |
Output is correct |
160 |
Correct |
6 ms |
6348 KB |
Output is correct |
161 |
Correct |
132 ms |
146976 KB |
Output is correct |
162 |
Correct |
145 ms |
154564 KB |
Output is correct |
163 |
Correct |
150 ms |
137324 KB |
Output is correct |
164 |
Correct |
163 ms |
152260 KB |
Output is correct |
165 |
Correct |
137 ms |
148340 KB |
Output is correct |
166 |
Correct |
161 ms |
170472 KB |
Output is correct |
167 |
Correct |
140 ms |
143844 KB |
Output is correct |
168 |
Correct |
207 ms |
186480 KB |
Output is correct |
169 |
Correct |
156 ms |
141716 KB |
Output is correct |
170 |
Correct |
7 ms |
7372 KB |
Output is correct |
171 |
Correct |
1 ms |
204 KB |
Output is correct |
172 |
Correct |
10 ms |
10452 KB |
Output is correct |
173 |
Correct |
2 ms |
1356 KB |
Output is correct |
174 |
Correct |
8 ms |
6604 KB |
Output is correct |
175 |
Correct |
18 ms |
19032 KB |
Output is correct |
176 |
Correct |
17 ms |
17100 KB |
Output is correct |
177 |
Correct |
10 ms |
9884 KB |
Output is correct |
178 |
Correct |
21 ms |
19404 KB |
Output is correct |
179 |
Correct |
8 ms |
6604 KB |
Output is correct |
180 |
Correct |
6 ms |
6348 KB |
Output is correct |
181 |
Correct |
131 ms |
147088 KB |
Output is correct |
182 |
Correct |
138 ms |
154552 KB |
Output is correct |
183 |
Correct |
145 ms |
137300 KB |
Output is correct |
184 |
Correct |
159 ms |
152192 KB |
Output is correct |
185 |
Correct |
137 ms |
148420 KB |
Output is correct |
186 |
Correct |
151 ms |
170452 KB |
Output is correct |
187 |
Correct |
129 ms |
143940 KB |
Output is correct |
188 |
Correct |
204 ms |
186564 KB |
Output is correct |
189 |
Correct |
151 ms |
141724 KB |
Output is correct |
190 |
Correct |
7 ms |
7372 KB |
Output is correct |
191 |
Correct |
1 ms |
204 KB |
Output is correct |
192 |
Correct |
11 ms |
10444 KB |
Output is correct |
193 |
Correct |
2 ms |
1356 KB |
Output is correct |
194 |
Correct |
8 ms |
6608 KB |
Output is correct |
195 |
Correct |
17 ms |
19020 KB |
Output is correct |
196 |
Correct |
17 ms |
17216 KB |
Output is correct |
197 |
Correct |
12 ms |
9892 KB |
Output is correct |
198 |
Correct |
22 ms |
19500 KB |
Output is correct |
199 |
Correct |
8 ms |
6604 KB |
Output is correct |
200 |
Correct |
8 ms |
6428 KB |
Output is correct |
201 |
Correct |
141 ms |
146904 KB |
Output is correct |
202 |
Correct |
140 ms |
154536 KB |
Output is correct |
203 |
Correct |
142 ms |
137328 KB |
Output is correct |
204 |
Correct |
163 ms |
152264 KB |
Output is correct |
205 |
Correct |
135 ms |
148344 KB |
Output is correct |
206 |
Correct |
154 ms |
170392 KB |
Output is correct |
207 |
Correct |
127 ms |
143860 KB |
Output is correct |
208 |
Correct |
196 ms |
186564 KB |
Output is correct |
209 |
Correct |
149 ms |
141692 KB |
Output is correct |
210 |
Correct |
7 ms |
7372 KB |
Output is correct |
211 |
Correct |
1 ms |
204 KB |
Output is correct |
212 |
Correct |
10 ms |
10444 KB |
Output is correct |
213 |
Correct |
2 ms |
1356 KB |
Output is correct |
214 |
Correct |
7 ms |
6604 KB |
Output is correct |
215 |
Correct |
19 ms |
19028 KB |
Output is correct |
216 |
Correct |
17 ms |
17100 KB |
Output is correct |
217 |
Correct |
13 ms |
9804 KB |
Output is correct |
218 |
Correct |
24 ms |
19404 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
204 KB |
1st lines differ - on the 1st token, expected: '689', found: '1949' |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
56 ms |
71132 KB |
Output is correct |
2 |
Correct |
62 ms |
71388 KB |
Output is correct |
3 |
Correct |
60 ms |
74512 KB |
Output is correct |
4 |
Correct |
61 ms |
74700 KB |
Output is correct |
5 |
Correct |
58 ms |
75944 KB |
Output is correct |
6 |
Correct |
60 ms |
71572 KB |
Output is correct |
7 |
Correct |
58 ms |
71244 KB |
Output is correct |
8 |
Correct |
64 ms |
74920 KB |
Output is correct |
9 |
Correct |
60 ms |
74204 KB |
Output is correct |
10 |
Correct |
59 ms |
72008 KB |
Output is correct |
11 |
Correct |
5 ms |
4444 KB |
Output is correct |
12 |
Correct |
2 ms |
384 KB |
Output is correct |
13 |
Correct |
3 ms |
1484 KB |
Output is correct |
14 |
Correct |
2 ms |
1740 KB |
Output is correct |
15 |
Correct |
4 ms |
4172 KB |
Output is correct |
16 |
Correct |
1 ms |
972 KB |
Output is correct |
17 |
Correct |
65 ms |
72584 KB |
Output is correct |
18 |
Correct |
60 ms |
70852 KB |
Output is correct |
19 |
Correct |
61 ms |
76416 KB |
Output is correct |
20 |
Correct |
57 ms |
69528 KB |
Output is correct |
21 |
Correct |
57 ms |
71116 KB |
Output is correct |
22 |
Correct |
56 ms |
71372 KB |
Output is correct |
23 |
Correct |
59 ms |
74568 KB |
Output is correct |
24 |
Correct |
63 ms |
74708 KB |
Output is correct |
25 |
Correct |
66 ms |
76000 KB |
Output is correct |
26 |
Correct |
56 ms |
71492 KB |
Output is correct |
27 |
Correct |
62 ms |
71336 KB |
Output is correct |
28 |
Correct |
59 ms |
74808 KB |
Output is correct |
29 |
Correct |
56 ms |
74240 KB |
Output is correct |
30 |
Correct |
54 ms |
71948 KB |
Output is correct |
31 |
Correct |
4 ms |
4428 KB |
Output is correct |
32 |
Correct |
2 ms |
204 KB |
Output is correct |
33 |
Correct |
2 ms |
1484 KB |
Output is correct |
34 |
Correct |
3 ms |
1740 KB |
Output is correct |
35 |
Correct |
5 ms |
4172 KB |
Output is correct |
36 |
Correct |
1 ms |
972 KB |
Output is correct |
37 |
Correct |
57 ms |
72524 KB |
Output is correct |
38 |
Correct |
57 ms |
70988 KB |
Output is correct |
39 |
Correct |
60 ms |
76324 KB |
Output is correct |
40 |
Correct |
59 ms |
69572 KB |
Output is correct |
41 |
Correct |
60 ms |
71116 KB |
Output is correct |
42 |
Correct |
60 ms |
71436 KB |
Output is correct |
43 |
Correct |
61 ms |
74580 KB |
Output is correct |
44 |
Correct |
62 ms |
74700 KB |
Output is correct |
45 |
Correct |
64 ms |
75980 KB |
Output is correct |
46 |
Correct |
68 ms |
71480 KB |
Output is correct |
47 |
Correct |
58 ms |
71296 KB |
Output is correct |
48 |
Correct |
61 ms |
74768 KB |
Output is correct |
49 |
Correct |
61 ms |
74188 KB |
Output is correct |
50 |
Correct |
58 ms |
72056 KB |
Output is correct |
51 |
Correct |
6 ms |
4428 KB |
Output is correct |
52 |
Correct |
1 ms |
300 KB |
Output is correct |
53 |
Correct |
2 ms |
1612 KB |
Output is correct |
54 |
Correct |
2 ms |
1740 KB |
Output is correct |
55 |
Correct |
4 ms |
4172 KB |
Output is correct |
56 |
Correct |
2 ms |
972 KB |
Output is correct |
57 |
Correct |
59 ms |
72732 KB |
Output is correct |
58 |
Correct |
57 ms |
70808 KB |
Output is correct |
59 |
Correct |
62 ms |
76412 KB |
Output is correct |
60 |
Correct |
53 ms |
69572 KB |
Output is correct |
61 |
Correct |
61 ms |
71148 KB |
Output is correct |
62 |
Correct |
56 ms |
71464 KB |
Output is correct |
63 |
Correct |
58 ms |
74572 KB |
Output is correct |
64 |
Correct |
61 ms |
74740 KB |
Output is correct |
65 |
Correct |
62 ms |
75980 KB |
Output is correct |
66 |
Correct |
57 ms |
71508 KB |
Output is correct |
67 |
Correct |
59 ms |
71392 KB |
Output is correct |
68 |
Correct |
60 ms |
74760 KB |
Output is correct |
69 |
Correct |
58 ms |
74248 KB |
Output is correct |
70 |
Correct |
55 ms |
72004 KB |
Output is correct |
71 |
Correct |
4 ms |
4440 KB |
Output is correct |
72 |
Correct |
1 ms |
204 KB |
Output is correct |
73 |
Correct |
2 ms |
1484 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 |
58 ms |
72556 KB |
Output is correct |
78 |
Correct |
56 ms |
70900 KB |
Output is correct |
79 |
Correct |
62 ms |
76348 KB |
Output is correct |
80 |
Correct |
54 ms |
69596 KB |
Output is correct |
81 |
Correct |
60 ms |
71136 KB |
Output is correct |
82 |
Correct |
60 ms |
71364 KB |
Output is correct |
83 |
Correct |
63 ms |
74572 KB |
Output is correct |
84 |
Correct |
57 ms |
74768 KB |
Output is correct |
85 |
Correct |
62 ms |
75972 KB |
Output is correct |
86 |
Correct |
56 ms |
71500 KB |
Output is correct |
87 |
Correct |
62 ms |
71348 KB |
Output is correct |
88 |
Correct |
63 ms |
74692 KB |
Output is correct |
89 |
Correct |
63 ms |
74208 KB |
Output is correct |
90 |
Correct |
55 ms |
72132 KB |
Output is correct |
91 |
Correct |
5 ms |
4428 KB |
Output is correct |
92 |
Correct |
1 ms |
332 KB |
Output is correct |
93 |
Correct |
2 ms |
1484 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 |
58 ms |
72552 KB |
Output is correct |
98 |
Correct |
61 ms |
70816 KB |
Output is correct |
99 |
Correct |
63 ms |
76416 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
60 ms |
79348 KB |
Output is correct |
2 |
Correct |
109 ms |
141292 KB |
Output is correct |
3 |
Correct |
107 ms |
140352 KB |
Output is correct |
4 |
Correct |
113 ms |
147780 KB |
Output is correct |
5 |
Correct |
111 ms |
143684 KB |
Output is correct |
6 |
Correct |
107 ms |
145600 KB |
Output is correct |
7 |
Correct |
109 ms |
146884 KB |
Output is correct |
8 |
Correct |
115 ms |
143428 KB |
Output is correct |
9 |
Correct |
110 ms |
142276 KB |
Output is correct |
10 |
Correct |
122 ms |
152040 KB |
Output is correct |
11 |
Correct |
56 ms |
74244 KB |
Output is correct |
12 |
Correct |
1 ms |
204 KB |
Output is correct |
13 |
Correct |
67 ms |
87888 KB |
Output is correct |
14 |
Correct |
65 ms |
78044 KB |
Output is correct |
15 |
Correct |
70 ms |
84548 KB |
Output is correct |
16 |
Correct |
60 ms |
78148 KB |
Output is correct |
17 |
Correct |
71 ms |
85504 KB |
Output is correct |
18 |
Correct |
64 ms |
85080 KB |
Output is correct |
19 |
Correct |
59 ms |
76180 KB |
Output is correct |
20 |
Correct |
60 ms |
77184 KB |
Output is correct |
21 |
Correct |
61 ms |
79356 KB |
Output is correct |
22 |
Correct |
111 ms |
141252 KB |
Output is correct |
23 |
Correct |
115 ms |
140360 KB |
Output is correct |
24 |
Correct |
113 ms |
147780 KB |
Output is correct |
25 |
Correct |
116 ms |
143644 KB |
Output is correct |
26 |
Correct |
129 ms |
145560 KB |
Output is correct |
27 |
Correct |
110 ms |
146928 KB |
Output is correct |
28 |
Correct |
105 ms |
143428 KB |
Output is correct |
29 |
Correct |
107 ms |
142148 KB |
Output is correct |
30 |
Correct |
123 ms |
152028 KB |
Output is correct |
31 |
Correct |
61 ms |
74272 KB |
Output is correct |
32 |
Correct |
1 ms |
332 KB |
Output is correct |
33 |
Correct |
74 ms |
87972 KB |
Output is correct |
34 |
Correct |
59 ms |
78104 KB |
Output is correct |
35 |
Correct |
65 ms |
84556 KB |
Output is correct |
36 |
Correct |
62 ms |
78000 KB |
Output is correct |
37 |
Correct |
65 ms |
85572 KB |
Output is correct |
38 |
Correct |
65 ms |
85052 KB |
Output is correct |
39 |
Correct |
59 ms |
76016 KB |
Output is correct |
40 |
Correct |
58 ms |
77124 KB |
Output is correct |
41 |
Correct |
60 ms |
79252 KB |
Output is correct |
42 |
Correct |
104 ms |
141248 KB |
Output is correct |
43 |
Correct |
104 ms |
140356 KB |
Output is correct |
44 |
Correct |
111 ms |
147896 KB |
Output is correct |
45 |
Correct |
108 ms |
143648 KB |
Output is correct |
46 |
Correct |
118 ms |
145612 KB |
Output is correct |
47 |
Correct |
118 ms |
147020 KB |
Output is correct |
48 |
Correct |
107 ms |
143376 KB |
Output is correct |
49 |
Correct |
110 ms |
142148 KB |
Output is correct |
50 |
Correct |
118 ms |
152020 KB |
Output is correct |
51 |
Correct |
64 ms |
74224 KB |
Output is correct |
52 |
Correct |
1 ms |
332 KB |
Output is correct |
53 |
Correct |
71 ms |
87980 KB |
Output is correct |
54 |
Correct |
59 ms |
77996 KB |
Output is correct |
55 |
Correct |
72 ms |
84548 KB |
Output is correct |
56 |
Correct |
60 ms |
78200 KB |
Output is correct |
57 |
Correct |
67 ms |
85592 KB |
Output is correct |
58 |
Correct |
71 ms |
85060 KB |
Output is correct |
59 |
Correct |
59 ms |
76064 KB |
Output is correct |
60 |
Correct |
68 ms |
77096 KB |
Output is correct |
61 |
Correct |
65 ms |
79296 KB |
Output is correct |
62 |
Correct |
106 ms |
141280 KB |
Output is correct |
63 |
Correct |
103 ms |
140296 KB |
Output is correct |
64 |
Correct |
125 ms |
147808 KB |
Output is correct |
65 |
Correct |
113 ms |
143684 KB |
Output is correct |
66 |
Correct |
120 ms |
145520 KB |
Output is correct |
67 |
Correct |
106 ms |
146872 KB |
Output is correct |
68 |
Correct |
111 ms |
143452 KB |
Output is correct |
69 |
Correct |
113 ms |
142252 KB |
Output is correct |
70 |
Correct |
119 ms |
152240 KB |
Output is correct |
71 |
Correct |
61 ms |
74436 KB |
Output is correct |
72 |
Correct |
1 ms |
332 KB |
Output is correct |
73 |
Correct |
67 ms |
87980 KB |
Output is correct |
74 |
Correct |
59 ms |
78044 KB |
Output is correct |
75 |
Correct |
67 ms |
84552 KB |
Output is correct |
76 |
Correct |
64 ms |
78020 KB |
Output is correct |
77 |
Correct |
70 ms |
85572 KB |
Output is correct |
78 |
Correct |
66 ms |
85060 KB |
Output is correct |
79 |
Correct |
62 ms |
76024 KB |
Output is correct |
80 |
Correct |
66 ms |
77180 KB |
Output is correct |
81 |
Correct |
65 ms |
79348 KB |
Output is correct |
82 |
Correct |
117 ms |
141204 KB |
Output is correct |
83 |
Correct |
104 ms |
140448 KB |
Output is correct |
84 |
Correct |
111 ms |
147864 KB |
Output is correct |
85 |
Correct |
111 ms |
143680 KB |
Output is correct |
86 |
Correct |
117 ms |
145616 KB |
Output is correct |
87 |
Correct |
106 ms |
146808 KB |
Output is correct |
88 |
Correct |
117 ms |
143376 KB |
Output is correct |
89 |
Correct |
122 ms |
142148 KB |
Output is correct |
90 |
Correct |
121 ms |
152116 KB |
Output is correct |
91 |
Correct |
60 ms |
74316 KB |
Output is correct |
92 |
Correct |
1 ms |
204 KB |
Output is correct |
93 |
Correct |
69 ms |
88076 KB |
Output is correct |
94 |
Correct |
60 ms |
78064 KB |
Output is correct |
95 |
Correct |
64 ms |
84548 KB |
Output is correct |
96 |
Correct |
61 ms |
78008 KB |
Output is correct |
97 |
Correct |
65 ms |
85572 KB |
Output is correct |
98 |
Correct |
64 ms |
85132 KB |
Output is correct |
99 |
Correct |
60 ms |
76060 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 |
12 ms |
10956 KB |
Output is correct |
5 |
Correct |
10 ms |
8548 KB |
Output is correct |
6 |
Correct |
7 ms |
6964 KB |
Output is correct |
7 |
Correct |
11 ms |
9680 KB |
Output is correct |
8 |
Correct |
6 ms |
6732 KB |
Output is correct |
9 |
Correct |
11 ms |
8948 KB |
Output is correct |
10 |
Correct |
11 ms |
10632 KB |
Output is correct |
11 |
Correct |
1 ms |
1100 KB |
Output is correct |
12 |
Correct |
2 ms |
1740 KB |
Output is correct |
13 |
Correct |
9 ms |
7628 KB |
Output is correct |
14 |
Correct |
8 ms |
7884 KB |
Output is correct |
15 |
Correct |
12 ms |
11036 KB |
Output is correct |
16 |
Correct |
8 ms |
8524 KB |
Output is correct |
17 |
Correct |
6 ms |
6860 KB |
Output is correct |
18 |
Correct |
9 ms |
9676 KB |
Output is correct |
19 |
Correct |
6 ms |
6732 KB |
Output is correct |
20 |
Correct |
9 ms |
8888 KB |
Output is correct |
21 |
Correct |
2 ms |
1996 KB |
Output is correct |
22 |
Correct |
11 ms |
10700 KB |
Output is correct |
23 |
Correct |
2 ms |
1996 KB |
Output is correct |
24 |
Correct |
0 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 |
3 ms |
1868 KB |
Output is correct |
29 |
Correct |
4 ms |
1484 KB |
Output is correct |
30 |
Correct |
2 ms |
1612 KB |
Output is correct |
31 |
Correct |
1 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 |
1868 KB |
Output is correct |
37 |
Correct |
2 ms |
1484 KB |
Output is correct |
38 |
Correct |
2 ms |
1612 KB |
Output is correct |
39 |
Correct |
2 ms |
1228 KB |
Output is correct |
40 |
Correct |
2 ms |
1100 KB |
Output is correct |
41 |
Correct |
2 ms |
1740 KB |
Output is correct |
42 |
Correct |
7 ms |
7628 KB |
Output is correct |
43 |
Correct |
8 ms |
7884 KB |
Output is correct |
44 |
Correct |
12 ms |
10956 KB |
Output is correct |
45 |
Correct |
8 ms |
8524 KB |
Output is correct |
46 |
Correct |
6 ms |
6860 KB |
Output is correct |
47 |
Correct |
9 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 |
17 ms |
10680 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 |
1 ms |
1356 KB |
Output is correct |
55 |
Correct |
1 ms |
972 KB |
Output is correct |
56 |
Correct |
3 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 |
1100 KB |
Output is correct |
61 |
Correct |
2 ms |
1740 KB |
Output is correct |
62 |
Correct |
8 ms |
7628 KB |
Output is correct |
63 |
Correct |
8 ms |
8128 KB |
Output is correct |
64 |
Correct |
12 ms |
10920 KB |
Output is correct |
65 |
Correct |
10 ms |
8524 KB |
Output is correct |
66 |
Correct |
7 ms |
6860 KB |
Output is correct |
67 |
Correct |
10 ms |
9676 KB |
Output is correct |
68 |
Correct |
7 ms |
6732 KB |
Output is correct |
69 |
Correct |
10 ms |
8908 KB |
Output is correct |
70 |
Correct |
11 ms |
10700 KB |
Output is correct |
71 |
Correct |
2 ms |
1996 KB |
Output is correct |
72 |
Correct |
0 ms |
204 KB |
Output is correct |
73 |
Correct |
2 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 |
1 ms |
1100 KB |
Output is correct |
81 |
Correct |
2 ms |
1740 KB |
Output is correct |
82 |
Correct |
7 ms |
7628 KB |
Output is correct |
83 |
Correct |
9 ms |
7992 KB |
Output is correct |
84 |
Correct |
11 ms |
10956 KB |
Output is correct |
85 |
Correct |
9 ms |
8524 KB |
Output is correct |
86 |
Correct |
7 ms |
6860 KB |
Output is correct |
87 |
Correct |
10 ms |
9676 KB |
Output is correct |
88 |
Correct |
6 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 |
216 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 |
1356 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 |
2 ms |
1864 KB |
Output is correct |
102 |
Correct |
7 ms |
7628 KB |
Output is correct |
103 |
Correct |
7 ms |
7884 KB |
Output is correct |
104 |
Correct |
11 ms |
10956 KB |
Output is correct |
105 |
Correct |
9 ms |
8552 KB |
Output is correct |
106 |
Correct |
8 ms |
6964 KB |
Output is correct |
107 |
Correct |
9 ms |
9676 KB |
Output is correct |
108 |
Correct |
7 ms |
6732 KB |
Output is correct |
109 |
Correct |
10 ms |
8908 KB |
Output is correct |
110 |
Correct |
11 ms |
10700 KB |
Output is correct |
111 |
Correct |
2 ms |
1996 KB |
Output is correct |
112 |
Correct |
0 ms |
204 KB |
Output is correct |
113 |
Correct |
2 ms |
1484 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 |
1484 KB |
Output is correct |
118 |
Correct |
2 ms |
1612 KB |
Output is correct |
119 |
Correct |
2 ms |
1228 KB |
Output is correct |
120 |
Correct |
7 ms |
6348 KB |
Output is correct |
121 |
Correct |
136 ms |
147104 KB |
Output is correct |
122 |
Correct |
140 ms |
154564 KB |
Output is correct |
123 |
Correct |
146 ms |
137324 KB |
Output is correct |
124 |
Correct |
174 ms |
152332 KB |
Output is correct |
125 |
Correct |
133 ms |
148340 KB |
Output is correct |
126 |
Correct |
148 ms |
170392 KB |
Output is correct |
127 |
Correct |
125 ms |
143940 KB |
Output is correct |
128 |
Correct |
205 ms |
186476 KB |
Output is correct |
129 |
Correct |
151 ms |
141728 KB |
Output is correct |
130 |
Correct |
7 ms |
7372 KB |
Output is correct |
131 |
Correct |
1 ms |
204 KB |
Output is correct |
132 |
Correct |
10 ms |
10480 KB |
Output is correct |
133 |
Correct |
2 ms |
1356 KB |
Output is correct |
134 |
Correct |
8 ms |
6604 KB |
Output is correct |
135 |
Correct |
18 ms |
19020 KB |
Output is correct |
136 |
Correct |
17 ms |
17100 KB |
Output is correct |
137 |
Correct |
10 ms |
9804 KB |
Output is correct |
138 |
Correct |
23 ms |
19404 KB |
Output is correct |
139 |
Correct |
9 ms |
6672 KB |
Output is correct |
140 |
Correct |
7 ms |
6348 KB |
Output is correct |
141 |
Correct |
150 ms |
146960 KB |
Output is correct |
142 |
Correct |
135 ms |
154436 KB |
Output is correct |
143 |
Correct |
153 ms |
137332 KB |
Output is correct |
144 |
Correct |
188 ms |
152292 KB |
Output is correct |
145 |
Correct |
139 ms |
148420 KB |
Output is correct |
146 |
Correct |
151 ms |
170476 KB |
Output is correct |
147 |
Correct |
141 ms |
143916 KB |
Output is correct |
148 |
Correct |
208 ms |
186564 KB |
Output is correct |
149 |
Correct |
162 ms |
141712 KB |
Output is correct |
150 |
Correct |
7 ms |
7372 KB |
Output is correct |
151 |
Correct |
0 ms |
204 KB |
Output is correct |
152 |
Correct |
11 ms |
10444 KB |
Output is correct |
153 |
Correct |
2 ms |
1356 KB |
Output is correct |
154 |
Correct |
7 ms |
6608 KB |
Output is correct |
155 |
Correct |
20 ms |
19020 KB |
Output is correct |
156 |
Correct |
21 ms |
17100 KB |
Output is correct |
157 |
Correct |
10 ms |
9804 KB |
Output is correct |
158 |
Correct |
22 ms |
19504 KB |
Output is correct |
159 |
Correct |
8 ms |
6604 KB |
Output is correct |
160 |
Correct |
6 ms |
6348 KB |
Output is correct |
161 |
Correct |
132 ms |
146976 KB |
Output is correct |
162 |
Correct |
145 ms |
154564 KB |
Output is correct |
163 |
Correct |
150 ms |
137324 KB |
Output is correct |
164 |
Correct |
163 ms |
152260 KB |
Output is correct |
165 |
Correct |
137 ms |
148340 KB |
Output is correct |
166 |
Correct |
161 ms |
170472 KB |
Output is correct |
167 |
Correct |
140 ms |
143844 KB |
Output is correct |
168 |
Correct |
207 ms |
186480 KB |
Output is correct |
169 |
Correct |
156 ms |
141716 KB |
Output is correct |
170 |
Correct |
7 ms |
7372 KB |
Output is correct |
171 |
Correct |
1 ms |
204 KB |
Output is correct |
172 |
Correct |
10 ms |
10452 KB |
Output is correct |
173 |
Correct |
2 ms |
1356 KB |
Output is correct |
174 |
Correct |
8 ms |
6604 KB |
Output is correct |
175 |
Correct |
18 ms |
19032 KB |
Output is correct |
176 |
Correct |
17 ms |
17100 KB |
Output is correct |
177 |
Correct |
10 ms |
9884 KB |
Output is correct |
178 |
Correct |
21 ms |
19404 KB |
Output is correct |
179 |
Correct |
8 ms |
6604 KB |
Output is correct |
180 |
Correct |
6 ms |
6348 KB |
Output is correct |
181 |
Correct |
131 ms |
147088 KB |
Output is correct |
182 |
Correct |
138 ms |
154552 KB |
Output is correct |
183 |
Correct |
145 ms |
137300 KB |
Output is correct |
184 |
Correct |
159 ms |
152192 KB |
Output is correct |
185 |
Correct |
137 ms |
148420 KB |
Output is correct |
186 |
Correct |
151 ms |
170452 KB |
Output is correct |
187 |
Correct |
129 ms |
143940 KB |
Output is correct |
188 |
Correct |
204 ms |
186564 KB |
Output is correct |
189 |
Correct |
151 ms |
141724 KB |
Output is correct |
190 |
Correct |
7 ms |
7372 KB |
Output is correct |
191 |
Correct |
1 ms |
204 KB |
Output is correct |
192 |
Correct |
11 ms |
10444 KB |
Output is correct |
193 |
Correct |
2 ms |
1356 KB |
Output is correct |
194 |
Correct |
8 ms |
6608 KB |
Output is correct |
195 |
Correct |
17 ms |
19020 KB |
Output is correct |
196 |
Correct |
17 ms |
17216 KB |
Output is correct |
197 |
Correct |
12 ms |
9892 KB |
Output is correct |
198 |
Correct |
22 ms |
19500 KB |
Output is correct |
199 |
Correct |
8 ms |
6604 KB |
Output is correct |
200 |
Correct |
8 ms |
6428 KB |
Output is correct |
201 |
Correct |
141 ms |
146904 KB |
Output is correct |
202 |
Correct |
140 ms |
154536 KB |
Output is correct |
203 |
Correct |
142 ms |
137328 KB |
Output is correct |
204 |
Correct |
163 ms |
152264 KB |
Output is correct |
205 |
Correct |
135 ms |
148344 KB |
Output is correct |
206 |
Correct |
154 ms |
170392 KB |
Output is correct |
207 |
Correct |
127 ms |
143860 KB |
Output is correct |
208 |
Correct |
196 ms |
186564 KB |
Output is correct |
209 |
Correct |
149 ms |
141692 KB |
Output is correct |
210 |
Correct |
7 ms |
7372 KB |
Output is correct |
211 |
Correct |
1 ms |
204 KB |
Output is correct |
212 |
Correct |
10 ms |
10444 KB |
Output is correct |
213 |
Correct |
2 ms |
1356 KB |
Output is correct |
214 |
Correct |
7 ms |
6604 KB |
Output is correct |
215 |
Correct |
19 ms |
19028 KB |
Output is correct |
216 |
Correct |
17 ms |
17100 KB |
Output is correct |
217 |
Correct |
13 ms |
9804 KB |
Output is correct |
218 |
Correct |
24 ms |
19404 KB |
Output is correct |
219 |
Incorrect |
1 ms |
204 KB |
1st lines differ - on the 1st token, expected: '689', found: '1949' |
220 |
Halted |
0 ms |
0 KB |
- |