#include<bits/stdc++.h>
using namespace std;
int a,b,t,tree[4000035],treeL[4000035],treeR[4000035];
multiset <int> stl,str,msl[1000005],msr[1000005];
char ch;
#define tavi begin()
#define bolo rbegin()
void update(int node,int L,int R,int idx,int mxare) {
if(idx<L || R<idx) return;
if(L==R) {
if(mxare) { if(msr[idx].empty()) treeR[node]=1e9; else treeR[node]=*msr[idx].tavi; }
else { if(msl[idx].empty()) treeL[node]=-1e9; else treeL[node]=*msl[idx].bolo; }
tree[node]=treeR[node]-treeL[node];
return;
}
update(2*node,L,(L+R)/2,idx,mxare);
update(2*node+1,(L+R)/2+1,R,idx,mxare);
tree[node]=min(min(tree[2*node],tree[2*node+1]),treeR[2*node+1]-treeL[2*node]);
treeL[node]=max(treeL[2*node],treeL[2*node+1]);
treeR[node]=min(treeR[2*node],treeR[2*node+1]);
}
int main() {
std::ios_base::sync_with_stdio(false),cin.tie(0),cout.tie(0);
for (int i=1;i<=4000020;i++) {
tree[i]=2*1e9; treeL[i]=-1e9; treeR[i]=1e9;
}
cin>>t;
while(t--) {
cin>>ch>>a>>b;
if(ch=='A') {
stl.insert(a);
str.insert(b);
msl[b].insert(a);
msr[a].insert(b);
update(1,1,1e6+5,b,0);
update(1,1,1e6+5,a,1);
}
else {
stl.erase(stl.find(a));
str.erase(str.find(b));
msl[b].erase(a);
msr[a].erase(b);
update(1,1,1e6+5,b,0);
update(1,1,1e6+5,a,1);
}
if(*(stl.bolo)<=*(str.tavi)) cout<<*(msr[*(stl.bolo)].tavi)-*(msl[*(str.tavi)].bolo)<<endl;
else cout<<tree[1]<<endl;
}
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
95 ms |
141304 KB |
Output is correct |
2 |
Correct |
97 ms |
141304 KB |
Output is correct |
3 |
Correct |
95 ms |
141176 KB |
Output is correct |
4 |
Correct |
97 ms |
141176 KB |
Output is correct |
5 |
Correct |
98 ms |
141304 KB |
Output is correct |
6 |
Correct |
97 ms |
141176 KB |
Output is correct |
7 |
Correct |
96 ms |
141176 KB |
Output is correct |
8 |
Correct |
96 ms |
141176 KB |
Output is correct |
9 |
Correct |
97 ms |
141304 KB |
Output is correct |
10 |
Correct |
95 ms |
141300 KB |
Output is correct |
11 |
Correct |
96 ms |
141268 KB |
Output is correct |
12 |
Correct |
96 ms |
141304 KB |
Output is correct |
13 |
Correct |
97 ms |
141304 KB |
Output is correct |
14 |
Correct |
96 ms |
141304 KB |
Output is correct |
15 |
Correct |
97 ms |
141308 KB |
Output is correct |
16 |
Correct |
98 ms |
141304 KB |
Output is correct |
17 |
Correct |
97 ms |
141304 KB |
Output is correct |
18 |
Correct |
95 ms |
141176 KB |
Output is correct |
19 |
Correct |
95 ms |
141176 KB |
Output is correct |
20 |
Correct |
96 ms |
141176 KB |
Output is correct |
21 |
Correct |
97 ms |
141304 KB |
Output is correct |
22 |
Correct |
96 ms |
141264 KB |
Output is correct |
23 |
Correct |
95 ms |
141176 KB |
Output is correct |
24 |
Correct |
94 ms |
141176 KB |
Output is correct |
25 |
Correct |
99 ms |
141304 KB |
Output is correct |
26 |
Correct |
97 ms |
141304 KB |
Output is correct |
27 |
Correct |
99 ms |
141304 KB |
Output is correct |
28 |
Correct |
98 ms |
141304 KB |
Output is correct |
29 |
Correct |
97 ms |
141304 KB |
Output is correct |
30 |
Correct |
97 ms |
141304 KB |
Output is correct |
31 |
Correct |
96 ms |
141432 KB |
Output is correct |
32 |
Correct |
97 ms |
141276 KB |
Output is correct |
33 |
Correct |
95 ms |
141176 KB |
Output is correct |
34 |
Correct |
98 ms |
141176 KB |
Output is correct |
35 |
Correct |
96 ms |
141176 KB |
Output is correct |
36 |
Correct |
95 ms |
141176 KB |
Output is correct |
37 |
Correct |
97 ms |
141176 KB |
Output is correct |
38 |
Correct |
95 ms |
141212 KB |
Output is correct |
39 |
Correct |
98 ms |
141156 KB |
Output is correct |
40 |
Correct |
98 ms |
141176 KB |
Output is correct |
41 |
Correct |
98 ms |
141304 KB |
Output is correct |
42 |
Correct |
96 ms |
141176 KB |
Output is correct |
43 |
Correct |
97 ms |
141304 KB |
Output is correct |
44 |
Correct |
97 ms |
141176 KB |
Output is correct |
45 |
Correct |
95 ms |
141304 KB |
Output is correct |
46 |
Correct |
96 ms |
141176 KB |
Output is correct |
47 |
Correct |
96 ms |
141176 KB |
Output is correct |
48 |
Correct |
95 ms |
141176 KB |
Output is correct |
49 |
Correct |
95 ms |
141436 KB |
Output is correct |
50 |
Correct |
97 ms |
141432 KB |
Output is correct |
51 |
Correct |
96 ms |
141304 KB |
Output is correct |
52 |
Correct |
96 ms |
141316 KB |
Output is correct |
53 |
Correct |
96 ms |
141264 KB |
Output is correct |
54 |
Correct |
96 ms |
141432 KB |
Output is correct |
55 |
Correct |
97 ms |
141304 KB |
Output is correct |
56 |
Correct |
96 ms |
141304 KB |
Output is correct |
57 |
Correct |
96 ms |
141304 KB |
Output is correct |
58 |
Correct |
97 ms |
141304 KB |
Output is correct |
59 |
Correct |
95 ms |
141304 KB |
Output is correct |
60 |
Correct |
96 ms |
141308 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
95 ms |
141304 KB |
Output is correct |
2 |
Correct |
97 ms |
141304 KB |
Output is correct |
3 |
Correct |
95 ms |
141176 KB |
Output is correct |
4 |
Correct |
97 ms |
141176 KB |
Output is correct |
5 |
Correct |
98 ms |
141304 KB |
Output is correct |
6 |
Correct |
97 ms |
141176 KB |
Output is correct |
7 |
Correct |
96 ms |
141176 KB |
Output is correct |
8 |
Correct |
96 ms |
141176 KB |
Output is correct |
9 |
Correct |
97 ms |
141304 KB |
Output is correct |
10 |
Correct |
95 ms |
141300 KB |
Output is correct |
11 |
Correct |
96 ms |
141268 KB |
Output is correct |
12 |
Correct |
96 ms |
141304 KB |
Output is correct |
13 |
Correct |
97 ms |
141304 KB |
Output is correct |
14 |
Correct |
96 ms |
141304 KB |
Output is correct |
15 |
Correct |
97 ms |
141308 KB |
Output is correct |
16 |
Correct |
98 ms |
141304 KB |
Output is correct |
17 |
Correct |
97 ms |
141304 KB |
Output is correct |
18 |
Correct |
95 ms |
141176 KB |
Output is correct |
19 |
Correct |
95 ms |
141176 KB |
Output is correct |
20 |
Correct |
96 ms |
141176 KB |
Output is correct |
21 |
Correct |
97 ms |
141304 KB |
Output is correct |
22 |
Correct |
96 ms |
141264 KB |
Output is correct |
23 |
Correct |
95 ms |
141176 KB |
Output is correct |
24 |
Correct |
94 ms |
141176 KB |
Output is correct |
25 |
Correct |
99 ms |
141304 KB |
Output is correct |
26 |
Correct |
97 ms |
141304 KB |
Output is correct |
27 |
Correct |
99 ms |
141304 KB |
Output is correct |
28 |
Correct |
98 ms |
141304 KB |
Output is correct |
29 |
Correct |
97 ms |
141304 KB |
Output is correct |
30 |
Correct |
97 ms |
141304 KB |
Output is correct |
31 |
Correct |
96 ms |
141432 KB |
Output is correct |
32 |
Correct |
97 ms |
141276 KB |
Output is correct |
33 |
Correct |
95 ms |
141176 KB |
Output is correct |
34 |
Correct |
98 ms |
141176 KB |
Output is correct |
35 |
Correct |
96 ms |
141176 KB |
Output is correct |
36 |
Correct |
95 ms |
141176 KB |
Output is correct |
37 |
Correct |
97 ms |
141176 KB |
Output is correct |
38 |
Correct |
95 ms |
141212 KB |
Output is correct |
39 |
Correct |
98 ms |
141156 KB |
Output is correct |
40 |
Correct |
98 ms |
141176 KB |
Output is correct |
41 |
Correct |
98 ms |
141304 KB |
Output is correct |
42 |
Correct |
96 ms |
141176 KB |
Output is correct |
43 |
Correct |
97 ms |
141304 KB |
Output is correct |
44 |
Correct |
97 ms |
141176 KB |
Output is correct |
45 |
Correct |
95 ms |
141304 KB |
Output is correct |
46 |
Correct |
96 ms |
141176 KB |
Output is correct |
47 |
Correct |
96 ms |
141176 KB |
Output is correct |
48 |
Correct |
95 ms |
141176 KB |
Output is correct |
49 |
Correct |
95 ms |
141436 KB |
Output is correct |
50 |
Correct |
97 ms |
141432 KB |
Output is correct |
51 |
Correct |
96 ms |
141304 KB |
Output is correct |
52 |
Correct |
96 ms |
141316 KB |
Output is correct |
53 |
Correct |
96 ms |
141264 KB |
Output is correct |
54 |
Correct |
96 ms |
141432 KB |
Output is correct |
55 |
Correct |
97 ms |
141304 KB |
Output is correct |
56 |
Correct |
96 ms |
141304 KB |
Output is correct |
57 |
Correct |
96 ms |
141304 KB |
Output is correct |
58 |
Correct |
97 ms |
141304 KB |
Output is correct |
59 |
Correct |
95 ms |
141304 KB |
Output is correct |
60 |
Correct |
96 ms |
141308 KB |
Output is correct |
61 |
Correct |
94 ms |
141172 KB |
Output is correct |
62 |
Correct |
96 ms |
141304 KB |
Output is correct |
63 |
Correct |
93 ms |
141176 KB |
Output is correct |
64 |
Correct |
160 ms |
142460 KB |
Output is correct |
65 |
Correct |
155 ms |
141560 KB |
Output is correct |
66 |
Correct |
155 ms |
141432 KB |
Output is correct |
67 |
Correct |
144 ms |
141304 KB |
Output is correct |
68 |
Correct |
160 ms |
142436 KB |
Output is correct |
69 |
Correct |
152 ms |
141580 KB |
Output is correct |
70 |
Correct |
148 ms |
141308 KB |
Output is correct |
71 |
Correct |
145 ms |
141432 KB |
Output is correct |
72 |
Correct |
164 ms |
143172 KB |
Output is correct |
73 |
Correct |
162 ms |
142712 KB |
Output is correct |
74 |
Correct |
158 ms |
142724 KB |
Output is correct |
75 |
Correct |
157 ms |
142584 KB |
Output is correct |
76 |
Correct |
164 ms |
143480 KB |
Output is correct |
77 |
Correct |
165 ms |
143480 KB |
Output is correct |
78 |
Correct |
166 ms |
143480 KB |
Output is correct |
79 |
Correct |
167 ms |
143608 KB |
Output is correct |
80 |
Correct |
162 ms |
142456 KB |
Output is correct |
81 |
Correct |
156 ms |
141560 KB |
Output is correct |
82 |
Correct |
150 ms |
141304 KB |
Output is correct |
83 |
Correct |
142 ms |
141328 KB |
Output is correct |
84 |
Correct |
164 ms |
142456 KB |
Output is correct |
85 |
Correct |
156 ms |
141564 KB |
Output is correct |
86 |
Correct |
151 ms |
141500 KB |
Output is correct |
87 |
Correct |
147 ms |
141432 KB |
Output is correct |
88 |
Correct |
165 ms |
143096 KB |
Output is correct |
89 |
Correct |
164 ms |
142652 KB |
Output is correct |
90 |
Correct |
159 ms |
142588 KB |
Output is correct |
91 |
Correct |
163 ms |
142712 KB |
Output is correct |
92 |
Correct |
167 ms |
143608 KB |
Output is correct |
93 |
Correct |
167 ms |
143480 KB |
Output is correct |
94 |
Correct |
166 ms |
143480 KB |
Output is correct |
95 |
Correct |
166 ms |
143608 KB |
Output is correct |
96 |
Correct |
144 ms |
141304 KB |
Output is correct |
97 |
Correct |
144 ms |
141304 KB |
Output is correct |
98 |
Correct |
145 ms |
141304 KB |
Output is correct |
99 |
Correct |
153 ms |
141304 KB |
Output is correct |
100 |
Correct |
148 ms |
141304 KB |
Output is correct |
101 |
Correct |
146 ms |
141432 KB |
Output is correct |
102 |
Correct |
147 ms |
141304 KB |
Output is correct |
103 |
Correct |
144 ms |
141440 KB |
Output is correct |
104 |
Correct |
159 ms |
142456 KB |
Output is correct |
105 |
Correct |
152 ms |
141560 KB |
Output is correct |
106 |
Correct |
147 ms |
141432 KB |
Output is correct |
107 |
Correct |
143 ms |
141332 KB |
Output is correct |
108 |
Correct |
161 ms |
142456 KB |
Output is correct |
109 |
Correct |
150 ms |
141560 KB |
Output is correct |
110 |
Correct |
147 ms |
141304 KB |
Output is correct |
111 |
Correct |
147 ms |
141304 KB |
Output is correct |
112 |
Correct |
142 ms |
142432 KB |
Output is correct |
113 |
Correct |
148 ms |
142456 KB |
Output is correct |
114 |
Correct |
142 ms |
142372 KB |
Output is correct |
115 |
Correct |
143 ms |
142456 KB |
Output is correct |
116 |
Correct |
143 ms |
142368 KB |
Output is correct |
117 |
Correct |
147 ms |
142536 KB |
Output is correct |
118 |
Correct |
140 ms |
142456 KB |
Output is correct |
119 |
Correct |
143 ms |
142456 KB |
Output is correct |
120 |
Correct |
142 ms |
142456 KB |
Output is correct |
121 |
Correct |
145 ms |
142584 KB |
Output is correct |
122 |
Correct |
145 ms |
143480 KB |
Output is correct |
123 |
Correct |
145 ms |
143608 KB |
Output is correct |
124 |
Correct |
142 ms |
141560 KB |
Output is correct |
125 |
Correct |
136 ms |
141432 KB |
Output is correct |
126 |
Correct |
135 ms |
141304 KB |
Output is correct |
127 |
Correct |
139 ms |
141816 KB |
Output is correct |
128 |
Correct |
136 ms |
141432 KB |
Output is correct |
129 |
Correct |
137 ms |
141432 KB |
Output is correct |
130 |
Correct |
141 ms |
141816 KB |
Output is correct |
131 |
Correct |
135 ms |
141432 KB |
Output is correct |
132 |
Correct |
135 ms |
141304 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
95 ms |
141304 KB |
Output is correct |
2 |
Correct |
97 ms |
141304 KB |
Output is correct |
3 |
Correct |
95 ms |
141176 KB |
Output is correct |
4 |
Correct |
97 ms |
141176 KB |
Output is correct |
5 |
Correct |
98 ms |
141304 KB |
Output is correct |
6 |
Correct |
97 ms |
141176 KB |
Output is correct |
7 |
Correct |
96 ms |
141176 KB |
Output is correct |
8 |
Correct |
96 ms |
141176 KB |
Output is correct |
9 |
Correct |
97 ms |
141304 KB |
Output is correct |
10 |
Correct |
95 ms |
141300 KB |
Output is correct |
11 |
Correct |
96 ms |
141268 KB |
Output is correct |
12 |
Correct |
96 ms |
141304 KB |
Output is correct |
13 |
Correct |
97 ms |
141304 KB |
Output is correct |
14 |
Correct |
96 ms |
141304 KB |
Output is correct |
15 |
Correct |
97 ms |
141308 KB |
Output is correct |
16 |
Correct |
98 ms |
141304 KB |
Output is correct |
17 |
Correct |
97 ms |
141304 KB |
Output is correct |
18 |
Correct |
95 ms |
141176 KB |
Output is correct |
19 |
Correct |
95 ms |
141176 KB |
Output is correct |
20 |
Correct |
96 ms |
141176 KB |
Output is correct |
21 |
Correct |
97 ms |
141304 KB |
Output is correct |
22 |
Correct |
96 ms |
141264 KB |
Output is correct |
23 |
Correct |
95 ms |
141176 KB |
Output is correct |
24 |
Correct |
94 ms |
141176 KB |
Output is correct |
25 |
Correct |
99 ms |
141304 KB |
Output is correct |
26 |
Correct |
97 ms |
141304 KB |
Output is correct |
27 |
Correct |
99 ms |
141304 KB |
Output is correct |
28 |
Correct |
98 ms |
141304 KB |
Output is correct |
29 |
Correct |
97 ms |
141304 KB |
Output is correct |
30 |
Correct |
97 ms |
141304 KB |
Output is correct |
31 |
Correct |
96 ms |
141432 KB |
Output is correct |
32 |
Correct |
97 ms |
141276 KB |
Output is correct |
33 |
Correct |
95 ms |
141176 KB |
Output is correct |
34 |
Correct |
98 ms |
141176 KB |
Output is correct |
35 |
Correct |
96 ms |
141176 KB |
Output is correct |
36 |
Correct |
95 ms |
141176 KB |
Output is correct |
37 |
Correct |
97 ms |
141176 KB |
Output is correct |
38 |
Correct |
95 ms |
141212 KB |
Output is correct |
39 |
Correct |
98 ms |
141156 KB |
Output is correct |
40 |
Correct |
98 ms |
141176 KB |
Output is correct |
41 |
Correct |
98 ms |
141304 KB |
Output is correct |
42 |
Correct |
96 ms |
141176 KB |
Output is correct |
43 |
Correct |
97 ms |
141304 KB |
Output is correct |
44 |
Correct |
97 ms |
141176 KB |
Output is correct |
45 |
Correct |
95 ms |
141304 KB |
Output is correct |
46 |
Correct |
96 ms |
141176 KB |
Output is correct |
47 |
Correct |
96 ms |
141176 KB |
Output is correct |
48 |
Correct |
95 ms |
141176 KB |
Output is correct |
49 |
Correct |
95 ms |
141436 KB |
Output is correct |
50 |
Correct |
97 ms |
141432 KB |
Output is correct |
51 |
Correct |
96 ms |
141304 KB |
Output is correct |
52 |
Correct |
96 ms |
141316 KB |
Output is correct |
53 |
Correct |
96 ms |
141264 KB |
Output is correct |
54 |
Correct |
96 ms |
141432 KB |
Output is correct |
55 |
Correct |
97 ms |
141304 KB |
Output is correct |
56 |
Correct |
96 ms |
141304 KB |
Output is correct |
57 |
Correct |
96 ms |
141304 KB |
Output is correct |
58 |
Correct |
97 ms |
141304 KB |
Output is correct |
59 |
Correct |
95 ms |
141304 KB |
Output is correct |
60 |
Correct |
96 ms |
141308 KB |
Output is correct |
61 |
Correct |
94 ms |
141172 KB |
Output is correct |
62 |
Correct |
96 ms |
141304 KB |
Output is correct |
63 |
Correct |
93 ms |
141176 KB |
Output is correct |
64 |
Correct |
160 ms |
142460 KB |
Output is correct |
65 |
Correct |
155 ms |
141560 KB |
Output is correct |
66 |
Correct |
155 ms |
141432 KB |
Output is correct |
67 |
Correct |
144 ms |
141304 KB |
Output is correct |
68 |
Correct |
160 ms |
142436 KB |
Output is correct |
69 |
Correct |
152 ms |
141580 KB |
Output is correct |
70 |
Correct |
148 ms |
141308 KB |
Output is correct |
71 |
Correct |
145 ms |
141432 KB |
Output is correct |
72 |
Correct |
164 ms |
143172 KB |
Output is correct |
73 |
Correct |
162 ms |
142712 KB |
Output is correct |
74 |
Correct |
158 ms |
142724 KB |
Output is correct |
75 |
Correct |
157 ms |
142584 KB |
Output is correct |
76 |
Correct |
164 ms |
143480 KB |
Output is correct |
77 |
Correct |
165 ms |
143480 KB |
Output is correct |
78 |
Correct |
166 ms |
143480 KB |
Output is correct |
79 |
Correct |
167 ms |
143608 KB |
Output is correct |
80 |
Correct |
162 ms |
142456 KB |
Output is correct |
81 |
Correct |
156 ms |
141560 KB |
Output is correct |
82 |
Correct |
150 ms |
141304 KB |
Output is correct |
83 |
Correct |
142 ms |
141328 KB |
Output is correct |
84 |
Correct |
164 ms |
142456 KB |
Output is correct |
85 |
Correct |
156 ms |
141564 KB |
Output is correct |
86 |
Correct |
151 ms |
141500 KB |
Output is correct |
87 |
Correct |
147 ms |
141432 KB |
Output is correct |
88 |
Correct |
165 ms |
143096 KB |
Output is correct |
89 |
Correct |
164 ms |
142652 KB |
Output is correct |
90 |
Correct |
159 ms |
142588 KB |
Output is correct |
91 |
Correct |
163 ms |
142712 KB |
Output is correct |
92 |
Correct |
167 ms |
143608 KB |
Output is correct |
93 |
Correct |
167 ms |
143480 KB |
Output is correct |
94 |
Correct |
166 ms |
143480 KB |
Output is correct |
95 |
Correct |
166 ms |
143608 KB |
Output is correct |
96 |
Correct |
144 ms |
141304 KB |
Output is correct |
97 |
Correct |
144 ms |
141304 KB |
Output is correct |
98 |
Correct |
145 ms |
141304 KB |
Output is correct |
99 |
Correct |
153 ms |
141304 KB |
Output is correct |
100 |
Correct |
148 ms |
141304 KB |
Output is correct |
101 |
Correct |
146 ms |
141432 KB |
Output is correct |
102 |
Correct |
147 ms |
141304 KB |
Output is correct |
103 |
Correct |
144 ms |
141440 KB |
Output is correct |
104 |
Correct |
159 ms |
142456 KB |
Output is correct |
105 |
Correct |
152 ms |
141560 KB |
Output is correct |
106 |
Correct |
147 ms |
141432 KB |
Output is correct |
107 |
Correct |
143 ms |
141332 KB |
Output is correct |
108 |
Correct |
161 ms |
142456 KB |
Output is correct |
109 |
Correct |
150 ms |
141560 KB |
Output is correct |
110 |
Correct |
147 ms |
141304 KB |
Output is correct |
111 |
Correct |
147 ms |
141304 KB |
Output is correct |
112 |
Correct |
142 ms |
142432 KB |
Output is correct |
113 |
Correct |
148 ms |
142456 KB |
Output is correct |
114 |
Correct |
142 ms |
142372 KB |
Output is correct |
115 |
Correct |
143 ms |
142456 KB |
Output is correct |
116 |
Correct |
143 ms |
142368 KB |
Output is correct |
117 |
Correct |
147 ms |
142536 KB |
Output is correct |
118 |
Correct |
140 ms |
142456 KB |
Output is correct |
119 |
Correct |
143 ms |
142456 KB |
Output is correct |
120 |
Correct |
142 ms |
142456 KB |
Output is correct |
121 |
Correct |
145 ms |
142584 KB |
Output is correct |
122 |
Correct |
145 ms |
143480 KB |
Output is correct |
123 |
Correct |
145 ms |
143608 KB |
Output is correct |
124 |
Correct |
142 ms |
141560 KB |
Output is correct |
125 |
Correct |
136 ms |
141432 KB |
Output is correct |
126 |
Correct |
135 ms |
141304 KB |
Output is correct |
127 |
Correct |
139 ms |
141816 KB |
Output is correct |
128 |
Correct |
136 ms |
141432 KB |
Output is correct |
129 |
Correct |
137 ms |
141432 KB |
Output is correct |
130 |
Correct |
141 ms |
141816 KB |
Output is correct |
131 |
Correct |
135 ms |
141432 KB |
Output is correct |
132 |
Correct |
135 ms |
141304 KB |
Output is correct |
133 |
Correct |
411 ms |
146168 KB |
Output is correct |
134 |
Correct |
360 ms |
142456 KB |
Output is correct |
135 |
Correct |
337 ms |
141688 KB |
Output is correct |
136 |
Correct |
307 ms |
141688 KB |
Output is correct |
137 |
Correct |
414 ms |
146168 KB |
Output is correct |
138 |
Correct |
365 ms |
142456 KB |
Output is correct |
139 |
Correct |
334 ms |
141688 KB |
Output is correct |
140 |
Correct |
337 ms |
141560 KB |
Output is correct |
141 |
Correct |
426 ms |
149120 KB |
Output is correct |
142 |
Correct |
424 ms |
147576 KB |
Output is correct |
143 |
Correct |
409 ms |
147192 KB |
Output is correct |
144 |
Correct |
408 ms |
147068 KB |
Output is correct |
145 |
Correct |
432 ms |
150904 KB |
Output is correct |
146 |
Correct |
442 ms |
150904 KB |
Output is correct |
147 |
Correct |
437 ms |
150928 KB |
Output is correct |
148 |
Correct |
432 ms |
150904 KB |
Output is correct |
149 |
Correct |
415 ms |
146168 KB |
Output is correct |
150 |
Correct |
357 ms |
142456 KB |
Output is correct |
151 |
Correct |
347 ms |
141776 KB |
Output is correct |
152 |
Correct |
300 ms |
141688 KB |
Output is correct |
153 |
Correct |
417 ms |
146332 KB |
Output is correct |
154 |
Correct |
361 ms |
142584 KB |
Output is correct |
155 |
Correct |
342 ms |
141688 KB |
Output is correct |
156 |
Correct |
318 ms |
141564 KB |
Output is correct |
157 |
Correct |
417 ms |
148984 KB |
Output is correct |
158 |
Correct |
410 ms |
147508 KB |
Output is correct |
159 |
Correct |
409 ms |
147192 KB |
Output is correct |
160 |
Correct |
404 ms |
147064 KB |
Output is correct |
161 |
Correct |
431 ms |
150776 KB |
Output is correct |
162 |
Correct |
425 ms |
150844 KB |
Output is correct |
163 |
Correct |
433 ms |
150904 KB |
Output is correct |
164 |
Correct |
450 ms |
150904 KB |
Output is correct |
165 |
Correct |
299 ms |
141636 KB |
Output is correct |
166 |
Correct |
298 ms |
141688 KB |
Output is correct |
167 |
Correct |
296 ms |
141688 KB |
Output is correct |
168 |
Correct |
298 ms |
141560 KB |
Output is correct |
169 |
Correct |
328 ms |
141688 KB |
Output is correct |
170 |
Correct |
317 ms |
141688 KB |
Output is correct |
171 |
Correct |
312 ms |
141560 KB |
Output is correct |
172 |
Correct |
301 ms |
141588 KB |
Output is correct |
173 |
Correct |
409 ms |
146320 KB |
Output is correct |
174 |
Correct |
362 ms |
142456 KB |
Output is correct |
175 |
Correct |
333 ms |
141688 KB |
Output is correct |
176 |
Correct |
299 ms |
141688 KB |
Output is correct |
177 |
Correct |
390 ms |
146296 KB |
Output is correct |
178 |
Correct |
356 ms |
142712 KB |
Output is correct |
179 |
Correct |
330 ms |
141688 KB |
Output is correct |
180 |
Correct |
302 ms |
141688 KB |
Output is correct |
181 |
Correct |
308 ms |
146428 KB |
Output is correct |
182 |
Correct |
335 ms |
146208 KB |
Output is correct |
183 |
Correct |
293 ms |
146296 KB |
Output is correct |
184 |
Correct |
323 ms |
146296 KB |
Output is correct |
185 |
Correct |
307 ms |
146296 KB |
Output is correct |
186 |
Correct |
332 ms |
146296 KB |
Output is correct |
187 |
Correct |
299 ms |
146296 KB |
Output is correct |
188 |
Correct |
328 ms |
146296 KB |
Output is correct |
189 |
Correct |
313 ms |
146296 KB |
Output is correct |
190 |
Correct |
343 ms |
146296 KB |
Output is correct |
191 |
Correct |
305 ms |
150776 KB |
Output is correct |
192 |
Correct |
320 ms |
150776 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
933 ms |
179320 KB |
Output is correct |
2 |
Correct |
938 ms |
179592 KB |
Output is correct |
3 |
Correct |
1762 ms |
217336 KB |
Output is correct |
4 |
Correct |
1787 ms |
217208 KB |
Output is correct |
5 |
Correct |
2187 ms |
236672 KB |
Output is correct |
6 |
Correct |
2208 ms |
236348 KB |
Output is correct |
7 |
Correct |
2293 ms |
145328 KB |
Output is correct |
8 |
Correct |
2023 ms |
143352 KB |
Output is correct |
9 |
Correct |
1970 ms |
143252 KB |
Output is correct |
10 |
Correct |
2478 ms |
148512 KB |
Output is correct |
11 |
Correct |
2000 ms |
143224 KB |
Output is correct |
12 |
Correct |
1980 ms |
143220 KB |
Output is correct |
13 |
Correct |
2512 ms |
149956 KB |
Output is correct |
14 |
Correct |
2013 ms |
143352 KB |
Output is correct |
15 |
Correct |
1968 ms |
143224 KB |
Output is correct |
16 |
Correct |
1977 ms |
143436 KB |
Output is correct |
17 |
Correct |
1979 ms |
143352 KB |
Output is correct |
18 |
Correct |
1954 ms |
143400 KB |
Output is correct |
19 |
Correct |
1984 ms |
143352 KB |
Output is correct |
20 |
Correct |
1968 ms |
143224 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
95 ms |
141304 KB |
Output is correct |
2 |
Correct |
97 ms |
141304 KB |
Output is correct |
3 |
Correct |
95 ms |
141176 KB |
Output is correct |
4 |
Correct |
97 ms |
141176 KB |
Output is correct |
5 |
Correct |
98 ms |
141304 KB |
Output is correct |
6 |
Correct |
97 ms |
141176 KB |
Output is correct |
7 |
Correct |
96 ms |
141176 KB |
Output is correct |
8 |
Correct |
96 ms |
141176 KB |
Output is correct |
9 |
Correct |
97 ms |
141304 KB |
Output is correct |
10 |
Correct |
95 ms |
141300 KB |
Output is correct |
11 |
Correct |
96 ms |
141268 KB |
Output is correct |
12 |
Correct |
96 ms |
141304 KB |
Output is correct |
13 |
Correct |
97 ms |
141304 KB |
Output is correct |
14 |
Correct |
96 ms |
141304 KB |
Output is correct |
15 |
Correct |
97 ms |
141308 KB |
Output is correct |
16 |
Correct |
98 ms |
141304 KB |
Output is correct |
17 |
Correct |
97 ms |
141304 KB |
Output is correct |
18 |
Correct |
95 ms |
141176 KB |
Output is correct |
19 |
Correct |
95 ms |
141176 KB |
Output is correct |
20 |
Correct |
96 ms |
141176 KB |
Output is correct |
21 |
Correct |
97 ms |
141304 KB |
Output is correct |
22 |
Correct |
96 ms |
141264 KB |
Output is correct |
23 |
Correct |
95 ms |
141176 KB |
Output is correct |
24 |
Correct |
94 ms |
141176 KB |
Output is correct |
25 |
Correct |
99 ms |
141304 KB |
Output is correct |
26 |
Correct |
97 ms |
141304 KB |
Output is correct |
27 |
Correct |
99 ms |
141304 KB |
Output is correct |
28 |
Correct |
98 ms |
141304 KB |
Output is correct |
29 |
Correct |
97 ms |
141304 KB |
Output is correct |
30 |
Correct |
97 ms |
141304 KB |
Output is correct |
31 |
Correct |
96 ms |
141432 KB |
Output is correct |
32 |
Correct |
97 ms |
141276 KB |
Output is correct |
33 |
Correct |
95 ms |
141176 KB |
Output is correct |
34 |
Correct |
98 ms |
141176 KB |
Output is correct |
35 |
Correct |
96 ms |
141176 KB |
Output is correct |
36 |
Correct |
95 ms |
141176 KB |
Output is correct |
37 |
Correct |
97 ms |
141176 KB |
Output is correct |
38 |
Correct |
95 ms |
141212 KB |
Output is correct |
39 |
Correct |
98 ms |
141156 KB |
Output is correct |
40 |
Correct |
98 ms |
141176 KB |
Output is correct |
41 |
Correct |
98 ms |
141304 KB |
Output is correct |
42 |
Correct |
96 ms |
141176 KB |
Output is correct |
43 |
Correct |
97 ms |
141304 KB |
Output is correct |
44 |
Correct |
97 ms |
141176 KB |
Output is correct |
45 |
Correct |
95 ms |
141304 KB |
Output is correct |
46 |
Correct |
96 ms |
141176 KB |
Output is correct |
47 |
Correct |
96 ms |
141176 KB |
Output is correct |
48 |
Correct |
95 ms |
141176 KB |
Output is correct |
49 |
Correct |
95 ms |
141436 KB |
Output is correct |
50 |
Correct |
97 ms |
141432 KB |
Output is correct |
51 |
Correct |
96 ms |
141304 KB |
Output is correct |
52 |
Correct |
96 ms |
141316 KB |
Output is correct |
53 |
Correct |
96 ms |
141264 KB |
Output is correct |
54 |
Correct |
96 ms |
141432 KB |
Output is correct |
55 |
Correct |
97 ms |
141304 KB |
Output is correct |
56 |
Correct |
96 ms |
141304 KB |
Output is correct |
57 |
Correct |
96 ms |
141304 KB |
Output is correct |
58 |
Correct |
97 ms |
141304 KB |
Output is correct |
59 |
Correct |
95 ms |
141304 KB |
Output is correct |
60 |
Correct |
96 ms |
141308 KB |
Output is correct |
61 |
Correct |
94 ms |
141172 KB |
Output is correct |
62 |
Correct |
96 ms |
141304 KB |
Output is correct |
63 |
Correct |
93 ms |
141176 KB |
Output is correct |
64 |
Correct |
160 ms |
142460 KB |
Output is correct |
65 |
Correct |
155 ms |
141560 KB |
Output is correct |
66 |
Correct |
155 ms |
141432 KB |
Output is correct |
67 |
Correct |
144 ms |
141304 KB |
Output is correct |
68 |
Correct |
160 ms |
142436 KB |
Output is correct |
69 |
Correct |
152 ms |
141580 KB |
Output is correct |
70 |
Correct |
148 ms |
141308 KB |
Output is correct |
71 |
Correct |
145 ms |
141432 KB |
Output is correct |
72 |
Correct |
164 ms |
143172 KB |
Output is correct |
73 |
Correct |
162 ms |
142712 KB |
Output is correct |
74 |
Correct |
158 ms |
142724 KB |
Output is correct |
75 |
Correct |
157 ms |
142584 KB |
Output is correct |
76 |
Correct |
164 ms |
143480 KB |
Output is correct |
77 |
Correct |
165 ms |
143480 KB |
Output is correct |
78 |
Correct |
166 ms |
143480 KB |
Output is correct |
79 |
Correct |
167 ms |
143608 KB |
Output is correct |
80 |
Correct |
162 ms |
142456 KB |
Output is correct |
81 |
Correct |
156 ms |
141560 KB |
Output is correct |
82 |
Correct |
150 ms |
141304 KB |
Output is correct |
83 |
Correct |
142 ms |
141328 KB |
Output is correct |
84 |
Correct |
164 ms |
142456 KB |
Output is correct |
85 |
Correct |
156 ms |
141564 KB |
Output is correct |
86 |
Correct |
151 ms |
141500 KB |
Output is correct |
87 |
Correct |
147 ms |
141432 KB |
Output is correct |
88 |
Correct |
165 ms |
143096 KB |
Output is correct |
89 |
Correct |
164 ms |
142652 KB |
Output is correct |
90 |
Correct |
159 ms |
142588 KB |
Output is correct |
91 |
Correct |
163 ms |
142712 KB |
Output is correct |
92 |
Correct |
167 ms |
143608 KB |
Output is correct |
93 |
Correct |
167 ms |
143480 KB |
Output is correct |
94 |
Correct |
166 ms |
143480 KB |
Output is correct |
95 |
Correct |
166 ms |
143608 KB |
Output is correct |
96 |
Correct |
144 ms |
141304 KB |
Output is correct |
97 |
Correct |
144 ms |
141304 KB |
Output is correct |
98 |
Correct |
145 ms |
141304 KB |
Output is correct |
99 |
Correct |
153 ms |
141304 KB |
Output is correct |
100 |
Correct |
148 ms |
141304 KB |
Output is correct |
101 |
Correct |
146 ms |
141432 KB |
Output is correct |
102 |
Correct |
147 ms |
141304 KB |
Output is correct |
103 |
Correct |
144 ms |
141440 KB |
Output is correct |
104 |
Correct |
159 ms |
142456 KB |
Output is correct |
105 |
Correct |
152 ms |
141560 KB |
Output is correct |
106 |
Correct |
147 ms |
141432 KB |
Output is correct |
107 |
Correct |
143 ms |
141332 KB |
Output is correct |
108 |
Correct |
161 ms |
142456 KB |
Output is correct |
109 |
Correct |
150 ms |
141560 KB |
Output is correct |
110 |
Correct |
147 ms |
141304 KB |
Output is correct |
111 |
Correct |
147 ms |
141304 KB |
Output is correct |
112 |
Correct |
142 ms |
142432 KB |
Output is correct |
113 |
Correct |
148 ms |
142456 KB |
Output is correct |
114 |
Correct |
142 ms |
142372 KB |
Output is correct |
115 |
Correct |
143 ms |
142456 KB |
Output is correct |
116 |
Correct |
143 ms |
142368 KB |
Output is correct |
117 |
Correct |
147 ms |
142536 KB |
Output is correct |
118 |
Correct |
140 ms |
142456 KB |
Output is correct |
119 |
Correct |
143 ms |
142456 KB |
Output is correct |
120 |
Correct |
142 ms |
142456 KB |
Output is correct |
121 |
Correct |
145 ms |
142584 KB |
Output is correct |
122 |
Correct |
145 ms |
143480 KB |
Output is correct |
123 |
Correct |
145 ms |
143608 KB |
Output is correct |
124 |
Correct |
142 ms |
141560 KB |
Output is correct |
125 |
Correct |
136 ms |
141432 KB |
Output is correct |
126 |
Correct |
135 ms |
141304 KB |
Output is correct |
127 |
Correct |
139 ms |
141816 KB |
Output is correct |
128 |
Correct |
136 ms |
141432 KB |
Output is correct |
129 |
Correct |
137 ms |
141432 KB |
Output is correct |
130 |
Correct |
141 ms |
141816 KB |
Output is correct |
131 |
Correct |
135 ms |
141432 KB |
Output is correct |
132 |
Correct |
135 ms |
141304 KB |
Output is correct |
133 |
Correct |
411 ms |
146168 KB |
Output is correct |
134 |
Correct |
360 ms |
142456 KB |
Output is correct |
135 |
Correct |
337 ms |
141688 KB |
Output is correct |
136 |
Correct |
307 ms |
141688 KB |
Output is correct |
137 |
Correct |
414 ms |
146168 KB |
Output is correct |
138 |
Correct |
365 ms |
142456 KB |
Output is correct |
139 |
Correct |
334 ms |
141688 KB |
Output is correct |
140 |
Correct |
337 ms |
141560 KB |
Output is correct |
141 |
Correct |
426 ms |
149120 KB |
Output is correct |
142 |
Correct |
424 ms |
147576 KB |
Output is correct |
143 |
Correct |
409 ms |
147192 KB |
Output is correct |
144 |
Correct |
408 ms |
147068 KB |
Output is correct |
145 |
Correct |
432 ms |
150904 KB |
Output is correct |
146 |
Correct |
442 ms |
150904 KB |
Output is correct |
147 |
Correct |
437 ms |
150928 KB |
Output is correct |
148 |
Correct |
432 ms |
150904 KB |
Output is correct |
149 |
Correct |
415 ms |
146168 KB |
Output is correct |
150 |
Correct |
357 ms |
142456 KB |
Output is correct |
151 |
Correct |
347 ms |
141776 KB |
Output is correct |
152 |
Correct |
300 ms |
141688 KB |
Output is correct |
153 |
Correct |
417 ms |
146332 KB |
Output is correct |
154 |
Correct |
361 ms |
142584 KB |
Output is correct |
155 |
Correct |
342 ms |
141688 KB |
Output is correct |
156 |
Correct |
318 ms |
141564 KB |
Output is correct |
157 |
Correct |
417 ms |
148984 KB |
Output is correct |
158 |
Correct |
410 ms |
147508 KB |
Output is correct |
159 |
Correct |
409 ms |
147192 KB |
Output is correct |
160 |
Correct |
404 ms |
147064 KB |
Output is correct |
161 |
Correct |
431 ms |
150776 KB |
Output is correct |
162 |
Correct |
425 ms |
150844 KB |
Output is correct |
163 |
Correct |
433 ms |
150904 KB |
Output is correct |
164 |
Correct |
450 ms |
150904 KB |
Output is correct |
165 |
Correct |
299 ms |
141636 KB |
Output is correct |
166 |
Correct |
298 ms |
141688 KB |
Output is correct |
167 |
Correct |
296 ms |
141688 KB |
Output is correct |
168 |
Correct |
298 ms |
141560 KB |
Output is correct |
169 |
Correct |
328 ms |
141688 KB |
Output is correct |
170 |
Correct |
317 ms |
141688 KB |
Output is correct |
171 |
Correct |
312 ms |
141560 KB |
Output is correct |
172 |
Correct |
301 ms |
141588 KB |
Output is correct |
173 |
Correct |
409 ms |
146320 KB |
Output is correct |
174 |
Correct |
362 ms |
142456 KB |
Output is correct |
175 |
Correct |
333 ms |
141688 KB |
Output is correct |
176 |
Correct |
299 ms |
141688 KB |
Output is correct |
177 |
Correct |
390 ms |
146296 KB |
Output is correct |
178 |
Correct |
356 ms |
142712 KB |
Output is correct |
179 |
Correct |
330 ms |
141688 KB |
Output is correct |
180 |
Correct |
302 ms |
141688 KB |
Output is correct |
181 |
Correct |
308 ms |
146428 KB |
Output is correct |
182 |
Correct |
335 ms |
146208 KB |
Output is correct |
183 |
Correct |
293 ms |
146296 KB |
Output is correct |
184 |
Correct |
323 ms |
146296 KB |
Output is correct |
185 |
Correct |
307 ms |
146296 KB |
Output is correct |
186 |
Correct |
332 ms |
146296 KB |
Output is correct |
187 |
Correct |
299 ms |
146296 KB |
Output is correct |
188 |
Correct |
328 ms |
146296 KB |
Output is correct |
189 |
Correct |
313 ms |
146296 KB |
Output is correct |
190 |
Correct |
343 ms |
146296 KB |
Output is correct |
191 |
Correct |
305 ms |
150776 KB |
Output is correct |
192 |
Correct |
320 ms |
150776 KB |
Output is correct |
193 |
Correct |
933 ms |
179320 KB |
Output is correct |
194 |
Correct |
938 ms |
179592 KB |
Output is correct |
195 |
Correct |
1762 ms |
217336 KB |
Output is correct |
196 |
Correct |
1787 ms |
217208 KB |
Output is correct |
197 |
Correct |
2187 ms |
236672 KB |
Output is correct |
198 |
Correct |
2208 ms |
236348 KB |
Output is correct |
199 |
Correct |
2293 ms |
145328 KB |
Output is correct |
200 |
Correct |
2023 ms |
143352 KB |
Output is correct |
201 |
Correct |
1970 ms |
143252 KB |
Output is correct |
202 |
Correct |
2478 ms |
148512 KB |
Output is correct |
203 |
Correct |
2000 ms |
143224 KB |
Output is correct |
204 |
Correct |
1980 ms |
143220 KB |
Output is correct |
205 |
Correct |
2512 ms |
149956 KB |
Output is correct |
206 |
Correct |
2013 ms |
143352 KB |
Output is correct |
207 |
Correct |
1968 ms |
143224 KB |
Output is correct |
208 |
Correct |
1977 ms |
143436 KB |
Output is correct |
209 |
Correct |
1979 ms |
143352 KB |
Output is correct |
210 |
Correct |
1954 ms |
143400 KB |
Output is correct |
211 |
Correct |
1984 ms |
143352 KB |
Output is correct |
212 |
Correct |
1968 ms |
143224 KB |
Output is correct |
213 |
Correct |
4048 ms |
190528 KB |
Output is correct |
214 |
Correct |
3546 ms |
153408 KB |
Output is correct |
215 |
Correct |
2888 ms |
145536 KB |
Output is correct |
216 |
Correct |
2331 ms |
144800 KB |
Output is correct |
217 |
Correct |
4014 ms |
190588 KB |
Output is correct |
218 |
Correct |
3530 ms |
153448 KB |
Output is correct |
219 |
Correct |
2873 ms |
145372 KB |
Output is correct |
220 |
Correct |
2424 ms |
144696 KB |
Output is correct |
221 |
Correct |
4100 ms |
218860 KB |
Output is correct |
222 |
Correct |
4057 ms |
203684 KB |
Output is correct |
223 |
Correct |
4043 ms |
200288 KB |
Output is correct |
224 |
Correct |
4046 ms |
199904 KB |
Output is correct |
225 |
Correct |
4211 ms |
237372 KB |
Output is correct |
226 |
Correct |
4192 ms |
237532 KB |
Output is correct |
227 |
Correct |
4201 ms |
237368 KB |
Output is correct |
228 |
Correct |
4208 ms |
237664 KB |
Output is correct |
229 |
Correct |
3983 ms |
190600 KB |
Output is correct |
230 |
Correct |
3595 ms |
152880 KB |
Output is correct |
231 |
Correct |
2874 ms |
145192 KB |
Output is correct |
232 |
Correct |
2289 ms |
144656 KB |
Output is correct |
233 |
Correct |
4011 ms |
190632 KB |
Output is correct |
234 |
Correct |
3582 ms |
152940 KB |
Output is correct |
235 |
Correct |
2877 ms |
145528 KB |
Output is correct |
236 |
Correct |
2444 ms |
144760 KB |
Output is correct |
237 |
Correct |
4152 ms |
218560 KB |
Output is correct |
238 |
Correct |
4075 ms |
203572 KB |
Output is correct |
239 |
Correct |
4098 ms |
200580 KB |
Output is correct |
240 |
Correct |
4046 ms |
199664 KB |
Output is correct |
241 |
Correct |
4211 ms |
237328 KB |
Output is correct |
242 |
Correct |
4186 ms |
237384 KB |
Output is correct |
243 |
Correct |
4165 ms |
237080 KB |
Output is correct |
244 |
Correct |
4203 ms |
237292 KB |
Output is correct |
245 |
Correct |
2130 ms |
144968 KB |
Output is correct |
246 |
Correct |
2128 ms |
145020 KB |
Output is correct |
247 |
Correct |
2145 ms |
144800 KB |
Output is correct |
248 |
Correct |
2143 ms |
145016 KB |
Output is correct |
249 |
Correct |
2403 ms |
144896 KB |
Output is correct |
250 |
Correct |
2439 ms |
144536 KB |
Output is correct |
251 |
Correct |
2449 ms |
144748 KB |
Output is correct |
252 |
Correct |
2299 ms |
144744 KB |
Output is correct |
253 |
Correct |
4122 ms |
190280 KB |
Output is correct |
254 |
Correct |
3364 ms |
153212 KB |
Output is correct |
255 |
Correct |
2810 ms |
145336 KB |
Output is correct |
256 |
Correct |
2300 ms |
145016 KB |
Output is correct |
257 |
Correct |
3799 ms |
190404 KB |
Output is correct |
258 |
Correct |
3326 ms |
153540 KB |
Output is correct |
259 |
Correct |
2765 ms |
145572 KB |
Output is correct |
260 |
Correct |
2296 ms |
145000 KB |
Output is correct |
261 |
Correct |
2555 ms |
191920 KB |
Output is correct |
262 |
Correct |
3132 ms |
191772 KB |
Output is correct |
263 |
Correct |
2043 ms |
191992 KB |
Output is correct |
264 |
Correct |
2615 ms |
191708 KB |
Output is correct |
265 |
Correct |
2543 ms |
191948 KB |
Output is correct |
266 |
Correct |
3139 ms |
191984 KB |
Output is correct |
267 |
Correct |
2054 ms |
191992 KB |
Output is correct |
268 |
Correct |
2610 ms |
191800 KB |
Output is correct |
269 |
Correct |
2173 ms |
236296 KB |
Output is correct |
270 |
Correct |
2230 ms |
236196 KB |
Output is correct |
271 |
Correct |
2354 ms |
146040 KB |
Output is correct |
272 |
Correct |
2021 ms |
143192 KB |
Output is correct |
273 |
Correct |
2492 ms |
149592 KB |
Output is correct |
274 |
Correct |
2011 ms |
143480 KB |
Output is correct |
275 |
Runtime error |
1405 ms |
382968 KB |
Execution killed with signal 11 (could be triggered by violating memory limits) |