# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
889117 |
2023-12-18T23:49:28 Z |
Maite_Morale |
Maze (JOI23_ho_t3) |
C++14 |
|
2000 ms |
347852 KB |
#include<bits/stdc++.h>
#define F first
#define S second
#define X first
#define Y second
#define MAX 6000005
#define oo 1e18
#define mod 1000000007
#define fast_in ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);cout.setf(ios::fixed);cout.precision(0);
using namespace std;
typedef long long ll;
#define pll pair<ll , ll>
#define vll vector<ll>
#define vvll vector<vll>
#define vpll vector<pll>
#define ppp pair<pair<pll,pll>,pll>
pll d[4]={{0,1},{0,-1},{1,0},{-1,0}},s,e;
string a[MAX],asd;ll m,k,n;
ppp inv(ppp h){
h.F.F.F*=-1;h.F.F.S*=-1;
h.F.S.F*=-1;h.F.S.S*=-1;
return h;
}
int main(){
fast_in
cin>>n>>m>>k>>s.X>>s.Y>>e.X>>e.Y;
ll pass[n+5][m+5];
for(int i=0;i<=m+1;i++){
a[0]+='*';a[n+1]='*';
}
for(int i=1;i<=n;i++){
cin>>asd;
a[i]+='*';a[i]+=asd;a[i]+='*';
for(int j=0;j<=m+1;j++)pass[i][j]=-1;
}
priority_queue<ppp> q;
q.push(inv({{{0,k},{k,k}},s}));
while(!q.empty()){
ppp u=inv(q.top());q.pop();
if(pass[u.S.X][u.S.Y]!=-1)continue;
if(u.S.X==e.X && u.S.Y==e.Y){cout<<u.F.F.F;return 0;}
// cout<<u.S.X<<" "<<u.S.Y<<" "<<u.F.F.F<<" "<<u.F.F.S<<" "<<u.F.S.F<<" "<<u.F.S.S<<"\n";
pass[u.S.X][u.S.Y]=u.F.F.F;a[u.S.X][u.S.Y]='*';
for(int i=0;i<4;i++){
pll w1={u.S.X+d[i].F,u.S.Y+d[i].S};
if(a[w1.X][w1.Y]=='*')continue;
ppp w={u.F,w1};
if(w.F.F.S==k){
if(a[w1.X][w1.Y]=='.'){
q.push(inv(w));continue;
}
// cout<<w1.X<<" "<<w1.Y<<"\n";
w.F={{w.F.F.F+1,0},{0,0}};
}
w.F.S.F+=abs(d[i].F);
w.F.S.S+=abs(d[i].S);
w.F.F.S=max(w.F.S.F,w.F.S.S);
q.push(inv(w));
}
}
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
52 ms |
188232 KB |
Output is correct |
2 |
Correct |
36 ms |
188244 KB |
Output is correct |
3 |
Correct |
37 ms |
188252 KB |
Output is correct |
4 |
Correct |
38 ms |
188268 KB |
Output is correct |
5 |
Correct |
38 ms |
188300 KB |
Output is correct |
6 |
Correct |
38 ms |
188248 KB |
Output is correct |
7 |
Correct |
36 ms |
188240 KB |
Output is correct |
8 |
Correct |
38 ms |
188244 KB |
Output is correct |
9 |
Correct |
37 ms |
188180 KB |
Output is correct |
10 |
Correct |
37 ms |
188240 KB |
Output is correct |
11 |
Correct |
37 ms |
188504 KB |
Output is correct |
12 |
Correct |
38 ms |
188244 KB |
Output is correct |
13 |
Correct |
36 ms |
188240 KB |
Output is correct |
14 |
Correct |
37 ms |
188252 KB |
Output is correct |
15 |
Correct |
36 ms |
188240 KB |
Output is correct |
16 |
Correct |
37 ms |
188252 KB |
Output is correct |
17 |
Correct |
39 ms |
188244 KB |
Output is correct |
18 |
Correct |
40 ms |
188348 KB |
Output is correct |
19 |
Correct |
51 ms |
189056 KB |
Output is correct |
20 |
Correct |
40 ms |
190552 KB |
Output is correct |
21 |
Correct |
49 ms |
189312 KB |
Output is correct |
22 |
Correct |
55 ms |
189212 KB |
Output is correct |
23 |
Correct |
54 ms |
188988 KB |
Output is correct |
24 |
Correct |
51 ms |
191316 KB |
Output is correct |
25 |
Correct |
42 ms |
191312 KB |
Output is correct |
26 |
Correct |
40 ms |
189088 KB |
Output is correct |
27 |
Correct |
40 ms |
189144 KB |
Output is correct |
28 |
Correct |
46 ms |
189020 KB |
Output is correct |
29 |
Correct |
82 ms |
189948 KB |
Output is correct |
30 |
Correct |
46 ms |
190040 KB |
Output is correct |
31 |
Correct |
51 ms |
190096 KB |
Output is correct |
32 |
Correct |
92 ms |
190228 KB |
Output is correct |
33 |
Correct |
81 ms |
189784 KB |
Output is correct |
34 |
Correct |
74 ms |
195960 KB |
Output is correct |
35 |
Correct |
51 ms |
195968 KB |
Output is correct |
36 |
Correct |
68 ms |
191432 KB |
Output is correct |
37 |
Correct |
84 ms |
190544 KB |
Output is correct |
38 |
Correct |
40 ms |
190004 KB |
Output is correct |
39 |
Correct |
561 ms |
203604 KB |
Output is correct |
40 |
Correct |
59 ms |
190300 KB |
Output is correct |
41 |
Correct |
55 ms |
197592 KB |
Output is correct |
42 |
Correct |
107 ms |
190640 KB |
Output is correct |
43 |
Correct |
69 ms |
195988 KB |
Output is correct |
44 |
Correct |
115 ms |
200176 KB |
Output is correct |
45 |
Correct |
105 ms |
201900 KB |
Output is correct |
46 |
Correct |
389 ms |
206272 KB |
Output is correct |
47 |
Correct |
578 ms |
204744 KB |
Output is correct |
48 |
Correct |
389 ms |
203344 KB |
Output is correct |
49 |
Correct |
286 ms |
265556 KB |
Output is correct |
50 |
Correct |
137 ms |
265492 KB |
Output is correct |
51 |
Correct |
501 ms |
210112 KB |
Output is correct |
52 |
Correct |
349 ms |
207292 KB |
Output is correct |
53 |
Correct |
510 ms |
203856 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
36 ms |
188452 KB |
Output is correct |
2 |
Correct |
39 ms |
188312 KB |
Output is correct |
3 |
Correct |
38 ms |
188240 KB |
Output is correct |
4 |
Correct |
39 ms |
188252 KB |
Output is correct |
5 |
Correct |
39 ms |
188068 KB |
Output is correct |
6 |
Correct |
37 ms |
188300 KB |
Output is correct |
7 |
Correct |
37 ms |
188324 KB |
Output is correct |
8 |
Correct |
37 ms |
188252 KB |
Output is correct |
9 |
Correct |
36 ms |
188332 KB |
Output is correct |
10 |
Correct |
37 ms |
188528 KB |
Output is correct |
11 |
Correct |
36 ms |
188252 KB |
Output is correct |
12 |
Correct |
38 ms |
188252 KB |
Output is correct |
13 |
Correct |
38 ms |
188228 KB |
Output is correct |
14 |
Correct |
36 ms |
188244 KB |
Output is correct |
15 |
Correct |
37 ms |
188396 KB |
Output is correct |
16 |
Correct |
37 ms |
188252 KB |
Output is correct |
17 |
Correct |
37 ms |
188248 KB |
Output is correct |
18 |
Correct |
36 ms |
188224 KB |
Output is correct |
19 |
Correct |
37 ms |
188244 KB |
Output is correct |
20 |
Correct |
37 ms |
188084 KB |
Output is correct |
21 |
Correct |
37 ms |
188080 KB |
Output is correct |
22 |
Correct |
40 ms |
188548 KB |
Output is correct |
23 |
Correct |
39 ms |
188092 KB |
Output is correct |
24 |
Correct |
37 ms |
188236 KB |
Output is correct |
25 |
Correct |
37 ms |
188248 KB |
Output is correct |
26 |
Correct |
42 ms |
188252 KB |
Output is correct |
27 |
Correct |
41 ms |
188252 KB |
Output is correct |
28 |
Correct |
36 ms |
188240 KB |
Output is correct |
29 |
Correct |
39 ms |
188244 KB |
Output is correct |
30 |
Correct |
37 ms |
188244 KB |
Output is correct |
31 |
Correct |
39 ms |
188248 KB |
Output is correct |
32 |
Correct |
37 ms |
188252 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
38 ms |
188240 KB |
Output is correct |
2 |
Correct |
39 ms |
188448 KB |
Output is correct |
3 |
Correct |
37 ms |
188252 KB |
Output is correct |
4 |
Correct |
38 ms |
188252 KB |
Output is correct |
5 |
Correct |
37 ms |
188252 KB |
Output is correct |
6 |
Correct |
37 ms |
188260 KB |
Output is correct |
7 |
Correct |
39 ms |
188252 KB |
Output is correct |
8 |
Correct |
38 ms |
188120 KB |
Output is correct |
9 |
Correct |
37 ms |
188248 KB |
Output is correct |
10 |
Correct |
41 ms |
188416 KB |
Output is correct |
11 |
Correct |
36 ms |
188240 KB |
Output is correct |
12 |
Correct |
37 ms |
188240 KB |
Output is correct |
13 |
Correct |
37 ms |
188248 KB |
Output is correct |
14 |
Correct |
38 ms |
188540 KB |
Output is correct |
15 |
Correct |
41 ms |
188240 KB |
Output is correct |
16 |
Correct |
36 ms |
188240 KB |
Output is correct |
17 |
Correct |
36 ms |
188328 KB |
Output is correct |
18 |
Correct |
37 ms |
188244 KB |
Output is correct |
19 |
Correct |
36 ms |
188240 KB |
Output is correct |
20 |
Correct |
37 ms |
188192 KB |
Output is correct |
21 |
Correct |
37 ms |
188132 KB |
Output is correct |
22 |
Correct |
39 ms |
188340 KB |
Output is correct |
23 |
Correct |
37 ms |
188240 KB |
Output is correct |
24 |
Correct |
37 ms |
188252 KB |
Output is correct |
25 |
Correct |
38 ms |
188592 KB |
Output is correct |
26 |
Correct |
39 ms |
189348 KB |
Output is correct |
27 |
Correct |
46 ms |
189012 KB |
Output is correct |
28 |
Correct |
39 ms |
189020 KB |
Output is correct |
29 |
Correct |
50 ms |
188936 KB |
Output is correct |
30 |
Correct |
45 ms |
188956 KB |
Output is correct |
31 |
Correct |
45 ms |
188756 KB |
Output is correct |
32 |
Correct |
38 ms |
189208 KB |
Output is correct |
33 |
Correct |
38 ms |
189020 KB |
Output is correct |
34 |
Correct |
45 ms |
190412 KB |
Output is correct |
35 |
Correct |
51 ms |
190072 KB |
Output is correct |
36 |
Correct |
40 ms |
189812 KB |
Output is correct |
37 |
Correct |
54 ms |
189788 KB |
Output is correct |
38 |
Correct |
68 ms |
189776 KB |
Output is correct |
39 |
Correct |
44 ms |
193368 KB |
Output is correct |
40 |
Correct |
275 ms |
251372 KB |
Output is correct |
41 |
Correct |
382 ms |
207724 KB |
Output is correct |
42 |
Correct |
414 ms |
206528 KB |
Output is correct |
43 |
Correct |
244 ms |
203176 KB |
Output is correct |
44 |
Correct |
387 ms |
203536 KB |
Output is correct |
45 |
Correct |
399 ms |
302192 KB |
Output is correct |
46 |
Correct |
237 ms |
253356 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
36 ms |
188452 KB |
Output is correct |
2 |
Correct |
39 ms |
188312 KB |
Output is correct |
3 |
Correct |
38 ms |
188240 KB |
Output is correct |
4 |
Correct |
39 ms |
188252 KB |
Output is correct |
5 |
Correct |
39 ms |
188068 KB |
Output is correct |
6 |
Correct |
37 ms |
188300 KB |
Output is correct |
7 |
Correct |
37 ms |
188324 KB |
Output is correct |
8 |
Correct |
37 ms |
188252 KB |
Output is correct |
9 |
Correct |
36 ms |
188332 KB |
Output is correct |
10 |
Correct |
37 ms |
188528 KB |
Output is correct |
11 |
Correct |
36 ms |
188252 KB |
Output is correct |
12 |
Correct |
38 ms |
188252 KB |
Output is correct |
13 |
Correct |
38 ms |
188228 KB |
Output is correct |
14 |
Correct |
36 ms |
188244 KB |
Output is correct |
15 |
Correct |
37 ms |
188396 KB |
Output is correct |
16 |
Correct |
37 ms |
188252 KB |
Output is correct |
17 |
Correct |
37 ms |
188248 KB |
Output is correct |
18 |
Correct |
36 ms |
188224 KB |
Output is correct |
19 |
Correct |
37 ms |
188244 KB |
Output is correct |
20 |
Correct |
37 ms |
188084 KB |
Output is correct |
21 |
Correct |
37 ms |
188080 KB |
Output is correct |
22 |
Correct |
40 ms |
188548 KB |
Output is correct |
23 |
Correct |
39 ms |
188092 KB |
Output is correct |
24 |
Correct |
37 ms |
188236 KB |
Output is correct |
25 |
Correct |
37 ms |
188248 KB |
Output is correct |
26 |
Correct |
42 ms |
188252 KB |
Output is correct |
27 |
Correct |
41 ms |
188252 KB |
Output is correct |
28 |
Correct |
36 ms |
188240 KB |
Output is correct |
29 |
Correct |
39 ms |
188244 KB |
Output is correct |
30 |
Correct |
37 ms |
188244 KB |
Output is correct |
31 |
Correct |
39 ms |
188248 KB |
Output is correct |
32 |
Correct |
37 ms |
188252 KB |
Output is correct |
33 |
Correct |
51 ms |
189012 KB |
Output is correct |
34 |
Correct |
37 ms |
188248 KB |
Output is correct |
35 |
Correct |
37 ms |
188252 KB |
Output is correct |
36 |
Correct |
38 ms |
188764 KB |
Output is correct |
37 |
Correct |
41 ms |
190552 KB |
Output is correct |
38 |
Correct |
41 ms |
189264 KB |
Output is correct |
39 |
Correct |
48 ms |
189184 KB |
Output is correct |
40 |
Correct |
55 ms |
189212 KB |
Output is correct |
41 |
Correct |
56 ms |
188752 KB |
Output is correct |
42 |
Correct |
44 ms |
189012 KB |
Output is correct |
43 |
Correct |
49 ms |
188756 KB |
Output is correct |
44 |
Correct |
44 ms |
188764 KB |
Output is correct |
45 |
Correct |
49 ms |
191320 KB |
Output is correct |
46 |
Correct |
44 ms |
191360 KB |
Output is correct |
47 |
Correct |
44 ms |
190040 KB |
Output is correct |
48 |
Correct |
47 ms |
188956 KB |
Output is correct |
49 |
Correct |
47 ms |
189016 KB |
Output is correct |
50 |
Correct |
49 ms |
188960 KB |
Output is correct |
51 |
Correct |
42 ms |
188736 KB |
Output is correct |
52 |
Correct |
43 ms |
189152 KB |
Output is correct |
53 |
Correct |
38 ms |
189044 KB |
Output is correct |
54 |
Correct |
47 ms |
189008 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
36 ms |
188452 KB |
Output is correct |
2 |
Correct |
39 ms |
188312 KB |
Output is correct |
3 |
Correct |
38 ms |
188240 KB |
Output is correct |
4 |
Correct |
39 ms |
188252 KB |
Output is correct |
5 |
Correct |
39 ms |
188068 KB |
Output is correct |
6 |
Correct |
37 ms |
188300 KB |
Output is correct |
7 |
Correct |
37 ms |
188324 KB |
Output is correct |
8 |
Correct |
37 ms |
188252 KB |
Output is correct |
9 |
Correct |
36 ms |
188332 KB |
Output is correct |
10 |
Correct |
37 ms |
188528 KB |
Output is correct |
11 |
Correct |
36 ms |
188252 KB |
Output is correct |
12 |
Correct |
38 ms |
188252 KB |
Output is correct |
13 |
Correct |
38 ms |
188228 KB |
Output is correct |
14 |
Correct |
36 ms |
188244 KB |
Output is correct |
15 |
Correct |
37 ms |
188396 KB |
Output is correct |
16 |
Correct |
37 ms |
188252 KB |
Output is correct |
17 |
Correct |
37 ms |
188248 KB |
Output is correct |
18 |
Correct |
36 ms |
188224 KB |
Output is correct |
19 |
Correct |
37 ms |
188244 KB |
Output is correct |
20 |
Correct |
37 ms |
188084 KB |
Output is correct |
21 |
Correct |
37 ms |
188080 KB |
Output is correct |
22 |
Correct |
40 ms |
188548 KB |
Output is correct |
23 |
Correct |
39 ms |
188092 KB |
Output is correct |
24 |
Correct |
37 ms |
188236 KB |
Output is correct |
25 |
Correct |
37 ms |
188248 KB |
Output is correct |
26 |
Correct |
42 ms |
188252 KB |
Output is correct |
27 |
Correct |
41 ms |
188252 KB |
Output is correct |
28 |
Correct |
36 ms |
188240 KB |
Output is correct |
29 |
Correct |
39 ms |
188244 KB |
Output is correct |
30 |
Correct |
37 ms |
188244 KB |
Output is correct |
31 |
Correct |
39 ms |
188248 KB |
Output is correct |
32 |
Correct |
37 ms |
188252 KB |
Output is correct |
33 |
Correct |
51 ms |
189012 KB |
Output is correct |
34 |
Correct |
37 ms |
188248 KB |
Output is correct |
35 |
Correct |
37 ms |
188252 KB |
Output is correct |
36 |
Correct |
38 ms |
188764 KB |
Output is correct |
37 |
Correct |
41 ms |
190552 KB |
Output is correct |
38 |
Correct |
41 ms |
189264 KB |
Output is correct |
39 |
Correct |
48 ms |
189184 KB |
Output is correct |
40 |
Correct |
55 ms |
189212 KB |
Output is correct |
41 |
Correct |
56 ms |
188752 KB |
Output is correct |
42 |
Correct |
44 ms |
189012 KB |
Output is correct |
43 |
Correct |
49 ms |
188756 KB |
Output is correct |
44 |
Correct |
44 ms |
188764 KB |
Output is correct |
45 |
Correct |
49 ms |
191320 KB |
Output is correct |
46 |
Correct |
44 ms |
191360 KB |
Output is correct |
47 |
Correct |
44 ms |
190040 KB |
Output is correct |
48 |
Correct |
47 ms |
188956 KB |
Output is correct |
49 |
Correct |
47 ms |
189016 KB |
Output is correct |
50 |
Correct |
49 ms |
188960 KB |
Output is correct |
51 |
Correct |
42 ms |
188736 KB |
Output is correct |
52 |
Correct |
43 ms |
189152 KB |
Output is correct |
53 |
Correct |
38 ms |
189044 KB |
Output is correct |
54 |
Correct |
47 ms |
189008 KB |
Output is correct |
55 |
Correct |
81 ms |
189972 KB |
Output is correct |
56 |
Correct |
46 ms |
189972 KB |
Output is correct |
57 |
Correct |
42 ms |
190284 KB |
Output is correct |
58 |
Correct |
64 ms |
189948 KB |
Output is correct |
59 |
Correct |
51 ms |
190036 KB |
Output is correct |
60 |
Correct |
94 ms |
190228 KB |
Output is correct |
61 |
Correct |
76 ms |
189780 KB |
Output is correct |
62 |
Correct |
41 ms |
189936 KB |
Output is correct |
63 |
Correct |
54 ms |
189776 KB |
Output is correct |
64 |
Correct |
67 ms |
189848 KB |
Output is correct |
65 |
Correct |
77 ms |
195968 KB |
Output is correct |
66 |
Correct |
51 ms |
195956 KB |
Output is correct |
67 |
Correct |
58 ms |
192860 KB |
Output is correct |
68 |
Correct |
66 ms |
189928 KB |
Output is correct |
69 |
Correct |
69 ms |
189788 KB |
Output is correct |
70 |
Correct |
68 ms |
189936 KB |
Output is correct |
71 |
Correct |
65 ms |
189776 KB |
Output is correct |
72 |
Correct |
71 ms |
191596 KB |
Output is correct |
73 |
Correct |
83 ms |
190568 KB |
Output is correct |
74 |
Correct |
44 ms |
189980 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
52 ms |
188232 KB |
Output is correct |
2 |
Correct |
36 ms |
188244 KB |
Output is correct |
3 |
Correct |
37 ms |
188252 KB |
Output is correct |
4 |
Correct |
38 ms |
188268 KB |
Output is correct |
5 |
Correct |
38 ms |
188300 KB |
Output is correct |
6 |
Correct |
38 ms |
188248 KB |
Output is correct |
7 |
Correct |
36 ms |
188240 KB |
Output is correct |
8 |
Correct |
38 ms |
188244 KB |
Output is correct |
9 |
Correct |
37 ms |
188180 KB |
Output is correct |
10 |
Correct |
37 ms |
188240 KB |
Output is correct |
11 |
Correct |
37 ms |
188504 KB |
Output is correct |
12 |
Correct |
38 ms |
188244 KB |
Output is correct |
13 |
Correct |
36 ms |
188240 KB |
Output is correct |
14 |
Correct |
37 ms |
188252 KB |
Output is correct |
15 |
Correct |
36 ms |
188240 KB |
Output is correct |
16 |
Correct |
37 ms |
188252 KB |
Output is correct |
17 |
Correct |
39 ms |
188244 KB |
Output is correct |
18 |
Correct |
40 ms |
188348 KB |
Output is correct |
19 |
Correct |
51 ms |
189056 KB |
Output is correct |
20 |
Correct |
40 ms |
190552 KB |
Output is correct |
21 |
Correct |
49 ms |
189312 KB |
Output is correct |
22 |
Correct |
55 ms |
189212 KB |
Output is correct |
23 |
Correct |
54 ms |
188988 KB |
Output is correct |
24 |
Correct |
51 ms |
191316 KB |
Output is correct |
25 |
Correct |
42 ms |
191312 KB |
Output is correct |
26 |
Correct |
40 ms |
189088 KB |
Output is correct |
27 |
Correct |
40 ms |
189144 KB |
Output is correct |
28 |
Correct |
46 ms |
189020 KB |
Output is correct |
29 |
Correct |
82 ms |
189948 KB |
Output is correct |
30 |
Correct |
46 ms |
190040 KB |
Output is correct |
31 |
Correct |
51 ms |
190096 KB |
Output is correct |
32 |
Correct |
92 ms |
190228 KB |
Output is correct |
33 |
Correct |
81 ms |
189784 KB |
Output is correct |
34 |
Correct |
74 ms |
195960 KB |
Output is correct |
35 |
Correct |
51 ms |
195968 KB |
Output is correct |
36 |
Correct |
68 ms |
191432 KB |
Output is correct |
37 |
Correct |
84 ms |
190544 KB |
Output is correct |
38 |
Correct |
40 ms |
190004 KB |
Output is correct |
39 |
Correct |
561 ms |
203604 KB |
Output is correct |
40 |
Correct |
59 ms |
190300 KB |
Output is correct |
41 |
Correct |
55 ms |
197592 KB |
Output is correct |
42 |
Correct |
107 ms |
190640 KB |
Output is correct |
43 |
Correct |
69 ms |
195988 KB |
Output is correct |
44 |
Correct |
115 ms |
200176 KB |
Output is correct |
45 |
Correct |
105 ms |
201900 KB |
Output is correct |
46 |
Correct |
389 ms |
206272 KB |
Output is correct |
47 |
Correct |
578 ms |
204744 KB |
Output is correct |
48 |
Correct |
389 ms |
203344 KB |
Output is correct |
49 |
Correct |
286 ms |
265556 KB |
Output is correct |
50 |
Correct |
137 ms |
265492 KB |
Output is correct |
51 |
Correct |
501 ms |
210112 KB |
Output is correct |
52 |
Correct |
349 ms |
207292 KB |
Output is correct |
53 |
Correct |
510 ms |
203856 KB |
Output is correct |
54 |
Correct |
36 ms |
188452 KB |
Output is correct |
55 |
Correct |
39 ms |
188312 KB |
Output is correct |
56 |
Correct |
38 ms |
188240 KB |
Output is correct |
57 |
Correct |
39 ms |
188252 KB |
Output is correct |
58 |
Correct |
39 ms |
188068 KB |
Output is correct |
59 |
Correct |
37 ms |
188300 KB |
Output is correct |
60 |
Correct |
37 ms |
188324 KB |
Output is correct |
61 |
Correct |
37 ms |
188252 KB |
Output is correct |
62 |
Correct |
36 ms |
188332 KB |
Output is correct |
63 |
Correct |
37 ms |
188528 KB |
Output is correct |
64 |
Correct |
36 ms |
188252 KB |
Output is correct |
65 |
Correct |
38 ms |
188252 KB |
Output is correct |
66 |
Correct |
38 ms |
188228 KB |
Output is correct |
67 |
Correct |
36 ms |
188244 KB |
Output is correct |
68 |
Correct |
37 ms |
188396 KB |
Output is correct |
69 |
Correct |
37 ms |
188252 KB |
Output is correct |
70 |
Correct |
37 ms |
188248 KB |
Output is correct |
71 |
Correct |
36 ms |
188224 KB |
Output is correct |
72 |
Correct |
37 ms |
188244 KB |
Output is correct |
73 |
Correct |
37 ms |
188084 KB |
Output is correct |
74 |
Correct |
37 ms |
188080 KB |
Output is correct |
75 |
Correct |
40 ms |
188548 KB |
Output is correct |
76 |
Correct |
39 ms |
188092 KB |
Output is correct |
77 |
Correct |
37 ms |
188236 KB |
Output is correct |
78 |
Correct |
37 ms |
188248 KB |
Output is correct |
79 |
Correct |
42 ms |
188252 KB |
Output is correct |
80 |
Correct |
41 ms |
188252 KB |
Output is correct |
81 |
Correct |
36 ms |
188240 KB |
Output is correct |
82 |
Correct |
39 ms |
188244 KB |
Output is correct |
83 |
Correct |
37 ms |
188244 KB |
Output is correct |
84 |
Correct |
39 ms |
188248 KB |
Output is correct |
85 |
Correct |
37 ms |
188252 KB |
Output is correct |
86 |
Correct |
38 ms |
188240 KB |
Output is correct |
87 |
Correct |
39 ms |
188448 KB |
Output is correct |
88 |
Correct |
37 ms |
188252 KB |
Output is correct |
89 |
Correct |
38 ms |
188252 KB |
Output is correct |
90 |
Correct |
37 ms |
188252 KB |
Output is correct |
91 |
Correct |
37 ms |
188260 KB |
Output is correct |
92 |
Correct |
39 ms |
188252 KB |
Output is correct |
93 |
Correct |
38 ms |
188120 KB |
Output is correct |
94 |
Correct |
37 ms |
188248 KB |
Output is correct |
95 |
Correct |
41 ms |
188416 KB |
Output is correct |
96 |
Correct |
36 ms |
188240 KB |
Output is correct |
97 |
Correct |
37 ms |
188240 KB |
Output is correct |
98 |
Correct |
37 ms |
188248 KB |
Output is correct |
99 |
Correct |
38 ms |
188540 KB |
Output is correct |
100 |
Correct |
41 ms |
188240 KB |
Output is correct |
101 |
Correct |
36 ms |
188240 KB |
Output is correct |
102 |
Correct |
36 ms |
188328 KB |
Output is correct |
103 |
Correct |
37 ms |
188244 KB |
Output is correct |
104 |
Correct |
36 ms |
188240 KB |
Output is correct |
105 |
Correct |
37 ms |
188192 KB |
Output is correct |
106 |
Correct |
37 ms |
188132 KB |
Output is correct |
107 |
Correct |
39 ms |
188340 KB |
Output is correct |
108 |
Correct |
37 ms |
188240 KB |
Output is correct |
109 |
Correct |
37 ms |
188252 KB |
Output is correct |
110 |
Correct |
38 ms |
188592 KB |
Output is correct |
111 |
Correct |
39 ms |
189348 KB |
Output is correct |
112 |
Correct |
46 ms |
189012 KB |
Output is correct |
113 |
Correct |
39 ms |
189020 KB |
Output is correct |
114 |
Correct |
50 ms |
188936 KB |
Output is correct |
115 |
Correct |
45 ms |
188956 KB |
Output is correct |
116 |
Correct |
45 ms |
188756 KB |
Output is correct |
117 |
Correct |
38 ms |
189208 KB |
Output is correct |
118 |
Correct |
38 ms |
189020 KB |
Output is correct |
119 |
Correct |
45 ms |
190412 KB |
Output is correct |
120 |
Correct |
51 ms |
190072 KB |
Output is correct |
121 |
Correct |
40 ms |
189812 KB |
Output is correct |
122 |
Correct |
54 ms |
189788 KB |
Output is correct |
123 |
Correct |
68 ms |
189776 KB |
Output is correct |
124 |
Correct |
44 ms |
193368 KB |
Output is correct |
125 |
Correct |
275 ms |
251372 KB |
Output is correct |
126 |
Correct |
382 ms |
207724 KB |
Output is correct |
127 |
Correct |
414 ms |
206528 KB |
Output is correct |
128 |
Correct |
244 ms |
203176 KB |
Output is correct |
129 |
Correct |
387 ms |
203536 KB |
Output is correct |
130 |
Correct |
399 ms |
302192 KB |
Output is correct |
131 |
Correct |
237 ms |
253356 KB |
Output is correct |
132 |
Correct |
51 ms |
189012 KB |
Output is correct |
133 |
Correct |
37 ms |
188248 KB |
Output is correct |
134 |
Correct |
37 ms |
188252 KB |
Output is correct |
135 |
Correct |
38 ms |
188764 KB |
Output is correct |
136 |
Correct |
41 ms |
190552 KB |
Output is correct |
137 |
Correct |
41 ms |
189264 KB |
Output is correct |
138 |
Correct |
48 ms |
189184 KB |
Output is correct |
139 |
Correct |
55 ms |
189212 KB |
Output is correct |
140 |
Correct |
56 ms |
188752 KB |
Output is correct |
141 |
Correct |
44 ms |
189012 KB |
Output is correct |
142 |
Correct |
49 ms |
188756 KB |
Output is correct |
143 |
Correct |
44 ms |
188764 KB |
Output is correct |
144 |
Correct |
49 ms |
191320 KB |
Output is correct |
145 |
Correct |
44 ms |
191360 KB |
Output is correct |
146 |
Correct |
44 ms |
190040 KB |
Output is correct |
147 |
Correct |
47 ms |
188956 KB |
Output is correct |
148 |
Correct |
47 ms |
189016 KB |
Output is correct |
149 |
Correct |
49 ms |
188960 KB |
Output is correct |
150 |
Correct |
42 ms |
188736 KB |
Output is correct |
151 |
Correct |
43 ms |
189152 KB |
Output is correct |
152 |
Correct |
38 ms |
189044 KB |
Output is correct |
153 |
Correct |
47 ms |
189008 KB |
Output is correct |
154 |
Correct |
81 ms |
189972 KB |
Output is correct |
155 |
Correct |
46 ms |
189972 KB |
Output is correct |
156 |
Correct |
42 ms |
190284 KB |
Output is correct |
157 |
Correct |
64 ms |
189948 KB |
Output is correct |
158 |
Correct |
51 ms |
190036 KB |
Output is correct |
159 |
Correct |
94 ms |
190228 KB |
Output is correct |
160 |
Correct |
76 ms |
189780 KB |
Output is correct |
161 |
Correct |
41 ms |
189936 KB |
Output is correct |
162 |
Correct |
54 ms |
189776 KB |
Output is correct |
163 |
Correct |
67 ms |
189848 KB |
Output is correct |
164 |
Correct |
77 ms |
195968 KB |
Output is correct |
165 |
Correct |
51 ms |
195956 KB |
Output is correct |
166 |
Correct |
58 ms |
192860 KB |
Output is correct |
167 |
Correct |
66 ms |
189928 KB |
Output is correct |
168 |
Correct |
69 ms |
189788 KB |
Output is correct |
169 |
Correct |
68 ms |
189936 KB |
Output is correct |
170 |
Correct |
65 ms |
189776 KB |
Output is correct |
171 |
Correct |
71 ms |
191596 KB |
Output is correct |
172 |
Correct |
83 ms |
190568 KB |
Output is correct |
173 |
Correct |
44 ms |
189980 KB |
Output is correct |
174 |
Correct |
50 ms |
190772 KB |
Output is correct |
175 |
Correct |
115 ms |
191572 KB |
Output is correct |
176 |
Correct |
92 ms |
205552 KB |
Output is correct |
177 |
Correct |
212 ms |
198996 KB |
Output is correct |
178 |
Correct |
62 ms |
201300 KB |
Output is correct |
179 |
Correct |
204 ms |
203344 KB |
Output is correct |
180 |
Correct |
375 ms |
202616 KB |
Output is correct |
181 |
Correct |
392 ms |
202836 KB |
Output is correct |
182 |
Correct |
416 ms |
202764 KB |
Output is correct |
183 |
Correct |
623 ms |
215536 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
52 ms |
188232 KB |
Output is correct |
2 |
Correct |
36 ms |
188244 KB |
Output is correct |
3 |
Correct |
37 ms |
188252 KB |
Output is correct |
4 |
Correct |
38 ms |
188268 KB |
Output is correct |
5 |
Correct |
38 ms |
188300 KB |
Output is correct |
6 |
Correct |
38 ms |
188248 KB |
Output is correct |
7 |
Correct |
36 ms |
188240 KB |
Output is correct |
8 |
Correct |
38 ms |
188244 KB |
Output is correct |
9 |
Correct |
37 ms |
188180 KB |
Output is correct |
10 |
Correct |
37 ms |
188240 KB |
Output is correct |
11 |
Correct |
37 ms |
188504 KB |
Output is correct |
12 |
Correct |
38 ms |
188244 KB |
Output is correct |
13 |
Correct |
36 ms |
188240 KB |
Output is correct |
14 |
Correct |
37 ms |
188252 KB |
Output is correct |
15 |
Correct |
36 ms |
188240 KB |
Output is correct |
16 |
Correct |
37 ms |
188252 KB |
Output is correct |
17 |
Correct |
39 ms |
188244 KB |
Output is correct |
18 |
Correct |
40 ms |
188348 KB |
Output is correct |
19 |
Correct |
51 ms |
189056 KB |
Output is correct |
20 |
Correct |
40 ms |
190552 KB |
Output is correct |
21 |
Correct |
49 ms |
189312 KB |
Output is correct |
22 |
Correct |
55 ms |
189212 KB |
Output is correct |
23 |
Correct |
54 ms |
188988 KB |
Output is correct |
24 |
Correct |
51 ms |
191316 KB |
Output is correct |
25 |
Correct |
42 ms |
191312 KB |
Output is correct |
26 |
Correct |
40 ms |
189088 KB |
Output is correct |
27 |
Correct |
40 ms |
189144 KB |
Output is correct |
28 |
Correct |
46 ms |
189020 KB |
Output is correct |
29 |
Correct |
82 ms |
189948 KB |
Output is correct |
30 |
Correct |
46 ms |
190040 KB |
Output is correct |
31 |
Correct |
51 ms |
190096 KB |
Output is correct |
32 |
Correct |
92 ms |
190228 KB |
Output is correct |
33 |
Correct |
81 ms |
189784 KB |
Output is correct |
34 |
Correct |
74 ms |
195960 KB |
Output is correct |
35 |
Correct |
51 ms |
195968 KB |
Output is correct |
36 |
Correct |
68 ms |
191432 KB |
Output is correct |
37 |
Correct |
84 ms |
190544 KB |
Output is correct |
38 |
Correct |
40 ms |
190004 KB |
Output is correct |
39 |
Correct |
561 ms |
203604 KB |
Output is correct |
40 |
Correct |
59 ms |
190300 KB |
Output is correct |
41 |
Correct |
55 ms |
197592 KB |
Output is correct |
42 |
Correct |
107 ms |
190640 KB |
Output is correct |
43 |
Correct |
69 ms |
195988 KB |
Output is correct |
44 |
Correct |
115 ms |
200176 KB |
Output is correct |
45 |
Correct |
105 ms |
201900 KB |
Output is correct |
46 |
Correct |
389 ms |
206272 KB |
Output is correct |
47 |
Correct |
578 ms |
204744 KB |
Output is correct |
48 |
Correct |
389 ms |
203344 KB |
Output is correct |
49 |
Correct |
286 ms |
265556 KB |
Output is correct |
50 |
Correct |
137 ms |
265492 KB |
Output is correct |
51 |
Correct |
501 ms |
210112 KB |
Output is correct |
52 |
Correct |
349 ms |
207292 KB |
Output is correct |
53 |
Correct |
510 ms |
203856 KB |
Output is correct |
54 |
Correct |
36 ms |
188452 KB |
Output is correct |
55 |
Correct |
39 ms |
188312 KB |
Output is correct |
56 |
Correct |
38 ms |
188240 KB |
Output is correct |
57 |
Correct |
39 ms |
188252 KB |
Output is correct |
58 |
Correct |
39 ms |
188068 KB |
Output is correct |
59 |
Correct |
37 ms |
188300 KB |
Output is correct |
60 |
Correct |
37 ms |
188324 KB |
Output is correct |
61 |
Correct |
37 ms |
188252 KB |
Output is correct |
62 |
Correct |
36 ms |
188332 KB |
Output is correct |
63 |
Correct |
37 ms |
188528 KB |
Output is correct |
64 |
Correct |
36 ms |
188252 KB |
Output is correct |
65 |
Correct |
38 ms |
188252 KB |
Output is correct |
66 |
Correct |
38 ms |
188228 KB |
Output is correct |
67 |
Correct |
36 ms |
188244 KB |
Output is correct |
68 |
Correct |
37 ms |
188396 KB |
Output is correct |
69 |
Correct |
37 ms |
188252 KB |
Output is correct |
70 |
Correct |
37 ms |
188248 KB |
Output is correct |
71 |
Correct |
36 ms |
188224 KB |
Output is correct |
72 |
Correct |
37 ms |
188244 KB |
Output is correct |
73 |
Correct |
37 ms |
188084 KB |
Output is correct |
74 |
Correct |
37 ms |
188080 KB |
Output is correct |
75 |
Correct |
40 ms |
188548 KB |
Output is correct |
76 |
Correct |
39 ms |
188092 KB |
Output is correct |
77 |
Correct |
37 ms |
188236 KB |
Output is correct |
78 |
Correct |
37 ms |
188248 KB |
Output is correct |
79 |
Correct |
42 ms |
188252 KB |
Output is correct |
80 |
Correct |
41 ms |
188252 KB |
Output is correct |
81 |
Correct |
36 ms |
188240 KB |
Output is correct |
82 |
Correct |
39 ms |
188244 KB |
Output is correct |
83 |
Correct |
37 ms |
188244 KB |
Output is correct |
84 |
Correct |
39 ms |
188248 KB |
Output is correct |
85 |
Correct |
37 ms |
188252 KB |
Output is correct |
86 |
Correct |
38 ms |
188240 KB |
Output is correct |
87 |
Correct |
39 ms |
188448 KB |
Output is correct |
88 |
Correct |
37 ms |
188252 KB |
Output is correct |
89 |
Correct |
38 ms |
188252 KB |
Output is correct |
90 |
Correct |
37 ms |
188252 KB |
Output is correct |
91 |
Correct |
37 ms |
188260 KB |
Output is correct |
92 |
Correct |
39 ms |
188252 KB |
Output is correct |
93 |
Correct |
38 ms |
188120 KB |
Output is correct |
94 |
Correct |
37 ms |
188248 KB |
Output is correct |
95 |
Correct |
41 ms |
188416 KB |
Output is correct |
96 |
Correct |
36 ms |
188240 KB |
Output is correct |
97 |
Correct |
37 ms |
188240 KB |
Output is correct |
98 |
Correct |
37 ms |
188248 KB |
Output is correct |
99 |
Correct |
38 ms |
188540 KB |
Output is correct |
100 |
Correct |
41 ms |
188240 KB |
Output is correct |
101 |
Correct |
36 ms |
188240 KB |
Output is correct |
102 |
Correct |
36 ms |
188328 KB |
Output is correct |
103 |
Correct |
37 ms |
188244 KB |
Output is correct |
104 |
Correct |
36 ms |
188240 KB |
Output is correct |
105 |
Correct |
37 ms |
188192 KB |
Output is correct |
106 |
Correct |
37 ms |
188132 KB |
Output is correct |
107 |
Correct |
39 ms |
188340 KB |
Output is correct |
108 |
Correct |
37 ms |
188240 KB |
Output is correct |
109 |
Correct |
37 ms |
188252 KB |
Output is correct |
110 |
Correct |
38 ms |
188592 KB |
Output is correct |
111 |
Correct |
39 ms |
189348 KB |
Output is correct |
112 |
Correct |
46 ms |
189012 KB |
Output is correct |
113 |
Correct |
39 ms |
189020 KB |
Output is correct |
114 |
Correct |
50 ms |
188936 KB |
Output is correct |
115 |
Correct |
45 ms |
188956 KB |
Output is correct |
116 |
Correct |
45 ms |
188756 KB |
Output is correct |
117 |
Correct |
38 ms |
189208 KB |
Output is correct |
118 |
Correct |
38 ms |
189020 KB |
Output is correct |
119 |
Correct |
45 ms |
190412 KB |
Output is correct |
120 |
Correct |
51 ms |
190072 KB |
Output is correct |
121 |
Correct |
40 ms |
189812 KB |
Output is correct |
122 |
Correct |
54 ms |
189788 KB |
Output is correct |
123 |
Correct |
68 ms |
189776 KB |
Output is correct |
124 |
Correct |
44 ms |
193368 KB |
Output is correct |
125 |
Correct |
275 ms |
251372 KB |
Output is correct |
126 |
Correct |
382 ms |
207724 KB |
Output is correct |
127 |
Correct |
414 ms |
206528 KB |
Output is correct |
128 |
Correct |
244 ms |
203176 KB |
Output is correct |
129 |
Correct |
387 ms |
203536 KB |
Output is correct |
130 |
Correct |
399 ms |
302192 KB |
Output is correct |
131 |
Correct |
237 ms |
253356 KB |
Output is correct |
132 |
Correct |
51 ms |
189012 KB |
Output is correct |
133 |
Correct |
37 ms |
188248 KB |
Output is correct |
134 |
Correct |
37 ms |
188252 KB |
Output is correct |
135 |
Correct |
38 ms |
188764 KB |
Output is correct |
136 |
Correct |
41 ms |
190552 KB |
Output is correct |
137 |
Correct |
41 ms |
189264 KB |
Output is correct |
138 |
Correct |
48 ms |
189184 KB |
Output is correct |
139 |
Correct |
55 ms |
189212 KB |
Output is correct |
140 |
Correct |
56 ms |
188752 KB |
Output is correct |
141 |
Correct |
44 ms |
189012 KB |
Output is correct |
142 |
Correct |
49 ms |
188756 KB |
Output is correct |
143 |
Correct |
44 ms |
188764 KB |
Output is correct |
144 |
Correct |
49 ms |
191320 KB |
Output is correct |
145 |
Correct |
44 ms |
191360 KB |
Output is correct |
146 |
Correct |
44 ms |
190040 KB |
Output is correct |
147 |
Correct |
47 ms |
188956 KB |
Output is correct |
148 |
Correct |
47 ms |
189016 KB |
Output is correct |
149 |
Correct |
49 ms |
188960 KB |
Output is correct |
150 |
Correct |
42 ms |
188736 KB |
Output is correct |
151 |
Correct |
43 ms |
189152 KB |
Output is correct |
152 |
Correct |
38 ms |
189044 KB |
Output is correct |
153 |
Correct |
47 ms |
189008 KB |
Output is correct |
154 |
Correct |
81 ms |
189972 KB |
Output is correct |
155 |
Correct |
46 ms |
189972 KB |
Output is correct |
156 |
Correct |
42 ms |
190284 KB |
Output is correct |
157 |
Correct |
64 ms |
189948 KB |
Output is correct |
158 |
Correct |
51 ms |
190036 KB |
Output is correct |
159 |
Correct |
94 ms |
190228 KB |
Output is correct |
160 |
Correct |
76 ms |
189780 KB |
Output is correct |
161 |
Correct |
41 ms |
189936 KB |
Output is correct |
162 |
Correct |
54 ms |
189776 KB |
Output is correct |
163 |
Correct |
67 ms |
189848 KB |
Output is correct |
164 |
Correct |
77 ms |
195968 KB |
Output is correct |
165 |
Correct |
51 ms |
195956 KB |
Output is correct |
166 |
Correct |
58 ms |
192860 KB |
Output is correct |
167 |
Correct |
66 ms |
189928 KB |
Output is correct |
168 |
Correct |
69 ms |
189788 KB |
Output is correct |
169 |
Correct |
68 ms |
189936 KB |
Output is correct |
170 |
Correct |
65 ms |
189776 KB |
Output is correct |
171 |
Correct |
71 ms |
191596 KB |
Output is correct |
172 |
Correct |
83 ms |
190568 KB |
Output is correct |
173 |
Correct |
44 ms |
189980 KB |
Output is correct |
174 |
Correct |
50 ms |
190772 KB |
Output is correct |
175 |
Correct |
115 ms |
191572 KB |
Output is correct |
176 |
Correct |
92 ms |
205552 KB |
Output is correct |
177 |
Correct |
212 ms |
198996 KB |
Output is correct |
178 |
Correct |
62 ms |
201300 KB |
Output is correct |
179 |
Correct |
204 ms |
203344 KB |
Output is correct |
180 |
Correct |
375 ms |
202616 KB |
Output is correct |
181 |
Correct |
392 ms |
202836 KB |
Output is correct |
182 |
Correct |
416 ms |
202764 KB |
Output is correct |
183 |
Correct |
623 ms |
215536 KB |
Output is correct |
184 |
Correct |
1099 ms |
218460 KB |
Output is correct |
185 |
Correct |
145 ms |
206592 KB |
Output is correct |
186 |
Correct |
351 ms |
256940 KB |
Output is correct |
187 |
Correct |
135 ms |
211800 KB |
Output is correct |
188 |
Correct |
998 ms |
227072 KB |
Output is correct |
189 |
Correct |
1016 ms |
222568 KB |
Output is correct |
190 |
Correct |
373 ms |
221176 KB |
Output is correct |
191 |
Correct |
149 ms |
222416 KB |
Output is correct |
192 |
Correct |
870 ms |
221256 KB |
Output is correct |
193 |
Correct |
744 ms |
221008 KB |
Output is correct |
194 |
Correct |
792 ms |
344628 KB |
Output is correct |
195 |
Correct |
243 ms |
347852 KB |
Output is correct |
196 |
Correct |
684 ms |
220148 KB |
Output is correct |
197 |
Correct |
355 ms |
219508 KB |
Output is correct |
198 |
Correct |
391 ms |
219476 KB |
Output is correct |
199 |
Correct |
758 ms |
219220 KB |
Output is correct |
200 |
Correct |
519 ms |
234488 KB |
Output is correct |
201 |
Correct |
845 ms |
229048 KB |
Output is correct |
202 |
Correct |
1166 ms |
222268 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
52 ms |
188232 KB |
Output is correct |
2 |
Correct |
36 ms |
188244 KB |
Output is correct |
3 |
Correct |
37 ms |
188252 KB |
Output is correct |
4 |
Correct |
38 ms |
188268 KB |
Output is correct |
5 |
Correct |
38 ms |
188300 KB |
Output is correct |
6 |
Correct |
38 ms |
188248 KB |
Output is correct |
7 |
Correct |
36 ms |
188240 KB |
Output is correct |
8 |
Correct |
38 ms |
188244 KB |
Output is correct |
9 |
Correct |
37 ms |
188180 KB |
Output is correct |
10 |
Correct |
37 ms |
188240 KB |
Output is correct |
11 |
Correct |
37 ms |
188504 KB |
Output is correct |
12 |
Correct |
38 ms |
188244 KB |
Output is correct |
13 |
Correct |
36 ms |
188240 KB |
Output is correct |
14 |
Correct |
37 ms |
188252 KB |
Output is correct |
15 |
Correct |
36 ms |
188240 KB |
Output is correct |
16 |
Correct |
37 ms |
188252 KB |
Output is correct |
17 |
Correct |
39 ms |
188244 KB |
Output is correct |
18 |
Correct |
40 ms |
188348 KB |
Output is correct |
19 |
Correct |
51 ms |
189056 KB |
Output is correct |
20 |
Correct |
40 ms |
190552 KB |
Output is correct |
21 |
Correct |
49 ms |
189312 KB |
Output is correct |
22 |
Correct |
55 ms |
189212 KB |
Output is correct |
23 |
Correct |
54 ms |
188988 KB |
Output is correct |
24 |
Correct |
51 ms |
191316 KB |
Output is correct |
25 |
Correct |
42 ms |
191312 KB |
Output is correct |
26 |
Correct |
40 ms |
189088 KB |
Output is correct |
27 |
Correct |
40 ms |
189144 KB |
Output is correct |
28 |
Correct |
46 ms |
189020 KB |
Output is correct |
29 |
Correct |
82 ms |
189948 KB |
Output is correct |
30 |
Correct |
46 ms |
190040 KB |
Output is correct |
31 |
Correct |
51 ms |
190096 KB |
Output is correct |
32 |
Correct |
92 ms |
190228 KB |
Output is correct |
33 |
Correct |
81 ms |
189784 KB |
Output is correct |
34 |
Correct |
74 ms |
195960 KB |
Output is correct |
35 |
Correct |
51 ms |
195968 KB |
Output is correct |
36 |
Correct |
68 ms |
191432 KB |
Output is correct |
37 |
Correct |
84 ms |
190544 KB |
Output is correct |
38 |
Correct |
40 ms |
190004 KB |
Output is correct |
39 |
Correct |
561 ms |
203604 KB |
Output is correct |
40 |
Correct |
59 ms |
190300 KB |
Output is correct |
41 |
Correct |
55 ms |
197592 KB |
Output is correct |
42 |
Correct |
107 ms |
190640 KB |
Output is correct |
43 |
Correct |
69 ms |
195988 KB |
Output is correct |
44 |
Correct |
115 ms |
200176 KB |
Output is correct |
45 |
Correct |
105 ms |
201900 KB |
Output is correct |
46 |
Correct |
389 ms |
206272 KB |
Output is correct |
47 |
Correct |
578 ms |
204744 KB |
Output is correct |
48 |
Correct |
389 ms |
203344 KB |
Output is correct |
49 |
Correct |
286 ms |
265556 KB |
Output is correct |
50 |
Correct |
137 ms |
265492 KB |
Output is correct |
51 |
Correct |
501 ms |
210112 KB |
Output is correct |
52 |
Correct |
349 ms |
207292 KB |
Output is correct |
53 |
Correct |
510 ms |
203856 KB |
Output is correct |
54 |
Correct |
36 ms |
188452 KB |
Output is correct |
55 |
Correct |
39 ms |
188312 KB |
Output is correct |
56 |
Correct |
38 ms |
188240 KB |
Output is correct |
57 |
Correct |
39 ms |
188252 KB |
Output is correct |
58 |
Correct |
39 ms |
188068 KB |
Output is correct |
59 |
Correct |
37 ms |
188300 KB |
Output is correct |
60 |
Correct |
37 ms |
188324 KB |
Output is correct |
61 |
Correct |
37 ms |
188252 KB |
Output is correct |
62 |
Correct |
36 ms |
188332 KB |
Output is correct |
63 |
Correct |
37 ms |
188528 KB |
Output is correct |
64 |
Correct |
36 ms |
188252 KB |
Output is correct |
65 |
Correct |
38 ms |
188252 KB |
Output is correct |
66 |
Correct |
38 ms |
188228 KB |
Output is correct |
67 |
Correct |
36 ms |
188244 KB |
Output is correct |
68 |
Correct |
37 ms |
188396 KB |
Output is correct |
69 |
Correct |
37 ms |
188252 KB |
Output is correct |
70 |
Correct |
37 ms |
188248 KB |
Output is correct |
71 |
Correct |
36 ms |
188224 KB |
Output is correct |
72 |
Correct |
37 ms |
188244 KB |
Output is correct |
73 |
Correct |
37 ms |
188084 KB |
Output is correct |
74 |
Correct |
37 ms |
188080 KB |
Output is correct |
75 |
Correct |
40 ms |
188548 KB |
Output is correct |
76 |
Correct |
39 ms |
188092 KB |
Output is correct |
77 |
Correct |
37 ms |
188236 KB |
Output is correct |
78 |
Correct |
37 ms |
188248 KB |
Output is correct |
79 |
Correct |
42 ms |
188252 KB |
Output is correct |
80 |
Correct |
41 ms |
188252 KB |
Output is correct |
81 |
Correct |
36 ms |
188240 KB |
Output is correct |
82 |
Correct |
39 ms |
188244 KB |
Output is correct |
83 |
Correct |
37 ms |
188244 KB |
Output is correct |
84 |
Correct |
39 ms |
188248 KB |
Output is correct |
85 |
Correct |
37 ms |
188252 KB |
Output is correct |
86 |
Correct |
38 ms |
188240 KB |
Output is correct |
87 |
Correct |
39 ms |
188448 KB |
Output is correct |
88 |
Correct |
37 ms |
188252 KB |
Output is correct |
89 |
Correct |
38 ms |
188252 KB |
Output is correct |
90 |
Correct |
37 ms |
188252 KB |
Output is correct |
91 |
Correct |
37 ms |
188260 KB |
Output is correct |
92 |
Correct |
39 ms |
188252 KB |
Output is correct |
93 |
Correct |
38 ms |
188120 KB |
Output is correct |
94 |
Correct |
37 ms |
188248 KB |
Output is correct |
95 |
Correct |
41 ms |
188416 KB |
Output is correct |
96 |
Correct |
36 ms |
188240 KB |
Output is correct |
97 |
Correct |
37 ms |
188240 KB |
Output is correct |
98 |
Correct |
37 ms |
188248 KB |
Output is correct |
99 |
Correct |
38 ms |
188540 KB |
Output is correct |
100 |
Correct |
41 ms |
188240 KB |
Output is correct |
101 |
Correct |
36 ms |
188240 KB |
Output is correct |
102 |
Correct |
36 ms |
188328 KB |
Output is correct |
103 |
Correct |
37 ms |
188244 KB |
Output is correct |
104 |
Correct |
36 ms |
188240 KB |
Output is correct |
105 |
Correct |
37 ms |
188192 KB |
Output is correct |
106 |
Correct |
37 ms |
188132 KB |
Output is correct |
107 |
Correct |
39 ms |
188340 KB |
Output is correct |
108 |
Correct |
37 ms |
188240 KB |
Output is correct |
109 |
Correct |
37 ms |
188252 KB |
Output is correct |
110 |
Correct |
38 ms |
188592 KB |
Output is correct |
111 |
Correct |
39 ms |
189348 KB |
Output is correct |
112 |
Correct |
46 ms |
189012 KB |
Output is correct |
113 |
Correct |
39 ms |
189020 KB |
Output is correct |
114 |
Correct |
50 ms |
188936 KB |
Output is correct |
115 |
Correct |
45 ms |
188956 KB |
Output is correct |
116 |
Correct |
45 ms |
188756 KB |
Output is correct |
117 |
Correct |
38 ms |
189208 KB |
Output is correct |
118 |
Correct |
38 ms |
189020 KB |
Output is correct |
119 |
Correct |
45 ms |
190412 KB |
Output is correct |
120 |
Correct |
51 ms |
190072 KB |
Output is correct |
121 |
Correct |
40 ms |
189812 KB |
Output is correct |
122 |
Correct |
54 ms |
189788 KB |
Output is correct |
123 |
Correct |
68 ms |
189776 KB |
Output is correct |
124 |
Correct |
44 ms |
193368 KB |
Output is correct |
125 |
Correct |
275 ms |
251372 KB |
Output is correct |
126 |
Correct |
382 ms |
207724 KB |
Output is correct |
127 |
Correct |
414 ms |
206528 KB |
Output is correct |
128 |
Correct |
244 ms |
203176 KB |
Output is correct |
129 |
Correct |
387 ms |
203536 KB |
Output is correct |
130 |
Correct |
399 ms |
302192 KB |
Output is correct |
131 |
Correct |
237 ms |
253356 KB |
Output is correct |
132 |
Correct |
51 ms |
189012 KB |
Output is correct |
133 |
Correct |
37 ms |
188248 KB |
Output is correct |
134 |
Correct |
37 ms |
188252 KB |
Output is correct |
135 |
Correct |
38 ms |
188764 KB |
Output is correct |
136 |
Correct |
41 ms |
190552 KB |
Output is correct |
137 |
Correct |
41 ms |
189264 KB |
Output is correct |
138 |
Correct |
48 ms |
189184 KB |
Output is correct |
139 |
Correct |
55 ms |
189212 KB |
Output is correct |
140 |
Correct |
56 ms |
188752 KB |
Output is correct |
141 |
Correct |
44 ms |
189012 KB |
Output is correct |
142 |
Correct |
49 ms |
188756 KB |
Output is correct |
143 |
Correct |
44 ms |
188764 KB |
Output is correct |
144 |
Correct |
49 ms |
191320 KB |
Output is correct |
145 |
Correct |
44 ms |
191360 KB |
Output is correct |
146 |
Correct |
44 ms |
190040 KB |
Output is correct |
147 |
Correct |
47 ms |
188956 KB |
Output is correct |
148 |
Correct |
47 ms |
189016 KB |
Output is correct |
149 |
Correct |
49 ms |
188960 KB |
Output is correct |
150 |
Correct |
42 ms |
188736 KB |
Output is correct |
151 |
Correct |
43 ms |
189152 KB |
Output is correct |
152 |
Correct |
38 ms |
189044 KB |
Output is correct |
153 |
Correct |
47 ms |
189008 KB |
Output is correct |
154 |
Correct |
81 ms |
189972 KB |
Output is correct |
155 |
Correct |
46 ms |
189972 KB |
Output is correct |
156 |
Correct |
42 ms |
190284 KB |
Output is correct |
157 |
Correct |
64 ms |
189948 KB |
Output is correct |
158 |
Correct |
51 ms |
190036 KB |
Output is correct |
159 |
Correct |
94 ms |
190228 KB |
Output is correct |
160 |
Correct |
76 ms |
189780 KB |
Output is correct |
161 |
Correct |
41 ms |
189936 KB |
Output is correct |
162 |
Correct |
54 ms |
189776 KB |
Output is correct |
163 |
Correct |
67 ms |
189848 KB |
Output is correct |
164 |
Correct |
77 ms |
195968 KB |
Output is correct |
165 |
Correct |
51 ms |
195956 KB |
Output is correct |
166 |
Correct |
58 ms |
192860 KB |
Output is correct |
167 |
Correct |
66 ms |
189928 KB |
Output is correct |
168 |
Correct |
69 ms |
189788 KB |
Output is correct |
169 |
Correct |
68 ms |
189936 KB |
Output is correct |
170 |
Correct |
65 ms |
189776 KB |
Output is correct |
171 |
Correct |
71 ms |
191596 KB |
Output is correct |
172 |
Correct |
83 ms |
190568 KB |
Output is correct |
173 |
Correct |
44 ms |
189980 KB |
Output is correct |
174 |
Correct |
50 ms |
190772 KB |
Output is correct |
175 |
Correct |
115 ms |
191572 KB |
Output is correct |
176 |
Correct |
92 ms |
205552 KB |
Output is correct |
177 |
Correct |
212 ms |
198996 KB |
Output is correct |
178 |
Correct |
62 ms |
201300 KB |
Output is correct |
179 |
Correct |
204 ms |
203344 KB |
Output is correct |
180 |
Correct |
375 ms |
202616 KB |
Output is correct |
181 |
Correct |
392 ms |
202836 KB |
Output is correct |
182 |
Correct |
416 ms |
202764 KB |
Output is correct |
183 |
Correct |
623 ms |
215536 KB |
Output is correct |
184 |
Correct |
1099 ms |
218460 KB |
Output is correct |
185 |
Correct |
145 ms |
206592 KB |
Output is correct |
186 |
Correct |
351 ms |
256940 KB |
Output is correct |
187 |
Correct |
135 ms |
211800 KB |
Output is correct |
188 |
Correct |
998 ms |
227072 KB |
Output is correct |
189 |
Correct |
1016 ms |
222568 KB |
Output is correct |
190 |
Correct |
373 ms |
221176 KB |
Output is correct |
191 |
Correct |
149 ms |
222416 KB |
Output is correct |
192 |
Correct |
870 ms |
221256 KB |
Output is correct |
193 |
Correct |
744 ms |
221008 KB |
Output is correct |
194 |
Correct |
792 ms |
344628 KB |
Output is correct |
195 |
Correct |
243 ms |
347852 KB |
Output is correct |
196 |
Correct |
684 ms |
220148 KB |
Output is correct |
197 |
Correct |
355 ms |
219508 KB |
Output is correct |
198 |
Correct |
391 ms |
219476 KB |
Output is correct |
199 |
Correct |
758 ms |
219220 KB |
Output is correct |
200 |
Correct |
519 ms |
234488 KB |
Output is correct |
201 |
Correct |
845 ms |
229048 KB |
Output is correct |
202 |
Correct |
1166 ms |
222268 KB |
Output is correct |
203 |
Execution timed out |
2094 ms |
253864 KB |
Time limit exceeded |
204 |
Halted |
0 ms |
0 KB |
- |