#include<bits/stdc++.h>
using namespace std;
const int N=2200009;
int a,b,c,d,e,i,j,ii,jj,zx,xc,tes,t,za,seg[N],seg2[N],seg3[N];
char ch;
multiset <int> lf[N],rg[N],mn,mx;
void up(int q){
if(q==0) return;
if(seg[q*2]==-1||seg[q*2+1]==-1){
seg[q]=max(seg[q*2],seg[q*2+1]);
}else{
seg[q]=min(seg[q*2],seg[q*2+1]);
}
seg2[q]=max(seg2[q*2],seg2[q*2+1]);
if(seg3[q*2]==-1||seg3[q*2+1]==-1){
seg3[q]=max(seg3[q*2],seg3[q*2+1]);
}else{
seg3[q]=min(seg3[q*2],seg3[q*2+1]);
}
int qw=seg3[q*2+1]-seg2[q*2];
if(seg3[q*2+1]!=-1&&seg2[q*2]!=-1){
if(seg[q]>qw||seg[q]==-1) seg[q]=qw;
}
up(q/2);
}
void upd(int q){
multiset <int>::iterator it,tt,zit,ztt;
if(lf[q].size()==0||rg[q].size()==0){
seg[q+za-1]=-1;
}else{
it=lf[q].end();it--;
tt=rg[q].begin();
seg[q+za-1]=(*tt)-(*it);
}
if(lf[q].size()==0){
seg2[q+za-1]=-1;
}else{
it=lf[q].end();it--;
seg2[q+za-1]=(*it);
}
if(rg[q].size()==0){
seg3[q+za-1]=-1;
}else{
it=rg[q].begin();
seg3[q+za-1]=(*it);
}
up((q+za-1)/2);
}
int main(){
ios_base::sync_with_stdio(false),cin.tie(0),cout.tie(0);
cin>>tes;
za=1;
while(za<1000000) za*=2;
for(i=1; i<=za*2; i++){
seg[i]=-1;
seg2[i]=seg3[i]=-1;
}
for(t=1; t<=tes; t++){
cin>>ch>>c>>d;
if(ch=='A'){
lf[d].insert(c);
rg[c].insert(d);
mn.insert(d);
mx.insert(c);
}else{
lf[d].erase(lf[d].lower_bound(c));
rg[c].erase(rg[c].lower_bound(d));
mn.erase(mn.lower_bound(d));
mx.erase(mx.lower_bound(c));
}
upd(c);
upd(d);
multiset <int>::iterator it,tt,zit,ztt;
it=mn.begin();
tt=mx.end();tt--;
if((*tt)<(*it)){
c=(*tt);d=(*it);
zit=lf[d].end();zit--;
ztt=rg[c].begin();
cout<<(*ztt)-(*zit)<<endl;
}else{
cout<<seg[1]<<endl;
}
}
return 0;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
151 ms |
231672 KB |
Output is correct |
2 |
Correct |
153 ms |
231728 KB |
Output is correct |
3 |
Correct |
152 ms |
231672 KB |
Output is correct |
4 |
Correct |
151 ms |
231672 KB |
Output is correct |
5 |
Correct |
153 ms |
231676 KB |
Output is correct |
6 |
Correct |
152 ms |
231672 KB |
Output is correct |
7 |
Correct |
151 ms |
231672 KB |
Output is correct |
8 |
Correct |
150 ms |
231636 KB |
Output is correct |
9 |
Correct |
153 ms |
231884 KB |
Output is correct |
10 |
Correct |
152 ms |
231672 KB |
Output is correct |
11 |
Correct |
151 ms |
231700 KB |
Output is correct |
12 |
Correct |
150 ms |
231672 KB |
Output is correct |
13 |
Correct |
155 ms |
231672 KB |
Output is correct |
14 |
Correct |
154 ms |
231672 KB |
Output is correct |
15 |
Correct |
157 ms |
231800 KB |
Output is correct |
16 |
Correct |
154 ms |
231672 KB |
Output is correct |
17 |
Correct |
152 ms |
231672 KB |
Output is correct |
18 |
Correct |
155 ms |
231672 KB |
Output is correct |
19 |
Correct |
159 ms |
231672 KB |
Output is correct |
20 |
Correct |
153 ms |
231672 KB |
Output is correct |
21 |
Correct |
153 ms |
231672 KB |
Output is correct |
22 |
Correct |
153 ms |
231672 KB |
Output is correct |
23 |
Correct |
153 ms |
231624 KB |
Output is correct |
24 |
Correct |
150 ms |
231672 KB |
Output is correct |
25 |
Correct |
155 ms |
231672 KB |
Output is correct |
26 |
Correct |
156 ms |
231800 KB |
Output is correct |
27 |
Correct |
151 ms |
231672 KB |
Output is correct |
28 |
Correct |
155 ms |
231800 KB |
Output is correct |
29 |
Correct |
152 ms |
231672 KB |
Output is correct |
30 |
Correct |
153 ms |
231672 KB |
Output is correct |
31 |
Correct |
152 ms |
231800 KB |
Output is correct |
32 |
Correct |
156 ms |
231672 KB |
Output is correct |
33 |
Correct |
152 ms |
231672 KB |
Output is correct |
34 |
Correct |
154 ms |
231672 KB |
Output is correct |
35 |
Correct |
150 ms |
231672 KB |
Output is correct |
36 |
Correct |
151 ms |
231620 KB |
Output is correct |
37 |
Correct |
153 ms |
231672 KB |
Output is correct |
38 |
Correct |
152 ms |
231672 KB |
Output is correct |
39 |
Correct |
151 ms |
231672 KB |
Output is correct |
40 |
Correct |
150 ms |
231672 KB |
Output is correct |
41 |
Correct |
159 ms |
231672 KB |
Output is correct |
42 |
Correct |
153 ms |
231672 KB |
Output is correct |
43 |
Correct |
160 ms |
231672 KB |
Output is correct |
44 |
Correct |
150 ms |
231672 KB |
Output is correct |
45 |
Correct |
151 ms |
231676 KB |
Output is correct |
46 |
Correct |
148 ms |
231672 KB |
Output is correct |
47 |
Correct |
150 ms |
231672 KB |
Output is correct |
48 |
Correct |
152 ms |
231672 KB |
Output is correct |
49 |
Correct |
153 ms |
231672 KB |
Output is correct |
50 |
Correct |
150 ms |
231672 KB |
Output is correct |
51 |
Correct |
150 ms |
231672 KB |
Output is correct |
52 |
Correct |
153 ms |
231672 KB |
Output is correct |
53 |
Correct |
153 ms |
231672 KB |
Output is correct |
54 |
Correct |
149 ms |
231800 KB |
Output is correct |
55 |
Correct |
148 ms |
231672 KB |
Output is correct |
56 |
Correct |
148 ms |
231652 KB |
Output is correct |
57 |
Correct |
155 ms |
231672 KB |
Output is correct |
58 |
Correct |
154 ms |
231684 KB |
Output is correct |
59 |
Correct |
153 ms |
231812 KB |
Output is correct |
60 |
Correct |
149 ms |
231704 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
151 ms |
231672 KB |
Output is correct |
2 |
Correct |
153 ms |
231728 KB |
Output is correct |
3 |
Correct |
152 ms |
231672 KB |
Output is correct |
4 |
Correct |
151 ms |
231672 KB |
Output is correct |
5 |
Correct |
153 ms |
231676 KB |
Output is correct |
6 |
Correct |
152 ms |
231672 KB |
Output is correct |
7 |
Correct |
151 ms |
231672 KB |
Output is correct |
8 |
Correct |
150 ms |
231636 KB |
Output is correct |
9 |
Correct |
153 ms |
231884 KB |
Output is correct |
10 |
Correct |
152 ms |
231672 KB |
Output is correct |
11 |
Correct |
151 ms |
231700 KB |
Output is correct |
12 |
Correct |
150 ms |
231672 KB |
Output is correct |
13 |
Correct |
155 ms |
231672 KB |
Output is correct |
14 |
Correct |
154 ms |
231672 KB |
Output is correct |
15 |
Correct |
157 ms |
231800 KB |
Output is correct |
16 |
Correct |
154 ms |
231672 KB |
Output is correct |
17 |
Correct |
152 ms |
231672 KB |
Output is correct |
18 |
Correct |
155 ms |
231672 KB |
Output is correct |
19 |
Correct |
159 ms |
231672 KB |
Output is correct |
20 |
Correct |
153 ms |
231672 KB |
Output is correct |
21 |
Correct |
153 ms |
231672 KB |
Output is correct |
22 |
Correct |
153 ms |
231672 KB |
Output is correct |
23 |
Correct |
153 ms |
231624 KB |
Output is correct |
24 |
Correct |
150 ms |
231672 KB |
Output is correct |
25 |
Correct |
155 ms |
231672 KB |
Output is correct |
26 |
Correct |
156 ms |
231800 KB |
Output is correct |
27 |
Correct |
151 ms |
231672 KB |
Output is correct |
28 |
Correct |
155 ms |
231800 KB |
Output is correct |
29 |
Correct |
152 ms |
231672 KB |
Output is correct |
30 |
Correct |
153 ms |
231672 KB |
Output is correct |
31 |
Correct |
152 ms |
231800 KB |
Output is correct |
32 |
Correct |
156 ms |
231672 KB |
Output is correct |
33 |
Correct |
152 ms |
231672 KB |
Output is correct |
34 |
Correct |
154 ms |
231672 KB |
Output is correct |
35 |
Correct |
150 ms |
231672 KB |
Output is correct |
36 |
Correct |
151 ms |
231620 KB |
Output is correct |
37 |
Correct |
153 ms |
231672 KB |
Output is correct |
38 |
Correct |
152 ms |
231672 KB |
Output is correct |
39 |
Correct |
151 ms |
231672 KB |
Output is correct |
40 |
Correct |
150 ms |
231672 KB |
Output is correct |
41 |
Correct |
159 ms |
231672 KB |
Output is correct |
42 |
Correct |
153 ms |
231672 KB |
Output is correct |
43 |
Correct |
160 ms |
231672 KB |
Output is correct |
44 |
Correct |
150 ms |
231672 KB |
Output is correct |
45 |
Correct |
151 ms |
231676 KB |
Output is correct |
46 |
Correct |
148 ms |
231672 KB |
Output is correct |
47 |
Correct |
150 ms |
231672 KB |
Output is correct |
48 |
Correct |
152 ms |
231672 KB |
Output is correct |
49 |
Correct |
153 ms |
231672 KB |
Output is correct |
50 |
Correct |
150 ms |
231672 KB |
Output is correct |
51 |
Correct |
150 ms |
231672 KB |
Output is correct |
52 |
Correct |
153 ms |
231672 KB |
Output is correct |
53 |
Correct |
153 ms |
231672 KB |
Output is correct |
54 |
Correct |
149 ms |
231800 KB |
Output is correct |
55 |
Correct |
148 ms |
231672 KB |
Output is correct |
56 |
Correct |
148 ms |
231652 KB |
Output is correct |
57 |
Correct |
155 ms |
231672 KB |
Output is correct |
58 |
Correct |
154 ms |
231684 KB |
Output is correct |
59 |
Correct |
153 ms |
231812 KB |
Output is correct |
60 |
Correct |
149 ms |
231704 KB |
Output is correct |
61 |
Correct |
147 ms |
231672 KB |
Output is correct |
62 |
Correct |
149 ms |
231672 KB |
Output is correct |
63 |
Correct |
148 ms |
231672 KB |
Output is correct |
64 |
Correct |
211 ms |
232952 KB |
Output is correct |
65 |
Correct |
204 ms |
232056 KB |
Output is correct |
66 |
Correct |
202 ms |
232016 KB |
Output is correct |
67 |
Correct |
191 ms |
231928 KB |
Output is correct |
68 |
Correct |
210 ms |
233080 KB |
Output is correct |
69 |
Correct |
203 ms |
232260 KB |
Output is correct |
70 |
Correct |
197 ms |
231928 KB |
Output is correct |
71 |
Correct |
200 ms |
231928 KB |
Output is correct |
72 |
Correct |
211 ms |
233720 KB |
Output is correct |
73 |
Correct |
208 ms |
233464 KB |
Output is correct |
74 |
Correct |
210 ms |
233336 KB |
Output is correct |
75 |
Correct |
221 ms |
233208 KB |
Output is correct |
76 |
Correct |
216 ms |
234232 KB |
Output is correct |
77 |
Correct |
217 ms |
234104 KB |
Output is correct |
78 |
Correct |
216 ms |
234104 KB |
Output is correct |
79 |
Correct |
217 ms |
234104 KB |
Output is correct |
80 |
Correct |
209 ms |
232952 KB |
Output is correct |
81 |
Correct |
202 ms |
232060 KB |
Output is correct |
82 |
Correct |
198 ms |
231928 KB |
Output is correct |
83 |
Correct |
192 ms |
231928 KB |
Output is correct |
84 |
Correct |
210 ms |
233080 KB |
Output is correct |
85 |
Correct |
204 ms |
232184 KB |
Output is correct |
86 |
Correct |
200 ms |
231928 KB |
Output is correct |
87 |
Correct |
200 ms |
231928 KB |
Output is correct |
88 |
Correct |
216 ms |
233848 KB |
Output is correct |
89 |
Correct |
211 ms |
233336 KB |
Output is correct |
90 |
Correct |
209 ms |
233208 KB |
Output is correct |
91 |
Correct |
225 ms |
233208 KB |
Output is correct |
92 |
Correct |
221 ms |
234104 KB |
Output is correct |
93 |
Correct |
218 ms |
234104 KB |
Output is correct |
94 |
Correct |
219 ms |
234104 KB |
Output is correct |
95 |
Correct |
214 ms |
234156 KB |
Output is correct |
96 |
Correct |
192 ms |
231928 KB |
Output is correct |
97 |
Correct |
195 ms |
231860 KB |
Output is correct |
98 |
Correct |
193 ms |
231928 KB |
Output is correct |
99 |
Correct |
195 ms |
232056 KB |
Output is correct |
100 |
Correct |
201 ms |
231928 KB |
Output is correct |
101 |
Correct |
196 ms |
231928 KB |
Output is correct |
102 |
Correct |
201 ms |
231928 KB |
Output is correct |
103 |
Correct |
195 ms |
231928 KB |
Output is correct |
104 |
Correct |
213 ms |
232952 KB |
Output is correct |
105 |
Correct |
204 ms |
232056 KB |
Output is correct |
106 |
Correct |
202 ms |
231928 KB |
Output is correct |
107 |
Correct |
193 ms |
231928 KB |
Output is correct |
108 |
Correct |
207 ms |
233004 KB |
Output is correct |
109 |
Correct |
204 ms |
232184 KB |
Output is correct |
110 |
Correct |
200 ms |
231928 KB |
Output is correct |
111 |
Correct |
201 ms |
232056 KB |
Output is correct |
112 |
Correct |
198 ms |
233084 KB |
Output is correct |
113 |
Correct |
199 ms |
233080 KB |
Output is correct |
114 |
Correct |
196 ms |
233080 KB |
Output is correct |
115 |
Correct |
198 ms |
233068 KB |
Output is correct |
116 |
Correct |
193 ms |
232972 KB |
Output is correct |
117 |
Correct |
202 ms |
233208 KB |
Output is correct |
118 |
Correct |
192 ms |
233080 KB |
Output is correct |
119 |
Correct |
196 ms |
232952 KB |
Output is correct |
120 |
Correct |
196 ms |
233040 KB |
Output is correct |
121 |
Correct |
200 ms |
233060 KB |
Output is correct |
122 |
Correct |
200 ms |
234136 KB |
Output is correct |
123 |
Correct |
203 ms |
234108 KB |
Output is correct |
124 |
Correct |
195 ms |
232184 KB |
Output is correct |
125 |
Correct |
190 ms |
231928 KB |
Output is correct |
126 |
Correct |
189 ms |
231924 KB |
Output is correct |
127 |
Correct |
193 ms |
232312 KB |
Output is correct |
128 |
Correct |
189 ms |
231928 KB |
Output is correct |
129 |
Correct |
189 ms |
231928 KB |
Output is correct |
130 |
Correct |
193 ms |
232440 KB |
Output is correct |
131 |
Correct |
189 ms |
231928 KB |
Output is correct |
132 |
Correct |
188 ms |
231928 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
151 ms |
231672 KB |
Output is correct |
2 |
Correct |
153 ms |
231728 KB |
Output is correct |
3 |
Correct |
152 ms |
231672 KB |
Output is correct |
4 |
Correct |
151 ms |
231672 KB |
Output is correct |
5 |
Correct |
153 ms |
231676 KB |
Output is correct |
6 |
Correct |
152 ms |
231672 KB |
Output is correct |
7 |
Correct |
151 ms |
231672 KB |
Output is correct |
8 |
Correct |
150 ms |
231636 KB |
Output is correct |
9 |
Correct |
153 ms |
231884 KB |
Output is correct |
10 |
Correct |
152 ms |
231672 KB |
Output is correct |
11 |
Correct |
151 ms |
231700 KB |
Output is correct |
12 |
Correct |
150 ms |
231672 KB |
Output is correct |
13 |
Correct |
155 ms |
231672 KB |
Output is correct |
14 |
Correct |
154 ms |
231672 KB |
Output is correct |
15 |
Correct |
157 ms |
231800 KB |
Output is correct |
16 |
Correct |
154 ms |
231672 KB |
Output is correct |
17 |
Correct |
152 ms |
231672 KB |
Output is correct |
18 |
Correct |
155 ms |
231672 KB |
Output is correct |
19 |
Correct |
159 ms |
231672 KB |
Output is correct |
20 |
Correct |
153 ms |
231672 KB |
Output is correct |
21 |
Correct |
153 ms |
231672 KB |
Output is correct |
22 |
Correct |
153 ms |
231672 KB |
Output is correct |
23 |
Correct |
153 ms |
231624 KB |
Output is correct |
24 |
Correct |
150 ms |
231672 KB |
Output is correct |
25 |
Correct |
155 ms |
231672 KB |
Output is correct |
26 |
Correct |
156 ms |
231800 KB |
Output is correct |
27 |
Correct |
151 ms |
231672 KB |
Output is correct |
28 |
Correct |
155 ms |
231800 KB |
Output is correct |
29 |
Correct |
152 ms |
231672 KB |
Output is correct |
30 |
Correct |
153 ms |
231672 KB |
Output is correct |
31 |
Correct |
152 ms |
231800 KB |
Output is correct |
32 |
Correct |
156 ms |
231672 KB |
Output is correct |
33 |
Correct |
152 ms |
231672 KB |
Output is correct |
34 |
Correct |
154 ms |
231672 KB |
Output is correct |
35 |
Correct |
150 ms |
231672 KB |
Output is correct |
36 |
Correct |
151 ms |
231620 KB |
Output is correct |
37 |
Correct |
153 ms |
231672 KB |
Output is correct |
38 |
Correct |
152 ms |
231672 KB |
Output is correct |
39 |
Correct |
151 ms |
231672 KB |
Output is correct |
40 |
Correct |
150 ms |
231672 KB |
Output is correct |
41 |
Correct |
159 ms |
231672 KB |
Output is correct |
42 |
Correct |
153 ms |
231672 KB |
Output is correct |
43 |
Correct |
160 ms |
231672 KB |
Output is correct |
44 |
Correct |
150 ms |
231672 KB |
Output is correct |
45 |
Correct |
151 ms |
231676 KB |
Output is correct |
46 |
Correct |
148 ms |
231672 KB |
Output is correct |
47 |
Correct |
150 ms |
231672 KB |
Output is correct |
48 |
Correct |
152 ms |
231672 KB |
Output is correct |
49 |
Correct |
153 ms |
231672 KB |
Output is correct |
50 |
Correct |
150 ms |
231672 KB |
Output is correct |
51 |
Correct |
150 ms |
231672 KB |
Output is correct |
52 |
Correct |
153 ms |
231672 KB |
Output is correct |
53 |
Correct |
153 ms |
231672 KB |
Output is correct |
54 |
Correct |
149 ms |
231800 KB |
Output is correct |
55 |
Correct |
148 ms |
231672 KB |
Output is correct |
56 |
Correct |
148 ms |
231652 KB |
Output is correct |
57 |
Correct |
155 ms |
231672 KB |
Output is correct |
58 |
Correct |
154 ms |
231684 KB |
Output is correct |
59 |
Correct |
153 ms |
231812 KB |
Output is correct |
60 |
Correct |
149 ms |
231704 KB |
Output is correct |
61 |
Correct |
147 ms |
231672 KB |
Output is correct |
62 |
Correct |
149 ms |
231672 KB |
Output is correct |
63 |
Correct |
148 ms |
231672 KB |
Output is correct |
64 |
Correct |
211 ms |
232952 KB |
Output is correct |
65 |
Correct |
204 ms |
232056 KB |
Output is correct |
66 |
Correct |
202 ms |
232016 KB |
Output is correct |
67 |
Correct |
191 ms |
231928 KB |
Output is correct |
68 |
Correct |
210 ms |
233080 KB |
Output is correct |
69 |
Correct |
203 ms |
232260 KB |
Output is correct |
70 |
Correct |
197 ms |
231928 KB |
Output is correct |
71 |
Correct |
200 ms |
231928 KB |
Output is correct |
72 |
Correct |
211 ms |
233720 KB |
Output is correct |
73 |
Correct |
208 ms |
233464 KB |
Output is correct |
74 |
Correct |
210 ms |
233336 KB |
Output is correct |
75 |
Correct |
221 ms |
233208 KB |
Output is correct |
76 |
Correct |
216 ms |
234232 KB |
Output is correct |
77 |
Correct |
217 ms |
234104 KB |
Output is correct |
78 |
Correct |
216 ms |
234104 KB |
Output is correct |
79 |
Correct |
217 ms |
234104 KB |
Output is correct |
80 |
Correct |
209 ms |
232952 KB |
Output is correct |
81 |
Correct |
202 ms |
232060 KB |
Output is correct |
82 |
Correct |
198 ms |
231928 KB |
Output is correct |
83 |
Correct |
192 ms |
231928 KB |
Output is correct |
84 |
Correct |
210 ms |
233080 KB |
Output is correct |
85 |
Correct |
204 ms |
232184 KB |
Output is correct |
86 |
Correct |
200 ms |
231928 KB |
Output is correct |
87 |
Correct |
200 ms |
231928 KB |
Output is correct |
88 |
Correct |
216 ms |
233848 KB |
Output is correct |
89 |
Correct |
211 ms |
233336 KB |
Output is correct |
90 |
Correct |
209 ms |
233208 KB |
Output is correct |
91 |
Correct |
225 ms |
233208 KB |
Output is correct |
92 |
Correct |
221 ms |
234104 KB |
Output is correct |
93 |
Correct |
218 ms |
234104 KB |
Output is correct |
94 |
Correct |
219 ms |
234104 KB |
Output is correct |
95 |
Correct |
214 ms |
234156 KB |
Output is correct |
96 |
Correct |
192 ms |
231928 KB |
Output is correct |
97 |
Correct |
195 ms |
231860 KB |
Output is correct |
98 |
Correct |
193 ms |
231928 KB |
Output is correct |
99 |
Correct |
195 ms |
232056 KB |
Output is correct |
100 |
Correct |
201 ms |
231928 KB |
Output is correct |
101 |
Correct |
196 ms |
231928 KB |
Output is correct |
102 |
Correct |
201 ms |
231928 KB |
Output is correct |
103 |
Correct |
195 ms |
231928 KB |
Output is correct |
104 |
Correct |
213 ms |
232952 KB |
Output is correct |
105 |
Correct |
204 ms |
232056 KB |
Output is correct |
106 |
Correct |
202 ms |
231928 KB |
Output is correct |
107 |
Correct |
193 ms |
231928 KB |
Output is correct |
108 |
Correct |
207 ms |
233004 KB |
Output is correct |
109 |
Correct |
204 ms |
232184 KB |
Output is correct |
110 |
Correct |
200 ms |
231928 KB |
Output is correct |
111 |
Correct |
201 ms |
232056 KB |
Output is correct |
112 |
Correct |
198 ms |
233084 KB |
Output is correct |
113 |
Correct |
199 ms |
233080 KB |
Output is correct |
114 |
Correct |
196 ms |
233080 KB |
Output is correct |
115 |
Correct |
198 ms |
233068 KB |
Output is correct |
116 |
Correct |
193 ms |
232972 KB |
Output is correct |
117 |
Correct |
202 ms |
233208 KB |
Output is correct |
118 |
Correct |
192 ms |
233080 KB |
Output is correct |
119 |
Correct |
196 ms |
232952 KB |
Output is correct |
120 |
Correct |
196 ms |
233040 KB |
Output is correct |
121 |
Correct |
200 ms |
233060 KB |
Output is correct |
122 |
Correct |
200 ms |
234136 KB |
Output is correct |
123 |
Correct |
203 ms |
234108 KB |
Output is correct |
124 |
Correct |
195 ms |
232184 KB |
Output is correct |
125 |
Correct |
190 ms |
231928 KB |
Output is correct |
126 |
Correct |
189 ms |
231924 KB |
Output is correct |
127 |
Correct |
193 ms |
232312 KB |
Output is correct |
128 |
Correct |
189 ms |
231928 KB |
Output is correct |
129 |
Correct |
189 ms |
231928 KB |
Output is correct |
130 |
Correct |
193 ms |
232440 KB |
Output is correct |
131 |
Correct |
189 ms |
231928 KB |
Output is correct |
132 |
Correct |
188 ms |
231928 KB |
Output is correct |
133 |
Correct |
450 ms |
237316 KB |
Output is correct |
134 |
Correct |
400 ms |
233848 KB |
Output is correct |
135 |
Correct |
378 ms |
233080 KB |
Output is correct |
136 |
Correct |
345 ms |
232696 KB |
Output is correct |
137 |
Correct |
450 ms |
237432 KB |
Output is correct |
138 |
Correct |
400 ms |
233720 KB |
Output is correct |
139 |
Correct |
377 ms |
233080 KB |
Output is correct |
140 |
Correct |
356 ms |
232696 KB |
Output is correct |
141 |
Correct |
461 ms |
240120 KB |
Output is correct |
142 |
Correct |
441 ms |
238584 KB |
Output is correct |
143 |
Correct |
438 ms |
238328 KB |
Output is correct |
144 |
Correct |
438 ms |
238200 KB |
Output is correct |
145 |
Correct |
463 ms |
242040 KB |
Output is correct |
146 |
Correct |
467 ms |
242040 KB |
Output is correct |
147 |
Correct |
471 ms |
242168 KB |
Output is correct |
148 |
Correct |
476 ms |
242168 KB |
Output is correct |
149 |
Correct |
435 ms |
237432 KB |
Output is correct |
150 |
Correct |
393 ms |
233556 KB |
Output is correct |
151 |
Correct |
378 ms |
232972 KB |
Output is correct |
152 |
Correct |
335 ms |
232696 KB |
Output is correct |
153 |
Correct |
445 ms |
237348 KB |
Output is correct |
154 |
Correct |
400 ms |
233848 KB |
Output is correct |
155 |
Correct |
380 ms |
232824 KB |
Output is correct |
156 |
Correct |
366 ms |
232824 KB |
Output is correct |
157 |
Correct |
457 ms |
240120 KB |
Output is correct |
158 |
Correct |
451 ms |
238828 KB |
Output is correct |
159 |
Correct |
439 ms |
238328 KB |
Output is correct |
160 |
Correct |
449 ms |
238328 KB |
Output is correct |
161 |
Correct |
468 ms |
242040 KB |
Output is correct |
162 |
Correct |
470 ms |
242040 KB |
Output is correct |
163 |
Correct |
470 ms |
242040 KB |
Output is correct |
164 |
Correct |
467 ms |
242072 KB |
Output is correct |
165 |
Correct |
332 ms |
232824 KB |
Output is correct |
166 |
Correct |
340 ms |
232696 KB |
Output is correct |
167 |
Correct |
333 ms |
232816 KB |
Output is correct |
168 |
Correct |
328 ms |
232696 KB |
Output is correct |
169 |
Correct |
364 ms |
232824 KB |
Output is correct |
170 |
Correct |
356 ms |
232824 KB |
Output is correct |
171 |
Correct |
348 ms |
232952 KB |
Output is correct |
172 |
Correct |
339 ms |
232824 KB |
Output is correct |
173 |
Correct |
432 ms |
237560 KB |
Output is correct |
174 |
Correct |
404 ms |
233592 KB |
Output is correct |
175 |
Correct |
369 ms |
232824 KB |
Output is correct |
176 |
Correct |
336 ms |
232696 KB |
Output is correct |
177 |
Correct |
424 ms |
237432 KB |
Output is correct |
178 |
Correct |
388 ms |
233592 KB |
Output is correct |
179 |
Correct |
362 ms |
232824 KB |
Output is correct |
180 |
Correct |
334 ms |
232784 KB |
Output is correct |
181 |
Correct |
352 ms |
237564 KB |
Output is correct |
182 |
Correct |
376 ms |
237584 KB |
Output is correct |
183 |
Correct |
333 ms |
237432 KB |
Output is correct |
184 |
Correct |
362 ms |
237432 KB |
Output is correct |
185 |
Correct |
355 ms |
237432 KB |
Output is correct |
186 |
Correct |
371 ms |
237560 KB |
Output is correct |
187 |
Correct |
343 ms |
237560 KB |
Output is correct |
188 |
Correct |
360 ms |
237560 KB |
Output is correct |
189 |
Correct |
349 ms |
237432 KB |
Output is correct |
190 |
Correct |
376 ms |
237564 KB |
Output is correct |
191 |
Correct |
353 ms |
241912 KB |
Output is correct |
192 |
Correct |
354 ms |
242040 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
941 ms |
271480 KB |
Output is correct |
2 |
Correct |
949 ms |
271480 KB |
Output is correct |
3 |
Correct |
1722 ms |
309368 KB |
Output is correct |
4 |
Correct |
1769 ms |
309624 KB |
Output is correct |
5 |
Correct |
2123 ms |
328356 KB |
Output is correct |
6 |
Correct |
2195 ms |
328392 KB |
Output is correct |
7 |
Correct |
2191 ms |
237432 KB |
Output is correct |
8 |
Correct |
1881 ms |
239480 KB |
Output is correct |
9 |
Correct |
1886 ms |
239224 KB |
Output is correct |
10 |
Correct |
2350 ms |
245660 KB |
Output is correct |
11 |
Correct |
1884 ms |
239480 KB |
Output is correct |
12 |
Correct |
1862 ms |
239436 KB |
Output is correct |
13 |
Correct |
2373 ms |
247160 KB |
Output is correct |
14 |
Correct |
1876 ms |
239608 KB |
Output is correct |
15 |
Correct |
1839 ms |
239080 KB |
Output is correct |
16 |
Correct |
1888 ms |
240416 KB |
Output is correct |
17 |
Correct |
1880 ms |
240548 KB |
Output is correct |
18 |
Correct |
1883 ms |
240344 KB |
Output is correct |
19 |
Correct |
1888 ms |
240252 KB |
Output is correct |
20 |
Correct |
1873 ms |
240520 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
151 ms |
231672 KB |
Output is correct |
2 |
Correct |
153 ms |
231728 KB |
Output is correct |
3 |
Correct |
152 ms |
231672 KB |
Output is correct |
4 |
Correct |
151 ms |
231672 KB |
Output is correct |
5 |
Correct |
153 ms |
231676 KB |
Output is correct |
6 |
Correct |
152 ms |
231672 KB |
Output is correct |
7 |
Correct |
151 ms |
231672 KB |
Output is correct |
8 |
Correct |
150 ms |
231636 KB |
Output is correct |
9 |
Correct |
153 ms |
231884 KB |
Output is correct |
10 |
Correct |
152 ms |
231672 KB |
Output is correct |
11 |
Correct |
151 ms |
231700 KB |
Output is correct |
12 |
Correct |
150 ms |
231672 KB |
Output is correct |
13 |
Correct |
155 ms |
231672 KB |
Output is correct |
14 |
Correct |
154 ms |
231672 KB |
Output is correct |
15 |
Correct |
157 ms |
231800 KB |
Output is correct |
16 |
Correct |
154 ms |
231672 KB |
Output is correct |
17 |
Correct |
152 ms |
231672 KB |
Output is correct |
18 |
Correct |
155 ms |
231672 KB |
Output is correct |
19 |
Correct |
159 ms |
231672 KB |
Output is correct |
20 |
Correct |
153 ms |
231672 KB |
Output is correct |
21 |
Correct |
153 ms |
231672 KB |
Output is correct |
22 |
Correct |
153 ms |
231672 KB |
Output is correct |
23 |
Correct |
153 ms |
231624 KB |
Output is correct |
24 |
Correct |
150 ms |
231672 KB |
Output is correct |
25 |
Correct |
155 ms |
231672 KB |
Output is correct |
26 |
Correct |
156 ms |
231800 KB |
Output is correct |
27 |
Correct |
151 ms |
231672 KB |
Output is correct |
28 |
Correct |
155 ms |
231800 KB |
Output is correct |
29 |
Correct |
152 ms |
231672 KB |
Output is correct |
30 |
Correct |
153 ms |
231672 KB |
Output is correct |
31 |
Correct |
152 ms |
231800 KB |
Output is correct |
32 |
Correct |
156 ms |
231672 KB |
Output is correct |
33 |
Correct |
152 ms |
231672 KB |
Output is correct |
34 |
Correct |
154 ms |
231672 KB |
Output is correct |
35 |
Correct |
150 ms |
231672 KB |
Output is correct |
36 |
Correct |
151 ms |
231620 KB |
Output is correct |
37 |
Correct |
153 ms |
231672 KB |
Output is correct |
38 |
Correct |
152 ms |
231672 KB |
Output is correct |
39 |
Correct |
151 ms |
231672 KB |
Output is correct |
40 |
Correct |
150 ms |
231672 KB |
Output is correct |
41 |
Correct |
159 ms |
231672 KB |
Output is correct |
42 |
Correct |
153 ms |
231672 KB |
Output is correct |
43 |
Correct |
160 ms |
231672 KB |
Output is correct |
44 |
Correct |
150 ms |
231672 KB |
Output is correct |
45 |
Correct |
151 ms |
231676 KB |
Output is correct |
46 |
Correct |
148 ms |
231672 KB |
Output is correct |
47 |
Correct |
150 ms |
231672 KB |
Output is correct |
48 |
Correct |
152 ms |
231672 KB |
Output is correct |
49 |
Correct |
153 ms |
231672 KB |
Output is correct |
50 |
Correct |
150 ms |
231672 KB |
Output is correct |
51 |
Correct |
150 ms |
231672 KB |
Output is correct |
52 |
Correct |
153 ms |
231672 KB |
Output is correct |
53 |
Correct |
153 ms |
231672 KB |
Output is correct |
54 |
Correct |
149 ms |
231800 KB |
Output is correct |
55 |
Correct |
148 ms |
231672 KB |
Output is correct |
56 |
Correct |
148 ms |
231652 KB |
Output is correct |
57 |
Correct |
155 ms |
231672 KB |
Output is correct |
58 |
Correct |
154 ms |
231684 KB |
Output is correct |
59 |
Correct |
153 ms |
231812 KB |
Output is correct |
60 |
Correct |
149 ms |
231704 KB |
Output is correct |
61 |
Correct |
147 ms |
231672 KB |
Output is correct |
62 |
Correct |
149 ms |
231672 KB |
Output is correct |
63 |
Correct |
148 ms |
231672 KB |
Output is correct |
64 |
Correct |
211 ms |
232952 KB |
Output is correct |
65 |
Correct |
204 ms |
232056 KB |
Output is correct |
66 |
Correct |
202 ms |
232016 KB |
Output is correct |
67 |
Correct |
191 ms |
231928 KB |
Output is correct |
68 |
Correct |
210 ms |
233080 KB |
Output is correct |
69 |
Correct |
203 ms |
232260 KB |
Output is correct |
70 |
Correct |
197 ms |
231928 KB |
Output is correct |
71 |
Correct |
200 ms |
231928 KB |
Output is correct |
72 |
Correct |
211 ms |
233720 KB |
Output is correct |
73 |
Correct |
208 ms |
233464 KB |
Output is correct |
74 |
Correct |
210 ms |
233336 KB |
Output is correct |
75 |
Correct |
221 ms |
233208 KB |
Output is correct |
76 |
Correct |
216 ms |
234232 KB |
Output is correct |
77 |
Correct |
217 ms |
234104 KB |
Output is correct |
78 |
Correct |
216 ms |
234104 KB |
Output is correct |
79 |
Correct |
217 ms |
234104 KB |
Output is correct |
80 |
Correct |
209 ms |
232952 KB |
Output is correct |
81 |
Correct |
202 ms |
232060 KB |
Output is correct |
82 |
Correct |
198 ms |
231928 KB |
Output is correct |
83 |
Correct |
192 ms |
231928 KB |
Output is correct |
84 |
Correct |
210 ms |
233080 KB |
Output is correct |
85 |
Correct |
204 ms |
232184 KB |
Output is correct |
86 |
Correct |
200 ms |
231928 KB |
Output is correct |
87 |
Correct |
200 ms |
231928 KB |
Output is correct |
88 |
Correct |
216 ms |
233848 KB |
Output is correct |
89 |
Correct |
211 ms |
233336 KB |
Output is correct |
90 |
Correct |
209 ms |
233208 KB |
Output is correct |
91 |
Correct |
225 ms |
233208 KB |
Output is correct |
92 |
Correct |
221 ms |
234104 KB |
Output is correct |
93 |
Correct |
218 ms |
234104 KB |
Output is correct |
94 |
Correct |
219 ms |
234104 KB |
Output is correct |
95 |
Correct |
214 ms |
234156 KB |
Output is correct |
96 |
Correct |
192 ms |
231928 KB |
Output is correct |
97 |
Correct |
195 ms |
231860 KB |
Output is correct |
98 |
Correct |
193 ms |
231928 KB |
Output is correct |
99 |
Correct |
195 ms |
232056 KB |
Output is correct |
100 |
Correct |
201 ms |
231928 KB |
Output is correct |
101 |
Correct |
196 ms |
231928 KB |
Output is correct |
102 |
Correct |
201 ms |
231928 KB |
Output is correct |
103 |
Correct |
195 ms |
231928 KB |
Output is correct |
104 |
Correct |
213 ms |
232952 KB |
Output is correct |
105 |
Correct |
204 ms |
232056 KB |
Output is correct |
106 |
Correct |
202 ms |
231928 KB |
Output is correct |
107 |
Correct |
193 ms |
231928 KB |
Output is correct |
108 |
Correct |
207 ms |
233004 KB |
Output is correct |
109 |
Correct |
204 ms |
232184 KB |
Output is correct |
110 |
Correct |
200 ms |
231928 KB |
Output is correct |
111 |
Correct |
201 ms |
232056 KB |
Output is correct |
112 |
Correct |
198 ms |
233084 KB |
Output is correct |
113 |
Correct |
199 ms |
233080 KB |
Output is correct |
114 |
Correct |
196 ms |
233080 KB |
Output is correct |
115 |
Correct |
198 ms |
233068 KB |
Output is correct |
116 |
Correct |
193 ms |
232972 KB |
Output is correct |
117 |
Correct |
202 ms |
233208 KB |
Output is correct |
118 |
Correct |
192 ms |
233080 KB |
Output is correct |
119 |
Correct |
196 ms |
232952 KB |
Output is correct |
120 |
Correct |
196 ms |
233040 KB |
Output is correct |
121 |
Correct |
200 ms |
233060 KB |
Output is correct |
122 |
Correct |
200 ms |
234136 KB |
Output is correct |
123 |
Correct |
203 ms |
234108 KB |
Output is correct |
124 |
Correct |
195 ms |
232184 KB |
Output is correct |
125 |
Correct |
190 ms |
231928 KB |
Output is correct |
126 |
Correct |
189 ms |
231924 KB |
Output is correct |
127 |
Correct |
193 ms |
232312 KB |
Output is correct |
128 |
Correct |
189 ms |
231928 KB |
Output is correct |
129 |
Correct |
189 ms |
231928 KB |
Output is correct |
130 |
Correct |
193 ms |
232440 KB |
Output is correct |
131 |
Correct |
189 ms |
231928 KB |
Output is correct |
132 |
Correct |
188 ms |
231928 KB |
Output is correct |
133 |
Correct |
450 ms |
237316 KB |
Output is correct |
134 |
Correct |
400 ms |
233848 KB |
Output is correct |
135 |
Correct |
378 ms |
233080 KB |
Output is correct |
136 |
Correct |
345 ms |
232696 KB |
Output is correct |
137 |
Correct |
450 ms |
237432 KB |
Output is correct |
138 |
Correct |
400 ms |
233720 KB |
Output is correct |
139 |
Correct |
377 ms |
233080 KB |
Output is correct |
140 |
Correct |
356 ms |
232696 KB |
Output is correct |
141 |
Correct |
461 ms |
240120 KB |
Output is correct |
142 |
Correct |
441 ms |
238584 KB |
Output is correct |
143 |
Correct |
438 ms |
238328 KB |
Output is correct |
144 |
Correct |
438 ms |
238200 KB |
Output is correct |
145 |
Correct |
463 ms |
242040 KB |
Output is correct |
146 |
Correct |
467 ms |
242040 KB |
Output is correct |
147 |
Correct |
471 ms |
242168 KB |
Output is correct |
148 |
Correct |
476 ms |
242168 KB |
Output is correct |
149 |
Correct |
435 ms |
237432 KB |
Output is correct |
150 |
Correct |
393 ms |
233556 KB |
Output is correct |
151 |
Correct |
378 ms |
232972 KB |
Output is correct |
152 |
Correct |
335 ms |
232696 KB |
Output is correct |
153 |
Correct |
445 ms |
237348 KB |
Output is correct |
154 |
Correct |
400 ms |
233848 KB |
Output is correct |
155 |
Correct |
380 ms |
232824 KB |
Output is correct |
156 |
Correct |
366 ms |
232824 KB |
Output is correct |
157 |
Correct |
457 ms |
240120 KB |
Output is correct |
158 |
Correct |
451 ms |
238828 KB |
Output is correct |
159 |
Correct |
439 ms |
238328 KB |
Output is correct |
160 |
Correct |
449 ms |
238328 KB |
Output is correct |
161 |
Correct |
468 ms |
242040 KB |
Output is correct |
162 |
Correct |
470 ms |
242040 KB |
Output is correct |
163 |
Correct |
470 ms |
242040 KB |
Output is correct |
164 |
Correct |
467 ms |
242072 KB |
Output is correct |
165 |
Correct |
332 ms |
232824 KB |
Output is correct |
166 |
Correct |
340 ms |
232696 KB |
Output is correct |
167 |
Correct |
333 ms |
232816 KB |
Output is correct |
168 |
Correct |
328 ms |
232696 KB |
Output is correct |
169 |
Correct |
364 ms |
232824 KB |
Output is correct |
170 |
Correct |
356 ms |
232824 KB |
Output is correct |
171 |
Correct |
348 ms |
232952 KB |
Output is correct |
172 |
Correct |
339 ms |
232824 KB |
Output is correct |
173 |
Correct |
432 ms |
237560 KB |
Output is correct |
174 |
Correct |
404 ms |
233592 KB |
Output is correct |
175 |
Correct |
369 ms |
232824 KB |
Output is correct |
176 |
Correct |
336 ms |
232696 KB |
Output is correct |
177 |
Correct |
424 ms |
237432 KB |
Output is correct |
178 |
Correct |
388 ms |
233592 KB |
Output is correct |
179 |
Correct |
362 ms |
232824 KB |
Output is correct |
180 |
Correct |
334 ms |
232784 KB |
Output is correct |
181 |
Correct |
352 ms |
237564 KB |
Output is correct |
182 |
Correct |
376 ms |
237584 KB |
Output is correct |
183 |
Correct |
333 ms |
237432 KB |
Output is correct |
184 |
Correct |
362 ms |
237432 KB |
Output is correct |
185 |
Correct |
355 ms |
237432 KB |
Output is correct |
186 |
Correct |
371 ms |
237560 KB |
Output is correct |
187 |
Correct |
343 ms |
237560 KB |
Output is correct |
188 |
Correct |
360 ms |
237560 KB |
Output is correct |
189 |
Correct |
349 ms |
237432 KB |
Output is correct |
190 |
Correct |
376 ms |
237564 KB |
Output is correct |
191 |
Correct |
353 ms |
241912 KB |
Output is correct |
192 |
Correct |
354 ms |
242040 KB |
Output is correct |
193 |
Correct |
941 ms |
271480 KB |
Output is correct |
194 |
Correct |
949 ms |
271480 KB |
Output is correct |
195 |
Correct |
1722 ms |
309368 KB |
Output is correct |
196 |
Correct |
1769 ms |
309624 KB |
Output is correct |
197 |
Correct |
2123 ms |
328356 KB |
Output is correct |
198 |
Correct |
2195 ms |
328392 KB |
Output is correct |
199 |
Correct |
2191 ms |
237432 KB |
Output is correct |
200 |
Correct |
1881 ms |
239480 KB |
Output is correct |
201 |
Correct |
1886 ms |
239224 KB |
Output is correct |
202 |
Correct |
2350 ms |
245660 KB |
Output is correct |
203 |
Correct |
1884 ms |
239480 KB |
Output is correct |
204 |
Correct |
1862 ms |
239436 KB |
Output is correct |
205 |
Correct |
2373 ms |
247160 KB |
Output is correct |
206 |
Correct |
1876 ms |
239608 KB |
Output is correct |
207 |
Correct |
1839 ms |
239080 KB |
Output is correct |
208 |
Correct |
1888 ms |
240416 KB |
Output is correct |
209 |
Correct |
1880 ms |
240548 KB |
Output is correct |
210 |
Correct |
1883 ms |
240344 KB |
Output is correct |
211 |
Correct |
1888 ms |
240252 KB |
Output is correct |
212 |
Correct |
1873 ms |
240520 KB |
Output is correct |
213 |
Correct |
3911 ms |
288592 KB |
Output is correct |
214 |
Correct |
3401 ms |
251256 KB |
Output is correct |
215 |
Correct |
2740 ms |
243288 KB |
Output is correct |
216 |
Correct |
2198 ms |
242680 KB |
Output is correct |
217 |
Correct |
3908 ms |
288548 KB |
Output is correct |
218 |
Correct |
3434 ms |
251288 KB |
Output is correct |
219 |
Correct |
2741 ms |
243436 KB |
Output is correct |
220 |
Correct |
2304 ms |
242680 KB |
Output is correct |
221 |
Correct |
4042 ms |
316760 KB |
Output is correct |
222 |
Correct |
3987 ms |
301816 KB |
Output is correct |
223 |
Correct |
3938 ms |
298176 KB |
Output is correct |
224 |
Correct |
3899 ms |
297748 KB |
Output is correct |
225 |
Correct |
4141 ms |
335508 KB |
Output is correct |
226 |
Correct |
4186 ms |
335388 KB |
Output is correct |
227 |
Correct |
4266 ms |
335448 KB |
Output is correct |
228 |
Correct |
4190 ms |
335516 KB |
Output is correct |
229 |
Correct |
3977 ms |
288496 KB |
Output is correct |
230 |
Correct |
3466 ms |
250848 KB |
Output is correct |
231 |
Correct |
2704 ms |
243180 KB |
Output is correct |
232 |
Correct |
2196 ms |
242596 KB |
Output is correct |
233 |
Correct |
3959 ms |
288560 KB |
Output is correct |
234 |
Correct |
3464 ms |
250772 KB |
Output is correct |
235 |
Correct |
2747 ms |
243320 KB |
Output is correct |
236 |
Correct |
2293 ms |
242376 KB |
Output is correct |
237 |
Correct |
4027 ms |
316636 KB |
Output is correct |
238 |
Correct |
4001 ms |
301688 KB |
Output is correct |
239 |
Correct |
3955 ms |
298440 KB |
Output is correct |
240 |
Correct |
3936 ms |
297732 KB |
Output is correct |
241 |
Correct |
4110 ms |
335444 KB |
Output is correct |
242 |
Correct |
4129 ms |
335120 KB |
Output is correct |
243 |
Correct |
4111 ms |
335160 KB |
Output is correct |
244 |
Correct |
4116 ms |
335088 KB |
Output is correct |
245 |
Correct |
1994 ms |
242936 KB |
Output is correct |
246 |
Correct |
1990 ms |
242940 KB |
Output is correct |
247 |
Correct |
1982 ms |
242884 KB |
Output is correct |
248 |
Correct |
1993 ms |
242924 KB |
Output is correct |
249 |
Correct |
2271 ms |
242936 KB |
Output is correct |
250 |
Correct |
2294 ms |
242700 KB |
Output is correct |
251 |
Correct |
2263 ms |
242544 KB |
Output is correct |
252 |
Correct |
2096 ms |
242920 KB |
Output is correct |
253 |
Correct |
3799 ms |
288464 KB |
Output is correct |
254 |
Correct |
3256 ms |
251216 KB |
Output is correct |
255 |
Correct |
2797 ms |
243400 KB |
Output is correct |
256 |
Correct |
2260 ms |
242720 KB |
Output is correct |
257 |
Correct |
3940 ms |
288372 KB |
Output is correct |
258 |
Correct |
3428 ms |
251256 KB |
Output is correct |
259 |
Correct |
2852 ms |
243308 KB |
Output is correct |
260 |
Correct |
2227 ms |
242892 KB |
Output is correct |
261 |
Correct |
2585 ms |
289812 KB |
Output is correct |
262 |
Correct |
3179 ms |
289788 KB |
Output is correct |
263 |
Correct |
2055 ms |
288632 KB |
Output is correct |
264 |
Correct |
2662 ms |
288704 KB |
Output is correct |
265 |
Correct |
2588 ms |
289952 KB |
Output is correct |
266 |
Correct |
3186 ms |
289812 KB |
Output is correct |
267 |
Correct |
2045 ms |
288700 KB |
Output is correct |
268 |
Correct |
2633 ms |
288760 KB |
Output is correct |
269 |
Correct |
2162 ms |
334368 KB |
Output is correct |
270 |
Correct |
2267 ms |
334420 KB |
Output is correct |
271 |
Correct |
2388 ms |
243148 KB |
Output is correct |
272 |
Correct |
1994 ms |
239696 KB |
Output is correct |
273 |
Correct |
2544 ms |
246744 KB |
Output is correct |
274 |
Correct |
1982 ms |
239496 KB |
Output is correct |
275 |
Correct |
2029 ms |
287952 KB |
Output is correct |