#include<bits/stdc++.h>
#define ll long long
#define ff first
#define ss second
#define pb push_back
using namespace std;
const int N = 1e6+5;
struct bla{
bla *left = NULL, *right = NULL;
int answer = 1e9;
int l = -1e9;
int r = 1e9;
};
multiset<int>b[N],e[N],L,R;
inline void upd(bla* &node,int tl,int tr,int pos,bool ok){
if(tl == tr){
if(!ok){
if(e[tl].size()){
node->l = *e[tl].rbegin();
} else {
node->l = -1e9;
}
} else {
if(b[tr].size()){
node->r = *b[tr].begin();
} else {
node->r = 1e9;
}
}
node->answer = node->r - node->l;
return ;
}
int mid = tl + tr; mid >>= 1;
if(node->left == NULL)node->left = new bla();
if(node->right == NULL)node->right = new bla();
if(pos <= mid){
upd(node->left,tl,mid,pos,ok);
} else {
upd(node->right,mid+1,tr,pos,ok);
}
node->l = max(node->left->l,node->right->l);
node->r = min(node->left->r,node->right->r);
node->answer = node->right->r - node->left->l;
node->answer = min(node->answer, min(node->left->answer, node->right->answer));
}
int main(){
ios :: sync_with_stdio(0); cin.tie(0); cout.tie(0);
bla* root = new bla();
int q;
cin >> q;
while(q--){
char c;
int l,r;
cin >> c >> l >> r;
if(c == 'A'){
b[l].insert(r);
e[r].insert(l);
L.insert(l);
R.insert(r);
} else {
b[l].erase(b[l].find(r));
e[r].erase(e[r].find(l));
L.erase(L.find(l));
R.erase(R.find(r));
}
upd(root,1,N-1,l,1);
upd(root,1,N-1,r,0);
int x = *L.rbegin();
int y = *R.begin();
if(x < y){
cout << (*b[x].begin() - *e[y].rbegin()) << endl;
} else {
//cout << "second : ";
cout << root->answer << endl;
}
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
64 ms |
95096 KB |
Output is correct |
2 |
Correct |
62 ms |
94840 KB |
Output is correct |
3 |
Correct |
64 ms |
94840 KB |
Output is correct |
4 |
Correct |
63 ms |
94840 KB |
Output is correct |
5 |
Correct |
65 ms |
94968 KB |
Output is correct |
6 |
Correct |
63 ms |
94840 KB |
Output is correct |
7 |
Correct |
63 ms |
94840 KB |
Output is correct |
8 |
Correct |
63 ms |
94840 KB |
Output is correct |
9 |
Correct |
63 ms |
95224 KB |
Output is correct |
10 |
Correct |
65 ms |
95224 KB |
Output is correct |
11 |
Correct |
65 ms |
95096 KB |
Output is correct |
12 |
Correct |
63 ms |
95100 KB |
Output is correct |
13 |
Correct |
64 ms |
95224 KB |
Output is correct |
14 |
Correct |
64 ms |
95224 KB |
Output is correct |
15 |
Correct |
64 ms |
95384 KB |
Output is correct |
16 |
Correct |
64 ms |
95224 KB |
Output is correct |
17 |
Correct |
63 ms |
94968 KB |
Output is correct |
18 |
Correct |
63 ms |
94840 KB |
Output is correct |
19 |
Correct |
63 ms |
94712 KB |
Output is correct |
20 |
Correct |
64 ms |
94724 KB |
Output is correct |
21 |
Correct |
63 ms |
94968 KB |
Output is correct |
22 |
Correct |
63 ms |
94840 KB |
Output is correct |
23 |
Correct |
63 ms |
94712 KB |
Output is correct |
24 |
Correct |
62 ms |
94840 KB |
Output is correct |
25 |
Correct |
63 ms |
95096 KB |
Output is correct |
26 |
Correct |
64 ms |
95096 KB |
Output is correct |
27 |
Correct |
64 ms |
95096 KB |
Output is correct |
28 |
Correct |
65 ms |
95096 KB |
Output is correct |
29 |
Correct |
65 ms |
95228 KB |
Output is correct |
30 |
Correct |
64 ms |
95272 KB |
Output is correct |
31 |
Correct |
64 ms |
95224 KB |
Output is correct |
32 |
Correct |
64 ms |
95228 KB |
Output is correct |
33 |
Correct |
63 ms |
94712 KB |
Output is correct |
34 |
Correct |
63 ms |
94712 KB |
Output is correct |
35 |
Correct |
63 ms |
94712 KB |
Output is correct |
36 |
Correct |
63 ms |
94784 KB |
Output is correct |
37 |
Correct |
63 ms |
94840 KB |
Output is correct |
38 |
Correct |
64 ms |
94840 KB |
Output is correct |
39 |
Correct |
63 ms |
94712 KB |
Output is correct |
40 |
Correct |
65 ms |
94840 KB |
Output is correct |
41 |
Correct |
63 ms |
94968 KB |
Output is correct |
42 |
Correct |
62 ms |
94840 KB |
Output is correct |
43 |
Correct |
63 ms |
94712 KB |
Output is correct |
44 |
Correct |
65 ms |
94712 KB |
Output is correct |
45 |
Correct |
63 ms |
94844 KB |
Output is correct |
46 |
Correct |
62 ms |
94840 KB |
Output is correct |
47 |
Correct |
63 ms |
94844 KB |
Output is correct |
48 |
Correct |
63 ms |
94712 KB |
Output is correct |
49 |
Correct |
63 ms |
94584 KB |
Output is correct |
50 |
Correct |
63 ms |
94584 KB |
Output is correct |
51 |
Correct |
63 ms |
94584 KB |
Output is correct |
52 |
Correct |
64 ms |
94584 KB |
Output is correct |
53 |
Correct |
63 ms |
94584 KB |
Output is correct |
54 |
Correct |
63 ms |
94584 KB |
Output is correct |
55 |
Correct |
63 ms |
94584 KB |
Output is correct |
56 |
Correct |
62 ms |
94584 KB |
Output is correct |
57 |
Correct |
63 ms |
94712 KB |
Output is correct |
58 |
Correct |
62 ms |
94584 KB |
Output is correct |
59 |
Correct |
63 ms |
94840 KB |
Output is correct |
60 |
Correct |
65 ms |
94840 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
64 ms |
95096 KB |
Output is correct |
2 |
Correct |
62 ms |
94840 KB |
Output is correct |
3 |
Correct |
64 ms |
94840 KB |
Output is correct |
4 |
Correct |
63 ms |
94840 KB |
Output is correct |
5 |
Correct |
65 ms |
94968 KB |
Output is correct |
6 |
Correct |
63 ms |
94840 KB |
Output is correct |
7 |
Correct |
63 ms |
94840 KB |
Output is correct |
8 |
Correct |
63 ms |
94840 KB |
Output is correct |
9 |
Correct |
63 ms |
95224 KB |
Output is correct |
10 |
Correct |
65 ms |
95224 KB |
Output is correct |
11 |
Correct |
65 ms |
95096 KB |
Output is correct |
12 |
Correct |
63 ms |
95100 KB |
Output is correct |
13 |
Correct |
64 ms |
95224 KB |
Output is correct |
14 |
Correct |
64 ms |
95224 KB |
Output is correct |
15 |
Correct |
64 ms |
95384 KB |
Output is correct |
16 |
Correct |
64 ms |
95224 KB |
Output is correct |
17 |
Correct |
63 ms |
94968 KB |
Output is correct |
18 |
Correct |
63 ms |
94840 KB |
Output is correct |
19 |
Correct |
63 ms |
94712 KB |
Output is correct |
20 |
Correct |
64 ms |
94724 KB |
Output is correct |
21 |
Correct |
63 ms |
94968 KB |
Output is correct |
22 |
Correct |
63 ms |
94840 KB |
Output is correct |
23 |
Correct |
63 ms |
94712 KB |
Output is correct |
24 |
Correct |
62 ms |
94840 KB |
Output is correct |
25 |
Correct |
63 ms |
95096 KB |
Output is correct |
26 |
Correct |
64 ms |
95096 KB |
Output is correct |
27 |
Correct |
64 ms |
95096 KB |
Output is correct |
28 |
Correct |
65 ms |
95096 KB |
Output is correct |
29 |
Correct |
65 ms |
95228 KB |
Output is correct |
30 |
Correct |
64 ms |
95272 KB |
Output is correct |
31 |
Correct |
64 ms |
95224 KB |
Output is correct |
32 |
Correct |
64 ms |
95228 KB |
Output is correct |
33 |
Correct |
63 ms |
94712 KB |
Output is correct |
34 |
Correct |
63 ms |
94712 KB |
Output is correct |
35 |
Correct |
63 ms |
94712 KB |
Output is correct |
36 |
Correct |
63 ms |
94784 KB |
Output is correct |
37 |
Correct |
63 ms |
94840 KB |
Output is correct |
38 |
Correct |
64 ms |
94840 KB |
Output is correct |
39 |
Correct |
63 ms |
94712 KB |
Output is correct |
40 |
Correct |
65 ms |
94840 KB |
Output is correct |
41 |
Correct |
63 ms |
94968 KB |
Output is correct |
42 |
Correct |
62 ms |
94840 KB |
Output is correct |
43 |
Correct |
63 ms |
94712 KB |
Output is correct |
44 |
Correct |
65 ms |
94712 KB |
Output is correct |
45 |
Correct |
63 ms |
94844 KB |
Output is correct |
46 |
Correct |
62 ms |
94840 KB |
Output is correct |
47 |
Correct |
63 ms |
94844 KB |
Output is correct |
48 |
Correct |
63 ms |
94712 KB |
Output is correct |
49 |
Correct |
63 ms |
94584 KB |
Output is correct |
50 |
Correct |
63 ms |
94584 KB |
Output is correct |
51 |
Correct |
63 ms |
94584 KB |
Output is correct |
52 |
Correct |
64 ms |
94584 KB |
Output is correct |
53 |
Correct |
63 ms |
94584 KB |
Output is correct |
54 |
Correct |
63 ms |
94584 KB |
Output is correct |
55 |
Correct |
63 ms |
94584 KB |
Output is correct |
56 |
Correct |
62 ms |
94584 KB |
Output is correct |
57 |
Correct |
63 ms |
94712 KB |
Output is correct |
58 |
Correct |
62 ms |
94584 KB |
Output is correct |
59 |
Correct |
63 ms |
94840 KB |
Output is correct |
60 |
Correct |
65 ms |
94840 KB |
Output is correct |
61 |
Correct |
61 ms |
94200 KB |
Output is correct |
62 |
Correct |
60 ms |
94328 KB |
Output is correct |
63 |
Correct |
61 ms |
94200 KB |
Output is correct |
64 |
Correct |
132 ms |
105336 KB |
Output is correct |
65 |
Correct |
127 ms |
102392 KB |
Output is correct |
66 |
Correct |
118 ms |
101752 KB |
Output is correct |
67 |
Correct |
113 ms |
101620 KB |
Output is correct |
68 |
Correct |
138 ms |
105380 KB |
Output is correct |
69 |
Correct |
131 ms |
102396 KB |
Output is correct |
70 |
Correct |
119 ms |
101752 KB |
Output is correct |
71 |
Correct |
118 ms |
101596 KB |
Output is correct |
72 |
Correct |
140 ms |
107408 KB |
Output is correct |
73 |
Correct |
143 ms |
106488 KB |
Output is correct |
74 |
Correct |
137 ms |
106232 KB |
Output is correct |
75 |
Correct |
138 ms |
105976 KB |
Output is correct |
76 |
Correct |
147 ms |
108808 KB |
Output is correct |
77 |
Correct |
143 ms |
108792 KB |
Output is correct |
78 |
Correct |
150 ms |
108792 KB |
Output is correct |
79 |
Correct |
152 ms |
108792 KB |
Output is correct |
80 |
Correct |
140 ms |
104824 KB |
Output is correct |
81 |
Correct |
125 ms |
102008 KB |
Output is correct |
82 |
Correct |
117 ms |
101496 KB |
Output is correct |
83 |
Correct |
114 ms |
101564 KB |
Output is correct |
84 |
Correct |
135 ms |
104952 KB |
Output is correct |
85 |
Correct |
125 ms |
102136 KB |
Output is correct |
86 |
Correct |
118 ms |
101496 KB |
Output is correct |
87 |
Correct |
116 ms |
101368 KB |
Output is correct |
88 |
Correct |
140 ms |
107000 KB |
Output is correct |
89 |
Correct |
134 ms |
105976 KB |
Output is correct |
90 |
Correct |
137 ms |
105592 KB |
Output is correct |
91 |
Correct |
135 ms |
105652 KB |
Output is correct |
92 |
Correct |
146 ms |
108280 KB |
Output is correct |
93 |
Correct |
141 ms |
108280 KB |
Output is correct |
94 |
Correct |
140 ms |
108156 KB |
Output is correct |
95 |
Correct |
142 ms |
108404 KB |
Output is correct |
96 |
Correct |
116 ms |
101624 KB |
Output is correct |
97 |
Correct |
112 ms |
101568 KB |
Output is correct |
98 |
Correct |
115 ms |
101496 KB |
Output is correct |
99 |
Correct |
113 ms |
101624 KB |
Output is correct |
100 |
Correct |
117 ms |
101652 KB |
Output is correct |
101 |
Correct |
115 ms |
101624 KB |
Output is correct |
102 |
Correct |
116 ms |
101752 KB |
Output is correct |
103 |
Correct |
114 ms |
101752 KB |
Output is correct |
104 |
Correct |
135 ms |
104828 KB |
Output is correct |
105 |
Correct |
122 ms |
102264 KB |
Output is correct |
106 |
Correct |
121 ms |
102008 KB |
Output is correct |
107 |
Correct |
116 ms |
101752 KB |
Output is correct |
108 |
Correct |
127 ms |
102904 KB |
Output is correct |
109 |
Correct |
126 ms |
102136 KB |
Output is correct |
110 |
Correct |
119 ms |
101880 KB |
Output is correct |
111 |
Correct |
125 ms |
101784 KB |
Output is correct |
112 |
Correct |
114 ms |
100088 KB |
Output is correct |
113 |
Correct |
117 ms |
100088 KB |
Output is correct |
114 |
Correct |
113 ms |
100216 KB |
Output is correct |
115 |
Correct |
114 ms |
100088 KB |
Output is correct |
116 |
Correct |
113 ms |
100088 KB |
Output is correct |
117 |
Correct |
116 ms |
100088 KB |
Output is correct |
118 |
Correct |
112 ms |
100088 KB |
Output is correct |
119 |
Correct |
114 ms |
100088 KB |
Output is correct |
120 |
Correct |
113 ms |
100088 KB |
Output is correct |
121 |
Correct |
118 ms |
100088 KB |
Output is correct |
122 |
Correct |
122 ms |
105720 KB |
Output is correct |
123 |
Correct |
120 ms |
105720 KB |
Output is correct |
124 |
Correct |
106 ms |
96120 KB |
Output is correct |
125 |
Correct |
106 ms |
94840 KB |
Output is correct |
126 |
Correct |
102 ms |
94712 KB |
Output is correct |
127 |
Correct |
108 ms |
96248 KB |
Output is correct |
128 |
Correct |
101 ms |
94840 KB |
Output is correct |
129 |
Correct |
101 ms |
94712 KB |
Output is correct |
130 |
Correct |
108 ms |
96376 KB |
Output is correct |
131 |
Correct |
104 ms |
94844 KB |
Output is correct |
132 |
Correct |
100 ms |
94712 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
64 ms |
95096 KB |
Output is correct |
2 |
Correct |
62 ms |
94840 KB |
Output is correct |
3 |
Correct |
64 ms |
94840 KB |
Output is correct |
4 |
Correct |
63 ms |
94840 KB |
Output is correct |
5 |
Correct |
65 ms |
94968 KB |
Output is correct |
6 |
Correct |
63 ms |
94840 KB |
Output is correct |
7 |
Correct |
63 ms |
94840 KB |
Output is correct |
8 |
Correct |
63 ms |
94840 KB |
Output is correct |
9 |
Correct |
63 ms |
95224 KB |
Output is correct |
10 |
Correct |
65 ms |
95224 KB |
Output is correct |
11 |
Correct |
65 ms |
95096 KB |
Output is correct |
12 |
Correct |
63 ms |
95100 KB |
Output is correct |
13 |
Correct |
64 ms |
95224 KB |
Output is correct |
14 |
Correct |
64 ms |
95224 KB |
Output is correct |
15 |
Correct |
64 ms |
95384 KB |
Output is correct |
16 |
Correct |
64 ms |
95224 KB |
Output is correct |
17 |
Correct |
63 ms |
94968 KB |
Output is correct |
18 |
Correct |
63 ms |
94840 KB |
Output is correct |
19 |
Correct |
63 ms |
94712 KB |
Output is correct |
20 |
Correct |
64 ms |
94724 KB |
Output is correct |
21 |
Correct |
63 ms |
94968 KB |
Output is correct |
22 |
Correct |
63 ms |
94840 KB |
Output is correct |
23 |
Correct |
63 ms |
94712 KB |
Output is correct |
24 |
Correct |
62 ms |
94840 KB |
Output is correct |
25 |
Correct |
63 ms |
95096 KB |
Output is correct |
26 |
Correct |
64 ms |
95096 KB |
Output is correct |
27 |
Correct |
64 ms |
95096 KB |
Output is correct |
28 |
Correct |
65 ms |
95096 KB |
Output is correct |
29 |
Correct |
65 ms |
95228 KB |
Output is correct |
30 |
Correct |
64 ms |
95272 KB |
Output is correct |
31 |
Correct |
64 ms |
95224 KB |
Output is correct |
32 |
Correct |
64 ms |
95228 KB |
Output is correct |
33 |
Correct |
63 ms |
94712 KB |
Output is correct |
34 |
Correct |
63 ms |
94712 KB |
Output is correct |
35 |
Correct |
63 ms |
94712 KB |
Output is correct |
36 |
Correct |
63 ms |
94784 KB |
Output is correct |
37 |
Correct |
63 ms |
94840 KB |
Output is correct |
38 |
Correct |
64 ms |
94840 KB |
Output is correct |
39 |
Correct |
63 ms |
94712 KB |
Output is correct |
40 |
Correct |
65 ms |
94840 KB |
Output is correct |
41 |
Correct |
63 ms |
94968 KB |
Output is correct |
42 |
Correct |
62 ms |
94840 KB |
Output is correct |
43 |
Correct |
63 ms |
94712 KB |
Output is correct |
44 |
Correct |
65 ms |
94712 KB |
Output is correct |
45 |
Correct |
63 ms |
94844 KB |
Output is correct |
46 |
Correct |
62 ms |
94840 KB |
Output is correct |
47 |
Correct |
63 ms |
94844 KB |
Output is correct |
48 |
Correct |
63 ms |
94712 KB |
Output is correct |
49 |
Correct |
63 ms |
94584 KB |
Output is correct |
50 |
Correct |
63 ms |
94584 KB |
Output is correct |
51 |
Correct |
63 ms |
94584 KB |
Output is correct |
52 |
Correct |
64 ms |
94584 KB |
Output is correct |
53 |
Correct |
63 ms |
94584 KB |
Output is correct |
54 |
Correct |
63 ms |
94584 KB |
Output is correct |
55 |
Correct |
63 ms |
94584 KB |
Output is correct |
56 |
Correct |
62 ms |
94584 KB |
Output is correct |
57 |
Correct |
63 ms |
94712 KB |
Output is correct |
58 |
Correct |
62 ms |
94584 KB |
Output is correct |
59 |
Correct |
63 ms |
94840 KB |
Output is correct |
60 |
Correct |
65 ms |
94840 KB |
Output is correct |
61 |
Correct |
61 ms |
94200 KB |
Output is correct |
62 |
Correct |
60 ms |
94328 KB |
Output is correct |
63 |
Correct |
61 ms |
94200 KB |
Output is correct |
64 |
Correct |
132 ms |
105336 KB |
Output is correct |
65 |
Correct |
127 ms |
102392 KB |
Output is correct |
66 |
Correct |
118 ms |
101752 KB |
Output is correct |
67 |
Correct |
113 ms |
101620 KB |
Output is correct |
68 |
Correct |
138 ms |
105380 KB |
Output is correct |
69 |
Correct |
131 ms |
102396 KB |
Output is correct |
70 |
Correct |
119 ms |
101752 KB |
Output is correct |
71 |
Correct |
118 ms |
101596 KB |
Output is correct |
72 |
Correct |
140 ms |
107408 KB |
Output is correct |
73 |
Correct |
143 ms |
106488 KB |
Output is correct |
74 |
Correct |
137 ms |
106232 KB |
Output is correct |
75 |
Correct |
138 ms |
105976 KB |
Output is correct |
76 |
Correct |
147 ms |
108808 KB |
Output is correct |
77 |
Correct |
143 ms |
108792 KB |
Output is correct |
78 |
Correct |
150 ms |
108792 KB |
Output is correct |
79 |
Correct |
152 ms |
108792 KB |
Output is correct |
80 |
Correct |
140 ms |
104824 KB |
Output is correct |
81 |
Correct |
125 ms |
102008 KB |
Output is correct |
82 |
Correct |
117 ms |
101496 KB |
Output is correct |
83 |
Correct |
114 ms |
101564 KB |
Output is correct |
84 |
Correct |
135 ms |
104952 KB |
Output is correct |
85 |
Correct |
125 ms |
102136 KB |
Output is correct |
86 |
Correct |
118 ms |
101496 KB |
Output is correct |
87 |
Correct |
116 ms |
101368 KB |
Output is correct |
88 |
Correct |
140 ms |
107000 KB |
Output is correct |
89 |
Correct |
134 ms |
105976 KB |
Output is correct |
90 |
Correct |
137 ms |
105592 KB |
Output is correct |
91 |
Correct |
135 ms |
105652 KB |
Output is correct |
92 |
Correct |
146 ms |
108280 KB |
Output is correct |
93 |
Correct |
141 ms |
108280 KB |
Output is correct |
94 |
Correct |
140 ms |
108156 KB |
Output is correct |
95 |
Correct |
142 ms |
108404 KB |
Output is correct |
96 |
Correct |
116 ms |
101624 KB |
Output is correct |
97 |
Correct |
112 ms |
101568 KB |
Output is correct |
98 |
Correct |
115 ms |
101496 KB |
Output is correct |
99 |
Correct |
113 ms |
101624 KB |
Output is correct |
100 |
Correct |
117 ms |
101652 KB |
Output is correct |
101 |
Correct |
115 ms |
101624 KB |
Output is correct |
102 |
Correct |
116 ms |
101752 KB |
Output is correct |
103 |
Correct |
114 ms |
101752 KB |
Output is correct |
104 |
Correct |
135 ms |
104828 KB |
Output is correct |
105 |
Correct |
122 ms |
102264 KB |
Output is correct |
106 |
Correct |
121 ms |
102008 KB |
Output is correct |
107 |
Correct |
116 ms |
101752 KB |
Output is correct |
108 |
Correct |
127 ms |
102904 KB |
Output is correct |
109 |
Correct |
126 ms |
102136 KB |
Output is correct |
110 |
Correct |
119 ms |
101880 KB |
Output is correct |
111 |
Correct |
125 ms |
101784 KB |
Output is correct |
112 |
Correct |
114 ms |
100088 KB |
Output is correct |
113 |
Correct |
117 ms |
100088 KB |
Output is correct |
114 |
Correct |
113 ms |
100216 KB |
Output is correct |
115 |
Correct |
114 ms |
100088 KB |
Output is correct |
116 |
Correct |
113 ms |
100088 KB |
Output is correct |
117 |
Correct |
116 ms |
100088 KB |
Output is correct |
118 |
Correct |
112 ms |
100088 KB |
Output is correct |
119 |
Correct |
114 ms |
100088 KB |
Output is correct |
120 |
Correct |
113 ms |
100088 KB |
Output is correct |
121 |
Correct |
118 ms |
100088 KB |
Output is correct |
122 |
Correct |
122 ms |
105720 KB |
Output is correct |
123 |
Correct |
120 ms |
105720 KB |
Output is correct |
124 |
Correct |
106 ms |
96120 KB |
Output is correct |
125 |
Correct |
106 ms |
94840 KB |
Output is correct |
126 |
Correct |
102 ms |
94712 KB |
Output is correct |
127 |
Correct |
108 ms |
96248 KB |
Output is correct |
128 |
Correct |
101 ms |
94840 KB |
Output is correct |
129 |
Correct |
101 ms |
94712 KB |
Output is correct |
130 |
Correct |
108 ms |
96376 KB |
Output is correct |
131 |
Correct |
104 ms |
94844 KB |
Output is correct |
132 |
Correct |
100 ms |
94712 KB |
Output is correct |
133 |
Correct |
418 ms |
127020 KB |
Output is correct |
134 |
Correct |
370 ms |
118264 KB |
Output is correct |
135 |
Correct |
325 ms |
116344 KB |
Output is correct |
136 |
Correct |
285 ms |
116088 KB |
Output is correct |
137 |
Correct |
421 ms |
127228 KB |
Output is correct |
138 |
Correct |
364 ms |
118520 KB |
Output is correct |
139 |
Correct |
337 ms |
116472 KB |
Output is correct |
140 |
Correct |
305 ms |
116088 KB |
Output is correct |
141 |
Correct |
422 ms |
133240 KB |
Output is correct |
142 |
Correct |
418 ms |
130040 KB |
Output is correct |
143 |
Correct |
407 ms |
129272 KB |
Output is correct |
144 |
Correct |
409 ms |
129016 KB |
Output is correct |
145 |
Correct |
435 ms |
137208 KB |
Output is correct |
146 |
Correct |
441 ms |
137208 KB |
Output is correct |
147 |
Correct |
439 ms |
137080 KB |
Output is correct |
148 |
Correct |
440 ms |
137336 KB |
Output is correct |
149 |
Correct |
409 ms |
126200 KB |
Output is correct |
150 |
Correct |
355 ms |
117112 KB |
Output is correct |
151 |
Correct |
317 ms |
115448 KB |
Output is correct |
152 |
Correct |
275 ms |
115064 KB |
Output is correct |
153 |
Correct |
408 ms |
125784 KB |
Output is correct |
154 |
Correct |
387 ms |
117496 KB |
Output is correct |
155 |
Correct |
323 ms |
115320 KB |
Output is correct |
156 |
Correct |
311 ms |
115064 KB |
Output is correct |
157 |
Correct |
430 ms |
131832 KB |
Output is correct |
158 |
Correct |
412 ms |
128760 KB |
Output is correct |
159 |
Correct |
409 ms |
127992 KB |
Output is correct |
160 |
Correct |
427 ms |
127736 KB |
Output is correct |
161 |
Correct |
445 ms |
135544 KB |
Output is correct |
162 |
Correct |
437 ms |
135672 KB |
Output is correct |
163 |
Correct |
437 ms |
135544 KB |
Output is correct |
164 |
Correct |
439 ms |
135800 KB |
Output is correct |
165 |
Correct |
283 ms |
116088 KB |
Output is correct |
166 |
Correct |
283 ms |
116216 KB |
Output is correct |
167 |
Correct |
274 ms |
116088 KB |
Output is correct |
168 |
Correct |
278 ms |
116088 KB |
Output is correct |
169 |
Correct |
305 ms |
116088 KB |
Output is correct |
170 |
Correct |
295 ms |
116092 KB |
Output is correct |
171 |
Correct |
300 ms |
116216 KB |
Output is correct |
172 |
Correct |
279 ms |
116088 KB |
Output is correct |
173 |
Correct |
402 ms |
125048 KB |
Output is correct |
174 |
Correct |
349 ms |
117880 KB |
Output is correct |
175 |
Correct |
317 ms |
116216 KB |
Output is correct |
176 |
Correct |
287 ms |
116212 KB |
Output is correct |
177 |
Correct |
378 ms |
120696 KB |
Output is correct |
178 |
Correct |
347 ms |
116984 KB |
Output is correct |
179 |
Correct |
316 ms |
116088 KB |
Output is correct |
180 |
Correct |
281 ms |
116092 KB |
Output is correct |
181 |
Correct |
288 ms |
115960 KB |
Output is correct |
182 |
Correct |
320 ms |
115832 KB |
Output is correct |
183 |
Correct |
277 ms |
116088 KB |
Output is correct |
184 |
Correct |
302 ms |
116088 KB |
Output is correct |
185 |
Correct |
293 ms |
115960 KB |
Output is correct |
186 |
Correct |
321 ms |
115960 KB |
Output is correct |
187 |
Correct |
281 ms |
116088 KB |
Output is correct |
188 |
Correct |
304 ms |
116088 KB |
Output is correct |
189 |
Correct |
297 ms |
115960 KB |
Output is correct |
190 |
Correct |
325 ms |
115888 KB |
Output is correct |
191 |
Correct |
304 ms |
131832 KB |
Output is correct |
192 |
Correct |
304 ms |
131940 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
977 ms |
199032 KB |
Output is correct |
2 |
Correct |
992 ms |
199032 KB |
Output is correct |
3 |
Correct |
1823 ms |
245368 KB |
Output is correct |
4 |
Correct |
1862 ms |
245496 KB |
Output is correct |
5 |
Correct |
2251 ms |
283384 KB |
Output is correct |
6 |
Correct |
2302 ms |
283368 KB |
Output is correct |
7 |
Correct |
2444 ms |
107104 KB |
Output is correct |
8 |
Correct |
1900 ms |
97860 KB |
Output is correct |
9 |
Correct |
1848 ms |
97240 KB |
Output is correct |
10 |
Correct |
2527 ms |
112752 KB |
Output is correct |
11 |
Correct |
1916 ms |
97956 KB |
Output is correct |
12 |
Correct |
1868 ms |
97272 KB |
Output is correct |
13 |
Correct |
2594 ms |
115500 KB |
Output is correct |
14 |
Correct |
1910 ms |
98040 KB |
Output is correct |
15 |
Correct |
1881 ms |
97216 KB |
Output is correct |
16 |
Correct |
1912 ms |
143992 KB |
Output is correct |
17 |
Correct |
1911 ms |
143736 KB |
Output is correct |
18 |
Correct |
1903 ms |
144144 KB |
Output is correct |
19 |
Correct |
1925 ms |
144312 KB |
Output is correct |
20 |
Correct |
1929 ms |
143992 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
64 ms |
95096 KB |
Output is correct |
2 |
Correct |
62 ms |
94840 KB |
Output is correct |
3 |
Correct |
64 ms |
94840 KB |
Output is correct |
4 |
Correct |
63 ms |
94840 KB |
Output is correct |
5 |
Correct |
65 ms |
94968 KB |
Output is correct |
6 |
Correct |
63 ms |
94840 KB |
Output is correct |
7 |
Correct |
63 ms |
94840 KB |
Output is correct |
8 |
Correct |
63 ms |
94840 KB |
Output is correct |
9 |
Correct |
63 ms |
95224 KB |
Output is correct |
10 |
Correct |
65 ms |
95224 KB |
Output is correct |
11 |
Correct |
65 ms |
95096 KB |
Output is correct |
12 |
Correct |
63 ms |
95100 KB |
Output is correct |
13 |
Correct |
64 ms |
95224 KB |
Output is correct |
14 |
Correct |
64 ms |
95224 KB |
Output is correct |
15 |
Correct |
64 ms |
95384 KB |
Output is correct |
16 |
Correct |
64 ms |
95224 KB |
Output is correct |
17 |
Correct |
63 ms |
94968 KB |
Output is correct |
18 |
Correct |
63 ms |
94840 KB |
Output is correct |
19 |
Correct |
63 ms |
94712 KB |
Output is correct |
20 |
Correct |
64 ms |
94724 KB |
Output is correct |
21 |
Correct |
63 ms |
94968 KB |
Output is correct |
22 |
Correct |
63 ms |
94840 KB |
Output is correct |
23 |
Correct |
63 ms |
94712 KB |
Output is correct |
24 |
Correct |
62 ms |
94840 KB |
Output is correct |
25 |
Correct |
63 ms |
95096 KB |
Output is correct |
26 |
Correct |
64 ms |
95096 KB |
Output is correct |
27 |
Correct |
64 ms |
95096 KB |
Output is correct |
28 |
Correct |
65 ms |
95096 KB |
Output is correct |
29 |
Correct |
65 ms |
95228 KB |
Output is correct |
30 |
Correct |
64 ms |
95272 KB |
Output is correct |
31 |
Correct |
64 ms |
95224 KB |
Output is correct |
32 |
Correct |
64 ms |
95228 KB |
Output is correct |
33 |
Correct |
63 ms |
94712 KB |
Output is correct |
34 |
Correct |
63 ms |
94712 KB |
Output is correct |
35 |
Correct |
63 ms |
94712 KB |
Output is correct |
36 |
Correct |
63 ms |
94784 KB |
Output is correct |
37 |
Correct |
63 ms |
94840 KB |
Output is correct |
38 |
Correct |
64 ms |
94840 KB |
Output is correct |
39 |
Correct |
63 ms |
94712 KB |
Output is correct |
40 |
Correct |
65 ms |
94840 KB |
Output is correct |
41 |
Correct |
63 ms |
94968 KB |
Output is correct |
42 |
Correct |
62 ms |
94840 KB |
Output is correct |
43 |
Correct |
63 ms |
94712 KB |
Output is correct |
44 |
Correct |
65 ms |
94712 KB |
Output is correct |
45 |
Correct |
63 ms |
94844 KB |
Output is correct |
46 |
Correct |
62 ms |
94840 KB |
Output is correct |
47 |
Correct |
63 ms |
94844 KB |
Output is correct |
48 |
Correct |
63 ms |
94712 KB |
Output is correct |
49 |
Correct |
63 ms |
94584 KB |
Output is correct |
50 |
Correct |
63 ms |
94584 KB |
Output is correct |
51 |
Correct |
63 ms |
94584 KB |
Output is correct |
52 |
Correct |
64 ms |
94584 KB |
Output is correct |
53 |
Correct |
63 ms |
94584 KB |
Output is correct |
54 |
Correct |
63 ms |
94584 KB |
Output is correct |
55 |
Correct |
63 ms |
94584 KB |
Output is correct |
56 |
Correct |
62 ms |
94584 KB |
Output is correct |
57 |
Correct |
63 ms |
94712 KB |
Output is correct |
58 |
Correct |
62 ms |
94584 KB |
Output is correct |
59 |
Correct |
63 ms |
94840 KB |
Output is correct |
60 |
Correct |
65 ms |
94840 KB |
Output is correct |
61 |
Correct |
61 ms |
94200 KB |
Output is correct |
62 |
Correct |
60 ms |
94328 KB |
Output is correct |
63 |
Correct |
61 ms |
94200 KB |
Output is correct |
64 |
Correct |
132 ms |
105336 KB |
Output is correct |
65 |
Correct |
127 ms |
102392 KB |
Output is correct |
66 |
Correct |
118 ms |
101752 KB |
Output is correct |
67 |
Correct |
113 ms |
101620 KB |
Output is correct |
68 |
Correct |
138 ms |
105380 KB |
Output is correct |
69 |
Correct |
131 ms |
102396 KB |
Output is correct |
70 |
Correct |
119 ms |
101752 KB |
Output is correct |
71 |
Correct |
118 ms |
101596 KB |
Output is correct |
72 |
Correct |
140 ms |
107408 KB |
Output is correct |
73 |
Correct |
143 ms |
106488 KB |
Output is correct |
74 |
Correct |
137 ms |
106232 KB |
Output is correct |
75 |
Correct |
138 ms |
105976 KB |
Output is correct |
76 |
Correct |
147 ms |
108808 KB |
Output is correct |
77 |
Correct |
143 ms |
108792 KB |
Output is correct |
78 |
Correct |
150 ms |
108792 KB |
Output is correct |
79 |
Correct |
152 ms |
108792 KB |
Output is correct |
80 |
Correct |
140 ms |
104824 KB |
Output is correct |
81 |
Correct |
125 ms |
102008 KB |
Output is correct |
82 |
Correct |
117 ms |
101496 KB |
Output is correct |
83 |
Correct |
114 ms |
101564 KB |
Output is correct |
84 |
Correct |
135 ms |
104952 KB |
Output is correct |
85 |
Correct |
125 ms |
102136 KB |
Output is correct |
86 |
Correct |
118 ms |
101496 KB |
Output is correct |
87 |
Correct |
116 ms |
101368 KB |
Output is correct |
88 |
Correct |
140 ms |
107000 KB |
Output is correct |
89 |
Correct |
134 ms |
105976 KB |
Output is correct |
90 |
Correct |
137 ms |
105592 KB |
Output is correct |
91 |
Correct |
135 ms |
105652 KB |
Output is correct |
92 |
Correct |
146 ms |
108280 KB |
Output is correct |
93 |
Correct |
141 ms |
108280 KB |
Output is correct |
94 |
Correct |
140 ms |
108156 KB |
Output is correct |
95 |
Correct |
142 ms |
108404 KB |
Output is correct |
96 |
Correct |
116 ms |
101624 KB |
Output is correct |
97 |
Correct |
112 ms |
101568 KB |
Output is correct |
98 |
Correct |
115 ms |
101496 KB |
Output is correct |
99 |
Correct |
113 ms |
101624 KB |
Output is correct |
100 |
Correct |
117 ms |
101652 KB |
Output is correct |
101 |
Correct |
115 ms |
101624 KB |
Output is correct |
102 |
Correct |
116 ms |
101752 KB |
Output is correct |
103 |
Correct |
114 ms |
101752 KB |
Output is correct |
104 |
Correct |
135 ms |
104828 KB |
Output is correct |
105 |
Correct |
122 ms |
102264 KB |
Output is correct |
106 |
Correct |
121 ms |
102008 KB |
Output is correct |
107 |
Correct |
116 ms |
101752 KB |
Output is correct |
108 |
Correct |
127 ms |
102904 KB |
Output is correct |
109 |
Correct |
126 ms |
102136 KB |
Output is correct |
110 |
Correct |
119 ms |
101880 KB |
Output is correct |
111 |
Correct |
125 ms |
101784 KB |
Output is correct |
112 |
Correct |
114 ms |
100088 KB |
Output is correct |
113 |
Correct |
117 ms |
100088 KB |
Output is correct |
114 |
Correct |
113 ms |
100216 KB |
Output is correct |
115 |
Correct |
114 ms |
100088 KB |
Output is correct |
116 |
Correct |
113 ms |
100088 KB |
Output is correct |
117 |
Correct |
116 ms |
100088 KB |
Output is correct |
118 |
Correct |
112 ms |
100088 KB |
Output is correct |
119 |
Correct |
114 ms |
100088 KB |
Output is correct |
120 |
Correct |
113 ms |
100088 KB |
Output is correct |
121 |
Correct |
118 ms |
100088 KB |
Output is correct |
122 |
Correct |
122 ms |
105720 KB |
Output is correct |
123 |
Correct |
120 ms |
105720 KB |
Output is correct |
124 |
Correct |
106 ms |
96120 KB |
Output is correct |
125 |
Correct |
106 ms |
94840 KB |
Output is correct |
126 |
Correct |
102 ms |
94712 KB |
Output is correct |
127 |
Correct |
108 ms |
96248 KB |
Output is correct |
128 |
Correct |
101 ms |
94840 KB |
Output is correct |
129 |
Correct |
101 ms |
94712 KB |
Output is correct |
130 |
Correct |
108 ms |
96376 KB |
Output is correct |
131 |
Correct |
104 ms |
94844 KB |
Output is correct |
132 |
Correct |
100 ms |
94712 KB |
Output is correct |
133 |
Correct |
418 ms |
127020 KB |
Output is correct |
134 |
Correct |
370 ms |
118264 KB |
Output is correct |
135 |
Correct |
325 ms |
116344 KB |
Output is correct |
136 |
Correct |
285 ms |
116088 KB |
Output is correct |
137 |
Correct |
421 ms |
127228 KB |
Output is correct |
138 |
Correct |
364 ms |
118520 KB |
Output is correct |
139 |
Correct |
337 ms |
116472 KB |
Output is correct |
140 |
Correct |
305 ms |
116088 KB |
Output is correct |
141 |
Correct |
422 ms |
133240 KB |
Output is correct |
142 |
Correct |
418 ms |
130040 KB |
Output is correct |
143 |
Correct |
407 ms |
129272 KB |
Output is correct |
144 |
Correct |
409 ms |
129016 KB |
Output is correct |
145 |
Correct |
435 ms |
137208 KB |
Output is correct |
146 |
Correct |
441 ms |
137208 KB |
Output is correct |
147 |
Correct |
439 ms |
137080 KB |
Output is correct |
148 |
Correct |
440 ms |
137336 KB |
Output is correct |
149 |
Correct |
409 ms |
126200 KB |
Output is correct |
150 |
Correct |
355 ms |
117112 KB |
Output is correct |
151 |
Correct |
317 ms |
115448 KB |
Output is correct |
152 |
Correct |
275 ms |
115064 KB |
Output is correct |
153 |
Correct |
408 ms |
125784 KB |
Output is correct |
154 |
Correct |
387 ms |
117496 KB |
Output is correct |
155 |
Correct |
323 ms |
115320 KB |
Output is correct |
156 |
Correct |
311 ms |
115064 KB |
Output is correct |
157 |
Correct |
430 ms |
131832 KB |
Output is correct |
158 |
Correct |
412 ms |
128760 KB |
Output is correct |
159 |
Correct |
409 ms |
127992 KB |
Output is correct |
160 |
Correct |
427 ms |
127736 KB |
Output is correct |
161 |
Correct |
445 ms |
135544 KB |
Output is correct |
162 |
Correct |
437 ms |
135672 KB |
Output is correct |
163 |
Correct |
437 ms |
135544 KB |
Output is correct |
164 |
Correct |
439 ms |
135800 KB |
Output is correct |
165 |
Correct |
283 ms |
116088 KB |
Output is correct |
166 |
Correct |
283 ms |
116216 KB |
Output is correct |
167 |
Correct |
274 ms |
116088 KB |
Output is correct |
168 |
Correct |
278 ms |
116088 KB |
Output is correct |
169 |
Correct |
305 ms |
116088 KB |
Output is correct |
170 |
Correct |
295 ms |
116092 KB |
Output is correct |
171 |
Correct |
300 ms |
116216 KB |
Output is correct |
172 |
Correct |
279 ms |
116088 KB |
Output is correct |
173 |
Correct |
402 ms |
125048 KB |
Output is correct |
174 |
Correct |
349 ms |
117880 KB |
Output is correct |
175 |
Correct |
317 ms |
116216 KB |
Output is correct |
176 |
Correct |
287 ms |
116212 KB |
Output is correct |
177 |
Correct |
378 ms |
120696 KB |
Output is correct |
178 |
Correct |
347 ms |
116984 KB |
Output is correct |
179 |
Correct |
316 ms |
116088 KB |
Output is correct |
180 |
Correct |
281 ms |
116092 KB |
Output is correct |
181 |
Correct |
288 ms |
115960 KB |
Output is correct |
182 |
Correct |
320 ms |
115832 KB |
Output is correct |
183 |
Correct |
277 ms |
116088 KB |
Output is correct |
184 |
Correct |
302 ms |
116088 KB |
Output is correct |
185 |
Correct |
293 ms |
115960 KB |
Output is correct |
186 |
Correct |
321 ms |
115960 KB |
Output is correct |
187 |
Correct |
281 ms |
116088 KB |
Output is correct |
188 |
Correct |
304 ms |
116088 KB |
Output is correct |
189 |
Correct |
297 ms |
115960 KB |
Output is correct |
190 |
Correct |
325 ms |
115888 KB |
Output is correct |
191 |
Correct |
304 ms |
131832 KB |
Output is correct |
192 |
Correct |
304 ms |
131940 KB |
Output is correct |
193 |
Correct |
977 ms |
199032 KB |
Output is correct |
194 |
Correct |
992 ms |
199032 KB |
Output is correct |
195 |
Correct |
1823 ms |
245368 KB |
Output is correct |
196 |
Correct |
1862 ms |
245496 KB |
Output is correct |
197 |
Correct |
2251 ms |
283384 KB |
Output is correct |
198 |
Correct |
2302 ms |
283368 KB |
Output is correct |
199 |
Correct |
2444 ms |
107104 KB |
Output is correct |
200 |
Correct |
1900 ms |
97860 KB |
Output is correct |
201 |
Correct |
1848 ms |
97240 KB |
Output is correct |
202 |
Correct |
2527 ms |
112752 KB |
Output is correct |
203 |
Correct |
1916 ms |
97956 KB |
Output is correct |
204 |
Correct |
1868 ms |
97272 KB |
Output is correct |
205 |
Correct |
2594 ms |
115500 KB |
Output is correct |
206 |
Correct |
1910 ms |
98040 KB |
Output is correct |
207 |
Correct |
1881 ms |
97216 KB |
Output is correct |
208 |
Correct |
1912 ms |
143992 KB |
Output is correct |
209 |
Correct |
1911 ms |
143736 KB |
Output is correct |
210 |
Correct |
1903 ms |
144144 KB |
Output is correct |
211 |
Correct |
1925 ms |
144312 KB |
Output is correct |
212 |
Correct |
1929 ms |
143992 KB |
Output is correct |
213 |
Correct |
4206 ms |
231588 KB |
Output is correct |
214 |
Correct |
3921 ms |
187548 KB |
Output is correct |
215 |
Correct |
3409 ms |
177868 KB |
Output is correct |
216 |
Correct |
2380 ms |
177016 KB |
Output is correct |
217 |
Correct |
4212 ms |
231584 KB |
Output is correct |
218 |
Correct |
3931 ms |
187768 KB |
Output is correct |
219 |
Correct |
3363 ms |
177656 KB |
Output is correct |
220 |
Correct |
2599 ms |
176732 KB |
Output is correct |
221 |
Correct |
4394 ms |
263044 KB |
Output is correct |
222 |
Correct |
4294 ms |
246400 KB |
Output is correct |
223 |
Correct |
4273 ms |
242684 KB |
Output is correct |
224 |
Correct |
4284 ms |
242168 KB |
Output is correct |
225 |
Correct |
4430 ms |
283604 KB |
Output is correct |
226 |
Correct |
4381 ms |
283612 KB |
Output is correct |
227 |
Correct |
4412 ms |
283464 KB |
Output is correct |
228 |
Correct |
4551 ms |
283684 KB |
Output is correct |
229 |
Correct |
4345 ms |
228828 KB |
Output is correct |
230 |
Correct |
3937 ms |
184056 KB |
Output is correct |
231 |
Correct |
3322 ms |
174564 KB |
Output is correct |
232 |
Correct |
2386 ms |
173688 KB |
Output is correct |
233 |
Correct |
4390 ms |
228952 KB |
Output is correct |
234 |
Correct |
4017 ms |
184224 KB |
Output is correct |
235 |
Correct |
3422 ms |
174844 KB |
Output is correct |
236 |
Correct |
2667 ms |
173500 KB |
Output is correct |
237 |
Correct |
4443 ms |
260772 KB |
Output is correct |
238 |
Correct |
4412 ms |
243868 KB |
Output is correct |
239 |
Correct |
4348 ms |
240232 KB |
Output is correct |
240 |
Correct |
4385 ms |
239736 KB |
Output is correct |
241 |
Correct |
4535 ms |
281392 KB |
Output is correct |
242 |
Correct |
4600 ms |
281336 KB |
Output is correct |
243 |
Correct |
4626 ms |
281132 KB |
Output is correct |
244 |
Correct |
4608 ms |
280952 KB |
Output is correct |
245 |
Correct |
2243 ms |
176864 KB |
Output is correct |
246 |
Correct |
2233 ms |
176872 KB |
Output is correct |
247 |
Correct |
2226 ms |
176908 KB |
Output is correct |
248 |
Correct |
2250 ms |
176888 KB |
Output is correct |
249 |
Correct |
2612 ms |
176820 KB |
Output is correct |
250 |
Correct |
2676 ms |
176688 KB |
Output is correct |
251 |
Correct |
2703 ms |
176692 KB |
Output is correct |
252 |
Correct |
2378 ms |
176792 KB |
Output is correct |
253 |
Correct |
4308 ms |
228856 KB |
Output is correct |
254 |
Correct |
3889 ms |
186616 KB |
Output is correct |
255 |
Correct |
3553 ms |
177144 KB |
Output is correct |
256 |
Correct |
2524 ms |
176848 KB |
Output is correct |
257 |
Correct |
4239 ms |
222340 KB |
Output is correct |
258 |
Correct |
3977 ms |
185144 KB |
Output is correct |
259 |
Correct |
3485 ms |
177260 KB |
Output is correct |
260 |
Correct |
2498 ms |
176828 KB |
Output is correct |
261 |
Correct |
2773 ms |
241660 KB |
Output is correct |
262 |
Correct |
3492 ms |
241656 KB |
Output is correct |
263 |
Correct |
2178 ms |
238016 KB |
Output is correct |
264 |
Correct |
2840 ms |
238004 KB |
Output is correct |
265 |
Correct |
2790 ms |
241796 KB |
Output is correct |
266 |
Correct |
3420 ms |
241796 KB |
Output is correct |
267 |
Correct |
2091 ms |
237972 KB |
Output is correct |
268 |
Correct |
2801 ms |
237764 KB |
Output is correct |
269 |
Correct |
2322 ms |
290896 KB |
Output is correct |
270 |
Correct |
2386 ms |
290824 KB |
Output is correct |
271 |
Correct |
2645 ms |
114544 KB |
Output is correct |
272 |
Correct |
1979 ms |
103576 KB |
Output is correct |
273 |
Correct |
2695 ms |
121996 KB |
Output is correct |
274 |
Correct |
1998 ms |
103852 KB |
Output is correct |
275 |
Correct |
1918 ms |
150716 KB |
Output is correct |