#include<bits/stdc++.h>
#pragma GCC optimize ("O3")
#pragma GCC optimize ("unroll-loops")
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#define ll long long
#define vi vector<int>
#define pii pair<int,int>
#define all(x) x.begin(),x.end()
#define fi first
#define se second
#define pb push_back
using namespace std;
const int N = 1e6+6,inf = 1e8;
int F[N],ANS[N];
vector<pii> Q[N*4];
int l1,r1,QL,QR;
void qer(int v,int tl,int tr) {
if (l1 > tr || r1 < tl) return;
if (l1 <= tl && r1 >= tr) {
Q[v].pb({QL,QR});
return;
}
int tm = (tl + tr)/2;
qer(v*2,tl,tm);
qer(v*2+1,tm+1,tr);
}
int cans=INT_MAX;
int t[2][4*N],timer;
int *H[61000000];
int val[61000000];
void change(int&x,int c) {
H[++timer] = &x;
val[timer] = x;
x = c;
}
void rollback() {
(*H[timer--]) = val[timer];
}
bool type;
int VAL,pos,L,R;
void add(int v=1,int tl=1,int tr=1e6) {
if (tl == tr) {
if (!type) {
if (VAL < t[0][v])
change(t[0][v],VAL);
}
else if (VAL > t[1][v])
change(t[1][v],VAL);
return;
}
int tm = (tl + tr)/2;
if (pos <= tm)
add(v*2,tl,tm);
else add(v*2+1,tm+1,tr);
if (!type)
change(t[0][v],min(t[0][v*2],t[0][v*2+1]));
else
change(t[1][v],max(t[1][v*2],t[1][v*2+1]));
}
int get(int v=1,int tl=1,int tr=1e6) {
if (L> tr || R < tl) {
if (type == 0) return inf;
else return -inf;
}
if (L <= tl && R >= tr) return t[type][v];
int tm = (tl + tr)/2;
if (!type)
return min(get(v*2,tl,tm),get(v*2+1,tm+1,tr));
else return max(get(v*2,tl,tm),get(v*2+1,tm+1,tr));
}
int L1=-inf,R1=inf,AR1[N],AL1[N],HANS=inf;
void dfs(int v,int tl,int tr) {
int in_ans = cans;
int start_time = timer;
for (auto& i1 : Q[v]) {
int l = i1.fi;
int r = i1.se;
if (R1 > r)
change(R1,r);
if (L1 < l)
change(L1,l);
if (AR1[l] > r)
change(AR1[l],r);
if (AL1[r] < l)
change(AL1[r],l);
{
int l2 = L1;
int r2 = R1;
int len = max(0,r2 - l2);
if (len) {
int r3 = AR1[l2];
int l3 = AL1[r2];
change(HANS,r3-l3);
pos = l;
VAL = r;
type = 0;
add(); // l-ze patara r-ebshi udidesi l, r-ze did l-ebshi umciresi r
pos = r;
VAL = l;
type = 1;
add();
continue;
}
}
L = r;
R = 1e6;
type = 0;
if (cans > r - l)
cans = min(cans, -l + get());
L = 1;
R = l;type = 1;
if (cans > r - l)
cans = min(cans, r - get());
pos = l;
VAL = r;
type = 0;
add(); // l-ze patara r-ebshi udidesi l, r-ze did l-ebshi umciresi r
pos = r;
VAL = l;
type = 1;
add();
}
if (tl != tr) {
int tm = (tl + tr)/2;
dfs(v*2,tl,tm);
dfs(v*2+1,tm+1,tr);
}else {
if (cans > 1000000)
ANS[tl] = HANS;
else
ANS[tl] = cans;
}
while(start_time != timer)
rollback();
cans = in_ans;
}
main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int q;
cin >> q;
for (int i = 0; i < N; i++)
AR1[i] = inf,AL1[i] = -inf;
for (int i = 0; i < 4*N;i ++)
t[0][i] = inf, t[1][i] = -inf;
vector<pair<pii,char> > query(q+1);
vector<pii> t(q);
for (int i = 1; i <= q; i++) {
char c;
int l,r;
cin >> c >> l >> r;
query[i] = {{l,r},c};
t[i-1] = {l,r};
}
sort(all(t));
t.resize(unique(all(t)) - t.begin());
map<pii,int> ID;
for (int i = 0; i < t.size(); i++) {
ID[t[i]] = i;
}
set<int> cnt[1000005];
for (int i = 1; i <= q; i++) {
char c= query[i].se;
int l = query[i].fi.fi;
int r = query[i].fi.se;
int id = ID[{l,r}];
if (c == 'A')
cnt[id].insert(i);
else {
l1=*cnt[id].begin();
r1 = i-1;
QL= l;
QR = r;
qer(1,1,q);
cnt[id].erase(cnt[id].begin());
}
F[i] = 1;
}
for (int i= 0; i < t.size(); i++)
for (int j : cnt[i]) {
l1 = j;
r1 = q;
QL = t[i].fi;
QR = t[i].se;
qer(1,1,q);
}
dfs(1,1,q);
for (int i = 1; i <= q; i++)
cout << ANS[i] <<'\n';
}
Compilation message
Main.cpp: In function 'void rollback()':
Main.cpp:38:14: warning: operation on 'timer' may be undefined [-Wsequence-point]
38 | (*H[timer--]) = val[timer];
| ~~~~~^~
Main.cpp:38:14: warning: operation on 'timer' may be undefined [-Wsequence-point]
Main.cpp: At global scope:
Main.cpp:142:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
142 | main() {
| ^
Main.cpp: In function 'int main()':
Main.cpp:164:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
164 | for (int i = 0; i < t.size(); i++) {
| ~~^~~~~~~~~~
Main.cpp:185:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
185 | for (int i= 0; i < t.size(); i++)
| ~~^~~~~~~~~~
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
119 ms |
180600 KB |
Output is correct |
2 |
Correct |
117 ms |
180476 KB |
Output is correct |
3 |
Correct |
119 ms |
180472 KB |
Output is correct |
4 |
Correct |
126 ms |
180432 KB |
Output is correct |
5 |
Correct |
119 ms |
180584 KB |
Output is correct |
6 |
Correct |
124 ms |
180472 KB |
Output is correct |
7 |
Correct |
119 ms |
180472 KB |
Output is correct |
8 |
Correct |
118 ms |
180600 KB |
Output is correct |
9 |
Correct |
122 ms |
180856 KB |
Output is correct |
10 |
Correct |
126 ms |
180600 KB |
Output is correct |
11 |
Correct |
120 ms |
180604 KB |
Output is correct |
12 |
Correct |
122 ms |
180600 KB |
Output is correct |
13 |
Correct |
128 ms |
180760 KB |
Output is correct |
14 |
Correct |
118 ms |
180732 KB |
Output is correct |
15 |
Correct |
119 ms |
180728 KB |
Output is correct |
16 |
Correct |
118 ms |
180728 KB |
Output is correct |
17 |
Correct |
120 ms |
180600 KB |
Output is correct |
18 |
Correct |
120 ms |
180472 KB |
Output is correct |
19 |
Correct |
118 ms |
180488 KB |
Output is correct |
20 |
Correct |
119 ms |
180384 KB |
Output is correct |
21 |
Correct |
120 ms |
180600 KB |
Output is correct |
22 |
Correct |
118 ms |
180472 KB |
Output is correct |
23 |
Correct |
132 ms |
180472 KB |
Output is correct |
24 |
Correct |
118 ms |
180504 KB |
Output is correct |
25 |
Correct |
125 ms |
180728 KB |
Output is correct |
26 |
Correct |
117 ms |
180600 KB |
Output is correct |
27 |
Correct |
119 ms |
180600 KB |
Output is correct |
28 |
Correct |
117 ms |
180600 KB |
Output is correct |
29 |
Correct |
121 ms |
180732 KB |
Output is correct |
30 |
Correct |
119 ms |
180856 KB |
Output is correct |
31 |
Correct |
118 ms |
180728 KB |
Output is correct |
32 |
Correct |
120 ms |
180728 KB |
Output is correct |
33 |
Correct |
116 ms |
180472 KB |
Output is correct |
34 |
Correct |
116 ms |
180472 KB |
Output is correct |
35 |
Correct |
121 ms |
180416 KB |
Output is correct |
36 |
Correct |
118 ms |
180460 KB |
Output is correct |
37 |
Correct |
117 ms |
180600 KB |
Output is correct |
38 |
Correct |
119 ms |
180520 KB |
Output is correct |
39 |
Correct |
118 ms |
180476 KB |
Output is correct |
40 |
Correct |
118 ms |
180472 KB |
Output is correct |
41 |
Correct |
119 ms |
180724 KB |
Output is correct |
42 |
Correct |
118 ms |
180552 KB |
Output is correct |
43 |
Correct |
117 ms |
180472 KB |
Output is correct |
44 |
Correct |
116 ms |
180472 KB |
Output is correct |
45 |
Correct |
121 ms |
180600 KB |
Output is correct |
46 |
Correct |
117 ms |
180488 KB |
Output is correct |
47 |
Correct |
118 ms |
180472 KB |
Output is correct |
48 |
Correct |
118 ms |
180472 KB |
Output is correct |
49 |
Correct |
116 ms |
180600 KB |
Output is correct |
50 |
Correct |
121 ms |
180600 KB |
Output is correct |
51 |
Correct |
119 ms |
180600 KB |
Output is correct |
52 |
Correct |
118 ms |
180568 KB |
Output is correct |
53 |
Correct |
116 ms |
180600 KB |
Output is correct |
54 |
Correct |
117 ms |
180600 KB |
Output is correct |
55 |
Correct |
117 ms |
180640 KB |
Output is correct |
56 |
Correct |
118 ms |
180600 KB |
Output is correct |
57 |
Correct |
116 ms |
180652 KB |
Output is correct |
58 |
Correct |
119 ms |
180600 KB |
Output is correct |
59 |
Correct |
120 ms |
181004 KB |
Output is correct |
60 |
Correct |
121 ms |
180728 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
119 ms |
180600 KB |
Output is correct |
2 |
Correct |
117 ms |
180476 KB |
Output is correct |
3 |
Correct |
119 ms |
180472 KB |
Output is correct |
4 |
Correct |
126 ms |
180432 KB |
Output is correct |
5 |
Correct |
119 ms |
180584 KB |
Output is correct |
6 |
Correct |
124 ms |
180472 KB |
Output is correct |
7 |
Correct |
119 ms |
180472 KB |
Output is correct |
8 |
Correct |
118 ms |
180600 KB |
Output is correct |
9 |
Correct |
122 ms |
180856 KB |
Output is correct |
10 |
Correct |
126 ms |
180600 KB |
Output is correct |
11 |
Correct |
120 ms |
180604 KB |
Output is correct |
12 |
Correct |
122 ms |
180600 KB |
Output is correct |
13 |
Correct |
128 ms |
180760 KB |
Output is correct |
14 |
Correct |
118 ms |
180732 KB |
Output is correct |
15 |
Correct |
119 ms |
180728 KB |
Output is correct |
16 |
Correct |
118 ms |
180728 KB |
Output is correct |
17 |
Correct |
120 ms |
180600 KB |
Output is correct |
18 |
Correct |
120 ms |
180472 KB |
Output is correct |
19 |
Correct |
118 ms |
180488 KB |
Output is correct |
20 |
Correct |
119 ms |
180384 KB |
Output is correct |
21 |
Correct |
120 ms |
180600 KB |
Output is correct |
22 |
Correct |
118 ms |
180472 KB |
Output is correct |
23 |
Correct |
132 ms |
180472 KB |
Output is correct |
24 |
Correct |
118 ms |
180504 KB |
Output is correct |
25 |
Correct |
125 ms |
180728 KB |
Output is correct |
26 |
Correct |
117 ms |
180600 KB |
Output is correct |
27 |
Correct |
119 ms |
180600 KB |
Output is correct |
28 |
Correct |
117 ms |
180600 KB |
Output is correct |
29 |
Correct |
121 ms |
180732 KB |
Output is correct |
30 |
Correct |
119 ms |
180856 KB |
Output is correct |
31 |
Correct |
118 ms |
180728 KB |
Output is correct |
32 |
Correct |
120 ms |
180728 KB |
Output is correct |
33 |
Correct |
116 ms |
180472 KB |
Output is correct |
34 |
Correct |
116 ms |
180472 KB |
Output is correct |
35 |
Correct |
121 ms |
180416 KB |
Output is correct |
36 |
Correct |
118 ms |
180460 KB |
Output is correct |
37 |
Correct |
117 ms |
180600 KB |
Output is correct |
38 |
Correct |
119 ms |
180520 KB |
Output is correct |
39 |
Correct |
118 ms |
180476 KB |
Output is correct |
40 |
Correct |
118 ms |
180472 KB |
Output is correct |
41 |
Correct |
119 ms |
180724 KB |
Output is correct |
42 |
Correct |
118 ms |
180552 KB |
Output is correct |
43 |
Correct |
117 ms |
180472 KB |
Output is correct |
44 |
Correct |
116 ms |
180472 KB |
Output is correct |
45 |
Correct |
121 ms |
180600 KB |
Output is correct |
46 |
Correct |
117 ms |
180488 KB |
Output is correct |
47 |
Correct |
118 ms |
180472 KB |
Output is correct |
48 |
Correct |
118 ms |
180472 KB |
Output is correct |
49 |
Correct |
116 ms |
180600 KB |
Output is correct |
50 |
Correct |
121 ms |
180600 KB |
Output is correct |
51 |
Correct |
119 ms |
180600 KB |
Output is correct |
52 |
Correct |
118 ms |
180568 KB |
Output is correct |
53 |
Correct |
116 ms |
180600 KB |
Output is correct |
54 |
Correct |
117 ms |
180600 KB |
Output is correct |
55 |
Correct |
117 ms |
180640 KB |
Output is correct |
56 |
Correct |
118 ms |
180600 KB |
Output is correct |
57 |
Correct |
116 ms |
180652 KB |
Output is correct |
58 |
Correct |
119 ms |
180600 KB |
Output is correct |
59 |
Correct |
120 ms |
181004 KB |
Output is correct |
60 |
Correct |
121 ms |
180728 KB |
Output is correct |
61 |
Correct |
115 ms |
180344 KB |
Output is correct |
62 |
Correct |
118 ms |
180480 KB |
Output is correct |
63 |
Correct |
117 ms |
180516 KB |
Output is correct |
64 |
Correct |
220 ms |
185848 KB |
Output is correct |
65 |
Correct |
190 ms |
182908 KB |
Output is correct |
66 |
Correct |
174 ms |
182136 KB |
Output is correct |
67 |
Correct |
142 ms |
181496 KB |
Output is correct |
68 |
Correct |
213 ms |
185848 KB |
Output is correct |
69 |
Correct |
193 ms |
182972 KB |
Output is correct |
70 |
Correct |
179 ms |
182264 KB |
Output is correct |
71 |
Correct |
163 ms |
182008 KB |
Output is correct |
72 |
Correct |
223 ms |
188280 KB |
Output is correct |
73 |
Correct |
210 ms |
187000 KB |
Output is correct |
74 |
Correct |
211 ms |
186872 KB |
Output is correct |
75 |
Correct |
212 ms |
186616 KB |
Output is correct |
76 |
Correct |
224 ms |
189432 KB |
Output is correct |
77 |
Correct |
235 ms |
189432 KB |
Output is correct |
78 |
Correct |
220 ms |
189436 KB |
Output is correct |
79 |
Correct |
221 ms |
189364 KB |
Output is correct |
80 |
Correct |
213 ms |
185848 KB |
Output is correct |
81 |
Correct |
196 ms |
182904 KB |
Output is correct |
82 |
Correct |
175 ms |
182140 KB |
Output is correct |
83 |
Correct |
143 ms |
181624 KB |
Output is correct |
84 |
Correct |
218 ms |
185976 KB |
Output is correct |
85 |
Correct |
196 ms |
182904 KB |
Output is correct |
86 |
Correct |
173 ms |
182084 KB |
Output is correct |
87 |
Correct |
169 ms |
182008 KB |
Output is correct |
88 |
Correct |
217 ms |
188028 KB |
Output is correct |
89 |
Correct |
212 ms |
186876 KB |
Output is correct |
90 |
Correct |
216 ms |
186616 KB |
Output is correct |
91 |
Correct |
207 ms |
186512 KB |
Output is correct |
92 |
Correct |
228 ms |
189560 KB |
Output is correct |
93 |
Correct |
229 ms |
189304 KB |
Output is correct |
94 |
Correct |
229 ms |
189432 KB |
Output is correct |
95 |
Correct |
224 ms |
189396 KB |
Output is correct |
96 |
Correct |
138 ms |
181496 KB |
Output is correct |
97 |
Correct |
139 ms |
181496 KB |
Output is correct |
98 |
Correct |
139 ms |
181496 KB |
Output is correct |
99 |
Correct |
140 ms |
181496 KB |
Output is correct |
100 |
Correct |
171 ms |
182012 KB |
Output is correct |
101 |
Correct |
162 ms |
181824 KB |
Output is correct |
102 |
Correct |
168 ms |
181880 KB |
Output is correct |
103 |
Correct |
141 ms |
181496 KB |
Output is correct |
104 |
Correct |
215 ms |
185848 KB |
Output is correct |
105 |
Correct |
189 ms |
182776 KB |
Output is correct |
106 |
Correct |
171 ms |
182008 KB |
Output is correct |
107 |
Correct |
141 ms |
181496 KB |
Output is correct |
108 |
Correct |
209 ms |
185336 KB |
Output is correct |
109 |
Correct |
187 ms |
182776 KB |
Output is correct |
110 |
Correct |
172 ms |
182008 KB |
Output is correct |
111 |
Correct |
145 ms |
181624 KB |
Output is correct |
112 |
Correct |
169 ms |
185464 KB |
Output is correct |
113 |
Correct |
185 ms |
185464 KB |
Output is correct |
114 |
Correct |
171 ms |
185592 KB |
Output is correct |
115 |
Correct |
186 ms |
185464 KB |
Output is correct |
116 |
Correct |
173 ms |
185464 KB |
Output is correct |
117 |
Correct |
187 ms |
185464 KB |
Output is correct |
118 |
Correct |
174 ms |
185464 KB |
Output is correct |
119 |
Correct |
182 ms |
185464 KB |
Output is correct |
120 |
Correct |
172 ms |
185592 KB |
Output is correct |
121 |
Correct |
184 ms |
185484 KB |
Output is correct |
122 |
Correct |
234 ms |
189436 KB |
Output is correct |
123 |
Correct |
205 ms |
189304 KB |
Output is correct |
124 |
Correct |
190 ms |
183032 KB |
Output is correct |
125 |
Correct |
178 ms |
182320 KB |
Output is correct |
126 |
Correct |
177 ms |
182180 KB |
Output is correct |
127 |
Correct |
196 ms |
183800 KB |
Output is correct |
128 |
Correct |
180 ms |
182264 KB |
Output is correct |
129 |
Correct |
183 ms |
182280 KB |
Output is correct |
130 |
Correct |
198 ms |
184016 KB |
Output is correct |
131 |
Correct |
182 ms |
182264 KB |
Output is correct |
132 |
Correct |
179 ms |
182284 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
119 ms |
180600 KB |
Output is correct |
2 |
Correct |
117 ms |
180476 KB |
Output is correct |
3 |
Correct |
119 ms |
180472 KB |
Output is correct |
4 |
Correct |
126 ms |
180432 KB |
Output is correct |
5 |
Correct |
119 ms |
180584 KB |
Output is correct |
6 |
Correct |
124 ms |
180472 KB |
Output is correct |
7 |
Correct |
119 ms |
180472 KB |
Output is correct |
8 |
Correct |
118 ms |
180600 KB |
Output is correct |
9 |
Correct |
122 ms |
180856 KB |
Output is correct |
10 |
Correct |
126 ms |
180600 KB |
Output is correct |
11 |
Correct |
120 ms |
180604 KB |
Output is correct |
12 |
Correct |
122 ms |
180600 KB |
Output is correct |
13 |
Correct |
128 ms |
180760 KB |
Output is correct |
14 |
Correct |
118 ms |
180732 KB |
Output is correct |
15 |
Correct |
119 ms |
180728 KB |
Output is correct |
16 |
Correct |
118 ms |
180728 KB |
Output is correct |
17 |
Correct |
120 ms |
180600 KB |
Output is correct |
18 |
Correct |
120 ms |
180472 KB |
Output is correct |
19 |
Correct |
118 ms |
180488 KB |
Output is correct |
20 |
Correct |
119 ms |
180384 KB |
Output is correct |
21 |
Correct |
120 ms |
180600 KB |
Output is correct |
22 |
Correct |
118 ms |
180472 KB |
Output is correct |
23 |
Correct |
132 ms |
180472 KB |
Output is correct |
24 |
Correct |
118 ms |
180504 KB |
Output is correct |
25 |
Correct |
125 ms |
180728 KB |
Output is correct |
26 |
Correct |
117 ms |
180600 KB |
Output is correct |
27 |
Correct |
119 ms |
180600 KB |
Output is correct |
28 |
Correct |
117 ms |
180600 KB |
Output is correct |
29 |
Correct |
121 ms |
180732 KB |
Output is correct |
30 |
Correct |
119 ms |
180856 KB |
Output is correct |
31 |
Correct |
118 ms |
180728 KB |
Output is correct |
32 |
Correct |
120 ms |
180728 KB |
Output is correct |
33 |
Correct |
116 ms |
180472 KB |
Output is correct |
34 |
Correct |
116 ms |
180472 KB |
Output is correct |
35 |
Correct |
121 ms |
180416 KB |
Output is correct |
36 |
Correct |
118 ms |
180460 KB |
Output is correct |
37 |
Correct |
117 ms |
180600 KB |
Output is correct |
38 |
Correct |
119 ms |
180520 KB |
Output is correct |
39 |
Correct |
118 ms |
180476 KB |
Output is correct |
40 |
Correct |
118 ms |
180472 KB |
Output is correct |
41 |
Correct |
119 ms |
180724 KB |
Output is correct |
42 |
Correct |
118 ms |
180552 KB |
Output is correct |
43 |
Correct |
117 ms |
180472 KB |
Output is correct |
44 |
Correct |
116 ms |
180472 KB |
Output is correct |
45 |
Correct |
121 ms |
180600 KB |
Output is correct |
46 |
Correct |
117 ms |
180488 KB |
Output is correct |
47 |
Correct |
118 ms |
180472 KB |
Output is correct |
48 |
Correct |
118 ms |
180472 KB |
Output is correct |
49 |
Correct |
116 ms |
180600 KB |
Output is correct |
50 |
Correct |
121 ms |
180600 KB |
Output is correct |
51 |
Correct |
119 ms |
180600 KB |
Output is correct |
52 |
Correct |
118 ms |
180568 KB |
Output is correct |
53 |
Correct |
116 ms |
180600 KB |
Output is correct |
54 |
Correct |
117 ms |
180600 KB |
Output is correct |
55 |
Correct |
117 ms |
180640 KB |
Output is correct |
56 |
Correct |
118 ms |
180600 KB |
Output is correct |
57 |
Correct |
116 ms |
180652 KB |
Output is correct |
58 |
Correct |
119 ms |
180600 KB |
Output is correct |
59 |
Correct |
120 ms |
181004 KB |
Output is correct |
60 |
Correct |
121 ms |
180728 KB |
Output is correct |
61 |
Correct |
115 ms |
180344 KB |
Output is correct |
62 |
Correct |
118 ms |
180480 KB |
Output is correct |
63 |
Correct |
117 ms |
180516 KB |
Output is correct |
64 |
Correct |
220 ms |
185848 KB |
Output is correct |
65 |
Correct |
190 ms |
182908 KB |
Output is correct |
66 |
Correct |
174 ms |
182136 KB |
Output is correct |
67 |
Correct |
142 ms |
181496 KB |
Output is correct |
68 |
Correct |
213 ms |
185848 KB |
Output is correct |
69 |
Correct |
193 ms |
182972 KB |
Output is correct |
70 |
Correct |
179 ms |
182264 KB |
Output is correct |
71 |
Correct |
163 ms |
182008 KB |
Output is correct |
72 |
Correct |
223 ms |
188280 KB |
Output is correct |
73 |
Correct |
210 ms |
187000 KB |
Output is correct |
74 |
Correct |
211 ms |
186872 KB |
Output is correct |
75 |
Correct |
212 ms |
186616 KB |
Output is correct |
76 |
Correct |
224 ms |
189432 KB |
Output is correct |
77 |
Correct |
235 ms |
189432 KB |
Output is correct |
78 |
Correct |
220 ms |
189436 KB |
Output is correct |
79 |
Correct |
221 ms |
189364 KB |
Output is correct |
80 |
Correct |
213 ms |
185848 KB |
Output is correct |
81 |
Correct |
196 ms |
182904 KB |
Output is correct |
82 |
Correct |
175 ms |
182140 KB |
Output is correct |
83 |
Correct |
143 ms |
181624 KB |
Output is correct |
84 |
Correct |
218 ms |
185976 KB |
Output is correct |
85 |
Correct |
196 ms |
182904 KB |
Output is correct |
86 |
Correct |
173 ms |
182084 KB |
Output is correct |
87 |
Correct |
169 ms |
182008 KB |
Output is correct |
88 |
Correct |
217 ms |
188028 KB |
Output is correct |
89 |
Correct |
212 ms |
186876 KB |
Output is correct |
90 |
Correct |
216 ms |
186616 KB |
Output is correct |
91 |
Correct |
207 ms |
186512 KB |
Output is correct |
92 |
Correct |
228 ms |
189560 KB |
Output is correct |
93 |
Correct |
229 ms |
189304 KB |
Output is correct |
94 |
Correct |
229 ms |
189432 KB |
Output is correct |
95 |
Correct |
224 ms |
189396 KB |
Output is correct |
96 |
Correct |
138 ms |
181496 KB |
Output is correct |
97 |
Correct |
139 ms |
181496 KB |
Output is correct |
98 |
Correct |
139 ms |
181496 KB |
Output is correct |
99 |
Correct |
140 ms |
181496 KB |
Output is correct |
100 |
Correct |
171 ms |
182012 KB |
Output is correct |
101 |
Correct |
162 ms |
181824 KB |
Output is correct |
102 |
Correct |
168 ms |
181880 KB |
Output is correct |
103 |
Correct |
141 ms |
181496 KB |
Output is correct |
104 |
Correct |
215 ms |
185848 KB |
Output is correct |
105 |
Correct |
189 ms |
182776 KB |
Output is correct |
106 |
Correct |
171 ms |
182008 KB |
Output is correct |
107 |
Correct |
141 ms |
181496 KB |
Output is correct |
108 |
Correct |
209 ms |
185336 KB |
Output is correct |
109 |
Correct |
187 ms |
182776 KB |
Output is correct |
110 |
Correct |
172 ms |
182008 KB |
Output is correct |
111 |
Correct |
145 ms |
181624 KB |
Output is correct |
112 |
Correct |
169 ms |
185464 KB |
Output is correct |
113 |
Correct |
185 ms |
185464 KB |
Output is correct |
114 |
Correct |
171 ms |
185592 KB |
Output is correct |
115 |
Correct |
186 ms |
185464 KB |
Output is correct |
116 |
Correct |
173 ms |
185464 KB |
Output is correct |
117 |
Correct |
187 ms |
185464 KB |
Output is correct |
118 |
Correct |
174 ms |
185464 KB |
Output is correct |
119 |
Correct |
182 ms |
185464 KB |
Output is correct |
120 |
Correct |
172 ms |
185592 KB |
Output is correct |
121 |
Correct |
184 ms |
185484 KB |
Output is correct |
122 |
Correct |
234 ms |
189436 KB |
Output is correct |
123 |
Correct |
205 ms |
189304 KB |
Output is correct |
124 |
Correct |
190 ms |
183032 KB |
Output is correct |
125 |
Correct |
178 ms |
182320 KB |
Output is correct |
126 |
Correct |
177 ms |
182180 KB |
Output is correct |
127 |
Correct |
196 ms |
183800 KB |
Output is correct |
128 |
Correct |
180 ms |
182264 KB |
Output is correct |
129 |
Correct |
183 ms |
182280 KB |
Output is correct |
130 |
Correct |
198 ms |
184016 KB |
Output is correct |
131 |
Correct |
182 ms |
182264 KB |
Output is correct |
132 |
Correct |
179 ms |
182284 KB |
Output is correct |
133 |
Correct |
624 ms |
203388 KB |
Output is correct |
134 |
Correct |
529 ms |
191336 KB |
Output is correct |
135 |
Correct |
436 ms |
188152 KB |
Output is correct |
136 |
Correct |
256 ms |
185720 KB |
Output is correct |
137 |
Correct |
628 ms |
203772 KB |
Output is correct |
138 |
Correct |
522 ms |
191352 KB |
Output is correct |
139 |
Correct |
435 ms |
188204 KB |
Output is correct |
140 |
Correct |
352 ms |
187000 KB |
Output is correct |
141 |
Correct |
645 ms |
212472 KB |
Output is correct |
142 |
Correct |
644 ms |
207908 KB |
Output is correct |
143 |
Correct |
603 ms |
206840 KB |
Output is correct |
144 |
Correct |
610 ms |
206712 KB |
Output is correct |
145 |
Correct |
660 ms |
218104 KB |
Output is correct |
146 |
Correct |
653 ms |
218100 KB |
Output is correct |
147 |
Correct |
663 ms |
218356 KB |
Output is correct |
148 |
Correct |
674 ms |
218388 KB |
Output is correct |
149 |
Correct |
621 ms |
203420 KB |
Output is correct |
150 |
Correct |
511 ms |
191224 KB |
Output is correct |
151 |
Correct |
416 ms |
188152 KB |
Output is correct |
152 |
Correct |
251 ms |
185720 KB |
Output is correct |
153 |
Correct |
619 ms |
203384 KB |
Output is correct |
154 |
Correct |
523 ms |
191480 KB |
Output is correct |
155 |
Correct |
414 ms |
188028 KB |
Output is correct |
156 |
Correct |
355 ms |
187128 KB |
Output is correct |
157 |
Correct |
641 ms |
212596 KB |
Output is correct |
158 |
Correct |
644 ms |
207848 KB |
Output is correct |
159 |
Correct |
610 ms |
206840 KB |
Output is correct |
160 |
Correct |
604 ms |
206712 KB |
Output is correct |
161 |
Correct |
651 ms |
218232 KB |
Output is correct |
162 |
Correct |
645 ms |
217972 KB |
Output is correct |
163 |
Correct |
676 ms |
218232 KB |
Output is correct |
164 |
Correct |
659 ms |
218100 KB |
Output is correct |
165 |
Correct |
219 ms |
185080 KB |
Output is correct |
166 |
Correct |
225 ms |
185080 KB |
Output is correct |
167 |
Correct |
222 ms |
185112 KB |
Output is correct |
168 |
Correct |
219 ms |
185208 KB |
Output is correct |
169 |
Correct |
369 ms |
187128 KB |
Output is correct |
170 |
Correct |
343 ms |
186744 KB |
Output is correct |
171 |
Correct |
310 ms |
186360 KB |
Output is correct |
172 |
Correct |
246 ms |
185336 KB |
Output is correct |
173 |
Correct |
613 ms |
203116 KB |
Output is correct |
174 |
Correct |
512 ms |
190968 KB |
Output is correct |
175 |
Correct |
394 ms |
187768 KB |
Output is correct |
176 |
Correct |
251 ms |
185464 KB |
Output is correct |
177 |
Correct |
609 ms |
201464 KB |
Output is correct |
178 |
Correct |
489 ms |
190584 KB |
Output is correct |
179 |
Correct |
408 ms |
187512 KB |
Output is correct |
180 |
Correct |
259 ms |
185336 KB |
Output is correct |
181 |
Correct |
375 ms |
201844 KB |
Output is correct |
182 |
Correct |
443 ms |
201720 KB |
Output is correct |
183 |
Correct |
371 ms |
201788 KB |
Output is correct |
184 |
Correct |
461 ms |
201464 KB |
Output is correct |
185 |
Correct |
376 ms |
201952 KB |
Output is correct |
186 |
Correct |
460 ms |
201484 KB |
Output is correct |
187 |
Correct |
370 ms |
201844 KB |
Output is correct |
188 |
Correct |
449 ms |
201844 KB |
Output is correct |
189 |
Correct |
371 ms |
201844 KB |
Output is correct |
190 |
Correct |
457 ms |
201872 KB |
Output is correct |
191 |
Correct |
622 ms |
218484 KB |
Output is correct |
192 |
Correct |
510 ms |
217844 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2309 ms |
334528 KB |
Output is correct |
2 |
Correct |
1910 ms |
331884 KB |
Output is correct |
3 |
Correct |
4557 ms |
490068 KB |
Output is correct |
4 |
Correct |
4581 ms |
484968 KB |
Output is correct |
5 |
Correct |
5647 ms |
561912 KB |
Output is correct |
6 |
Correct |
5662 ms |
556016 KB |
Output is correct |
7 |
Correct |
4901 ms |
260392 KB |
Output is correct |
8 |
Correct |
3979 ms |
243840 KB |
Output is correct |
9 |
Correct |
3705 ms |
241528 KB |
Output is correct |
10 |
Correct |
5453 ms |
271396 KB |
Output is correct |
11 |
Correct |
3918 ms |
243960 KB |
Output is correct |
12 |
Correct |
3749 ms |
241692 KB |
Output is correct |
13 |
Correct |
5660 ms |
275992 KB |
Output is correct |
14 |
Correct |
4003 ms |
244236 KB |
Output is correct |
15 |
Correct |
3758 ms |
241608 KB |
Output is correct |
16 |
Correct |
1942 ms |
231544 KB |
Output is correct |
17 |
Correct |
1938 ms |
231488 KB |
Output is correct |
18 |
Correct |
1949 ms |
231492 KB |
Output is correct |
19 |
Correct |
2007 ms |
231804 KB |
Output is correct |
20 |
Correct |
1962 ms |
231496 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
119 ms |
180600 KB |
Output is correct |
2 |
Correct |
117 ms |
180476 KB |
Output is correct |
3 |
Correct |
119 ms |
180472 KB |
Output is correct |
4 |
Correct |
126 ms |
180432 KB |
Output is correct |
5 |
Correct |
119 ms |
180584 KB |
Output is correct |
6 |
Correct |
124 ms |
180472 KB |
Output is correct |
7 |
Correct |
119 ms |
180472 KB |
Output is correct |
8 |
Correct |
118 ms |
180600 KB |
Output is correct |
9 |
Correct |
122 ms |
180856 KB |
Output is correct |
10 |
Correct |
126 ms |
180600 KB |
Output is correct |
11 |
Correct |
120 ms |
180604 KB |
Output is correct |
12 |
Correct |
122 ms |
180600 KB |
Output is correct |
13 |
Correct |
128 ms |
180760 KB |
Output is correct |
14 |
Correct |
118 ms |
180732 KB |
Output is correct |
15 |
Correct |
119 ms |
180728 KB |
Output is correct |
16 |
Correct |
118 ms |
180728 KB |
Output is correct |
17 |
Correct |
120 ms |
180600 KB |
Output is correct |
18 |
Correct |
120 ms |
180472 KB |
Output is correct |
19 |
Correct |
118 ms |
180488 KB |
Output is correct |
20 |
Correct |
119 ms |
180384 KB |
Output is correct |
21 |
Correct |
120 ms |
180600 KB |
Output is correct |
22 |
Correct |
118 ms |
180472 KB |
Output is correct |
23 |
Correct |
132 ms |
180472 KB |
Output is correct |
24 |
Correct |
118 ms |
180504 KB |
Output is correct |
25 |
Correct |
125 ms |
180728 KB |
Output is correct |
26 |
Correct |
117 ms |
180600 KB |
Output is correct |
27 |
Correct |
119 ms |
180600 KB |
Output is correct |
28 |
Correct |
117 ms |
180600 KB |
Output is correct |
29 |
Correct |
121 ms |
180732 KB |
Output is correct |
30 |
Correct |
119 ms |
180856 KB |
Output is correct |
31 |
Correct |
118 ms |
180728 KB |
Output is correct |
32 |
Correct |
120 ms |
180728 KB |
Output is correct |
33 |
Correct |
116 ms |
180472 KB |
Output is correct |
34 |
Correct |
116 ms |
180472 KB |
Output is correct |
35 |
Correct |
121 ms |
180416 KB |
Output is correct |
36 |
Correct |
118 ms |
180460 KB |
Output is correct |
37 |
Correct |
117 ms |
180600 KB |
Output is correct |
38 |
Correct |
119 ms |
180520 KB |
Output is correct |
39 |
Correct |
118 ms |
180476 KB |
Output is correct |
40 |
Correct |
118 ms |
180472 KB |
Output is correct |
41 |
Correct |
119 ms |
180724 KB |
Output is correct |
42 |
Correct |
118 ms |
180552 KB |
Output is correct |
43 |
Correct |
117 ms |
180472 KB |
Output is correct |
44 |
Correct |
116 ms |
180472 KB |
Output is correct |
45 |
Correct |
121 ms |
180600 KB |
Output is correct |
46 |
Correct |
117 ms |
180488 KB |
Output is correct |
47 |
Correct |
118 ms |
180472 KB |
Output is correct |
48 |
Correct |
118 ms |
180472 KB |
Output is correct |
49 |
Correct |
116 ms |
180600 KB |
Output is correct |
50 |
Correct |
121 ms |
180600 KB |
Output is correct |
51 |
Correct |
119 ms |
180600 KB |
Output is correct |
52 |
Correct |
118 ms |
180568 KB |
Output is correct |
53 |
Correct |
116 ms |
180600 KB |
Output is correct |
54 |
Correct |
117 ms |
180600 KB |
Output is correct |
55 |
Correct |
117 ms |
180640 KB |
Output is correct |
56 |
Correct |
118 ms |
180600 KB |
Output is correct |
57 |
Correct |
116 ms |
180652 KB |
Output is correct |
58 |
Correct |
119 ms |
180600 KB |
Output is correct |
59 |
Correct |
120 ms |
181004 KB |
Output is correct |
60 |
Correct |
121 ms |
180728 KB |
Output is correct |
61 |
Correct |
115 ms |
180344 KB |
Output is correct |
62 |
Correct |
118 ms |
180480 KB |
Output is correct |
63 |
Correct |
117 ms |
180516 KB |
Output is correct |
64 |
Correct |
220 ms |
185848 KB |
Output is correct |
65 |
Correct |
190 ms |
182908 KB |
Output is correct |
66 |
Correct |
174 ms |
182136 KB |
Output is correct |
67 |
Correct |
142 ms |
181496 KB |
Output is correct |
68 |
Correct |
213 ms |
185848 KB |
Output is correct |
69 |
Correct |
193 ms |
182972 KB |
Output is correct |
70 |
Correct |
179 ms |
182264 KB |
Output is correct |
71 |
Correct |
163 ms |
182008 KB |
Output is correct |
72 |
Correct |
223 ms |
188280 KB |
Output is correct |
73 |
Correct |
210 ms |
187000 KB |
Output is correct |
74 |
Correct |
211 ms |
186872 KB |
Output is correct |
75 |
Correct |
212 ms |
186616 KB |
Output is correct |
76 |
Correct |
224 ms |
189432 KB |
Output is correct |
77 |
Correct |
235 ms |
189432 KB |
Output is correct |
78 |
Correct |
220 ms |
189436 KB |
Output is correct |
79 |
Correct |
221 ms |
189364 KB |
Output is correct |
80 |
Correct |
213 ms |
185848 KB |
Output is correct |
81 |
Correct |
196 ms |
182904 KB |
Output is correct |
82 |
Correct |
175 ms |
182140 KB |
Output is correct |
83 |
Correct |
143 ms |
181624 KB |
Output is correct |
84 |
Correct |
218 ms |
185976 KB |
Output is correct |
85 |
Correct |
196 ms |
182904 KB |
Output is correct |
86 |
Correct |
173 ms |
182084 KB |
Output is correct |
87 |
Correct |
169 ms |
182008 KB |
Output is correct |
88 |
Correct |
217 ms |
188028 KB |
Output is correct |
89 |
Correct |
212 ms |
186876 KB |
Output is correct |
90 |
Correct |
216 ms |
186616 KB |
Output is correct |
91 |
Correct |
207 ms |
186512 KB |
Output is correct |
92 |
Correct |
228 ms |
189560 KB |
Output is correct |
93 |
Correct |
229 ms |
189304 KB |
Output is correct |
94 |
Correct |
229 ms |
189432 KB |
Output is correct |
95 |
Correct |
224 ms |
189396 KB |
Output is correct |
96 |
Correct |
138 ms |
181496 KB |
Output is correct |
97 |
Correct |
139 ms |
181496 KB |
Output is correct |
98 |
Correct |
139 ms |
181496 KB |
Output is correct |
99 |
Correct |
140 ms |
181496 KB |
Output is correct |
100 |
Correct |
171 ms |
182012 KB |
Output is correct |
101 |
Correct |
162 ms |
181824 KB |
Output is correct |
102 |
Correct |
168 ms |
181880 KB |
Output is correct |
103 |
Correct |
141 ms |
181496 KB |
Output is correct |
104 |
Correct |
215 ms |
185848 KB |
Output is correct |
105 |
Correct |
189 ms |
182776 KB |
Output is correct |
106 |
Correct |
171 ms |
182008 KB |
Output is correct |
107 |
Correct |
141 ms |
181496 KB |
Output is correct |
108 |
Correct |
209 ms |
185336 KB |
Output is correct |
109 |
Correct |
187 ms |
182776 KB |
Output is correct |
110 |
Correct |
172 ms |
182008 KB |
Output is correct |
111 |
Correct |
145 ms |
181624 KB |
Output is correct |
112 |
Correct |
169 ms |
185464 KB |
Output is correct |
113 |
Correct |
185 ms |
185464 KB |
Output is correct |
114 |
Correct |
171 ms |
185592 KB |
Output is correct |
115 |
Correct |
186 ms |
185464 KB |
Output is correct |
116 |
Correct |
173 ms |
185464 KB |
Output is correct |
117 |
Correct |
187 ms |
185464 KB |
Output is correct |
118 |
Correct |
174 ms |
185464 KB |
Output is correct |
119 |
Correct |
182 ms |
185464 KB |
Output is correct |
120 |
Correct |
172 ms |
185592 KB |
Output is correct |
121 |
Correct |
184 ms |
185484 KB |
Output is correct |
122 |
Correct |
234 ms |
189436 KB |
Output is correct |
123 |
Correct |
205 ms |
189304 KB |
Output is correct |
124 |
Correct |
190 ms |
183032 KB |
Output is correct |
125 |
Correct |
178 ms |
182320 KB |
Output is correct |
126 |
Correct |
177 ms |
182180 KB |
Output is correct |
127 |
Correct |
196 ms |
183800 KB |
Output is correct |
128 |
Correct |
180 ms |
182264 KB |
Output is correct |
129 |
Correct |
183 ms |
182280 KB |
Output is correct |
130 |
Correct |
198 ms |
184016 KB |
Output is correct |
131 |
Correct |
182 ms |
182264 KB |
Output is correct |
132 |
Correct |
179 ms |
182284 KB |
Output is correct |
133 |
Correct |
624 ms |
203388 KB |
Output is correct |
134 |
Correct |
529 ms |
191336 KB |
Output is correct |
135 |
Correct |
436 ms |
188152 KB |
Output is correct |
136 |
Correct |
256 ms |
185720 KB |
Output is correct |
137 |
Correct |
628 ms |
203772 KB |
Output is correct |
138 |
Correct |
522 ms |
191352 KB |
Output is correct |
139 |
Correct |
435 ms |
188204 KB |
Output is correct |
140 |
Correct |
352 ms |
187000 KB |
Output is correct |
141 |
Correct |
645 ms |
212472 KB |
Output is correct |
142 |
Correct |
644 ms |
207908 KB |
Output is correct |
143 |
Correct |
603 ms |
206840 KB |
Output is correct |
144 |
Correct |
610 ms |
206712 KB |
Output is correct |
145 |
Correct |
660 ms |
218104 KB |
Output is correct |
146 |
Correct |
653 ms |
218100 KB |
Output is correct |
147 |
Correct |
663 ms |
218356 KB |
Output is correct |
148 |
Correct |
674 ms |
218388 KB |
Output is correct |
149 |
Correct |
621 ms |
203420 KB |
Output is correct |
150 |
Correct |
511 ms |
191224 KB |
Output is correct |
151 |
Correct |
416 ms |
188152 KB |
Output is correct |
152 |
Correct |
251 ms |
185720 KB |
Output is correct |
153 |
Correct |
619 ms |
203384 KB |
Output is correct |
154 |
Correct |
523 ms |
191480 KB |
Output is correct |
155 |
Correct |
414 ms |
188028 KB |
Output is correct |
156 |
Correct |
355 ms |
187128 KB |
Output is correct |
157 |
Correct |
641 ms |
212596 KB |
Output is correct |
158 |
Correct |
644 ms |
207848 KB |
Output is correct |
159 |
Correct |
610 ms |
206840 KB |
Output is correct |
160 |
Correct |
604 ms |
206712 KB |
Output is correct |
161 |
Correct |
651 ms |
218232 KB |
Output is correct |
162 |
Correct |
645 ms |
217972 KB |
Output is correct |
163 |
Correct |
676 ms |
218232 KB |
Output is correct |
164 |
Correct |
659 ms |
218100 KB |
Output is correct |
165 |
Correct |
219 ms |
185080 KB |
Output is correct |
166 |
Correct |
225 ms |
185080 KB |
Output is correct |
167 |
Correct |
222 ms |
185112 KB |
Output is correct |
168 |
Correct |
219 ms |
185208 KB |
Output is correct |
169 |
Correct |
369 ms |
187128 KB |
Output is correct |
170 |
Correct |
343 ms |
186744 KB |
Output is correct |
171 |
Correct |
310 ms |
186360 KB |
Output is correct |
172 |
Correct |
246 ms |
185336 KB |
Output is correct |
173 |
Correct |
613 ms |
203116 KB |
Output is correct |
174 |
Correct |
512 ms |
190968 KB |
Output is correct |
175 |
Correct |
394 ms |
187768 KB |
Output is correct |
176 |
Correct |
251 ms |
185464 KB |
Output is correct |
177 |
Correct |
609 ms |
201464 KB |
Output is correct |
178 |
Correct |
489 ms |
190584 KB |
Output is correct |
179 |
Correct |
408 ms |
187512 KB |
Output is correct |
180 |
Correct |
259 ms |
185336 KB |
Output is correct |
181 |
Correct |
375 ms |
201844 KB |
Output is correct |
182 |
Correct |
443 ms |
201720 KB |
Output is correct |
183 |
Correct |
371 ms |
201788 KB |
Output is correct |
184 |
Correct |
461 ms |
201464 KB |
Output is correct |
185 |
Correct |
376 ms |
201952 KB |
Output is correct |
186 |
Correct |
460 ms |
201484 KB |
Output is correct |
187 |
Correct |
370 ms |
201844 KB |
Output is correct |
188 |
Correct |
449 ms |
201844 KB |
Output is correct |
189 |
Correct |
371 ms |
201844 KB |
Output is correct |
190 |
Correct |
457 ms |
201872 KB |
Output is correct |
191 |
Correct |
622 ms |
218484 KB |
Output is correct |
192 |
Correct |
510 ms |
217844 KB |
Output is correct |
193 |
Correct |
2309 ms |
334528 KB |
Output is correct |
194 |
Correct |
1910 ms |
331884 KB |
Output is correct |
195 |
Correct |
4557 ms |
490068 KB |
Output is correct |
196 |
Correct |
4581 ms |
484968 KB |
Output is correct |
197 |
Correct |
5647 ms |
561912 KB |
Output is correct |
198 |
Correct |
5662 ms |
556016 KB |
Output is correct |
199 |
Correct |
4901 ms |
260392 KB |
Output is correct |
200 |
Correct |
3979 ms |
243840 KB |
Output is correct |
201 |
Correct |
3705 ms |
241528 KB |
Output is correct |
202 |
Correct |
5453 ms |
271396 KB |
Output is correct |
203 |
Correct |
3918 ms |
243960 KB |
Output is correct |
204 |
Correct |
3749 ms |
241692 KB |
Output is correct |
205 |
Correct |
5660 ms |
275992 KB |
Output is correct |
206 |
Correct |
4003 ms |
244236 KB |
Output is correct |
207 |
Correct |
3758 ms |
241608 KB |
Output is correct |
208 |
Correct |
1942 ms |
231544 KB |
Output is correct |
209 |
Correct |
1938 ms |
231488 KB |
Output is correct |
210 |
Correct |
1949 ms |
231492 KB |
Output is correct |
211 |
Correct |
2007 ms |
231804 KB |
Output is correct |
212 |
Correct |
1962 ms |
231496 KB |
Output is correct |
213 |
Execution timed out |
7009 ms |
410752 KB |
Time limit exceeded |
214 |
Halted |
0 ms |
0 KB |
- |