# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
1043800 |
2024-08-04T18:33:00 Z |
arashMLG |
Maze (JOI23_ho_t3) |
C++17 |
|
747 ms |
710072 KB |
#include<bits/stdc++.h>
#ifdef LOCAL
#include "Essentials/algo/debug.h"
#else
#define debug(...) 69
#define debugArr(...) 69
#endif
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
const int N = 6e6 + 23;
const ll inf = 1e18;
#define F first
#define S second
#define pb push_back
#define kill(x) cout<<x<<endl, exit(0);
#define all(x) x.begin(),x.end()
#define sz(x) (int)x.size()
#define lc (v << 1)
#define rc ((v<<1) |1)
int dx[] = {0,1,0,-1,1,1,-1,-1};
int dy[] = {1,0,-1,0,1,-1,-1,1};
int n,m,k;
bool check(pii p) {
return p.F >= 1 && p.F <= n && p.S >= 1 && p.S <= m;
}
vector<char> a[N];
vector<bool> mark[N];
vector<pii> sex;
queue<pii> Q;
void adj1(pii v) {
if(mark[v.F][v.S]) return;
if(a[v.F][v.S] == '#') {
sex.pb(v);
return;
}
mark[v.F][v.S] = true;
for(int i= 0 ;i <4; i ++) {
pii u = v;
u.F += dx[i];
u.S += dy[i];
if(check(u)) Q.push(u);
}
}
void adj2(pii v) {
if(mark[v.F][v.S]) return;
mark[v.F][v.S] = 1;
for(int i= 0; i < 8; i ++) {
pii u = v;
u.F += dx[i];
u.S += dy[i];
if(check(u)) {
sex.pb(u);
if(i < 4) Q.push(u);
}
}
}
vector<int> layer;
int32_t main() {
cin.tie(nullptr)->sync_with_stdio(false);
cin>>n>>m>>k;
for(int i = 1; i <= n ;i ++) {
a[i].resize(m+1);
mark[i].resize(m+1);
}
int sx,sy,ex,ey; cin>>sx>>sy>>ex>>ey;
for(int i = 1; i <= n ;i ++) for(int j = 1;j <= m ; j ++) {
cin>>a[i][j];
}
int ans =0;
Q.push({sx,sy});
while(true) {
while(sz(Q)) {
pii v = Q.front(); Q.pop();
adj1(v);
}
if(mark[ex][ey]) break;
ans ++;
for(int i = 0 ;i< k ; i ++) {
vector<pii> nw = sex;
sex.clear();
for(pii x : nw) adj2(x);
}
sex.clear();
}
cout<<ans << '\n';
return 0;
}
// Jumpsuit, Jumpsuit cover me!
// Jumpsuit, Jumpsuit cover me!
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
109 ms |
376400 KB |
Output is correct |
2 |
Correct |
108 ms |
376148 KB |
Output is correct |
3 |
Correct |
109 ms |
376180 KB |
Output is correct |
4 |
Correct |
114 ms |
375980 KB |
Output is correct |
5 |
Correct |
112 ms |
376000 KB |
Output is correct |
6 |
Correct |
107 ms |
375952 KB |
Output is correct |
7 |
Correct |
110 ms |
376116 KB |
Output is correct |
8 |
Correct |
111 ms |
376144 KB |
Output is correct |
9 |
Correct |
129 ms |
376148 KB |
Output is correct |
10 |
Correct |
108 ms |
376144 KB |
Output is correct |
11 |
Correct |
107 ms |
376008 KB |
Output is correct |
12 |
Correct |
109 ms |
376144 KB |
Output is correct |
13 |
Correct |
113 ms |
376148 KB |
Output is correct |
14 |
Correct |
108 ms |
376148 KB |
Output is correct |
15 |
Correct |
105 ms |
376028 KB |
Output is correct |
16 |
Correct |
118 ms |
376144 KB |
Output is correct |
17 |
Correct |
104 ms |
376148 KB |
Output is correct |
18 |
Correct |
106 ms |
376024 KB |
Output is correct |
19 |
Correct |
123 ms |
376144 KB |
Output is correct |
20 |
Correct |
120 ms |
376060 KB |
Output is correct |
21 |
Correct |
114 ms |
376368 KB |
Output is correct |
22 |
Correct |
109 ms |
376400 KB |
Output is correct |
23 |
Correct |
110 ms |
376144 KB |
Output is correct |
24 |
Correct |
125 ms |
376112 KB |
Output is correct |
25 |
Correct |
112 ms |
376168 KB |
Output is correct |
26 |
Correct |
112 ms |
376404 KB |
Output is correct |
27 |
Correct |
109 ms |
376144 KB |
Output is correct |
28 |
Correct |
113 ms |
376404 KB |
Output is correct |
29 |
Correct |
132 ms |
376532 KB |
Output is correct |
30 |
Correct |
139 ms |
376076 KB |
Output is correct |
31 |
Correct |
121 ms |
376404 KB |
Output is correct |
32 |
Correct |
119 ms |
376716 KB |
Output is correct |
33 |
Correct |
124 ms |
376544 KB |
Output is correct |
34 |
Correct |
121 ms |
376400 KB |
Output is correct |
35 |
Correct |
110 ms |
376352 KB |
Output is correct |
36 |
Correct |
119 ms |
377288 KB |
Output is correct |
37 |
Correct |
123 ms |
377260 KB |
Output is correct |
38 |
Correct |
114 ms |
376660 KB |
Output is correct |
39 |
Correct |
227 ms |
379476 KB |
Output is correct |
40 |
Correct |
111 ms |
376520 KB |
Output is correct |
41 |
Correct |
118 ms |
376404 KB |
Output is correct |
42 |
Correct |
122 ms |
376656 KB |
Output is correct |
43 |
Correct |
115 ms |
376664 KB |
Output is correct |
44 |
Correct |
127 ms |
377684 KB |
Output is correct |
45 |
Correct |
141 ms |
377808 KB |
Output is correct |
46 |
Correct |
167 ms |
379892 KB |
Output is correct |
47 |
Correct |
212 ms |
379932 KB |
Output is correct |
48 |
Correct |
200 ms |
379556 KB |
Output is correct |
49 |
Correct |
126 ms |
379220 KB |
Output is correct |
50 |
Correct |
145 ms |
379216 KB |
Output is correct |
51 |
Correct |
178 ms |
382556 KB |
Output is correct |
52 |
Correct |
171 ms |
380748 KB |
Output is correct |
53 |
Correct |
223 ms |
379852 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
109 ms |
376148 KB |
Output is correct |
2 |
Correct |
109 ms |
376148 KB |
Output is correct |
3 |
Correct |
111 ms |
376116 KB |
Output is correct |
4 |
Correct |
105 ms |
376144 KB |
Output is correct |
5 |
Correct |
114 ms |
376148 KB |
Output is correct |
6 |
Correct |
111 ms |
376152 KB |
Output is correct |
7 |
Correct |
106 ms |
375960 KB |
Output is correct |
8 |
Correct |
111 ms |
376064 KB |
Output is correct |
9 |
Correct |
107 ms |
376024 KB |
Output is correct |
10 |
Correct |
111 ms |
376148 KB |
Output is correct |
11 |
Correct |
114 ms |
376092 KB |
Output is correct |
12 |
Correct |
111 ms |
376148 KB |
Output is correct |
13 |
Correct |
110 ms |
376148 KB |
Output is correct |
14 |
Correct |
111 ms |
376148 KB |
Output is correct |
15 |
Correct |
113 ms |
376120 KB |
Output is correct |
16 |
Correct |
119 ms |
376144 KB |
Output is correct |
17 |
Correct |
108 ms |
376108 KB |
Output is correct |
18 |
Correct |
109 ms |
376144 KB |
Output is correct |
19 |
Correct |
115 ms |
376124 KB |
Output is correct |
20 |
Correct |
117 ms |
376000 KB |
Output is correct |
21 |
Correct |
113 ms |
376096 KB |
Output is correct |
22 |
Correct |
119 ms |
375960 KB |
Output is correct |
23 |
Correct |
112 ms |
376120 KB |
Output is correct |
24 |
Correct |
117 ms |
376016 KB |
Output is correct |
25 |
Correct |
116 ms |
376128 KB |
Output is correct |
26 |
Correct |
116 ms |
376144 KB |
Output is correct |
27 |
Correct |
118 ms |
376184 KB |
Output is correct |
28 |
Correct |
109 ms |
376180 KB |
Output is correct |
29 |
Correct |
114 ms |
376044 KB |
Output is correct |
30 |
Correct |
112 ms |
376148 KB |
Output is correct |
31 |
Correct |
112 ms |
376044 KB |
Output is correct |
32 |
Correct |
107 ms |
376148 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
103 ms |
376148 KB |
Output is correct |
2 |
Correct |
111 ms |
376000 KB |
Output is correct |
3 |
Correct |
115 ms |
376144 KB |
Output is correct |
4 |
Correct |
115 ms |
376148 KB |
Output is correct |
5 |
Correct |
105 ms |
376060 KB |
Output is correct |
6 |
Correct |
105 ms |
376148 KB |
Output is correct |
7 |
Correct |
107 ms |
376152 KB |
Output is correct |
8 |
Correct |
107 ms |
376144 KB |
Output is correct |
9 |
Correct |
109 ms |
376020 KB |
Output is correct |
10 |
Correct |
110 ms |
376096 KB |
Output is correct |
11 |
Correct |
121 ms |
376116 KB |
Output is correct |
12 |
Correct |
111 ms |
376036 KB |
Output is correct |
13 |
Correct |
110 ms |
376148 KB |
Output is correct |
14 |
Correct |
133 ms |
376144 KB |
Output is correct |
15 |
Correct |
119 ms |
376144 KB |
Output is correct |
16 |
Correct |
109 ms |
376144 KB |
Output is correct |
17 |
Correct |
113 ms |
376148 KB |
Output is correct |
18 |
Correct |
110 ms |
376144 KB |
Output is correct |
19 |
Correct |
107 ms |
376144 KB |
Output is correct |
20 |
Correct |
110 ms |
376152 KB |
Output is correct |
21 |
Correct |
111 ms |
376144 KB |
Output is correct |
22 |
Correct |
109 ms |
376108 KB |
Output is correct |
23 |
Correct |
108 ms |
376148 KB |
Output is correct |
24 |
Correct |
111 ms |
376112 KB |
Output is correct |
25 |
Correct |
130 ms |
376232 KB |
Output is correct |
26 |
Correct |
116 ms |
376604 KB |
Output is correct |
27 |
Correct |
111 ms |
376148 KB |
Output is correct |
28 |
Correct |
108 ms |
376328 KB |
Output is correct |
29 |
Correct |
116 ms |
378196 KB |
Output is correct |
30 |
Correct |
117 ms |
378196 KB |
Output is correct |
31 |
Correct |
109 ms |
376400 KB |
Output is correct |
32 |
Correct |
111 ms |
376288 KB |
Output is correct |
33 |
Correct |
114 ms |
376356 KB |
Output is correct |
34 |
Correct |
114 ms |
377564 KB |
Output is correct |
35 |
Correct |
143 ms |
376544 KB |
Output is correct |
36 |
Correct |
119 ms |
376448 KB |
Output is correct |
37 |
Correct |
119 ms |
381440 KB |
Output is correct |
38 |
Correct |
130 ms |
381268 KB |
Output is correct |
39 |
Correct |
125 ms |
381140 KB |
Output is correct |
40 |
Correct |
164 ms |
387104 KB |
Output is correct |
41 |
Correct |
169 ms |
379888 KB |
Output is correct |
42 |
Correct |
172 ms |
379868 KB |
Output is correct |
43 |
Correct |
325 ms |
428816 KB |
Output is correct |
44 |
Correct |
277 ms |
428824 KB |
Output is correct |
45 |
Correct |
196 ms |
395712 KB |
Output is correct |
46 |
Correct |
216 ms |
395692 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
109 ms |
376148 KB |
Output is correct |
2 |
Correct |
109 ms |
376148 KB |
Output is correct |
3 |
Correct |
111 ms |
376116 KB |
Output is correct |
4 |
Correct |
105 ms |
376144 KB |
Output is correct |
5 |
Correct |
114 ms |
376148 KB |
Output is correct |
6 |
Correct |
111 ms |
376152 KB |
Output is correct |
7 |
Correct |
106 ms |
375960 KB |
Output is correct |
8 |
Correct |
111 ms |
376064 KB |
Output is correct |
9 |
Correct |
107 ms |
376024 KB |
Output is correct |
10 |
Correct |
111 ms |
376148 KB |
Output is correct |
11 |
Correct |
114 ms |
376092 KB |
Output is correct |
12 |
Correct |
111 ms |
376148 KB |
Output is correct |
13 |
Correct |
110 ms |
376148 KB |
Output is correct |
14 |
Correct |
111 ms |
376148 KB |
Output is correct |
15 |
Correct |
113 ms |
376120 KB |
Output is correct |
16 |
Correct |
119 ms |
376144 KB |
Output is correct |
17 |
Correct |
108 ms |
376108 KB |
Output is correct |
18 |
Correct |
109 ms |
376144 KB |
Output is correct |
19 |
Correct |
115 ms |
376124 KB |
Output is correct |
20 |
Correct |
117 ms |
376000 KB |
Output is correct |
21 |
Correct |
113 ms |
376096 KB |
Output is correct |
22 |
Correct |
119 ms |
375960 KB |
Output is correct |
23 |
Correct |
112 ms |
376120 KB |
Output is correct |
24 |
Correct |
117 ms |
376016 KB |
Output is correct |
25 |
Correct |
116 ms |
376128 KB |
Output is correct |
26 |
Correct |
116 ms |
376144 KB |
Output is correct |
27 |
Correct |
118 ms |
376184 KB |
Output is correct |
28 |
Correct |
109 ms |
376180 KB |
Output is correct |
29 |
Correct |
114 ms |
376044 KB |
Output is correct |
30 |
Correct |
112 ms |
376148 KB |
Output is correct |
31 |
Correct |
112 ms |
376044 KB |
Output is correct |
32 |
Correct |
107 ms |
376148 KB |
Output is correct |
33 |
Correct |
131 ms |
376148 KB |
Output is correct |
34 |
Correct |
126 ms |
375980 KB |
Output is correct |
35 |
Correct |
134 ms |
376028 KB |
Output is correct |
36 |
Correct |
118 ms |
376144 KB |
Output is correct |
37 |
Correct |
129 ms |
376144 KB |
Output is correct |
38 |
Correct |
131 ms |
376656 KB |
Output is correct |
39 |
Correct |
129 ms |
376148 KB |
Output is correct |
40 |
Correct |
133 ms |
376464 KB |
Output is correct |
41 |
Correct |
130 ms |
376148 KB |
Output is correct |
42 |
Correct |
124 ms |
376252 KB |
Output is correct |
43 |
Correct |
145 ms |
378196 KB |
Output is correct |
44 |
Correct |
133 ms |
378196 KB |
Output is correct |
45 |
Correct |
127 ms |
376148 KB |
Output is correct |
46 |
Correct |
130 ms |
376144 KB |
Output is correct |
47 |
Correct |
133 ms |
376144 KB |
Output is correct |
48 |
Correct |
132 ms |
376140 KB |
Output is correct |
49 |
Correct |
138 ms |
376364 KB |
Output is correct |
50 |
Correct |
125 ms |
376144 KB |
Output is correct |
51 |
Correct |
131 ms |
376404 KB |
Output is correct |
52 |
Correct |
132 ms |
376224 KB |
Output is correct |
53 |
Correct |
127 ms |
376144 KB |
Output is correct |
54 |
Correct |
128 ms |
376208 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
109 ms |
376148 KB |
Output is correct |
2 |
Correct |
109 ms |
376148 KB |
Output is correct |
3 |
Correct |
111 ms |
376116 KB |
Output is correct |
4 |
Correct |
105 ms |
376144 KB |
Output is correct |
5 |
Correct |
114 ms |
376148 KB |
Output is correct |
6 |
Correct |
111 ms |
376152 KB |
Output is correct |
7 |
Correct |
106 ms |
375960 KB |
Output is correct |
8 |
Correct |
111 ms |
376064 KB |
Output is correct |
9 |
Correct |
107 ms |
376024 KB |
Output is correct |
10 |
Correct |
111 ms |
376148 KB |
Output is correct |
11 |
Correct |
114 ms |
376092 KB |
Output is correct |
12 |
Correct |
111 ms |
376148 KB |
Output is correct |
13 |
Correct |
110 ms |
376148 KB |
Output is correct |
14 |
Correct |
111 ms |
376148 KB |
Output is correct |
15 |
Correct |
113 ms |
376120 KB |
Output is correct |
16 |
Correct |
119 ms |
376144 KB |
Output is correct |
17 |
Correct |
108 ms |
376108 KB |
Output is correct |
18 |
Correct |
109 ms |
376144 KB |
Output is correct |
19 |
Correct |
115 ms |
376124 KB |
Output is correct |
20 |
Correct |
117 ms |
376000 KB |
Output is correct |
21 |
Correct |
113 ms |
376096 KB |
Output is correct |
22 |
Correct |
119 ms |
375960 KB |
Output is correct |
23 |
Correct |
112 ms |
376120 KB |
Output is correct |
24 |
Correct |
117 ms |
376016 KB |
Output is correct |
25 |
Correct |
116 ms |
376128 KB |
Output is correct |
26 |
Correct |
116 ms |
376144 KB |
Output is correct |
27 |
Correct |
118 ms |
376184 KB |
Output is correct |
28 |
Correct |
109 ms |
376180 KB |
Output is correct |
29 |
Correct |
114 ms |
376044 KB |
Output is correct |
30 |
Correct |
112 ms |
376148 KB |
Output is correct |
31 |
Correct |
112 ms |
376044 KB |
Output is correct |
32 |
Correct |
107 ms |
376148 KB |
Output is correct |
33 |
Correct |
131 ms |
376148 KB |
Output is correct |
34 |
Correct |
126 ms |
375980 KB |
Output is correct |
35 |
Correct |
134 ms |
376028 KB |
Output is correct |
36 |
Correct |
118 ms |
376144 KB |
Output is correct |
37 |
Correct |
129 ms |
376144 KB |
Output is correct |
38 |
Correct |
131 ms |
376656 KB |
Output is correct |
39 |
Correct |
129 ms |
376148 KB |
Output is correct |
40 |
Correct |
133 ms |
376464 KB |
Output is correct |
41 |
Correct |
130 ms |
376148 KB |
Output is correct |
42 |
Correct |
124 ms |
376252 KB |
Output is correct |
43 |
Correct |
145 ms |
378196 KB |
Output is correct |
44 |
Correct |
133 ms |
378196 KB |
Output is correct |
45 |
Correct |
127 ms |
376148 KB |
Output is correct |
46 |
Correct |
130 ms |
376144 KB |
Output is correct |
47 |
Correct |
133 ms |
376144 KB |
Output is correct |
48 |
Correct |
132 ms |
376140 KB |
Output is correct |
49 |
Correct |
138 ms |
376364 KB |
Output is correct |
50 |
Correct |
125 ms |
376144 KB |
Output is correct |
51 |
Correct |
131 ms |
376404 KB |
Output is correct |
52 |
Correct |
132 ms |
376224 KB |
Output is correct |
53 |
Correct |
127 ms |
376144 KB |
Output is correct |
54 |
Correct |
128 ms |
376208 KB |
Output is correct |
55 |
Correct |
145 ms |
376400 KB |
Output is correct |
56 |
Correct |
132 ms |
376288 KB |
Output is correct |
57 |
Correct |
129 ms |
377560 KB |
Output is correct |
58 |
Correct |
137 ms |
376400 KB |
Output is correct |
59 |
Correct |
132 ms |
376560 KB |
Output is correct |
60 |
Correct |
139 ms |
376660 KB |
Output is correct |
61 |
Correct |
136 ms |
376616 KB |
Output is correct |
62 |
Correct |
137 ms |
376400 KB |
Output is correct |
63 |
Correct |
137 ms |
381264 KB |
Output is correct |
64 |
Correct |
142 ms |
381520 KB |
Output is correct |
65 |
Correct |
129 ms |
376284 KB |
Output is correct |
66 |
Correct |
131 ms |
376400 KB |
Output is correct |
67 |
Correct |
143 ms |
376316 KB |
Output is correct |
68 |
Correct |
142 ms |
376452 KB |
Output is correct |
69 |
Correct |
134 ms |
376400 KB |
Output is correct |
70 |
Correct |
143 ms |
376656 KB |
Output is correct |
71 |
Correct |
135 ms |
376976 KB |
Output is correct |
72 |
Correct |
126 ms |
377188 KB |
Output is correct |
73 |
Correct |
139 ms |
377044 KB |
Output is correct |
74 |
Correct |
134 ms |
376660 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
109 ms |
376400 KB |
Output is correct |
2 |
Correct |
108 ms |
376148 KB |
Output is correct |
3 |
Correct |
109 ms |
376180 KB |
Output is correct |
4 |
Correct |
114 ms |
375980 KB |
Output is correct |
5 |
Correct |
112 ms |
376000 KB |
Output is correct |
6 |
Correct |
107 ms |
375952 KB |
Output is correct |
7 |
Correct |
110 ms |
376116 KB |
Output is correct |
8 |
Correct |
111 ms |
376144 KB |
Output is correct |
9 |
Correct |
129 ms |
376148 KB |
Output is correct |
10 |
Correct |
108 ms |
376144 KB |
Output is correct |
11 |
Correct |
107 ms |
376008 KB |
Output is correct |
12 |
Correct |
109 ms |
376144 KB |
Output is correct |
13 |
Correct |
113 ms |
376148 KB |
Output is correct |
14 |
Correct |
108 ms |
376148 KB |
Output is correct |
15 |
Correct |
105 ms |
376028 KB |
Output is correct |
16 |
Correct |
118 ms |
376144 KB |
Output is correct |
17 |
Correct |
104 ms |
376148 KB |
Output is correct |
18 |
Correct |
106 ms |
376024 KB |
Output is correct |
19 |
Correct |
123 ms |
376144 KB |
Output is correct |
20 |
Correct |
120 ms |
376060 KB |
Output is correct |
21 |
Correct |
114 ms |
376368 KB |
Output is correct |
22 |
Correct |
109 ms |
376400 KB |
Output is correct |
23 |
Correct |
110 ms |
376144 KB |
Output is correct |
24 |
Correct |
125 ms |
376112 KB |
Output is correct |
25 |
Correct |
112 ms |
376168 KB |
Output is correct |
26 |
Correct |
112 ms |
376404 KB |
Output is correct |
27 |
Correct |
109 ms |
376144 KB |
Output is correct |
28 |
Correct |
113 ms |
376404 KB |
Output is correct |
29 |
Correct |
132 ms |
376532 KB |
Output is correct |
30 |
Correct |
139 ms |
376076 KB |
Output is correct |
31 |
Correct |
121 ms |
376404 KB |
Output is correct |
32 |
Correct |
119 ms |
376716 KB |
Output is correct |
33 |
Correct |
124 ms |
376544 KB |
Output is correct |
34 |
Correct |
121 ms |
376400 KB |
Output is correct |
35 |
Correct |
110 ms |
376352 KB |
Output is correct |
36 |
Correct |
119 ms |
377288 KB |
Output is correct |
37 |
Correct |
123 ms |
377260 KB |
Output is correct |
38 |
Correct |
114 ms |
376660 KB |
Output is correct |
39 |
Correct |
227 ms |
379476 KB |
Output is correct |
40 |
Correct |
111 ms |
376520 KB |
Output is correct |
41 |
Correct |
118 ms |
376404 KB |
Output is correct |
42 |
Correct |
122 ms |
376656 KB |
Output is correct |
43 |
Correct |
115 ms |
376664 KB |
Output is correct |
44 |
Correct |
127 ms |
377684 KB |
Output is correct |
45 |
Correct |
141 ms |
377808 KB |
Output is correct |
46 |
Correct |
167 ms |
379892 KB |
Output is correct |
47 |
Correct |
212 ms |
379932 KB |
Output is correct |
48 |
Correct |
200 ms |
379556 KB |
Output is correct |
49 |
Correct |
126 ms |
379220 KB |
Output is correct |
50 |
Correct |
145 ms |
379216 KB |
Output is correct |
51 |
Correct |
178 ms |
382556 KB |
Output is correct |
52 |
Correct |
171 ms |
380748 KB |
Output is correct |
53 |
Correct |
223 ms |
379852 KB |
Output is correct |
54 |
Correct |
109 ms |
376148 KB |
Output is correct |
55 |
Correct |
109 ms |
376148 KB |
Output is correct |
56 |
Correct |
111 ms |
376116 KB |
Output is correct |
57 |
Correct |
105 ms |
376144 KB |
Output is correct |
58 |
Correct |
114 ms |
376148 KB |
Output is correct |
59 |
Correct |
111 ms |
376152 KB |
Output is correct |
60 |
Correct |
106 ms |
375960 KB |
Output is correct |
61 |
Correct |
111 ms |
376064 KB |
Output is correct |
62 |
Correct |
107 ms |
376024 KB |
Output is correct |
63 |
Correct |
111 ms |
376148 KB |
Output is correct |
64 |
Correct |
114 ms |
376092 KB |
Output is correct |
65 |
Correct |
111 ms |
376148 KB |
Output is correct |
66 |
Correct |
110 ms |
376148 KB |
Output is correct |
67 |
Correct |
111 ms |
376148 KB |
Output is correct |
68 |
Correct |
113 ms |
376120 KB |
Output is correct |
69 |
Correct |
119 ms |
376144 KB |
Output is correct |
70 |
Correct |
108 ms |
376108 KB |
Output is correct |
71 |
Correct |
109 ms |
376144 KB |
Output is correct |
72 |
Correct |
115 ms |
376124 KB |
Output is correct |
73 |
Correct |
117 ms |
376000 KB |
Output is correct |
74 |
Correct |
113 ms |
376096 KB |
Output is correct |
75 |
Correct |
119 ms |
375960 KB |
Output is correct |
76 |
Correct |
112 ms |
376120 KB |
Output is correct |
77 |
Correct |
117 ms |
376016 KB |
Output is correct |
78 |
Correct |
116 ms |
376128 KB |
Output is correct |
79 |
Correct |
116 ms |
376144 KB |
Output is correct |
80 |
Correct |
118 ms |
376184 KB |
Output is correct |
81 |
Correct |
109 ms |
376180 KB |
Output is correct |
82 |
Correct |
114 ms |
376044 KB |
Output is correct |
83 |
Correct |
112 ms |
376148 KB |
Output is correct |
84 |
Correct |
112 ms |
376044 KB |
Output is correct |
85 |
Correct |
107 ms |
376148 KB |
Output is correct |
86 |
Correct |
103 ms |
376148 KB |
Output is correct |
87 |
Correct |
111 ms |
376000 KB |
Output is correct |
88 |
Correct |
115 ms |
376144 KB |
Output is correct |
89 |
Correct |
115 ms |
376148 KB |
Output is correct |
90 |
Correct |
105 ms |
376060 KB |
Output is correct |
91 |
Correct |
105 ms |
376148 KB |
Output is correct |
92 |
Correct |
107 ms |
376152 KB |
Output is correct |
93 |
Correct |
107 ms |
376144 KB |
Output is correct |
94 |
Correct |
109 ms |
376020 KB |
Output is correct |
95 |
Correct |
110 ms |
376096 KB |
Output is correct |
96 |
Correct |
121 ms |
376116 KB |
Output is correct |
97 |
Correct |
111 ms |
376036 KB |
Output is correct |
98 |
Correct |
110 ms |
376148 KB |
Output is correct |
99 |
Correct |
133 ms |
376144 KB |
Output is correct |
100 |
Correct |
119 ms |
376144 KB |
Output is correct |
101 |
Correct |
109 ms |
376144 KB |
Output is correct |
102 |
Correct |
113 ms |
376148 KB |
Output is correct |
103 |
Correct |
110 ms |
376144 KB |
Output is correct |
104 |
Correct |
107 ms |
376144 KB |
Output is correct |
105 |
Correct |
110 ms |
376152 KB |
Output is correct |
106 |
Correct |
111 ms |
376144 KB |
Output is correct |
107 |
Correct |
109 ms |
376108 KB |
Output is correct |
108 |
Correct |
108 ms |
376148 KB |
Output is correct |
109 |
Correct |
111 ms |
376112 KB |
Output is correct |
110 |
Correct |
130 ms |
376232 KB |
Output is correct |
111 |
Correct |
116 ms |
376604 KB |
Output is correct |
112 |
Correct |
111 ms |
376148 KB |
Output is correct |
113 |
Correct |
108 ms |
376328 KB |
Output is correct |
114 |
Correct |
116 ms |
378196 KB |
Output is correct |
115 |
Correct |
117 ms |
378196 KB |
Output is correct |
116 |
Correct |
109 ms |
376400 KB |
Output is correct |
117 |
Correct |
111 ms |
376288 KB |
Output is correct |
118 |
Correct |
114 ms |
376356 KB |
Output is correct |
119 |
Correct |
114 ms |
377564 KB |
Output is correct |
120 |
Correct |
143 ms |
376544 KB |
Output is correct |
121 |
Correct |
119 ms |
376448 KB |
Output is correct |
122 |
Correct |
119 ms |
381440 KB |
Output is correct |
123 |
Correct |
130 ms |
381268 KB |
Output is correct |
124 |
Correct |
125 ms |
381140 KB |
Output is correct |
125 |
Correct |
164 ms |
387104 KB |
Output is correct |
126 |
Correct |
169 ms |
379888 KB |
Output is correct |
127 |
Correct |
172 ms |
379868 KB |
Output is correct |
128 |
Correct |
325 ms |
428816 KB |
Output is correct |
129 |
Correct |
277 ms |
428824 KB |
Output is correct |
130 |
Correct |
196 ms |
395712 KB |
Output is correct |
131 |
Correct |
216 ms |
395692 KB |
Output is correct |
132 |
Correct |
131 ms |
376148 KB |
Output is correct |
133 |
Correct |
126 ms |
375980 KB |
Output is correct |
134 |
Correct |
134 ms |
376028 KB |
Output is correct |
135 |
Correct |
118 ms |
376144 KB |
Output is correct |
136 |
Correct |
129 ms |
376144 KB |
Output is correct |
137 |
Correct |
131 ms |
376656 KB |
Output is correct |
138 |
Correct |
129 ms |
376148 KB |
Output is correct |
139 |
Correct |
133 ms |
376464 KB |
Output is correct |
140 |
Correct |
130 ms |
376148 KB |
Output is correct |
141 |
Correct |
124 ms |
376252 KB |
Output is correct |
142 |
Correct |
145 ms |
378196 KB |
Output is correct |
143 |
Correct |
133 ms |
378196 KB |
Output is correct |
144 |
Correct |
127 ms |
376148 KB |
Output is correct |
145 |
Correct |
130 ms |
376144 KB |
Output is correct |
146 |
Correct |
133 ms |
376144 KB |
Output is correct |
147 |
Correct |
132 ms |
376140 KB |
Output is correct |
148 |
Correct |
138 ms |
376364 KB |
Output is correct |
149 |
Correct |
125 ms |
376144 KB |
Output is correct |
150 |
Correct |
131 ms |
376404 KB |
Output is correct |
151 |
Correct |
132 ms |
376224 KB |
Output is correct |
152 |
Correct |
127 ms |
376144 KB |
Output is correct |
153 |
Correct |
128 ms |
376208 KB |
Output is correct |
154 |
Correct |
145 ms |
376400 KB |
Output is correct |
155 |
Correct |
132 ms |
376288 KB |
Output is correct |
156 |
Correct |
129 ms |
377560 KB |
Output is correct |
157 |
Correct |
137 ms |
376400 KB |
Output is correct |
158 |
Correct |
132 ms |
376560 KB |
Output is correct |
159 |
Correct |
139 ms |
376660 KB |
Output is correct |
160 |
Correct |
136 ms |
376616 KB |
Output is correct |
161 |
Correct |
137 ms |
376400 KB |
Output is correct |
162 |
Correct |
137 ms |
381264 KB |
Output is correct |
163 |
Correct |
142 ms |
381520 KB |
Output is correct |
164 |
Correct |
129 ms |
376284 KB |
Output is correct |
165 |
Correct |
131 ms |
376400 KB |
Output is correct |
166 |
Correct |
143 ms |
376316 KB |
Output is correct |
167 |
Correct |
142 ms |
376452 KB |
Output is correct |
168 |
Correct |
134 ms |
376400 KB |
Output is correct |
169 |
Correct |
143 ms |
376656 KB |
Output is correct |
170 |
Correct |
135 ms |
376976 KB |
Output is correct |
171 |
Correct |
126 ms |
377188 KB |
Output is correct |
172 |
Correct |
139 ms |
377044 KB |
Output is correct |
173 |
Correct |
134 ms |
376660 KB |
Output is correct |
174 |
Correct |
131 ms |
376404 KB |
Output is correct |
175 |
Correct |
154 ms |
376912 KB |
Output is correct |
176 |
Correct |
147 ms |
377560 KB |
Output is correct |
177 |
Correct |
182 ms |
378192 KB |
Output is correct |
178 |
Correct |
137 ms |
378868 KB |
Output is correct |
179 |
Correct |
198 ms |
379476 KB |
Output is correct |
180 |
Correct |
248 ms |
379656 KB |
Output is correct |
181 |
Correct |
264 ms |
380236 KB |
Output is correct |
182 |
Correct |
270 ms |
381784 KB |
Output is correct |
183 |
Correct |
225 ms |
390844 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
109 ms |
376400 KB |
Output is correct |
2 |
Correct |
108 ms |
376148 KB |
Output is correct |
3 |
Correct |
109 ms |
376180 KB |
Output is correct |
4 |
Correct |
114 ms |
375980 KB |
Output is correct |
5 |
Correct |
112 ms |
376000 KB |
Output is correct |
6 |
Correct |
107 ms |
375952 KB |
Output is correct |
7 |
Correct |
110 ms |
376116 KB |
Output is correct |
8 |
Correct |
111 ms |
376144 KB |
Output is correct |
9 |
Correct |
129 ms |
376148 KB |
Output is correct |
10 |
Correct |
108 ms |
376144 KB |
Output is correct |
11 |
Correct |
107 ms |
376008 KB |
Output is correct |
12 |
Correct |
109 ms |
376144 KB |
Output is correct |
13 |
Correct |
113 ms |
376148 KB |
Output is correct |
14 |
Correct |
108 ms |
376148 KB |
Output is correct |
15 |
Correct |
105 ms |
376028 KB |
Output is correct |
16 |
Correct |
118 ms |
376144 KB |
Output is correct |
17 |
Correct |
104 ms |
376148 KB |
Output is correct |
18 |
Correct |
106 ms |
376024 KB |
Output is correct |
19 |
Correct |
123 ms |
376144 KB |
Output is correct |
20 |
Correct |
120 ms |
376060 KB |
Output is correct |
21 |
Correct |
114 ms |
376368 KB |
Output is correct |
22 |
Correct |
109 ms |
376400 KB |
Output is correct |
23 |
Correct |
110 ms |
376144 KB |
Output is correct |
24 |
Correct |
125 ms |
376112 KB |
Output is correct |
25 |
Correct |
112 ms |
376168 KB |
Output is correct |
26 |
Correct |
112 ms |
376404 KB |
Output is correct |
27 |
Correct |
109 ms |
376144 KB |
Output is correct |
28 |
Correct |
113 ms |
376404 KB |
Output is correct |
29 |
Correct |
132 ms |
376532 KB |
Output is correct |
30 |
Correct |
139 ms |
376076 KB |
Output is correct |
31 |
Correct |
121 ms |
376404 KB |
Output is correct |
32 |
Correct |
119 ms |
376716 KB |
Output is correct |
33 |
Correct |
124 ms |
376544 KB |
Output is correct |
34 |
Correct |
121 ms |
376400 KB |
Output is correct |
35 |
Correct |
110 ms |
376352 KB |
Output is correct |
36 |
Correct |
119 ms |
377288 KB |
Output is correct |
37 |
Correct |
123 ms |
377260 KB |
Output is correct |
38 |
Correct |
114 ms |
376660 KB |
Output is correct |
39 |
Correct |
227 ms |
379476 KB |
Output is correct |
40 |
Correct |
111 ms |
376520 KB |
Output is correct |
41 |
Correct |
118 ms |
376404 KB |
Output is correct |
42 |
Correct |
122 ms |
376656 KB |
Output is correct |
43 |
Correct |
115 ms |
376664 KB |
Output is correct |
44 |
Correct |
127 ms |
377684 KB |
Output is correct |
45 |
Correct |
141 ms |
377808 KB |
Output is correct |
46 |
Correct |
167 ms |
379892 KB |
Output is correct |
47 |
Correct |
212 ms |
379932 KB |
Output is correct |
48 |
Correct |
200 ms |
379556 KB |
Output is correct |
49 |
Correct |
126 ms |
379220 KB |
Output is correct |
50 |
Correct |
145 ms |
379216 KB |
Output is correct |
51 |
Correct |
178 ms |
382556 KB |
Output is correct |
52 |
Correct |
171 ms |
380748 KB |
Output is correct |
53 |
Correct |
223 ms |
379852 KB |
Output is correct |
54 |
Correct |
109 ms |
376148 KB |
Output is correct |
55 |
Correct |
109 ms |
376148 KB |
Output is correct |
56 |
Correct |
111 ms |
376116 KB |
Output is correct |
57 |
Correct |
105 ms |
376144 KB |
Output is correct |
58 |
Correct |
114 ms |
376148 KB |
Output is correct |
59 |
Correct |
111 ms |
376152 KB |
Output is correct |
60 |
Correct |
106 ms |
375960 KB |
Output is correct |
61 |
Correct |
111 ms |
376064 KB |
Output is correct |
62 |
Correct |
107 ms |
376024 KB |
Output is correct |
63 |
Correct |
111 ms |
376148 KB |
Output is correct |
64 |
Correct |
114 ms |
376092 KB |
Output is correct |
65 |
Correct |
111 ms |
376148 KB |
Output is correct |
66 |
Correct |
110 ms |
376148 KB |
Output is correct |
67 |
Correct |
111 ms |
376148 KB |
Output is correct |
68 |
Correct |
113 ms |
376120 KB |
Output is correct |
69 |
Correct |
119 ms |
376144 KB |
Output is correct |
70 |
Correct |
108 ms |
376108 KB |
Output is correct |
71 |
Correct |
109 ms |
376144 KB |
Output is correct |
72 |
Correct |
115 ms |
376124 KB |
Output is correct |
73 |
Correct |
117 ms |
376000 KB |
Output is correct |
74 |
Correct |
113 ms |
376096 KB |
Output is correct |
75 |
Correct |
119 ms |
375960 KB |
Output is correct |
76 |
Correct |
112 ms |
376120 KB |
Output is correct |
77 |
Correct |
117 ms |
376016 KB |
Output is correct |
78 |
Correct |
116 ms |
376128 KB |
Output is correct |
79 |
Correct |
116 ms |
376144 KB |
Output is correct |
80 |
Correct |
118 ms |
376184 KB |
Output is correct |
81 |
Correct |
109 ms |
376180 KB |
Output is correct |
82 |
Correct |
114 ms |
376044 KB |
Output is correct |
83 |
Correct |
112 ms |
376148 KB |
Output is correct |
84 |
Correct |
112 ms |
376044 KB |
Output is correct |
85 |
Correct |
107 ms |
376148 KB |
Output is correct |
86 |
Correct |
103 ms |
376148 KB |
Output is correct |
87 |
Correct |
111 ms |
376000 KB |
Output is correct |
88 |
Correct |
115 ms |
376144 KB |
Output is correct |
89 |
Correct |
115 ms |
376148 KB |
Output is correct |
90 |
Correct |
105 ms |
376060 KB |
Output is correct |
91 |
Correct |
105 ms |
376148 KB |
Output is correct |
92 |
Correct |
107 ms |
376152 KB |
Output is correct |
93 |
Correct |
107 ms |
376144 KB |
Output is correct |
94 |
Correct |
109 ms |
376020 KB |
Output is correct |
95 |
Correct |
110 ms |
376096 KB |
Output is correct |
96 |
Correct |
121 ms |
376116 KB |
Output is correct |
97 |
Correct |
111 ms |
376036 KB |
Output is correct |
98 |
Correct |
110 ms |
376148 KB |
Output is correct |
99 |
Correct |
133 ms |
376144 KB |
Output is correct |
100 |
Correct |
119 ms |
376144 KB |
Output is correct |
101 |
Correct |
109 ms |
376144 KB |
Output is correct |
102 |
Correct |
113 ms |
376148 KB |
Output is correct |
103 |
Correct |
110 ms |
376144 KB |
Output is correct |
104 |
Correct |
107 ms |
376144 KB |
Output is correct |
105 |
Correct |
110 ms |
376152 KB |
Output is correct |
106 |
Correct |
111 ms |
376144 KB |
Output is correct |
107 |
Correct |
109 ms |
376108 KB |
Output is correct |
108 |
Correct |
108 ms |
376148 KB |
Output is correct |
109 |
Correct |
111 ms |
376112 KB |
Output is correct |
110 |
Correct |
130 ms |
376232 KB |
Output is correct |
111 |
Correct |
116 ms |
376604 KB |
Output is correct |
112 |
Correct |
111 ms |
376148 KB |
Output is correct |
113 |
Correct |
108 ms |
376328 KB |
Output is correct |
114 |
Correct |
116 ms |
378196 KB |
Output is correct |
115 |
Correct |
117 ms |
378196 KB |
Output is correct |
116 |
Correct |
109 ms |
376400 KB |
Output is correct |
117 |
Correct |
111 ms |
376288 KB |
Output is correct |
118 |
Correct |
114 ms |
376356 KB |
Output is correct |
119 |
Correct |
114 ms |
377564 KB |
Output is correct |
120 |
Correct |
143 ms |
376544 KB |
Output is correct |
121 |
Correct |
119 ms |
376448 KB |
Output is correct |
122 |
Correct |
119 ms |
381440 KB |
Output is correct |
123 |
Correct |
130 ms |
381268 KB |
Output is correct |
124 |
Correct |
125 ms |
381140 KB |
Output is correct |
125 |
Correct |
164 ms |
387104 KB |
Output is correct |
126 |
Correct |
169 ms |
379888 KB |
Output is correct |
127 |
Correct |
172 ms |
379868 KB |
Output is correct |
128 |
Correct |
325 ms |
428816 KB |
Output is correct |
129 |
Correct |
277 ms |
428824 KB |
Output is correct |
130 |
Correct |
196 ms |
395712 KB |
Output is correct |
131 |
Correct |
216 ms |
395692 KB |
Output is correct |
132 |
Correct |
131 ms |
376148 KB |
Output is correct |
133 |
Correct |
126 ms |
375980 KB |
Output is correct |
134 |
Correct |
134 ms |
376028 KB |
Output is correct |
135 |
Correct |
118 ms |
376144 KB |
Output is correct |
136 |
Correct |
129 ms |
376144 KB |
Output is correct |
137 |
Correct |
131 ms |
376656 KB |
Output is correct |
138 |
Correct |
129 ms |
376148 KB |
Output is correct |
139 |
Correct |
133 ms |
376464 KB |
Output is correct |
140 |
Correct |
130 ms |
376148 KB |
Output is correct |
141 |
Correct |
124 ms |
376252 KB |
Output is correct |
142 |
Correct |
145 ms |
378196 KB |
Output is correct |
143 |
Correct |
133 ms |
378196 KB |
Output is correct |
144 |
Correct |
127 ms |
376148 KB |
Output is correct |
145 |
Correct |
130 ms |
376144 KB |
Output is correct |
146 |
Correct |
133 ms |
376144 KB |
Output is correct |
147 |
Correct |
132 ms |
376140 KB |
Output is correct |
148 |
Correct |
138 ms |
376364 KB |
Output is correct |
149 |
Correct |
125 ms |
376144 KB |
Output is correct |
150 |
Correct |
131 ms |
376404 KB |
Output is correct |
151 |
Correct |
132 ms |
376224 KB |
Output is correct |
152 |
Correct |
127 ms |
376144 KB |
Output is correct |
153 |
Correct |
128 ms |
376208 KB |
Output is correct |
154 |
Correct |
145 ms |
376400 KB |
Output is correct |
155 |
Correct |
132 ms |
376288 KB |
Output is correct |
156 |
Correct |
129 ms |
377560 KB |
Output is correct |
157 |
Correct |
137 ms |
376400 KB |
Output is correct |
158 |
Correct |
132 ms |
376560 KB |
Output is correct |
159 |
Correct |
139 ms |
376660 KB |
Output is correct |
160 |
Correct |
136 ms |
376616 KB |
Output is correct |
161 |
Correct |
137 ms |
376400 KB |
Output is correct |
162 |
Correct |
137 ms |
381264 KB |
Output is correct |
163 |
Correct |
142 ms |
381520 KB |
Output is correct |
164 |
Correct |
129 ms |
376284 KB |
Output is correct |
165 |
Correct |
131 ms |
376400 KB |
Output is correct |
166 |
Correct |
143 ms |
376316 KB |
Output is correct |
167 |
Correct |
142 ms |
376452 KB |
Output is correct |
168 |
Correct |
134 ms |
376400 KB |
Output is correct |
169 |
Correct |
143 ms |
376656 KB |
Output is correct |
170 |
Correct |
135 ms |
376976 KB |
Output is correct |
171 |
Correct |
126 ms |
377188 KB |
Output is correct |
172 |
Correct |
139 ms |
377044 KB |
Output is correct |
173 |
Correct |
134 ms |
376660 KB |
Output is correct |
174 |
Correct |
131 ms |
376404 KB |
Output is correct |
175 |
Correct |
154 ms |
376912 KB |
Output is correct |
176 |
Correct |
147 ms |
377560 KB |
Output is correct |
177 |
Correct |
182 ms |
378192 KB |
Output is correct |
178 |
Correct |
137 ms |
378868 KB |
Output is correct |
179 |
Correct |
198 ms |
379476 KB |
Output is correct |
180 |
Correct |
248 ms |
379656 KB |
Output is correct |
181 |
Correct |
264 ms |
380236 KB |
Output is correct |
182 |
Correct |
270 ms |
381784 KB |
Output is correct |
183 |
Correct |
225 ms |
390844 KB |
Output is correct |
184 |
Correct |
381 ms |
382800 KB |
Output is correct |
185 |
Correct |
170 ms |
379476 KB |
Output is correct |
186 |
Correct |
207 ms |
396212 KB |
Output is correct |
187 |
Correct |
168 ms |
383836 KB |
Output is correct |
188 |
Correct |
265 ms |
383708 KB |
Output is correct |
189 |
Correct |
292 ms |
383716 KB |
Output is correct |
190 |
Correct |
235 ms |
382800 KB |
Output is correct |
191 |
Correct |
244 ms |
383436 KB |
Output is correct |
192 |
Correct |
430 ms |
481104 KB |
Output is correct |
193 |
Correct |
420 ms |
481224 KB |
Output is correct |
194 |
Correct |
208 ms |
382292 KB |
Output is correct |
195 |
Correct |
211 ms |
382292 KB |
Output is correct |
196 |
Correct |
381 ms |
382548 KB |
Output is correct |
197 |
Correct |
286 ms |
382828 KB |
Output is correct |
198 |
Correct |
282 ms |
383824 KB |
Output is correct |
199 |
Correct |
405 ms |
386128 KB |
Output is correct |
200 |
Correct |
215 ms |
388440 KB |
Output is correct |
201 |
Correct |
281 ms |
385272 KB |
Output is correct |
202 |
Correct |
367 ms |
383640 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
109 ms |
376400 KB |
Output is correct |
2 |
Correct |
108 ms |
376148 KB |
Output is correct |
3 |
Correct |
109 ms |
376180 KB |
Output is correct |
4 |
Correct |
114 ms |
375980 KB |
Output is correct |
5 |
Correct |
112 ms |
376000 KB |
Output is correct |
6 |
Correct |
107 ms |
375952 KB |
Output is correct |
7 |
Correct |
110 ms |
376116 KB |
Output is correct |
8 |
Correct |
111 ms |
376144 KB |
Output is correct |
9 |
Correct |
129 ms |
376148 KB |
Output is correct |
10 |
Correct |
108 ms |
376144 KB |
Output is correct |
11 |
Correct |
107 ms |
376008 KB |
Output is correct |
12 |
Correct |
109 ms |
376144 KB |
Output is correct |
13 |
Correct |
113 ms |
376148 KB |
Output is correct |
14 |
Correct |
108 ms |
376148 KB |
Output is correct |
15 |
Correct |
105 ms |
376028 KB |
Output is correct |
16 |
Correct |
118 ms |
376144 KB |
Output is correct |
17 |
Correct |
104 ms |
376148 KB |
Output is correct |
18 |
Correct |
106 ms |
376024 KB |
Output is correct |
19 |
Correct |
123 ms |
376144 KB |
Output is correct |
20 |
Correct |
120 ms |
376060 KB |
Output is correct |
21 |
Correct |
114 ms |
376368 KB |
Output is correct |
22 |
Correct |
109 ms |
376400 KB |
Output is correct |
23 |
Correct |
110 ms |
376144 KB |
Output is correct |
24 |
Correct |
125 ms |
376112 KB |
Output is correct |
25 |
Correct |
112 ms |
376168 KB |
Output is correct |
26 |
Correct |
112 ms |
376404 KB |
Output is correct |
27 |
Correct |
109 ms |
376144 KB |
Output is correct |
28 |
Correct |
113 ms |
376404 KB |
Output is correct |
29 |
Correct |
132 ms |
376532 KB |
Output is correct |
30 |
Correct |
139 ms |
376076 KB |
Output is correct |
31 |
Correct |
121 ms |
376404 KB |
Output is correct |
32 |
Correct |
119 ms |
376716 KB |
Output is correct |
33 |
Correct |
124 ms |
376544 KB |
Output is correct |
34 |
Correct |
121 ms |
376400 KB |
Output is correct |
35 |
Correct |
110 ms |
376352 KB |
Output is correct |
36 |
Correct |
119 ms |
377288 KB |
Output is correct |
37 |
Correct |
123 ms |
377260 KB |
Output is correct |
38 |
Correct |
114 ms |
376660 KB |
Output is correct |
39 |
Correct |
227 ms |
379476 KB |
Output is correct |
40 |
Correct |
111 ms |
376520 KB |
Output is correct |
41 |
Correct |
118 ms |
376404 KB |
Output is correct |
42 |
Correct |
122 ms |
376656 KB |
Output is correct |
43 |
Correct |
115 ms |
376664 KB |
Output is correct |
44 |
Correct |
127 ms |
377684 KB |
Output is correct |
45 |
Correct |
141 ms |
377808 KB |
Output is correct |
46 |
Correct |
167 ms |
379892 KB |
Output is correct |
47 |
Correct |
212 ms |
379932 KB |
Output is correct |
48 |
Correct |
200 ms |
379556 KB |
Output is correct |
49 |
Correct |
126 ms |
379220 KB |
Output is correct |
50 |
Correct |
145 ms |
379216 KB |
Output is correct |
51 |
Correct |
178 ms |
382556 KB |
Output is correct |
52 |
Correct |
171 ms |
380748 KB |
Output is correct |
53 |
Correct |
223 ms |
379852 KB |
Output is correct |
54 |
Correct |
109 ms |
376148 KB |
Output is correct |
55 |
Correct |
109 ms |
376148 KB |
Output is correct |
56 |
Correct |
111 ms |
376116 KB |
Output is correct |
57 |
Correct |
105 ms |
376144 KB |
Output is correct |
58 |
Correct |
114 ms |
376148 KB |
Output is correct |
59 |
Correct |
111 ms |
376152 KB |
Output is correct |
60 |
Correct |
106 ms |
375960 KB |
Output is correct |
61 |
Correct |
111 ms |
376064 KB |
Output is correct |
62 |
Correct |
107 ms |
376024 KB |
Output is correct |
63 |
Correct |
111 ms |
376148 KB |
Output is correct |
64 |
Correct |
114 ms |
376092 KB |
Output is correct |
65 |
Correct |
111 ms |
376148 KB |
Output is correct |
66 |
Correct |
110 ms |
376148 KB |
Output is correct |
67 |
Correct |
111 ms |
376148 KB |
Output is correct |
68 |
Correct |
113 ms |
376120 KB |
Output is correct |
69 |
Correct |
119 ms |
376144 KB |
Output is correct |
70 |
Correct |
108 ms |
376108 KB |
Output is correct |
71 |
Correct |
109 ms |
376144 KB |
Output is correct |
72 |
Correct |
115 ms |
376124 KB |
Output is correct |
73 |
Correct |
117 ms |
376000 KB |
Output is correct |
74 |
Correct |
113 ms |
376096 KB |
Output is correct |
75 |
Correct |
119 ms |
375960 KB |
Output is correct |
76 |
Correct |
112 ms |
376120 KB |
Output is correct |
77 |
Correct |
117 ms |
376016 KB |
Output is correct |
78 |
Correct |
116 ms |
376128 KB |
Output is correct |
79 |
Correct |
116 ms |
376144 KB |
Output is correct |
80 |
Correct |
118 ms |
376184 KB |
Output is correct |
81 |
Correct |
109 ms |
376180 KB |
Output is correct |
82 |
Correct |
114 ms |
376044 KB |
Output is correct |
83 |
Correct |
112 ms |
376148 KB |
Output is correct |
84 |
Correct |
112 ms |
376044 KB |
Output is correct |
85 |
Correct |
107 ms |
376148 KB |
Output is correct |
86 |
Correct |
103 ms |
376148 KB |
Output is correct |
87 |
Correct |
111 ms |
376000 KB |
Output is correct |
88 |
Correct |
115 ms |
376144 KB |
Output is correct |
89 |
Correct |
115 ms |
376148 KB |
Output is correct |
90 |
Correct |
105 ms |
376060 KB |
Output is correct |
91 |
Correct |
105 ms |
376148 KB |
Output is correct |
92 |
Correct |
107 ms |
376152 KB |
Output is correct |
93 |
Correct |
107 ms |
376144 KB |
Output is correct |
94 |
Correct |
109 ms |
376020 KB |
Output is correct |
95 |
Correct |
110 ms |
376096 KB |
Output is correct |
96 |
Correct |
121 ms |
376116 KB |
Output is correct |
97 |
Correct |
111 ms |
376036 KB |
Output is correct |
98 |
Correct |
110 ms |
376148 KB |
Output is correct |
99 |
Correct |
133 ms |
376144 KB |
Output is correct |
100 |
Correct |
119 ms |
376144 KB |
Output is correct |
101 |
Correct |
109 ms |
376144 KB |
Output is correct |
102 |
Correct |
113 ms |
376148 KB |
Output is correct |
103 |
Correct |
110 ms |
376144 KB |
Output is correct |
104 |
Correct |
107 ms |
376144 KB |
Output is correct |
105 |
Correct |
110 ms |
376152 KB |
Output is correct |
106 |
Correct |
111 ms |
376144 KB |
Output is correct |
107 |
Correct |
109 ms |
376108 KB |
Output is correct |
108 |
Correct |
108 ms |
376148 KB |
Output is correct |
109 |
Correct |
111 ms |
376112 KB |
Output is correct |
110 |
Correct |
130 ms |
376232 KB |
Output is correct |
111 |
Correct |
116 ms |
376604 KB |
Output is correct |
112 |
Correct |
111 ms |
376148 KB |
Output is correct |
113 |
Correct |
108 ms |
376328 KB |
Output is correct |
114 |
Correct |
116 ms |
378196 KB |
Output is correct |
115 |
Correct |
117 ms |
378196 KB |
Output is correct |
116 |
Correct |
109 ms |
376400 KB |
Output is correct |
117 |
Correct |
111 ms |
376288 KB |
Output is correct |
118 |
Correct |
114 ms |
376356 KB |
Output is correct |
119 |
Correct |
114 ms |
377564 KB |
Output is correct |
120 |
Correct |
143 ms |
376544 KB |
Output is correct |
121 |
Correct |
119 ms |
376448 KB |
Output is correct |
122 |
Correct |
119 ms |
381440 KB |
Output is correct |
123 |
Correct |
130 ms |
381268 KB |
Output is correct |
124 |
Correct |
125 ms |
381140 KB |
Output is correct |
125 |
Correct |
164 ms |
387104 KB |
Output is correct |
126 |
Correct |
169 ms |
379888 KB |
Output is correct |
127 |
Correct |
172 ms |
379868 KB |
Output is correct |
128 |
Correct |
325 ms |
428816 KB |
Output is correct |
129 |
Correct |
277 ms |
428824 KB |
Output is correct |
130 |
Correct |
196 ms |
395712 KB |
Output is correct |
131 |
Correct |
216 ms |
395692 KB |
Output is correct |
132 |
Correct |
131 ms |
376148 KB |
Output is correct |
133 |
Correct |
126 ms |
375980 KB |
Output is correct |
134 |
Correct |
134 ms |
376028 KB |
Output is correct |
135 |
Correct |
118 ms |
376144 KB |
Output is correct |
136 |
Correct |
129 ms |
376144 KB |
Output is correct |
137 |
Correct |
131 ms |
376656 KB |
Output is correct |
138 |
Correct |
129 ms |
376148 KB |
Output is correct |
139 |
Correct |
133 ms |
376464 KB |
Output is correct |
140 |
Correct |
130 ms |
376148 KB |
Output is correct |
141 |
Correct |
124 ms |
376252 KB |
Output is correct |
142 |
Correct |
145 ms |
378196 KB |
Output is correct |
143 |
Correct |
133 ms |
378196 KB |
Output is correct |
144 |
Correct |
127 ms |
376148 KB |
Output is correct |
145 |
Correct |
130 ms |
376144 KB |
Output is correct |
146 |
Correct |
133 ms |
376144 KB |
Output is correct |
147 |
Correct |
132 ms |
376140 KB |
Output is correct |
148 |
Correct |
138 ms |
376364 KB |
Output is correct |
149 |
Correct |
125 ms |
376144 KB |
Output is correct |
150 |
Correct |
131 ms |
376404 KB |
Output is correct |
151 |
Correct |
132 ms |
376224 KB |
Output is correct |
152 |
Correct |
127 ms |
376144 KB |
Output is correct |
153 |
Correct |
128 ms |
376208 KB |
Output is correct |
154 |
Correct |
145 ms |
376400 KB |
Output is correct |
155 |
Correct |
132 ms |
376288 KB |
Output is correct |
156 |
Correct |
129 ms |
377560 KB |
Output is correct |
157 |
Correct |
137 ms |
376400 KB |
Output is correct |
158 |
Correct |
132 ms |
376560 KB |
Output is correct |
159 |
Correct |
139 ms |
376660 KB |
Output is correct |
160 |
Correct |
136 ms |
376616 KB |
Output is correct |
161 |
Correct |
137 ms |
376400 KB |
Output is correct |
162 |
Correct |
137 ms |
381264 KB |
Output is correct |
163 |
Correct |
142 ms |
381520 KB |
Output is correct |
164 |
Correct |
129 ms |
376284 KB |
Output is correct |
165 |
Correct |
131 ms |
376400 KB |
Output is correct |
166 |
Correct |
143 ms |
376316 KB |
Output is correct |
167 |
Correct |
142 ms |
376452 KB |
Output is correct |
168 |
Correct |
134 ms |
376400 KB |
Output is correct |
169 |
Correct |
143 ms |
376656 KB |
Output is correct |
170 |
Correct |
135 ms |
376976 KB |
Output is correct |
171 |
Correct |
126 ms |
377188 KB |
Output is correct |
172 |
Correct |
139 ms |
377044 KB |
Output is correct |
173 |
Correct |
134 ms |
376660 KB |
Output is correct |
174 |
Correct |
131 ms |
376404 KB |
Output is correct |
175 |
Correct |
154 ms |
376912 KB |
Output is correct |
176 |
Correct |
147 ms |
377560 KB |
Output is correct |
177 |
Correct |
182 ms |
378192 KB |
Output is correct |
178 |
Correct |
137 ms |
378868 KB |
Output is correct |
179 |
Correct |
198 ms |
379476 KB |
Output is correct |
180 |
Correct |
248 ms |
379656 KB |
Output is correct |
181 |
Correct |
264 ms |
380236 KB |
Output is correct |
182 |
Correct |
270 ms |
381784 KB |
Output is correct |
183 |
Correct |
225 ms |
390844 KB |
Output is correct |
184 |
Correct |
381 ms |
382800 KB |
Output is correct |
185 |
Correct |
170 ms |
379476 KB |
Output is correct |
186 |
Correct |
207 ms |
396212 KB |
Output is correct |
187 |
Correct |
168 ms |
383836 KB |
Output is correct |
188 |
Correct |
265 ms |
383708 KB |
Output is correct |
189 |
Correct |
292 ms |
383716 KB |
Output is correct |
190 |
Correct |
235 ms |
382800 KB |
Output is correct |
191 |
Correct |
244 ms |
383436 KB |
Output is correct |
192 |
Correct |
430 ms |
481104 KB |
Output is correct |
193 |
Correct |
420 ms |
481224 KB |
Output is correct |
194 |
Correct |
208 ms |
382292 KB |
Output is correct |
195 |
Correct |
211 ms |
382292 KB |
Output is correct |
196 |
Correct |
381 ms |
382548 KB |
Output is correct |
197 |
Correct |
286 ms |
382828 KB |
Output is correct |
198 |
Correct |
282 ms |
383824 KB |
Output is correct |
199 |
Correct |
405 ms |
386128 KB |
Output is correct |
200 |
Correct |
215 ms |
388440 KB |
Output is correct |
201 |
Correct |
281 ms |
385272 KB |
Output is correct |
202 |
Correct |
367 ms |
383640 KB |
Output is correct |
203 |
Correct |
631 ms |
389112 KB |
Output is correct |
204 |
Correct |
384 ms |
394076 KB |
Output is correct |
205 |
Correct |
384 ms |
385544 KB |
Output is correct |
206 |
Correct |
245 ms |
388692 KB |
Output is correct |
207 |
Correct |
368 ms |
390852 KB |
Output is correct |
208 |
Correct |
477 ms |
390344 KB |
Output is correct |
209 |
Correct |
592 ms |
388948 KB |
Output is correct |
210 |
Correct |
378 ms |
390852 KB |
Output is correct |
211 |
Correct |
724 ms |
585632 KB |
Output is correct |
212 |
Correct |
734 ms |
585880 KB |
Output is correct |
213 |
Correct |
235 ms |
388428 KB |
Output is correct |
214 |
Correct |
316 ms |
388468 KB |
Output is correct |
215 |
Correct |
590 ms |
389108 KB |
Output is correct |
216 |
Correct |
543 ms |
389460 KB |
Output is correct |
217 |
Correct |
574 ms |
390960 KB |
Output is correct |
218 |
Correct |
519 ms |
394580 KB |
Output is correct |
219 |
Correct |
504 ms |
490672 KB |
Output is correct |
220 |
Correct |
313 ms |
421424 KB |
Output is correct |
221 |
Correct |
398 ms |
454364 KB |
Output is correct |
222 |
Correct |
747 ms |
710072 KB |
Output is correct |
223 |
Correct |
411 ms |
394880 KB |
Output is correct |
224 |
Correct |
441 ms |
394176 KB |
Output is correct |
225 |
Correct |
366 ms |
390088 KB |
Output is correct |