#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
const int MAXN = 1e6;
const ll INF = 1e15;
int Q;
multiset<ll, greater<ll>> L[MAXN+10], LL;
multiset<ll> R[MAXN+10], RR;
struct Node
{
ll maxl, minr, val;
Node() : maxl(-INF), minr(INF), val(INF) {}
};
Node operator + (const Node &p, const Node &q)
{
Node ret;
ret.maxl=max(p.maxl, q.maxl);
ret.minr=min(p.minr, q.minr);
ret.val=min({p.val, q.val, q.minr-p.maxl});
return ret;
}
Node tree[MAXN*4+10];
void update(int node, int tl, int tr, int pos)
{
if(tl==tr)
{
tree[node].maxl=*L[tl].begin();
tree[node].minr=*R[tl].begin();
tree[node].val=INF;
return;
}
int mid=tl+tr>>1;
if(pos<=mid) update(node*2, tl, mid, pos);
else update(node*2+1, mid+1, tr, pos);
tree[node]=tree[node*2]+tree[node*2+1];
//printf("%d %d : %lld %lld %lld\n", tl, tr, tree[node].maxl, tree[node].minr, tree[node].val);
}
int main()
{
scanf("%d", &Q);
for(int i=1; i<=MAXN; i++)
{
L[i].insert(-INF);
R[i].insert(INF);
}
for(int i=1; i<=Q; i++)
{
int l, r;
char c;
scanf(" %c%d%d", &c, &l, &r);
if(c=='A')
{
L[r-1].insert(l);
R[l].insert(r);
LL.insert(l);
RR.insert(r);
}
else
{
L[r-1].erase(L[r-1].find(l));
R[l].erase(R[l].find(r));
LL.erase(LL.find(l));
RR.erase(RR.find(r));
}
update(1, 1, MAXN, l);
update(1, 1, MAXN, r-1);
if(*LL.begin()<=*RR.begin()) printf("%lld\n", *R[*LL.begin()].begin()-*L[*RR.begin()-1].begin());
else printf("%lld\n", tree[1].val);
}
}
Compilation message
Main.cpp: In function 'void update(int, int, int, int)':
Main.cpp:42:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
42 | int mid=tl+tr>>1;
| ~~^~~
Main.cpp: In function 'int main()':
Main.cpp:52:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
52 | scanf("%d", &Q);
| ~~~~~^~~~~~~~~~
Main.cpp:64:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
64 | scanf(" %c%d%d", &c, &l, &r);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
247 ms |
282112 KB |
Output is correct |
2 |
Correct |
255 ms |
282104 KB |
Output is correct |
3 |
Correct |
243 ms |
282140 KB |
Output is correct |
4 |
Correct |
242 ms |
282104 KB |
Output is correct |
5 |
Correct |
244 ms |
282104 KB |
Output is correct |
6 |
Correct |
244 ms |
282068 KB |
Output is correct |
7 |
Correct |
251 ms |
282104 KB |
Output is correct |
8 |
Correct |
248 ms |
282232 KB |
Output is correct |
9 |
Correct |
242 ms |
282240 KB |
Output is correct |
10 |
Correct |
252 ms |
282104 KB |
Output is correct |
11 |
Correct |
252 ms |
282236 KB |
Output is correct |
12 |
Correct |
242 ms |
282232 KB |
Output is correct |
13 |
Correct |
245 ms |
282236 KB |
Output is correct |
14 |
Correct |
280 ms |
282188 KB |
Output is correct |
15 |
Correct |
244 ms |
282192 KB |
Output is correct |
16 |
Correct |
242 ms |
282232 KB |
Output is correct |
17 |
Correct |
250 ms |
282232 KB |
Output is correct |
18 |
Correct |
246 ms |
282104 KB |
Output is correct |
19 |
Correct |
252 ms |
282088 KB |
Output is correct |
20 |
Correct |
243 ms |
282104 KB |
Output is correct |
21 |
Correct |
257 ms |
282264 KB |
Output is correct |
22 |
Correct |
245 ms |
282104 KB |
Output is correct |
23 |
Correct |
251 ms |
282224 KB |
Output is correct |
24 |
Correct |
250 ms |
282104 KB |
Output is correct |
25 |
Correct |
263 ms |
282232 KB |
Output is correct |
26 |
Correct |
247 ms |
282140 KB |
Output is correct |
27 |
Correct |
251 ms |
282172 KB |
Output is correct |
28 |
Correct |
274 ms |
282192 KB |
Output is correct |
29 |
Correct |
247 ms |
282256 KB |
Output is correct |
30 |
Correct |
244 ms |
282232 KB |
Output is correct |
31 |
Correct |
244 ms |
282232 KB |
Output is correct |
32 |
Correct |
240 ms |
282152 KB |
Output is correct |
33 |
Correct |
241 ms |
282072 KB |
Output is correct |
34 |
Correct |
244 ms |
282168 KB |
Output is correct |
35 |
Correct |
253 ms |
282076 KB |
Output is correct |
36 |
Correct |
248 ms |
282052 KB |
Output is correct |
37 |
Correct |
249 ms |
282152 KB |
Output is correct |
38 |
Correct |
246 ms |
282156 KB |
Output is correct |
39 |
Correct |
248 ms |
282104 KB |
Output is correct |
40 |
Correct |
251 ms |
282060 KB |
Output is correct |
41 |
Correct |
238 ms |
282104 KB |
Output is correct |
42 |
Correct |
245 ms |
282200 KB |
Output is correct |
43 |
Correct |
242 ms |
282104 KB |
Output is correct |
44 |
Correct |
245 ms |
282104 KB |
Output is correct |
45 |
Correct |
272 ms |
282104 KB |
Output is correct |
46 |
Correct |
238 ms |
282104 KB |
Output is correct |
47 |
Correct |
241 ms |
282060 KB |
Output is correct |
48 |
Correct |
250 ms |
282120 KB |
Output is correct |
49 |
Correct |
244 ms |
282104 KB |
Output is correct |
50 |
Correct |
240 ms |
282104 KB |
Output is correct |
51 |
Correct |
244 ms |
282220 KB |
Output is correct |
52 |
Correct |
250 ms |
282232 KB |
Output is correct |
53 |
Correct |
240 ms |
282104 KB |
Output is correct |
54 |
Correct |
249 ms |
282268 KB |
Output is correct |
55 |
Correct |
238 ms |
282104 KB |
Output is correct |
56 |
Correct |
250 ms |
282104 KB |
Output is correct |
57 |
Correct |
249 ms |
282188 KB |
Output is correct |
58 |
Correct |
242 ms |
282232 KB |
Output is correct |
59 |
Correct |
251 ms |
282316 KB |
Output is correct |
60 |
Correct |
241 ms |
282232 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
247 ms |
282112 KB |
Output is correct |
2 |
Correct |
255 ms |
282104 KB |
Output is correct |
3 |
Correct |
243 ms |
282140 KB |
Output is correct |
4 |
Correct |
242 ms |
282104 KB |
Output is correct |
5 |
Correct |
244 ms |
282104 KB |
Output is correct |
6 |
Correct |
244 ms |
282068 KB |
Output is correct |
7 |
Correct |
251 ms |
282104 KB |
Output is correct |
8 |
Correct |
248 ms |
282232 KB |
Output is correct |
9 |
Correct |
242 ms |
282240 KB |
Output is correct |
10 |
Correct |
252 ms |
282104 KB |
Output is correct |
11 |
Correct |
252 ms |
282236 KB |
Output is correct |
12 |
Correct |
242 ms |
282232 KB |
Output is correct |
13 |
Correct |
245 ms |
282236 KB |
Output is correct |
14 |
Correct |
280 ms |
282188 KB |
Output is correct |
15 |
Correct |
244 ms |
282192 KB |
Output is correct |
16 |
Correct |
242 ms |
282232 KB |
Output is correct |
17 |
Correct |
250 ms |
282232 KB |
Output is correct |
18 |
Correct |
246 ms |
282104 KB |
Output is correct |
19 |
Correct |
252 ms |
282088 KB |
Output is correct |
20 |
Correct |
243 ms |
282104 KB |
Output is correct |
21 |
Correct |
257 ms |
282264 KB |
Output is correct |
22 |
Correct |
245 ms |
282104 KB |
Output is correct |
23 |
Correct |
251 ms |
282224 KB |
Output is correct |
24 |
Correct |
250 ms |
282104 KB |
Output is correct |
25 |
Correct |
263 ms |
282232 KB |
Output is correct |
26 |
Correct |
247 ms |
282140 KB |
Output is correct |
27 |
Correct |
251 ms |
282172 KB |
Output is correct |
28 |
Correct |
274 ms |
282192 KB |
Output is correct |
29 |
Correct |
247 ms |
282256 KB |
Output is correct |
30 |
Correct |
244 ms |
282232 KB |
Output is correct |
31 |
Correct |
244 ms |
282232 KB |
Output is correct |
32 |
Correct |
240 ms |
282152 KB |
Output is correct |
33 |
Correct |
241 ms |
282072 KB |
Output is correct |
34 |
Correct |
244 ms |
282168 KB |
Output is correct |
35 |
Correct |
253 ms |
282076 KB |
Output is correct |
36 |
Correct |
248 ms |
282052 KB |
Output is correct |
37 |
Correct |
249 ms |
282152 KB |
Output is correct |
38 |
Correct |
246 ms |
282156 KB |
Output is correct |
39 |
Correct |
248 ms |
282104 KB |
Output is correct |
40 |
Correct |
251 ms |
282060 KB |
Output is correct |
41 |
Correct |
238 ms |
282104 KB |
Output is correct |
42 |
Correct |
245 ms |
282200 KB |
Output is correct |
43 |
Correct |
242 ms |
282104 KB |
Output is correct |
44 |
Correct |
245 ms |
282104 KB |
Output is correct |
45 |
Correct |
272 ms |
282104 KB |
Output is correct |
46 |
Correct |
238 ms |
282104 KB |
Output is correct |
47 |
Correct |
241 ms |
282060 KB |
Output is correct |
48 |
Correct |
250 ms |
282120 KB |
Output is correct |
49 |
Correct |
244 ms |
282104 KB |
Output is correct |
50 |
Correct |
240 ms |
282104 KB |
Output is correct |
51 |
Correct |
244 ms |
282220 KB |
Output is correct |
52 |
Correct |
250 ms |
282232 KB |
Output is correct |
53 |
Correct |
240 ms |
282104 KB |
Output is correct |
54 |
Correct |
249 ms |
282268 KB |
Output is correct |
55 |
Correct |
238 ms |
282104 KB |
Output is correct |
56 |
Correct |
250 ms |
282104 KB |
Output is correct |
57 |
Correct |
249 ms |
282188 KB |
Output is correct |
58 |
Correct |
242 ms |
282232 KB |
Output is correct |
59 |
Correct |
251 ms |
282316 KB |
Output is correct |
60 |
Correct |
241 ms |
282232 KB |
Output is correct |
61 |
Correct |
248 ms |
282080 KB |
Output is correct |
62 |
Correct |
269 ms |
282080 KB |
Output is correct |
63 |
Correct |
273 ms |
282112 KB |
Output is correct |
64 |
Correct |
297 ms |
283440 KB |
Output is correct |
65 |
Correct |
292 ms |
282596 KB |
Output is correct |
66 |
Correct |
270 ms |
282488 KB |
Output is correct |
67 |
Correct |
267 ms |
282360 KB |
Output is correct |
68 |
Correct |
285 ms |
283512 KB |
Output is correct |
69 |
Correct |
277 ms |
282872 KB |
Output is correct |
70 |
Correct |
267 ms |
282500 KB |
Output is correct |
71 |
Correct |
266 ms |
282360 KB |
Output is correct |
72 |
Correct |
289 ms |
284168 KB |
Output is correct |
73 |
Correct |
282 ms |
283768 KB |
Output is correct |
74 |
Correct |
286 ms |
283896 KB |
Output is correct |
75 |
Correct |
284 ms |
283768 KB |
Output is correct |
76 |
Correct |
284 ms |
284664 KB |
Output is correct |
77 |
Correct |
285 ms |
284664 KB |
Output is correct |
78 |
Correct |
293 ms |
284664 KB |
Output is correct |
79 |
Correct |
295 ms |
284664 KB |
Output is correct |
80 |
Correct |
300 ms |
283640 KB |
Output is correct |
81 |
Correct |
284 ms |
282616 KB |
Output is correct |
82 |
Correct |
270 ms |
282396 KB |
Output is correct |
83 |
Correct |
280 ms |
282360 KB |
Output is correct |
84 |
Correct |
290 ms |
283512 KB |
Output is correct |
85 |
Correct |
282 ms |
282744 KB |
Output is correct |
86 |
Correct |
279 ms |
282488 KB |
Output is correct |
87 |
Correct |
277 ms |
282360 KB |
Output is correct |
88 |
Correct |
286 ms |
284152 KB |
Output is correct |
89 |
Correct |
280 ms |
283836 KB |
Output is correct |
90 |
Correct |
292 ms |
283768 KB |
Output is correct |
91 |
Correct |
283 ms |
283896 KB |
Output is correct |
92 |
Correct |
293 ms |
284664 KB |
Output is correct |
93 |
Correct |
337 ms |
284664 KB |
Output is correct |
94 |
Correct |
288 ms |
284664 KB |
Output is correct |
95 |
Correct |
291 ms |
284792 KB |
Output is correct |
96 |
Correct |
276 ms |
282492 KB |
Output is correct |
97 |
Correct |
270 ms |
282360 KB |
Output is correct |
98 |
Correct |
271 ms |
282360 KB |
Output is correct |
99 |
Correct |
276 ms |
282360 KB |
Output is correct |
100 |
Correct |
268 ms |
282360 KB |
Output is correct |
101 |
Correct |
270 ms |
282360 KB |
Output is correct |
102 |
Correct |
276 ms |
282508 KB |
Output is correct |
103 |
Correct |
263 ms |
282360 KB |
Output is correct |
104 |
Correct |
296 ms |
283712 KB |
Output is correct |
105 |
Correct |
276 ms |
282616 KB |
Output is correct |
106 |
Correct |
269 ms |
282488 KB |
Output is correct |
107 |
Correct |
265 ms |
282360 KB |
Output is correct |
108 |
Correct |
282 ms |
283512 KB |
Output is correct |
109 |
Correct |
282 ms |
282744 KB |
Output is correct |
110 |
Correct |
281 ms |
282408 KB |
Output is correct |
111 |
Correct |
289 ms |
282620 KB |
Output is correct |
112 |
Correct |
270 ms |
283512 KB |
Output is correct |
113 |
Correct |
291 ms |
283520 KB |
Output is correct |
114 |
Correct |
262 ms |
283512 KB |
Output is correct |
115 |
Correct |
289 ms |
283512 KB |
Output is correct |
116 |
Correct |
270 ms |
283568 KB |
Output is correct |
117 |
Correct |
269 ms |
283496 KB |
Output is correct |
118 |
Correct |
273 ms |
283640 KB |
Output is correct |
119 |
Correct |
265 ms |
283548 KB |
Output is correct |
120 |
Correct |
264 ms |
283512 KB |
Output is correct |
121 |
Correct |
276 ms |
283484 KB |
Output is correct |
122 |
Correct |
267 ms |
284664 KB |
Output is correct |
123 |
Correct |
277 ms |
284792 KB |
Output is correct |
124 |
Correct |
264 ms |
282616 KB |
Output is correct |
125 |
Correct |
266 ms |
282616 KB |
Output is correct |
126 |
Correct |
261 ms |
282492 KB |
Output is correct |
127 |
Correct |
264 ms |
282876 KB |
Output is correct |
128 |
Correct |
269 ms |
282568 KB |
Output is correct |
129 |
Correct |
259 ms |
282488 KB |
Output is correct |
130 |
Correct |
263 ms |
282876 KB |
Output is correct |
131 |
Correct |
256 ms |
282360 KB |
Output is correct |
132 |
Correct |
256 ms |
282360 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
247 ms |
282112 KB |
Output is correct |
2 |
Correct |
255 ms |
282104 KB |
Output is correct |
3 |
Correct |
243 ms |
282140 KB |
Output is correct |
4 |
Correct |
242 ms |
282104 KB |
Output is correct |
5 |
Correct |
244 ms |
282104 KB |
Output is correct |
6 |
Correct |
244 ms |
282068 KB |
Output is correct |
7 |
Correct |
251 ms |
282104 KB |
Output is correct |
8 |
Correct |
248 ms |
282232 KB |
Output is correct |
9 |
Correct |
242 ms |
282240 KB |
Output is correct |
10 |
Correct |
252 ms |
282104 KB |
Output is correct |
11 |
Correct |
252 ms |
282236 KB |
Output is correct |
12 |
Correct |
242 ms |
282232 KB |
Output is correct |
13 |
Correct |
245 ms |
282236 KB |
Output is correct |
14 |
Correct |
280 ms |
282188 KB |
Output is correct |
15 |
Correct |
244 ms |
282192 KB |
Output is correct |
16 |
Correct |
242 ms |
282232 KB |
Output is correct |
17 |
Correct |
250 ms |
282232 KB |
Output is correct |
18 |
Correct |
246 ms |
282104 KB |
Output is correct |
19 |
Correct |
252 ms |
282088 KB |
Output is correct |
20 |
Correct |
243 ms |
282104 KB |
Output is correct |
21 |
Correct |
257 ms |
282264 KB |
Output is correct |
22 |
Correct |
245 ms |
282104 KB |
Output is correct |
23 |
Correct |
251 ms |
282224 KB |
Output is correct |
24 |
Correct |
250 ms |
282104 KB |
Output is correct |
25 |
Correct |
263 ms |
282232 KB |
Output is correct |
26 |
Correct |
247 ms |
282140 KB |
Output is correct |
27 |
Correct |
251 ms |
282172 KB |
Output is correct |
28 |
Correct |
274 ms |
282192 KB |
Output is correct |
29 |
Correct |
247 ms |
282256 KB |
Output is correct |
30 |
Correct |
244 ms |
282232 KB |
Output is correct |
31 |
Correct |
244 ms |
282232 KB |
Output is correct |
32 |
Correct |
240 ms |
282152 KB |
Output is correct |
33 |
Correct |
241 ms |
282072 KB |
Output is correct |
34 |
Correct |
244 ms |
282168 KB |
Output is correct |
35 |
Correct |
253 ms |
282076 KB |
Output is correct |
36 |
Correct |
248 ms |
282052 KB |
Output is correct |
37 |
Correct |
249 ms |
282152 KB |
Output is correct |
38 |
Correct |
246 ms |
282156 KB |
Output is correct |
39 |
Correct |
248 ms |
282104 KB |
Output is correct |
40 |
Correct |
251 ms |
282060 KB |
Output is correct |
41 |
Correct |
238 ms |
282104 KB |
Output is correct |
42 |
Correct |
245 ms |
282200 KB |
Output is correct |
43 |
Correct |
242 ms |
282104 KB |
Output is correct |
44 |
Correct |
245 ms |
282104 KB |
Output is correct |
45 |
Correct |
272 ms |
282104 KB |
Output is correct |
46 |
Correct |
238 ms |
282104 KB |
Output is correct |
47 |
Correct |
241 ms |
282060 KB |
Output is correct |
48 |
Correct |
250 ms |
282120 KB |
Output is correct |
49 |
Correct |
244 ms |
282104 KB |
Output is correct |
50 |
Correct |
240 ms |
282104 KB |
Output is correct |
51 |
Correct |
244 ms |
282220 KB |
Output is correct |
52 |
Correct |
250 ms |
282232 KB |
Output is correct |
53 |
Correct |
240 ms |
282104 KB |
Output is correct |
54 |
Correct |
249 ms |
282268 KB |
Output is correct |
55 |
Correct |
238 ms |
282104 KB |
Output is correct |
56 |
Correct |
250 ms |
282104 KB |
Output is correct |
57 |
Correct |
249 ms |
282188 KB |
Output is correct |
58 |
Correct |
242 ms |
282232 KB |
Output is correct |
59 |
Correct |
251 ms |
282316 KB |
Output is correct |
60 |
Correct |
241 ms |
282232 KB |
Output is correct |
61 |
Correct |
248 ms |
282080 KB |
Output is correct |
62 |
Correct |
269 ms |
282080 KB |
Output is correct |
63 |
Correct |
273 ms |
282112 KB |
Output is correct |
64 |
Correct |
297 ms |
283440 KB |
Output is correct |
65 |
Correct |
292 ms |
282596 KB |
Output is correct |
66 |
Correct |
270 ms |
282488 KB |
Output is correct |
67 |
Correct |
267 ms |
282360 KB |
Output is correct |
68 |
Correct |
285 ms |
283512 KB |
Output is correct |
69 |
Correct |
277 ms |
282872 KB |
Output is correct |
70 |
Correct |
267 ms |
282500 KB |
Output is correct |
71 |
Correct |
266 ms |
282360 KB |
Output is correct |
72 |
Correct |
289 ms |
284168 KB |
Output is correct |
73 |
Correct |
282 ms |
283768 KB |
Output is correct |
74 |
Correct |
286 ms |
283896 KB |
Output is correct |
75 |
Correct |
284 ms |
283768 KB |
Output is correct |
76 |
Correct |
284 ms |
284664 KB |
Output is correct |
77 |
Correct |
285 ms |
284664 KB |
Output is correct |
78 |
Correct |
293 ms |
284664 KB |
Output is correct |
79 |
Correct |
295 ms |
284664 KB |
Output is correct |
80 |
Correct |
300 ms |
283640 KB |
Output is correct |
81 |
Correct |
284 ms |
282616 KB |
Output is correct |
82 |
Correct |
270 ms |
282396 KB |
Output is correct |
83 |
Correct |
280 ms |
282360 KB |
Output is correct |
84 |
Correct |
290 ms |
283512 KB |
Output is correct |
85 |
Correct |
282 ms |
282744 KB |
Output is correct |
86 |
Correct |
279 ms |
282488 KB |
Output is correct |
87 |
Correct |
277 ms |
282360 KB |
Output is correct |
88 |
Correct |
286 ms |
284152 KB |
Output is correct |
89 |
Correct |
280 ms |
283836 KB |
Output is correct |
90 |
Correct |
292 ms |
283768 KB |
Output is correct |
91 |
Correct |
283 ms |
283896 KB |
Output is correct |
92 |
Correct |
293 ms |
284664 KB |
Output is correct |
93 |
Correct |
337 ms |
284664 KB |
Output is correct |
94 |
Correct |
288 ms |
284664 KB |
Output is correct |
95 |
Correct |
291 ms |
284792 KB |
Output is correct |
96 |
Correct |
276 ms |
282492 KB |
Output is correct |
97 |
Correct |
270 ms |
282360 KB |
Output is correct |
98 |
Correct |
271 ms |
282360 KB |
Output is correct |
99 |
Correct |
276 ms |
282360 KB |
Output is correct |
100 |
Correct |
268 ms |
282360 KB |
Output is correct |
101 |
Correct |
270 ms |
282360 KB |
Output is correct |
102 |
Correct |
276 ms |
282508 KB |
Output is correct |
103 |
Correct |
263 ms |
282360 KB |
Output is correct |
104 |
Correct |
296 ms |
283712 KB |
Output is correct |
105 |
Correct |
276 ms |
282616 KB |
Output is correct |
106 |
Correct |
269 ms |
282488 KB |
Output is correct |
107 |
Correct |
265 ms |
282360 KB |
Output is correct |
108 |
Correct |
282 ms |
283512 KB |
Output is correct |
109 |
Correct |
282 ms |
282744 KB |
Output is correct |
110 |
Correct |
281 ms |
282408 KB |
Output is correct |
111 |
Correct |
289 ms |
282620 KB |
Output is correct |
112 |
Correct |
270 ms |
283512 KB |
Output is correct |
113 |
Correct |
291 ms |
283520 KB |
Output is correct |
114 |
Correct |
262 ms |
283512 KB |
Output is correct |
115 |
Correct |
289 ms |
283512 KB |
Output is correct |
116 |
Correct |
270 ms |
283568 KB |
Output is correct |
117 |
Correct |
269 ms |
283496 KB |
Output is correct |
118 |
Correct |
273 ms |
283640 KB |
Output is correct |
119 |
Correct |
265 ms |
283548 KB |
Output is correct |
120 |
Correct |
264 ms |
283512 KB |
Output is correct |
121 |
Correct |
276 ms |
283484 KB |
Output is correct |
122 |
Correct |
267 ms |
284664 KB |
Output is correct |
123 |
Correct |
277 ms |
284792 KB |
Output is correct |
124 |
Correct |
264 ms |
282616 KB |
Output is correct |
125 |
Correct |
266 ms |
282616 KB |
Output is correct |
126 |
Correct |
261 ms |
282492 KB |
Output is correct |
127 |
Correct |
264 ms |
282876 KB |
Output is correct |
128 |
Correct |
269 ms |
282568 KB |
Output is correct |
129 |
Correct |
259 ms |
282488 KB |
Output is correct |
130 |
Correct |
263 ms |
282876 KB |
Output is correct |
131 |
Correct |
256 ms |
282360 KB |
Output is correct |
132 |
Correct |
256 ms |
282360 KB |
Output is correct |
133 |
Correct |
473 ms |
287884 KB |
Output is correct |
134 |
Correct |
424 ms |
284152 KB |
Output is correct |
135 |
Correct |
391 ms |
283256 KB |
Output is correct |
136 |
Correct |
356 ms |
283256 KB |
Output is correct |
137 |
Correct |
535 ms |
287864 KB |
Output is correct |
138 |
Correct |
425 ms |
284280 KB |
Output is correct |
139 |
Correct |
405 ms |
283384 KB |
Output is correct |
140 |
Correct |
370 ms |
283284 KB |
Output is correct |
141 |
Correct |
488 ms |
290676 KB |
Output is correct |
142 |
Correct |
478 ms |
289144 KB |
Output is correct |
143 |
Correct |
459 ms |
288888 KB |
Output is correct |
144 |
Correct |
459 ms |
288888 KB |
Output is correct |
145 |
Correct |
481 ms |
292472 KB |
Output is correct |
146 |
Correct |
485 ms |
292472 KB |
Output is correct |
147 |
Correct |
492 ms |
292472 KB |
Output is correct |
148 |
Correct |
487 ms |
292728 KB |
Output is correct |
149 |
Correct |
466 ms |
287996 KB |
Output is correct |
150 |
Correct |
414 ms |
284024 KB |
Output is correct |
151 |
Correct |
396 ms |
283384 KB |
Output is correct |
152 |
Correct |
357 ms |
283256 KB |
Output is correct |
153 |
Correct |
478 ms |
287856 KB |
Output is correct |
154 |
Correct |
432 ms |
284156 KB |
Output is correct |
155 |
Correct |
395 ms |
283256 KB |
Output is correct |
156 |
Correct |
378 ms |
283384 KB |
Output is correct |
157 |
Correct |
487 ms |
290680 KB |
Output is correct |
158 |
Correct |
468 ms |
289272 KB |
Output is correct |
159 |
Correct |
457 ms |
288888 KB |
Output is correct |
160 |
Correct |
454 ms |
288760 KB |
Output is correct |
161 |
Correct |
489 ms |
292600 KB |
Output is correct |
162 |
Correct |
482 ms |
292472 KB |
Output is correct |
163 |
Correct |
481 ms |
292640 KB |
Output is correct |
164 |
Correct |
481 ms |
292600 KB |
Output is correct |
165 |
Correct |
348 ms |
283256 KB |
Output is correct |
166 |
Correct |
348 ms |
283384 KB |
Output is correct |
167 |
Correct |
344 ms |
283256 KB |
Output is correct |
168 |
Correct |
352 ms |
283256 KB |
Output is correct |
169 |
Correct |
389 ms |
283384 KB |
Output is correct |
170 |
Correct |
361 ms |
283384 KB |
Output is correct |
171 |
Correct |
360 ms |
283256 KB |
Output is correct |
172 |
Correct |
347 ms |
283256 KB |
Output is correct |
173 |
Correct |
446 ms |
287864 KB |
Output is correct |
174 |
Correct |
407 ms |
284152 KB |
Output is correct |
175 |
Correct |
409 ms |
283512 KB |
Output is correct |
176 |
Correct |
360 ms |
283176 KB |
Output is correct |
177 |
Correct |
453 ms |
288036 KB |
Output is correct |
178 |
Correct |
406 ms |
284156 KB |
Output is correct |
179 |
Correct |
407 ms |
283440 KB |
Output is correct |
180 |
Correct |
346 ms |
283180 KB |
Output is correct |
181 |
Correct |
361 ms |
287992 KB |
Output is correct |
182 |
Correct |
420 ms |
288120 KB |
Output is correct |
183 |
Correct |
338 ms |
287864 KB |
Output is correct |
184 |
Correct |
409 ms |
287864 KB |
Output is correct |
185 |
Correct |
432 ms |
287864 KB |
Output is correct |
186 |
Correct |
414 ms |
287864 KB |
Output is correct |
187 |
Correct |
359 ms |
287864 KB |
Output is correct |
188 |
Correct |
380 ms |
287992 KB |
Output is correct |
189 |
Correct |
378 ms |
287900 KB |
Output is correct |
190 |
Correct |
425 ms |
288000 KB |
Output is correct |
191 |
Correct |
364 ms |
292408 KB |
Output is correct |
192 |
Correct |
372 ms |
292460 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
712 ms |
323428 KB |
Output is correct |
2 |
Correct |
718 ms |
323192 KB |
Output is correct |
3 |
Correct |
1134 ms |
364292 KB |
Output is correct |
4 |
Correct |
1159 ms |
364316 KB |
Output is correct |
5 |
Correct |
1408 ms |
385080 KB |
Output is correct |
6 |
Correct |
1428 ms |
384836 KB |
Output is correct |
7 |
Correct |
1575 ms |
292724 KB |
Output is correct |
8 |
Correct |
1176 ms |
290044 KB |
Output is correct |
9 |
Correct |
1137 ms |
289656 KB |
Output is correct |
10 |
Correct |
1784 ms |
296040 KB |
Output is correct |
11 |
Correct |
1190 ms |
290100 KB |
Output is correct |
12 |
Correct |
1147 ms |
289668 KB |
Output is correct |
13 |
Correct |
1849 ms |
297572 KB |
Output is correct |
14 |
Correct |
1225 ms |
290344 KB |
Output is correct |
15 |
Correct |
1140 ms |
290168 KB |
Output is correct |
16 |
Correct |
1124 ms |
290808 KB |
Output is correct |
17 |
Correct |
1115 ms |
290808 KB |
Output is correct |
18 |
Correct |
1109 ms |
290808 KB |
Output is correct |
19 |
Correct |
1119 ms |
290964 KB |
Output is correct |
20 |
Correct |
1103 ms |
291064 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
247 ms |
282112 KB |
Output is correct |
2 |
Correct |
255 ms |
282104 KB |
Output is correct |
3 |
Correct |
243 ms |
282140 KB |
Output is correct |
4 |
Correct |
242 ms |
282104 KB |
Output is correct |
5 |
Correct |
244 ms |
282104 KB |
Output is correct |
6 |
Correct |
244 ms |
282068 KB |
Output is correct |
7 |
Correct |
251 ms |
282104 KB |
Output is correct |
8 |
Correct |
248 ms |
282232 KB |
Output is correct |
9 |
Correct |
242 ms |
282240 KB |
Output is correct |
10 |
Correct |
252 ms |
282104 KB |
Output is correct |
11 |
Correct |
252 ms |
282236 KB |
Output is correct |
12 |
Correct |
242 ms |
282232 KB |
Output is correct |
13 |
Correct |
245 ms |
282236 KB |
Output is correct |
14 |
Correct |
280 ms |
282188 KB |
Output is correct |
15 |
Correct |
244 ms |
282192 KB |
Output is correct |
16 |
Correct |
242 ms |
282232 KB |
Output is correct |
17 |
Correct |
250 ms |
282232 KB |
Output is correct |
18 |
Correct |
246 ms |
282104 KB |
Output is correct |
19 |
Correct |
252 ms |
282088 KB |
Output is correct |
20 |
Correct |
243 ms |
282104 KB |
Output is correct |
21 |
Correct |
257 ms |
282264 KB |
Output is correct |
22 |
Correct |
245 ms |
282104 KB |
Output is correct |
23 |
Correct |
251 ms |
282224 KB |
Output is correct |
24 |
Correct |
250 ms |
282104 KB |
Output is correct |
25 |
Correct |
263 ms |
282232 KB |
Output is correct |
26 |
Correct |
247 ms |
282140 KB |
Output is correct |
27 |
Correct |
251 ms |
282172 KB |
Output is correct |
28 |
Correct |
274 ms |
282192 KB |
Output is correct |
29 |
Correct |
247 ms |
282256 KB |
Output is correct |
30 |
Correct |
244 ms |
282232 KB |
Output is correct |
31 |
Correct |
244 ms |
282232 KB |
Output is correct |
32 |
Correct |
240 ms |
282152 KB |
Output is correct |
33 |
Correct |
241 ms |
282072 KB |
Output is correct |
34 |
Correct |
244 ms |
282168 KB |
Output is correct |
35 |
Correct |
253 ms |
282076 KB |
Output is correct |
36 |
Correct |
248 ms |
282052 KB |
Output is correct |
37 |
Correct |
249 ms |
282152 KB |
Output is correct |
38 |
Correct |
246 ms |
282156 KB |
Output is correct |
39 |
Correct |
248 ms |
282104 KB |
Output is correct |
40 |
Correct |
251 ms |
282060 KB |
Output is correct |
41 |
Correct |
238 ms |
282104 KB |
Output is correct |
42 |
Correct |
245 ms |
282200 KB |
Output is correct |
43 |
Correct |
242 ms |
282104 KB |
Output is correct |
44 |
Correct |
245 ms |
282104 KB |
Output is correct |
45 |
Correct |
272 ms |
282104 KB |
Output is correct |
46 |
Correct |
238 ms |
282104 KB |
Output is correct |
47 |
Correct |
241 ms |
282060 KB |
Output is correct |
48 |
Correct |
250 ms |
282120 KB |
Output is correct |
49 |
Correct |
244 ms |
282104 KB |
Output is correct |
50 |
Correct |
240 ms |
282104 KB |
Output is correct |
51 |
Correct |
244 ms |
282220 KB |
Output is correct |
52 |
Correct |
250 ms |
282232 KB |
Output is correct |
53 |
Correct |
240 ms |
282104 KB |
Output is correct |
54 |
Correct |
249 ms |
282268 KB |
Output is correct |
55 |
Correct |
238 ms |
282104 KB |
Output is correct |
56 |
Correct |
250 ms |
282104 KB |
Output is correct |
57 |
Correct |
249 ms |
282188 KB |
Output is correct |
58 |
Correct |
242 ms |
282232 KB |
Output is correct |
59 |
Correct |
251 ms |
282316 KB |
Output is correct |
60 |
Correct |
241 ms |
282232 KB |
Output is correct |
61 |
Correct |
248 ms |
282080 KB |
Output is correct |
62 |
Correct |
269 ms |
282080 KB |
Output is correct |
63 |
Correct |
273 ms |
282112 KB |
Output is correct |
64 |
Correct |
297 ms |
283440 KB |
Output is correct |
65 |
Correct |
292 ms |
282596 KB |
Output is correct |
66 |
Correct |
270 ms |
282488 KB |
Output is correct |
67 |
Correct |
267 ms |
282360 KB |
Output is correct |
68 |
Correct |
285 ms |
283512 KB |
Output is correct |
69 |
Correct |
277 ms |
282872 KB |
Output is correct |
70 |
Correct |
267 ms |
282500 KB |
Output is correct |
71 |
Correct |
266 ms |
282360 KB |
Output is correct |
72 |
Correct |
289 ms |
284168 KB |
Output is correct |
73 |
Correct |
282 ms |
283768 KB |
Output is correct |
74 |
Correct |
286 ms |
283896 KB |
Output is correct |
75 |
Correct |
284 ms |
283768 KB |
Output is correct |
76 |
Correct |
284 ms |
284664 KB |
Output is correct |
77 |
Correct |
285 ms |
284664 KB |
Output is correct |
78 |
Correct |
293 ms |
284664 KB |
Output is correct |
79 |
Correct |
295 ms |
284664 KB |
Output is correct |
80 |
Correct |
300 ms |
283640 KB |
Output is correct |
81 |
Correct |
284 ms |
282616 KB |
Output is correct |
82 |
Correct |
270 ms |
282396 KB |
Output is correct |
83 |
Correct |
280 ms |
282360 KB |
Output is correct |
84 |
Correct |
290 ms |
283512 KB |
Output is correct |
85 |
Correct |
282 ms |
282744 KB |
Output is correct |
86 |
Correct |
279 ms |
282488 KB |
Output is correct |
87 |
Correct |
277 ms |
282360 KB |
Output is correct |
88 |
Correct |
286 ms |
284152 KB |
Output is correct |
89 |
Correct |
280 ms |
283836 KB |
Output is correct |
90 |
Correct |
292 ms |
283768 KB |
Output is correct |
91 |
Correct |
283 ms |
283896 KB |
Output is correct |
92 |
Correct |
293 ms |
284664 KB |
Output is correct |
93 |
Correct |
337 ms |
284664 KB |
Output is correct |
94 |
Correct |
288 ms |
284664 KB |
Output is correct |
95 |
Correct |
291 ms |
284792 KB |
Output is correct |
96 |
Correct |
276 ms |
282492 KB |
Output is correct |
97 |
Correct |
270 ms |
282360 KB |
Output is correct |
98 |
Correct |
271 ms |
282360 KB |
Output is correct |
99 |
Correct |
276 ms |
282360 KB |
Output is correct |
100 |
Correct |
268 ms |
282360 KB |
Output is correct |
101 |
Correct |
270 ms |
282360 KB |
Output is correct |
102 |
Correct |
276 ms |
282508 KB |
Output is correct |
103 |
Correct |
263 ms |
282360 KB |
Output is correct |
104 |
Correct |
296 ms |
283712 KB |
Output is correct |
105 |
Correct |
276 ms |
282616 KB |
Output is correct |
106 |
Correct |
269 ms |
282488 KB |
Output is correct |
107 |
Correct |
265 ms |
282360 KB |
Output is correct |
108 |
Correct |
282 ms |
283512 KB |
Output is correct |
109 |
Correct |
282 ms |
282744 KB |
Output is correct |
110 |
Correct |
281 ms |
282408 KB |
Output is correct |
111 |
Correct |
289 ms |
282620 KB |
Output is correct |
112 |
Correct |
270 ms |
283512 KB |
Output is correct |
113 |
Correct |
291 ms |
283520 KB |
Output is correct |
114 |
Correct |
262 ms |
283512 KB |
Output is correct |
115 |
Correct |
289 ms |
283512 KB |
Output is correct |
116 |
Correct |
270 ms |
283568 KB |
Output is correct |
117 |
Correct |
269 ms |
283496 KB |
Output is correct |
118 |
Correct |
273 ms |
283640 KB |
Output is correct |
119 |
Correct |
265 ms |
283548 KB |
Output is correct |
120 |
Correct |
264 ms |
283512 KB |
Output is correct |
121 |
Correct |
276 ms |
283484 KB |
Output is correct |
122 |
Correct |
267 ms |
284664 KB |
Output is correct |
123 |
Correct |
277 ms |
284792 KB |
Output is correct |
124 |
Correct |
264 ms |
282616 KB |
Output is correct |
125 |
Correct |
266 ms |
282616 KB |
Output is correct |
126 |
Correct |
261 ms |
282492 KB |
Output is correct |
127 |
Correct |
264 ms |
282876 KB |
Output is correct |
128 |
Correct |
269 ms |
282568 KB |
Output is correct |
129 |
Correct |
259 ms |
282488 KB |
Output is correct |
130 |
Correct |
263 ms |
282876 KB |
Output is correct |
131 |
Correct |
256 ms |
282360 KB |
Output is correct |
132 |
Correct |
256 ms |
282360 KB |
Output is correct |
133 |
Correct |
473 ms |
287884 KB |
Output is correct |
134 |
Correct |
424 ms |
284152 KB |
Output is correct |
135 |
Correct |
391 ms |
283256 KB |
Output is correct |
136 |
Correct |
356 ms |
283256 KB |
Output is correct |
137 |
Correct |
535 ms |
287864 KB |
Output is correct |
138 |
Correct |
425 ms |
284280 KB |
Output is correct |
139 |
Correct |
405 ms |
283384 KB |
Output is correct |
140 |
Correct |
370 ms |
283284 KB |
Output is correct |
141 |
Correct |
488 ms |
290676 KB |
Output is correct |
142 |
Correct |
478 ms |
289144 KB |
Output is correct |
143 |
Correct |
459 ms |
288888 KB |
Output is correct |
144 |
Correct |
459 ms |
288888 KB |
Output is correct |
145 |
Correct |
481 ms |
292472 KB |
Output is correct |
146 |
Correct |
485 ms |
292472 KB |
Output is correct |
147 |
Correct |
492 ms |
292472 KB |
Output is correct |
148 |
Correct |
487 ms |
292728 KB |
Output is correct |
149 |
Correct |
466 ms |
287996 KB |
Output is correct |
150 |
Correct |
414 ms |
284024 KB |
Output is correct |
151 |
Correct |
396 ms |
283384 KB |
Output is correct |
152 |
Correct |
357 ms |
283256 KB |
Output is correct |
153 |
Correct |
478 ms |
287856 KB |
Output is correct |
154 |
Correct |
432 ms |
284156 KB |
Output is correct |
155 |
Correct |
395 ms |
283256 KB |
Output is correct |
156 |
Correct |
378 ms |
283384 KB |
Output is correct |
157 |
Correct |
487 ms |
290680 KB |
Output is correct |
158 |
Correct |
468 ms |
289272 KB |
Output is correct |
159 |
Correct |
457 ms |
288888 KB |
Output is correct |
160 |
Correct |
454 ms |
288760 KB |
Output is correct |
161 |
Correct |
489 ms |
292600 KB |
Output is correct |
162 |
Correct |
482 ms |
292472 KB |
Output is correct |
163 |
Correct |
481 ms |
292640 KB |
Output is correct |
164 |
Correct |
481 ms |
292600 KB |
Output is correct |
165 |
Correct |
348 ms |
283256 KB |
Output is correct |
166 |
Correct |
348 ms |
283384 KB |
Output is correct |
167 |
Correct |
344 ms |
283256 KB |
Output is correct |
168 |
Correct |
352 ms |
283256 KB |
Output is correct |
169 |
Correct |
389 ms |
283384 KB |
Output is correct |
170 |
Correct |
361 ms |
283384 KB |
Output is correct |
171 |
Correct |
360 ms |
283256 KB |
Output is correct |
172 |
Correct |
347 ms |
283256 KB |
Output is correct |
173 |
Correct |
446 ms |
287864 KB |
Output is correct |
174 |
Correct |
407 ms |
284152 KB |
Output is correct |
175 |
Correct |
409 ms |
283512 KB |
Output is correct |
176 |
Correct |
360 ms |
283176 KB |
Output is correct |
177 |
Correct |
453 ms |
288036 KB |
Output is correct |
178 |
Correct |
406 ms |
284156 KB |
Output is correct |
179 |
Correct |
407 ms |
283440 KB |
Output is correct |
180 |
Correct |
346 ms |
283180 KB |
Output is correct |
181 |
Correct |
361 ms |
287992 KB |
Output is correct |
182 |
Correct |
420 ms |
288120 KB |
Output is correct |
183 |
Correct |
338 ms |
287864 KB |
Output is correct |
184 |
Correct |
409 ms |
287864 KB |
Output is correct |
185 |
Correct |
432 ms |
287864 KB |
Output is correct |
186 |
Correct |
414 ms |
287864 KB |
Output is correct |
187 |
Correct |
359 ms |
287864 KB |
Output is correct |
188 |
Correct |
380 ms |
287992 KB |
Output is correct |
189 |
Correct |
378 ms |
287900 KB |
Output is correct |
190 |
Correct |
425 ms |
288000 KB |
Output is correct |
191 |
Correct |
364 ms |
292408 KB |
Output is correct |
192 |
Correct |
372 ms |
292460 KB |
Output is correct |
193 |
Correct |
712 ms |
323428 KB |
Output is correct |
194 |
Correct |
718 ms |
323192 KB |
Output is correct |
195 |
Correct |
1134 ms |
364292 KB |
Output is correct |
196 |
Correct |
1159 ms |
364316 KB |
Output is correct |
197 |
Correct |
1408 ms |
385080 KB |
Output is correct |
198 |
Correct |
1428 ms |
384836 KB |
Output is correct |
199 |
Correct |
1575 ms |
292724 KB |
Output is correct |
200 |
Correct |
1176 ms |
290044 KB |
Output is correct |
201 |
Correct |
1137 ms |
289656 KB |
Output is correct |
202 |
Correct |
1784 ms |
296040 KB |
Output is correct |
203 |
Correct |
1190 ms |
290100 KB |
Output is correct |
204 |
Correct |
1147 ms |
289668 KB |
Output is correct |
205 |
Correct |
1849 ms |
297572 KB |
Output is correct |
206 |
Correct |
1225 ms |
290344 KB |
Output is correct |
207 |
Correct |
1140 ms |
290168 KB |
Output is correct |
208 |
Correct |
1124 ms |
290808 KB |
Output is correct |
209 |
Correct |
1115 ms |
290808 KB |
Output is correct |
210 |
Correct |
1109 ms |
290808 KB |
Output is correct |
211 |
Correct |
1119 ms |
290964 KB |
Output is correct |
212 |
Correct |
1103 ms |
291064 KB |
Output is correct |
213 |
Correct |
3205 ms |
338812 KB |
Output is correct |
214 |
Correct |
2818 ms |
301904 KB |
Output is correct |
215 |
Correct |
2120 ms |
293644 KB |
Output is correct |
216 |
Correct |
1456 ms |
293440 KB |
Output is correct |
217 |
Correct |
3263 ms |
339284 KB |
Output is correct |
218 |
Correct |
2791 ms |
301944 KB |
Output is correct |
219 |
Correct |
2149 ms |
293880 KB |
Output is correct |
220 |
Correct |
1587 ms |
292984 KB |
Output is correct |
221 |
Correct |
3383 ms |
367152 KB |
Output is correct |
222 |
Correct |
3350 ms |
352324 KB |
Output is correct |
223 |
Correct |
3242 ms |
348808 KB |
Output is correct |
224 |
Correct |
3313 ms |
348520 KB |
Output is correct |
225 |
Correct |
3506 ms |
386084 KB |
Output is correct |
226 |
Correct |
3468 ms |
386040 KB |
Output is correct |
227 |
Correct |
3575 ms |
385996 KB |
Output is correct |
228 |
Correct |
3511 ms |
386012 KB |
Output is correct |
229 |
Correct |
3411 ms |
338688 KB |
Output is correct |
230 |
Correct |
2984 ms |
301080 KB |
Output is correct |
231 |
Correct |
2272 ms |
293564 KB |
Output is correct |
232 |
Correct |
1514 ms |
292908 KB |
Output is correct |
233 |
Correct |
3282 ms |
338764 KB |
Output is correct |
234 |
Correct |
2818 ms |
301228 KB |
Output is correct |
235 |
Correct |
2085 ms |
293648 KB |
Output is correct |
236 |
Correct |
1661 ms |
292848 KB |
Output is correct |
237 |
Correct |
3436 ms |
366952 KB |
Output is correct |
238 |
Correct |
3357 ms |
352156 KB |
Output is correct |
239 |
Correct |
3241 ms |
349048 KB |
Output is correct |
240 |
Correct |
3196 ms |
348280 KB |
Output is correct |
241 |
Correct |
3560 ms |
385784 KB |
Output is correct |
242 |
Correct |
3458 ms |
385516 KB |
Output is correct |
243 |
Correct |
3602 ms |
385552 KB |
Output is correct |
244 |
Correct |
3516 ms |
385280 KB |
Output is correct |
245 |
Correct |
1325 ms |
293368 KB |
Output is correct |
246 |
Correct |
1309 ms |
293368 KB |
Output is correct |
247 |
Correct |
1304 ms |
293164 KB |
Output is correct |
248 |
Correct |
1356 ms |
293240 KB |
Output is correct |
249 |
Correct |
1531 ms |
293112 KB |
Output is correct |
250 |
Correct |
1608 ms |
293052 KB |
Output is correct |
251 |
Correct |
1609 ms |
293092 KB |
Output is correct |
252 |
Correct |
1385 ms |
293468 KB |
Output is correct |
253 |
Correct |
3097 ms |
338812 KB |
Output is correct |
254 |
Correct |
2827 ms |
301648 KB |
Output is correct |
255 |
Correct |
1911 ms |
294008 KB |
Output is correct |
256 |
Correct |
1424 ms |
293368 KB |
Output is correct |
257 |
Correct |
2974 ms |
338920 KB |
Output is correct |
258 |
Correct |
2635 ms |
301724 KB |
Output is correct |
259 |
Correct |
1995 ms |
293808 KB |
Output is correct |
260 |
Correct |
1476 ms |
293368 KB |
Output is correct |
261 |
Correct |
1859 ms |
340348 KB |
Output is correct |
262 |
Correct |
2349 ms |
340380 KB |
Output is correct |
263 |
Correct |
1295 ms |
339260 KB |
Output is correct |
264 |
Correct |
1931 ms |
339156 KB |
Output is correct |
265 |
Correct |
1799 ms |
340344 KB |
Output is correct |
266 |
Correct |
2353 ms |
340344 KB |
Output is correct |
267 |
Correct |
1244 ms |
339192 KB |
Output is correct |
268 |
Correct |
1839 ms |
339272 KB |
Output is correct |
269 |
Correct |
1382 ms |
384760 KB |
Output is correct |
270 |
Correct |
1386 ms |
384812 KB |
Output is correct |
271 |
Correct |
1745 ms |
293664 KB |
Output is correct |
272 |
Correct |
1282 ms |
290040 KB |
Output is correct |
273 |
Correct |
1898 ms |
297300 KB |
Output is correct |
274 |
Correct |
1259 ms |
289972 KB |
Output is correct |
275 |
Correct |
1176 ms |
338584 KB |
Output is correct |