# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
1022542 |
2024-07-13T17:12:41 Z |
Aiperiii |
Maze (JOI23_ho_t3) |
C++14 |
|
262 ms |
60584 KB |
#include <bits/stdc++.h>
#define int long long
#define all(x) x.begin(),x.end()
#define ff first
#define ss second
#define pb push_back
using namespace std;
signed main(){
int r,c,n;
cin>>r>>c>>n;
int sx,sy,tx,ty;
cin>>sx>>sy>>tx>>ty;
vector <vector <int> > a(r+1,vector <int> (c+1));
vector <vector <int> > d(r+1,vector <int> (c+1,1e18));
for(int i=1;i<=r;i++){
for(int j=1;j<=c;j++){
char x;
cin>>x;
if(x=='#')a[i][j]=1;
}
}
vector <int> X={0,0,1,-1};
vector <int> Y={1,-1,0,0};
queue <vector <int> > q2;
queue <vector <int> > q;
d[sx][sy]=0;
q.push({sx,sy});
while(!q.empty() or !q2.empty()){
while(!q.empty()){
int x=q.front()[0];
int y=q.front()[1];
q.pop();
for(int i=0;i<4;i++){
int x2=x+X[i],y2=y+Y[i];
if(x2>=1 && x2<=r && y2>=1 && y2<=c){
if(a[x2][y2]==0 && d[x2][y2]>d[x][y]){
d[x2][y2]=d[x][y];
q.push({x2,y2});
}
if(a[x2][y2]==1 && d[x2][y2]>d[x][y]+1){
d[x2][y2]=d[x][y]+1;
q2.push({x2,y2,1,1});
}
}
}
}
while(!q2.empty()){
int x=q2.front()[0];
int y=q2.front()[1];
int psx=q2.front()[2];
int psy=q2.front()[3];
if(psx==n or psy==n){
q.push({x,y});
}
q2.pop();
for(int i=0;i<4;i++){
int x2=x+X[i],y2=y+Y[i];
if(x2>=1 && x2<=r && y2>=1 && y2<=c){
int npsy=psy+abs(Y[i]);
int npsx=psx+abs(X[i]);
if(npsx<=n && npsy<=n){
if(d[x2][y2]>d[x][y]){
d[x2][y2]=d[x][y];
q2.push({x2,y2,npsx,npsy});
}
}
}
}
}
}
cout<<d[tx][ty]<<"\n";
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
2 |
Correct |
0 ms |
348 KB |
Output is correct |
3 |
Correct |
1 ms |
348 KB |
Output is correct |
4 |
Correct |
0 ms |
344 KB |
Output is correct |
5 |
Correct |
0 ms |
348 KB |
Output is correct |
6 |
Correct |
0 ms |
348 KB |
Output is correct |
7 |
Correct |
0 ms |
348 KB |
Output is correct |
8 |
Correct |
0 ms |
432 KB |
Output is correct |
9 |
Correct |
0 ms |
348 KB |
Output is correct |
10 |
Correct |
0 ms |
348 KB |
Output is correct |
11 |
Correct |
0 ms |
348 KB |
Output is correct |
12 |
Correct |
0 ms |
348 KB |
Output is correct |
13 |
Correct |
1 ms |
348 KB |
Output is correct |
14 |
Correct |
0 ms |
348 KB |
Output is correct |
15 |
Correct |
0 ms |
348 KB |
Output is correct |
16 |
Correct |
0 ms |
348 KB |
Output is correct |
17 |
Correct |
0 ms |
348 KB |
Output is correct |
18 |
Correct |
0 ms |
348 KB |
Output is correct |
19 |
Correct |
8 ms |
1372 KB |
Output is correct |
20 |
Correct |
5 ms |
2304 KB |
Output is correct |
21 |
Correct |
4 ms |
1372 KB |
Output is correct |
22 |
Correct |
8 ms |
1368 KB |
Output is correct |
23 |
Correct |
7 ms |
1472 KB |
Output is correct |
24 |
Correct |
5 ms |
2692 KB |
Output is correct |
25 |
Correct |
6 ms |
2864 KB |
Output is correct |
26 |
Correct |
9 ms |
1884 KB |
Output is correct |
27 |
Correct |
9 ms |
1628 KB |
Output is correct |
28 |
Correct |
7 ms |
1368 KB |
Output is correct |
29 |
Correct |
20 ms |
2904 KB |
Output is correct |
30 |
Correct |
9 ms |
2156 KB |
Output is correct |
31 |
Correct |
14 ms |
2928 KB |
Output is correct |
32 |
Correct |
23 ms |
3120 KB |
Output is correct |
33 |
Correct |
17 ms |
3024 KB |
Output is correct |
34 |
Correct |
11 ms |
6340 KB |
Output is correct |
35 |
Correct |
16 ms |
6340 KB |
Output is correct |
36 |
Correct |
23 ms |
3676 KB |
Output is correct |
37 |
Correct |
31 ms |
3416 KB |
Output is correct |
38 |
Correct |
17 ms |
3108 KB |
Output is correct |
39 |
Correct |
239 ms |
25672 KB |
Output is correct |
40 |
Correct |
21 ms |
3420 KB |
Output is correct |
41 |
Correct |
14 ms |
7608 KB |
Output is correct |
42 |
Correct |
28 ms |
3932 KB |
Output is correct |
43 |
Correct |
27 ms |
7080 KB |
Output is correct |
44 |
Correct |
81 ms |
15500 KB |
Output is correct |
45 |
Correct |
99 ms |
17516 KB |
Output is correct |
46 |
Correct |
113 ms |
26448 KB |
Output is correct |
47 |
Correct |
246 ms |
26192 KB |
Output is correct |
48 |
Correct |
203 ms |
25428 KB |
Output is correct |
49 |
Correct |
108 ms |
60524 KB |
Output is correct |
50 |
Correct |
186 ms |
60528 KB |
Output is correct |
51 |
Correct |
258 ms |
27736 KB |
Output is correct |
52 |
Correct |
262 ms |
26448 KB |
Output is correct |
53 |
Correct |
225 ms |
26012 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
2 |
Correct |
0 ms |
348 KB |
Output is correct |
3 |
Correct |
1 ms |
348 KB |
Output is correct |
4 |
Correct |
0 ms |
348 KB |
Output is correct |
5 |
Correct |
1 ms |
348 KB |
Output is correct |
6 |
Correct |
0 ms |
348 KB |
Output is correct |
7 |
Correct |
0 ms |
348 KB |
Output is correct |
8 |
Correct |
0 ms |
348 KB |
Output is correct |
9 |
Correct |
0 ms |
348 KB |
Output is correct |
10 |
Correct |
0 ms |
348 KB |
Output is correct |
11 |
Correct |
1 ms |
348 KB |
Output is correct |
12 |
Correct |
0 ms |
348 KB |
Output is correct |
13 |
Correct |
1 ms |
344 KB |
Output is correct |
14 |
Correct |
0 ms |
344 KB |
Output is correct |
15 |
Correct |
0 ms |
348 KB |
Output is correct |
16 |
Correct |
0 ms |
432 KB |
Output is correct |
17 |
Correct |
0 ms |
348 KB |
Output is correct |
18 |
Correct |
0 ms |
348 KB |
Output is correct |
19 |
Correct |
0 ms |
432 KB |
Output is correct |
20 |
Correct |
1 ms |
344 KB |
Output is correct |
21 |
Correct |
0 ms |
348 KB |
Output is correct |
22 |
Correct |
0 ms |
348 KB |
Output is correct |
23 |
Correct |
0 ms |
348 KB |
Output is correct |
24 |
Correct |
1 ms |
348 KB |
Output is correct |
25 |
Correct |
0 ms |
348 KB |
Output is correct |
26 |
Correct |
0 ms |
348 KB |
Output is correct |
27 |
Correct |
0 ms |
348 KB |
Output is correct |
28 |
Correct |
0 ms |
344 KB |
Output is correct |
29 |
Correct |
0 ms |
344 KB |
Output is correct |
30 |
Correct |
0 ms |
348 KB |
Output is correct |
31 |
Correct |
0 ms |
348 KB |
Output is correct |
32 |
Correct |
1 ms |
348 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
2 |
Correct |
0 ms |
348 KB |
Output is correct |
3 |
Correct |
0 ms |
596 KB |
Output is correct |
4 |
Correct |
0 ms |
348 KB |
Output is correct |
5 |
Correct |
0 ms |
348 KB |
Output is correct |
6 |
Correct |
0 ms |
348 KB |
Output is correct |
7 |
Correct |
0 ms |
348 KB |
Output is correct |
8 |
Correct |
0 ms |
348 KB |
Output is correct |
9 |
Correct |
0 ms |
348 KB |
Output is correct |
10 |
Correct |
0 ms |
348 KB |
Output is correct |
11 |
Correct |
1 ms |
348 KB |
Output is correct |
12 |
Correct |
0 ms |
348 KB |
Output is correct |
13 |
Correct |
0 ms |
348 KB |
Output is correct |
14 |
Correct |
0 ms |
348 KB |
Output is correct |
15 |
Correct |
0 ms |
348 KB |
Output is correct |
16 |
Correct |
1 ms |
348 KB |
Output is correct |
17 |
Correct |
1 ms |
348 KB |
Output is correct |
18 |
Correct |
0 ms |
344 KB |
Output is correct |
19 |
Correct |
0 ms |
344 KB |
Output is correct |
20 |
Correct |
0 ms |
348 KB |
Output is correct |
21 |
Correct |
0 ms |
348 KB |
Output is correct |
22 |
Correct |
0 ms |
348 KB |
Output is correct |
23 |
Correct |
1 ms |
348 KB |
Output is correct |
24 |
Correct |
1 ms |
348 KB |
Output is correct |
25 |
Correct |
4 ms |
1116 KB |
Output is correct |
26 |
Correct |
6 ms |
1884 KB |
Output is correct |
27 |
Correct |
4 ms |
1508 KB |
Output is correct |
28 |
Correct |
4 ms |
1444 KB |
Output is correct |
29 |
Correct |
4 ms |
1372 KB |
Output is correct |
30 |
Correct |
4 ms |
1372 KB |
Output is correct |
31 |
Correct |
5 ms |
1372 KB |
Output is correct |
32 |
Correct |
9 ms |
1708 KB |
Output is correct |
33 |
Correct |
9 ms |
1628 KB |
Output is correct |
34 |
Correct |
14 ms |
4440 KB |
Output is correct |
35 |
Correct |
11 ms |
2908 KB |
Output is correct |
36 |
Correct |
11 ms |
2972 KB |
Output is correct |
37 |
Correct |
11 ms |
2904 KB |
Output is correct |
38 |
Correct |
10 ms |
2908 KB |
Output is correct |
39 |
Correct |
48 ms |
16212 KB |
Output is correct |
40 |
Correct |
164 ms |
45788 KB |
Output is correct |
41 |
Correct |
113 ms |
26576 KB |
Output is correct |
42 |
Correct |
111 ms |
26452 KB |
Output is correct |
43 |
Correct |
101 ms |
25544 KB |
Output is correct |
44 |
Correct |
93 ms |
25564 KB |
Output is correct |
45 |
Correct |
212 ms |
60440 KB |
Output is correct |
46 |
Correct |
198 ms |
60584 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
2 |
Correct |
0 ms |
348 KB |
Output is correct |
3 |
Correct |
1 ms |
348 KB |
Output is correct |
4 |
Correct |
0 ms |
348 KB |
Output is correct |
5 |
Correct |
1 ms |
348 KB |
Output is correct |
6 |
Correct |
0 ms |
348 KB |
Output is correct |
7 |
Correct |
0 ms |
348 KB |
Output is correct |
8 |
Correct |
0 ms |
348 KB |
Output is correct |
9 |
Correct |
0 ms |
348 KB |
Output is correct |
10 |
Correct |
0 ms |
348 KB |
Output is correct |
11 |
Correct |
1 ms |
348 KB |
Output is correct |
12 |
Correct |
0 ms |
348 KB |
Output is correct |
13 |
Correct |
1 ms |
344 KB |
Output is correct |
14 |
Correct |
0 ms |
344 KB |
Output is correct |
15 |
Correct |
0 ms |
348 KB |
Output is correct |
16 |
Correct |
0 ms |
432 KB |
Output is correct |
17 |
Correct |
0 ms |
348 KB |
Output is correct |
18 |
Correct |
0 ms |
348 KB |
Output is correct |
19 |
Correct |
0 ms |
432 KB |
Output is correct |
20 |
Correct |
1 ms |
344 KB |
Output is correct |
21 |
Correct |
0 ms |
348 KB |
Output is correct |
22 |
Correct |
0 ms |
348 KB |
Output is correct |
23 |
Correct |
0 ms |
348 KB |
Output is correct |
24 |
Correct |
1 ms |
348 KB |
Output is correct |
25 |
Correct |
0 ms |
348 KB |
Output is correct |
26 |
Correct |
0 ms |
348 KB |
Output is correct |
27 |
Correct |
0 ms |
348 KB |
Output is correct |
28 |
Correct |
0 ms |
344 KB |
Output is correct |
29 |
Correct |
0 ms |
344 KB |
Output is correct |
30 |
Correct |
0 ms |
348 KB |
Output is correct |
31 |
Correct |
0 ms |
348 KB |
Output is correct |
32 |
Correct |
1 ms |
348 KB |
Output is correct |
33 |
Correct |
7 ms |
1372 KB |
Output is correct |
34 |
Correct |
0 ms |
348 KB |
Output is correct |
35 |
Correct |
1 ms |
348 KB |
Output is correct |
36 |
Correct |
5 ms |
1116 KB |
Output is correct |
37 |
Correct |
5 ms |
2288 KB |
Output is correct |
38 |
Correct |
5 ms |
1884 KB |
Output is correct |
39 |
Correct |
4 ms |
1372 KB |
Output is correct |
40 |
Correct |
8 ms |
1372 KB |
Output is correct |
41 |
Correct |
7 ms |
1628 KB |
Output is correct |
42 |
Correct |
4 ms |
1372 KB |
Output is correct |
43 |
Correct |
4 ms |
1448 KB |
Output is correct |
44 |
Correct |
4 ms |
1372 KB |
Output is correct |
45 |
Correct |
5 ms |
2692 KB |
Output is correct |
46 |
Correct |
6 ms |
2772 KB |
Output is correct |
47 |
Correct |
6 ms |
1904 KB |
Output is correct |
48 |
Correct |
6 ms |
1368 KB |
Output is correct |
49 |
Correct |
5 ms |
1372 KB |
Output is correct |
50 |
Correct |
7 ms |
1372 KB |
Output is correct |
51 |
Correct |
6 ms |
1368 KB |
Output is correct |
52 |
Correct |
9 ms |
1884 KB |
Output is correct |
53 |
Correct |
8 ms |
1704 KB |
Output is correct |
54 |
Correct |
7 ms |
1440 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
2 |
Correct |
0 ms |
348 KB |
Output is correct |
3 |
Correct |
1 ms |
348 KB |
Output is correct |
4 |
Correct |
0 ms |
348 KB |
Output is correct |
5 |
Correct |
1 ms |
348 KB |
Output is correct |
6 |
Correct |
0 ms |
348 KB |
Output is correct |
7 |
Correct |
0 ms |
348 KB |
Output is correct |
8 |
Correct |
0 ms |
348 KB |
Output is correct |
9 |
Correct |
0 ms |
348 KB |
Output is correct |
10 |
Correct |
0 ms |
348 KB |
Output is correct |
11 |
Correct |
1 ms |
348 KB |
Output is correct |
12 |
Correct |
0 ms |
348 KB |
Output is correct |
13 |
Correct |
1 ms |
344 KB |
Output is correct |
14 |
Correct |
0 ms |
344 KB |
Output is correct |
15 |
Correct |
0 ms |
348 KB |
Output is correct |
16 |
Correct |
0 ms |
432 KB |
Output is correct |
17 |
Correct |
0 ms |
348 KB |
Output is correct |
18 |
Correct |
0 ms |
348 KB |
Output is correct |
19 |
Correct |
0 ms |
432 KB |
Output is correct |
20 |
Correct |
1 ms |
344 KB |
Output is correct |
21 |
Correct |
0 ms |
348 KB |
Output is correct |
22 |
Correct |
0 ms |
348 KB |
Output is correct |
23 |
Correct |
0 ms |
348 KB |
Output is correct |
24 |
Correct |
1 ms |
348 KB |
Output is correct |
25 |
Correct |
0 ms |
348 KB |
Output is correct |
26 |
Correct |
0 ms |
348 KB |
Output is correct |
27 |
Correct |
0 ms |
348 KB |
Output is correct |
28 |
Correct |
0 ms |
344 KB |
Output is correct |
29 |
Correct |
0 ms |
344 KB |
Output is correct |
30 |
Correct |
0 ms |
348 KB |
Output is correct |
31 |
Correct |
0 ms |
348 KB |
Output is correct |
32 |
Correct |
1 ms |
348 KB |
Output is correct |
33 |
Correct |
7 ms |
1372 KB |
Output is correct |
34 |
Correct |
0 ms |
348 KB |
Output is correct |
35 |
Correct |
1 ms |
348 KB |
Output is correct |
36 |
Correct |
5 ms |
1116 KB |
Output is correct |
37 |
Correct |
5 ms |
2288 KB |
Output is correct |
38 |
Correct |
5 ms |
1884 KB |
Output is correct |
39 |
Correct |
4 ms |
1372 KB |
Output is correct |
40 |
Correct |
8 ms |
1372 KB |
Output is correct |
41 |
Correct |
7 ms |
1628 KB |
Output is correct |
42 |
Correct |
4 ms |
1372 KB |
Output is correct |
43 |
Correct |
4 ms |
1448 KB |
Output is correct |
44 |
Correct |
4 ms |
1372 KB |
Output is correct |
45 |
Correct |
5 ms |
2692 KB |
Output is correct |
46 |
Correct |
6 ms |
2772 KB |
Output is correct |
47 |
Correct |
6 ms |
1904 KB |
Output is correct |
48 |
Correct |
6 ms |
1368 KB |
Output is correct |
49 |
Correct |
5 ms |
1372 KB |
Output is correct |
50 |
Correct |
7 ms |
1372 KB |
Output is correct |
51 |
Correct |
6 ms |
1368 KB |
Output is correct |
52 |
Correct |
9 ms |
1884 KB |
Output is correct |
53 |
Correct |
8 ms |
1704 KB |
Output is correct |
54 |
Correct |
7 ms |
1440 KB |
Output is correct |
55 |
Correct |
19 ms |
2908 KB |
Output is correct |
56 |
Correct |
7 ms |
2156 KB |
Output is correct |
57 |
Correct |
17 ms |
4692 KB |
Output is correct |
58 |
Incorrect |
15 ms |
2908 KB |
Output isn't correct |
59 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
2 |
Correct |
0 ms |
348 KB |
Output is correct |
3 |
Correct |
1 ms |
348 KB |
Output is correct |
4 |
Correct |
0 ms |
344 KB |
Output is correct |
5 |
Correct |
0 ms |
348 KB |
Output is correct |
6 |
Correct |
0 ms |
348 KB |
Output is correct |
7 |
Correct |
0 ms |
348 KB |
Output is correct |
8 |
Correct |
0 ms |
432 KB |
Output is correct |
9 |
Correct |
0 ms |
348 KB |
Output is correct |
10 |
Correct |
0 ms |
348 KB |
Output is correct |
11 |
Correct |
0 ms |
348 KB |
Output is correct |
12 |
Correct |
0 ms |
348 KB |
Output is correct |
13 |
Correct |
1 ms |
348 KB |
Output is correct |
14 |
Correct |
0 ms |
348 KB |
Output is correct |
15 |
Correct |
0 ms |
348 KB |
Output is correct |
16 |
Correct |
0 ms |
348 KB |
Output is correct |
17 |
Correct |
0 ms |
348 KB |
Output is correct |
18 |
Correct |
0 ms |
348 KB |
Output is correct |
19 |
Correct |
8 ms |
1372 KB |
Output is correct |
20 |
Correct |
5 ms |
2304 KB |
Output is correct |
21 |
Correct |
4 ms |
1372 KB |
Output is correct |
22 |
Correct |
8 ms |
1368 KB |
Output is correct |
23 |
Correct |
7 ms |
1472 KB |
Output is correct |
24 |
Correct |
5 ms |
2692 KB |
Output is correct |
25 |
Correct |
6 ms |
2864 KB |
Output is correct |
26 |
Correct |
9 ms |
1884 KB |
Output is correct |
27 |
Correct |
9 ms |
1628 KB |
Output is correct |
28 |
Correct |
7 ms |
1368 KB |
Output is correct |
29 |
Correct |
20 ms |
2904 KB |
Output is correct |
30 |
Correct |
9 ms |
2156 KB |
Output is correct |
31 |
Correct |
14 ms |
2928 KB |
Output is correct |
32 |
Correct |
23 ms |
3120 KB |
Output is correct |
33 |
Correct |
17 ms |
3024 KB |
Output is correct |
34 |
Correct |
11 ms |
6340 KB |
Output is correct |
35 |
Correct |
16 ms |
6340 KB |
Output is correct |
36 |
Correct |
23 ms |
3676 KB |
Output is correct |
37 |
Correct |
31 ms |
3416 KB |
Output is correct |
38 |
Correct |
17 ms |
3108 KB |
Output is correct |
39 |
Correct |
239 ms |
25672 KB |
Output is correct |
40 |
Correct |
21 ms |
3420 KB |
Output is correct |
41 |
Correct |
14 ms |
7608 KB |
Output is correct |
42 |
Correct |
28 ms |
3932 KB |
Output is correct |
43 |
Correct |
27 ms |
7080 KB |
Output is correct |
44 |
Correct |
81 ms |
15500 KB |
Output is correct |
45 |
Correct |
99 ms |
17516 KB |
Output is correct |
46 |
Correct |
113 ms |
26448 KB |
Output is correct |
47 |
Correct |
246 ms |
26192 KB |
Output is correct |
48 |
Correct |
203 ms |
25428 KB |
Output is correct |
49 |
Correct |
108 ms |
60524 KB |
Output is correct |
50 |
Correct |
186 ms |
60528 KB |
Output is correct |
51 |
Correct |
258 ms |
27736 KB |
Output is correct |
52 |
Correct |
262 ms |
26448 KB |
Output is correct |
53 |
Correct |
225 ms |
26012 KB |
Output is correct |
54 |
Correct |
0 ms |
344 KB |
Output is correct |
55 |
Correct |
0 ms |
348 KB |
Output is correct |
56 |
Correct |
1 ms |
348 KB |
Output is correct |
57 |
Correct |
0 ms |
348 KB |
Output is correct |
58 |
Correct |
1 ms |
348 KB |
Output is correct |
59 |
Correct |
0 ms |
348 KB |
Output is correct |
60 |
Correct |
0 ms |
348 KB |
Output is correct |
61 |
Correct |
0 ms |
348 KB |
Output is correct |
62 |
Correct |
0 ms |
348 KB |
Output is correct |
63 |
Correct |
0 ms |
348 KB |
Output is correct |
64 |
Correct |
1 ms |
348 KB |
Output is correct |
65 |
Correct |
0 ms |
348 KB |
Output is correct |
66 |
Correct |
1 ms |
344 KB |
Output is correct |
67 |
Correct |
0 ms |
344 KB |
Output is correct |
68 |
Correct |
0 ms |
348 KB |
Output is correct |
69 |
Correct |
0 ms |
432 KB |
Output is correct |
70 |
Correct |
0 ms |
348 KB |
Output is correct |
71 |
Correct |
0 ms |
348 KB |
Output is correct |
72 |
Correct |
0 ms |
432 KB |
Output is correct |
73 |
Correct |
1 ms |
344 KB |
Output is correct |
74 |
Correct |
0 ms |
348 KB |
Output is correct |
75 |
Correct |
0 ms |
348 KB |
Output is correct |
76 |
Correct |
0 ms |
348 KB |
Output is correct |
77 |
Correct |
1 ms |
348 KB |
Output is correct |
78 |
Correct |
0 ms |
348 KB |
Output is correct |
79 |
Correct |
0 ms |
348 KB |
Output is correct |
80 |
Correct |
0 ms |
348 KB |
Output is correct |
81 |
Correct |
0 ms |
344 KB |
Output is correct |
82 |
Correct |
0 ms |
344 KB |
Output is correct |
83 |
Correct |
0 ms |
348 KB |
Output is correct |
84 |
Correct |
0 ms |
348 KB |
Output is correct |
85 |
Correct |
1 ms |
348 KB |
Output is correct |
86 |
Correct |
0 ms |
344 KB |
Output is correct |
87 |
Correct |
0 ms |
348 KB |
Output is correct |
88 |
Correct |
0 ms |
596 KB |
Output is correct |
89 |
Correct |
0 ms |
348 KB |
Output is correct |
90 |
Correct |
0 ms |
348 KB |
Output is correct |
91 |
Correct |
0 ms |
348 KB |
Output is correct |
92 |
Correct |
0 ms |
348 KB |
Output is correct |
93 |
Correct |
0 ms |
348 KB |
Output is correct |
94 |
Correct |
0 ms |
348 KB |
Output is correct |
95 |
Correct |
0 ms |
348 KB |
Output is correct |
96 |
Correct |
1 ms |
348 KB |
Output is correct |
97 |
Correct |
0 ms |
348 KB |
Output is correct |
98 |
Correct |
0 ms |
348 KB |
Output is correct |
99 |
Correct |
0 ms |
348 KB |
Output is correct |
100 |
Correct |
0 ms |
348 KB |
Output is correct |
101 |
Correct |
1 ms |
348 KB |
Output is correct |
102 |
Correct |
1 ms |
348 KB |
Output is correct |
103 |
Correct |
0 ms |
344 KB |
Output is correct |
104 |
Correct |
0 ms |
344 KB |
Output is correct |
105 |
Correct |
0 ms |
348 KB |
Output is correct |
106 |
Correct |
0 ms |
348 KB |
Output is correct |
107 |
Correct |
0 ms |
348 KB |
Output is correct |
108 |
Correct |
1 ms |
348 KB |
Output is correct |
109 |
Correct |
1 ms |
348 KB |
Output is correct |
110 |
Correct |
4 ms |
1116 KB |
Output is correct |
111 |
Correct |
6 ms |
1884 KB |
Output is correct |
112 |
Correct |
4 ms |
1508 KB |
Output is correct |
113 |
Correct |
4 ms |
1444 KB |
Output is correct |
114 |
Correct |
4 ms |
1372 KB |
Output is correct |
115 |
Correct |
4 ms |
1372 KB |
Output is correct |
116 |
Correct |
5 ms |
1372 KB |
Output is correct |
117 |
Correct |
9 ms |
1708 KB |
Output is correct |
118 |
Correct |
9 ms |
1628 KB |
Output is correct |
119 |
Correct |
14 ms |
4440 KB |
Output is correct |
120 |
Correct |
11 ms |
2908 KB |
Output is correct |
121 |
Correct |
11 ms |
2972 KB |
Output is correct |
122 |
Correct |
11 ms |
2904 KB |
Output is correct |
123 |
Correct |
10 ms |
2908 KB |
Output is correct |
124 |
Correct |
48 ms |
16212 KB |
Output is correct |
125 |
Correct |
164 ms |
45788 KB |
Output is correct |
126 |
Correct |
113 ms |
26576 KB |
Output is correct |
127 |
Correct |
111 ms |
26452 KB |
Output is correct |
128 |
Correct |
101 ms |
25544 KB |
Output is correct |
129 |
Correct |
93 ms |
25564 KB |
Output is correct |
130 |
Correct |
212 ms |
60440 KB |
Output is correct |
131 |
Correct |
198 ms |
60584 KB |
Output is correct |
132 |
Correct |
7 ms |
1372 KB |
Output is correct |
133 |
Correct |
0 ms |
348 KB |
Output is correct |
134 |
Correct |
1 ms |
348 KB |
Output is correct |
135 |
Correct |
5 ms |
1116 KB |
Output is correct |
136 |
Correct |
5 ms |
2288 KB |
Output is correct |
137 |
Correct |
5 ms |
1884 KB |
Output is correct |
138 |
Correct |
4 ms |
1372 KB |
Output is correct |
139 |
Correct |
8 ms |
1372 KB |
Output is correct |
140 |
Correct |
7 ms |
1628 KB |
Output is correct |
141 |
Correct |
4 ms |
1372 KB |
Output is correct |
142 |
Correct |
4 ms |
1448 KB |
Output is correct |
143 |
Correct |
4 ms |
1372 KB |
Output is correct |
144 |
Correct |
5 ms |
2692 KB |
Output is correct |
145 |
Correct |
6 ms |
2772 KB |
Output is correct |
146 |
Correct |
6 ms |
1904 KB |
Output is correct |
147 |
Correct |
6 ms |
1368 KB |
Output is correct |
148 |
Correct |
5 ms |
1372 KB |
Output is correct |
149 |
Correct |
7 ms |
1372 KB |
Output is correct |
150 |
Correct |
6 ms |
1368 KB |
Output is correct |
151 |
Correct |
9 ms |
1884 KB |
Output is correct |
152 |
Correct |
8 ms |
1704 KB |
Output is correct |
153 |
Correct |
7 ms |
1440 KB |
Output is correct |
154 |
Correct |
19 ms |
2908 KB |
Output is correct |
155 |
Correct |
7 ms |
2156 KB |
Output is correct |
156 |
Correct |
17 ms |
4692 KB |
Output is correct |
157 |
Incorrect |
15 ms |
2908 KB |
Output isn't correct |
158 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
2 |
Correct |
0 ms |
348 KB |
Output is correct |
3 |
Correct |
1 ms |
348 KB |
Output is correct |
4 |
Correct |
0 ms |
344 KB |
Output is correct |
5 |
Correct |
0 ms |
348 KB |
Output is correct |
6 |
Correct |
0 ms |
348 KB |
Output is correct |
7 |
Correct |
0 ms |
348 KB |
Output is correct |
8 |
Correct |
0 ms |
432 KB |
Output is correct |
9 |
Correct |
0 ms |
348 KB |
Output is correct |
10 |
Correct |
0 ms |
348 KB |
Output is correct |
11 |
Correct |
0 ms |
348 KB |
Output is correct |
12 |
Correct |
0 ms |
348 KB |
Output is correct |
13 |
Correct |
1 ms |
348 KB |
Output is correct |
14 |
Correct |
0 ms |
348 KB |
Output is correct |
15 |
Correct |
0 ms |
348 KB |
Output is correct |
16 |
Correct |
0 ms |
348 KB |
Output is correct |
17 |
Correct |
0 ms |
348 KB |
Output is correct |
18 |
Correct |
0 ms |
348 KB |
Output is correct |
19 |
Correct |
8 ms |
1372 KB |
Output is correct |
20 |
Correct |
5 ms |
2304 KB |
Output is correct |
21 |
Correct |
4 ms |
1372 KB |
Output is correct |
22 |
Correct |
8 ms |
1368 KB |
Output is correct |
23 |
Correct |
7 ms |
1472 KB |
Output is correct |
24 |
Correct |
5 ms |
2692 KB |
Output is correct |
25 |
Correct |
6 ms |
2864 KB |
Output is correct |
26 |
Correct |
9 ms |
1884 KB |
Output is correct |
27 |
Correct |
9 ms |
1628 KB |
Output is correct |
28 |
Correct |
7 ms |
1368 KB |
Output is correct |
29 |
Correct |
20 ms |
2904 KB |
Output is correct |
30 |
Correct |
9 ms |
2156 KB |
Output is correct |
31 |
Correct |
14 ms |
2928 KB |
Output is correct |
32 |
Correct |
23 ms |
3120 KB |
Output is correct |
33 |
Correct |
17 ms |
3024 KB |
Output is correct |
34 |
Correct |
11 ms |
6340 KB |
Output is correct |
35 |
Correct |
16 ms |
6340 KB |
Output is correct |
36 |
Correct |
23 ms |
3676 KB |
Output is correct |
37 |
Correct |
31 ms |
3416 KB |
Output is correct |
38 |
Correct |
17 ms |
3108 KB |
Output is correct |
39 |
Correct |
239 ms |
25672 KB |
Output is correct |
40 |
Correct |
21 ms |
3420 KB |
Output is correct |
41 |
Correct |
14 ms |
7608 KB |
Output is correct |
42 |
Correct |
28 ms |
3932 KB |
Output is correct |
43 |
Correct |
27 ms |
7080 KB |
Output is correct |
44 |
Correct |
81 ms |
15500 KB |
Output is correct |
45 |
Correct |
99 ms |
17516 KB |
Output is correct |
46 |
Correct |
113 ms |
26448 KB |
Output is correct |
47 |
Correct |
246 ms |
26192 KB |
Output is correct |
48 |
Correct |
203 ms |
25428 KB |
Output is correct |
49 |
Correct |
108 ms |
60524 KB |
Output is correct |
50 |
Correct |
186 ms |
60528 KB |
Output is correct |
51 |
Correct |
258 ms |
27736 KB |
Output is correct |
52 |
Correct |
262 ms |
26448 KB |
Output is correct |
53 |
Correct |
225 ms |
26012 KB |
Output is correct |
54 |
Correct |
0 ms |
344 KB |
Output is correct |
55 |
Correct |
0 ms |
348 KB |
Output is correct |
56 |
Correct |
1 ms |
348 KB |
Output is correct |
57 |
Correct |
0 ms |
348 KB |
Output is correct |
58 |
Correct |
1 ms |
348 KB |
Output is correct |
59 |
Correct |
0 ms |
348 KB |
Output is correct |
60 |
Correct |
0 ms |
348 KB |
Output is correct |
61 |
Correct |
0 ms |
348 KB |
Output is correct |
62 |
Correct |
0 ms |
348 KB |
Output is correct |
63 |
Correct |
0 ms |
348 KB |
Output is correct |
64 |
Correct |
1 ms |
348 KB |
Output is correct |
65 |
Correct |
0 ms |
348 KB |
Output is correct |
66 |
Correct |
1 ms |
344 KB |
Output is correct |
67 |
Correct |
0 ms |
344 KB |
Output is correct |
68 |
Correct |
0 ms |
348 KB |
Output is correct |
69 |
Correct |
0 ms |
432 KB |
Output is correct |
70 |
Correct |
0 ms |
348 KB |
Output is correct |
71 |
Correct |
0 ms |
348 KB |
Output is correct |
72 |
Correct |
0 ms |
432 KB |
Output is correct |
73 |
Correct |
1 ms |
344 KB |
Output is correct |
74 |
Correct |
0 ms |
348 KB |
Output is correct |
75 |
Correct |
0 ms |
348 KB |
Output is correct |
76 |
Correct |
0 ms |
348 KB |
Output is correct |
77 |
Correct |
1 ms |
348 KB |
Output is correct |
78 |
Correct |
0 ms |
348 KB |
Output is correct |
79 |
Correct |
0 ms |
348 KB |
Output is correct |
80 |
Correct |
0 ms |
348 KB |
Output is correct |
81 |
Correct |
0 ms |
344 KB |
Output is correct |
82 |
Correct |
0 ms |
344 KB |
Output is correct |
83 |
Correct |
0 ms |
348 KB |
Output is correct |
84 |
Correct |
0 ms |
348 KB |
Output is correct |
85 |
Correct |
1 ms |
348 KB |
Output is correct |
86 |
Correct |
0 ms |
344 KB |
Output is correct |
87 |
Correct |
0 ms |
348 KB |
Output is correct |
88 |
Correct |
0 ms |
596 KB |
Output is correct |
89 |
Correct |
0 ms |
348 KB |
Output is correct |
90 |
Correct |
0 ms |
348 KB |
Output is correct |
91 |
Correct |
0 ms |
348 KB |
Output is correct |
92 |
Correct |
0 ms |
348 KB |
Output is correct |
93 |
Correct |
0 ms |
348 KB |
Output is correct |
94 |
Correct |
0 ms |
348 KB |
Output is correct |
95 |
Correct |
0 ms |
348 KB |
Output is correct |
96 |
Correct |
1 ms |
348 KB |
Output is correct |
97 |
Correct |
0 ms |
348 KB |
Output is correct |
98 |
Correct |
0 ms |
348 KB |
Output is correct |
99 |
Correct |
0 ms |
348 KB |
Output is correct |
100 |
Correct |
0 ms |
348 KB |
Output is correct |
101 |
Correct |
1 ms |
348 KB |
Output is correct |
102 |
Correct |
1 ms |
348 KB |
Output is correct |
103 |
Correct |
0 ms |
344 KB |
Output is correct |
104 |
Correct |
0 ms |
344 KB |
Output is correct |
105 |
Correct |
0 ms |
348 KB |
Output is correct |
106 |
Correct |
0 ms |
348 KB |
Output is correct |
107 |
Correct |
0 ms |
348 KB |
Output is correct |
108 |
Correct |
1 ms |
348 KB |
Output is correct |
109 |
Correct |
1 ms |
348 KB |
Output is correct |
110 |
Correct |
4 ms |
1116 KB |
Output is correct |
111 |
Correct |
6 ms |
1884 KB |
Output is correct |
112 |
Correct |
4 ms |
1508 KB |
Output is correct |
113 |
Correct |
4 ms |
1444 KB |
Output is correct |
114 |
Correct |
4 ms |
1372 KB |
Output is correct |
115 |
Correct |
4 ms |
1372 KB |
Output is correct |
116 |
Correct |
5 ms |
1372 KB |
Output is correct |
117 |
Correct |
9 ms |
1708 KB |
Output is correct |
118 |
Correct |
9 ms |
1628 KB |
Output is correct |
119 |
Correct |
14 ms |
4440 KB |
Output is correct |
120 |
Correct |
11 ms |
2908 KB |
Output is correct |
121 |
Correct |
11 ms |
2972 KB |
Output is correct |
122 |
Correct |
11 ms |
2904 KB |
Output is correct |
123 |
Correct |
10 ms |
2908 KB |
Output is correct |
124 |
Correct |
48 ms |
16212 KB |
Output is correct |
125 |
Correct |
164 ms |
45788 KB |
Output is correct |
126 |
Correct |
113 ms |
26576 KB |
Output is correct |
127 |
Correct |
111 ms |
26452 KB |
Output is correct |
128 |
Correct |
101 ms |
25544 KB |
Output is correct |
129 |
Correct |
93 ms |
25564 KB |
Output is correct |
130 |
Correct |
212 ms |
60440 KB |
Output is correct |
131 |
Correct |
198 ms |
60584 KB |
Output is correct |
132 |
Correct |
7 ms |
1372 KB |
Output is correct |
133 |
Correct |
0 ms |
348 KB |
Output is correct |
134 |
Correct |
1 ms |
348 KB |
Output is correct |
135 |
Correct |
5 ms |
1116 KB |
Output is correct |
136 |
Correct |
5 ms |
2288 KB |
Output is correct |
137 |
Correct |
5 ms |
1884 KB |
Output is correct |
138 |
Correct |
4 ms |
1372 KB |
Output is correct |
139 |
Correct |
8 ms |
1372 KB |
Output is correct |
140 |
Correct |
7 ms |
1628 KB |
Output is correct |
141 |
Correct |
4 ms |
1372 KB |
Output is correct |
142 |
Correct |
4 ms |
1448 KB |
Output is correct |
143 |
Correct |
4 ms |
1372 KB |
Output is correct |
144 |
Correct |
5 ms |
2692 KB |
Output is correct |
145 |
Correct |
6 ms |
2772 KB |
Output is correct |
146 |
Correct |
6 ms |
1904 KB |
Output is correct |
147 |
Correct |
6 ms |
1368 KB |
Output is correct |
148 |
Correct |
5 ms |
1372 KB |
Output is correct |
149 |
Correct |
7 ms |
1372 KB |
Output is correct |
150 |
Correct |
6 ms |
1368 KB |
Output is correct |
151 |
Correct |
9 ms |
1884 KB |
Output is correct |
152 |
Correct |
8 ms |
1704 KB |
Output is correct |
153 |
Correct |
7 ms |
1440 KB |
Output is correct |
154 |
Correct |
19 ms |
2908 KB |
Output is correct |
155 |
Correct |
7 ms |
2156 KB |
Output is correct |
156 |
Correct |
17 ms |
4692 KB |
Output is correct |
157 |
Incorrect |
15 ms |
2908 KB |
Output isn't correct |
158 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
2 |
Correct |
0 ms |
348 KB |
Output is correct |
3 |
Correct |
1 ms |
348 KB |
Output is correct |
4 |
Correct |
0 ms |
344 KB |
Output is correct |
5 |
Correct |
0 ms |
348 KB |
Output is correct |
6 |
Correct |
0 ms |
348 KB |
Output is correct |
7 |
Correct |
0 ms |
348 KB |
Output is correct |
8 |
Correct |
0 ms |
432 KB |
Output is correct |
9 |
Correct |
0 ms |
348 KB |
Output is correct |
10 |
Correct |
0 ms |
348 KB |
Output is correct |
11 |
Correct |
0 ms |
348 KB |
Output is correct |
12 |
Correct |
0 ms |
348 KB |
Output is correct |
13 |
Correct |
1 ms |
348 KB |
Output is correct |
14 |
Correct |
0 ms |
348 KB |
Output is correct |
15 |
Correct |
0 ms |
348 KB |
Output is correct |
16 |
Correct |
0 ms |
348 KB |
Output is correct |
17 |
Correct |
0 ms |
348 KB |
Output is correct |
18 |
Correct |
0 ms |
348 KB |
Output is correct |
19 |
Correct |
8 ms |
1372 KB |
Output is correct |
20 |
Correct |
5 ms |
2304 KB |
Output is correct |
21 |
Correct |
4 ms |
1372 KB |
Output is correct |
22 |
Correct |
8 ms |
1368 KB |
Output is correct |
23 |
Correct |
7 ms |
1472 KB |
Output is correct |
24 |
Correct |
5 ms |
2692 KB |
Output is correct |
25 |
Correct |
6 ms |
2864 KB |
Output is correct |
26 |
Correct |
9 ms |
1884 KB |
Output is correct |
27 |
Correct |
9 ms |
1628 KB |
Output is correct |
28 |
Correct |
7 ms |
1368 KB |
Output is correct |
29 |
Correct |
20 ms |
2904 KB |
Output is correct |
30 |
Correct |
9 ms |
2156 KB |
Output is correct |
31 |
Correct |
14 ms |
2928 KB |
Output is correct |
32 |
Correct |
23 ms |
3120 KB |
Output is correct |
33 |
Correct |
17 ms |
3024 KB |
Output is correct |
34 |
Correct |
11 ms |
6340 KB |
Output is correct |
35 |
Correct |
16 ms |
6340 KB |
Output is correct |
36 |
Correct |
23 ms |
3676 KB |
Output is correct |
37 |
Correct |
31 ms |
3416 KB |
Output is correct |
38 |
Correct |
17 ms |
3108 KB |
Output is correct |
39 |
Correct |
239 ms |
25672 KB |
Output is correct |
40 |
Correct |
21 ms |
3420 KB |
Output is correct |
41 |
Correct |
14 ms |
7608 KB |
Output is correct |
42 |
Correct |
28 ms |
3932 KB |
Output is correct |
43 |
Correct |
27 ms |
7080 KB |
Output is correct |
44 |
Correct |
81 ms |
15500 KB |
Output is correct |
45 |
Correct |
99 ms |
17516 KB |
Output is correct |
46 |
Correct |
113 ms |
26448 KB |
Output is correct |
47 |
Correct |
246 ms |
26192 KB |
Output is correct |
48 |
Correct |
203 ms |
25428 KB |
Output is correct |
49 |
Correct |
108 ms |
60524 KB |
Output is correct |
50 |
Correct |
186 ms |
60528 KB |
Output is correct |
51 |
Correct |
258 ms |
27736 KB |
Output is correct |
52 |
Correct |
262 ms |
26448 KB |
Output is correct |
53 |
Correct |
225 ms |
26012 KB |
Output is correct |
54 |
Correct |
0 ms |
344 KB |
Output is correct |
55 |
Correct |
0 ms |
348 KB |
Output is correct |
56 |
Correct |
1 ms |
348 KB |
Output is correct |
57 |
Correct |
0 ms |
348 KB |
Output is correct |
58 |
Correct |
1 ms |
348 KB |
Output is correct |
59 |
Correct |
0 ms |
348 KB |
Output is correct |
60 |
Correct |
0 ms |
348 KB |
Output is correct |
61 |
Correct |
0 ms |
348 KB |
Output is correct |
62 |
Correct |
0 ms |
348 KB |
Output is correct |
63 |
Correct |
0 ms |
348 KB |
Output is correct |
64 |
Correct |
1 ms |
348 KB |
Output is correct |
65 |
Correct |
0 ms |
348 KB |
Output is correct |
66 |
Correct |
1 ms |
344 KB |
Output is correct |
67 |
Correct |
0 ms |
344 KB |
Output is correct |
68 |
Correct |
0 ms |
348 KB |
Output is correct |
69 |
Correct |
0 ms |
432 KB |
Output is correct |
70 |
Correct |
0 ms |
348 KB |
Output is correct |
71 |
Correct |
0 ms |
348 KB |
Output is correct |
72 |
Correct |
0 ms |
432 KB |
Output is correct |
73 |
Correct |
1 ms |
344 KB |
Output is correct |
74 |
Correct |
0 ms |
348 KB |
Output is correct |
75 |
Correct |
0 ms |
348 KB |
Output is correct |
76 |
Correct |
0 ms |
348 KB |
Output is correct |
77 |
Correct |
1 ms |
348 KB |
Output is correct |
78 |
Correct |
0 ms |
348 KB |
Output is correct |
79 |
Correct |
0 ms |
348 KB |
Output is correct |
80 |
Correct |
0 ms |
348 KB |
Output is correct |
81 |
Correct |
0 ms |
344 KB |
Output is correct |
82 |
Correct |
0 ms |
344 KB |
Output is correct |
83 |
Correct |
0 ms |
348 KB |
Output is correct |
84 |
Correct |
0 ms |
348 KB |
Output is correct |
85 |
Correct |
1 ms |
348 KB |
Output is correct |
86 |
Correct |
0 ms |
344 KB |
Output is correct |
87 |
Correct |
0 ms |
348 KB |
Output is correct |
88 |
Correct |
0 ms |
596 KB |
Output is correct |
89 |
Correct |
0 ms |
348 KB |
Output is correct |
90 |
Correct |
0 ms |
348 KB |
Output is correct |
91 |
Correct |
0 ms |
348 KB |
Output is correct |
92 |
Correct |
0 ms |
348 KB |
Output is correct |
93 |
Correct |
0 ms |
348 KB |
Output is correct |
94 |
Correct |
0 ms |
348 KB |
Output is correct |
95 |
Correct |
0 ms |
348 KB |
Output is correct |
96 |
Correct |
1 ms |
348 KB |
Output is correct |
97 |
Correct |
0 ms |
348 KB |
Output is correct |
98 |
Correct |
0 ms |
348 KB |
Output is correct |
99 |
Correct |
0 ms |
348 KB |
Output is correct |
100 |
Correct |
0 ms |
348 KB |
Output is correct |
101 |
Correct |
1 ms |
348 KB |
Output is correct |
102 |
Correct |
1 ms |
348 KB |
Output is correct |
103 |
Correct |
0 ms |
344 KB |
Output is correct |
104 |
Correct |
0 ms |
344 KB |
Output is correct |
105 |
Correct |
0 ms |
348 KB |
Output is correct |
106 |
Correct |
0 ms |
348 KB |
Output is correct |
107 |
Correct |
0 ms |
348 KB |
Output is correct |
108 |
Correct |
1 ms |
348 KB |
Output is correct |
109 |
Correct |
1 ms |
348 KB |
Output is correct |
110 |
Correct |
4 ms |
1116 KB |
Output is correct |
111 |
Correct |
6 ms |
1884 KB |
Output is correct |
112 |
Correct |
4 ms |
1508 KB |
Output is correct |
113 |
Correct |
4 ms |
1444 KB |
Output is correct |
114 |
Correct |
4 ms |
1372 KB |
Output is correct |
115 |
Correct |
4 ms |
1372 KB |
Output is correct |
116 |
Correct |
5 ms |
1372 KB |
Output is correct |
117 |
Correct |
9 ms |
1708 KB |
Output is correct |
118 |
Correct |
9 ms |
1628 KB |
Output is correct |
119 |
Correct |
14 ms |
4440 KB |
Output is correct |
120 |
Correct |
11 ms |
2908 KB |
Output is correct |
121 |
Correct |
11 ms |
2972 KB |
Output is correct |
122 |
Correct |
11 ms |
2904 KB |
Output is correct |
123 |
Correct |
10 ms |
2908 KB |
Output is correct |
124 |
Correct |
48 ms |
16212 KB |
Output is correct |
125 |
Correct |
164 ms |
45788 KB |
Output is correct |
126 |
Correct |
113 ms |
26576 KB |
Output is correct |
127 |
Correct |
111 ms |
26452 KB |
Output is correct |
128 |
Correct |
101 ms |
25544 KB |
Output is correct |
129 |
Correct |
93 ms |
25564 KB |
Output is correct |
130 |
Correct |
212 ms |
60440 KB |
Output is correct |
131 |
Correct |
198 ms |
60584 KB |
Output is correct |
132 |
Correct |
7 ms |
1372 KB |
Output is correct |
133 |
Correct |
0 ms |
348 KB |
Output is correct |
134 |
Correct |
1 ms |
348 KB |
Output is correct |
135 |
Correct |
5 ms |
1116 KB |
Output is correct |
136 |
Correct |
5 ms |
2288 KB |
Output is correct |
137 |
Correct |
5 ms |
1884 KB |
Output is correct |
138 |
Correct |
4 ms |
1372 KB |
Output is correct |
139 |
Correct |
8 ms |
1372 KB |
Output is correct |
140 |
Correct |
7 ms |
1628 KB |
Output is correct |
141 |
Correct |
4 ms |
1372 KB |
Output is correct |
142 |
Correct |
4 ms |
1448 KB |
Output is correct |
143 |
Correct |
4 ms |
1372 KB |
Output is correct |
144 |
Correct |
5 ms |
2692 KB |
Output is correct |
145 |
Correct |
6 ms |
2772 KB |
Output is correct |
146 |
Correct |
6 ms |
1904 KB |
Output is correct |
147 |
Correct |
6 ms |
1368 KB |
Output is correct |
148 |
Correct |
5 ms |
1372 KB |
Output is correct |
149 |
Correct |
7 ms |
1372 KB |
Output is correct |
150 |
Correct |
6 ms |
1368 KB |
Output is correct |
151 |
Correct |
9 ms |
1884 KB |
Output is correct |
152 |
Correct |
8 ms |
1704 KB |
Output is correct |
153 |
Correct |
7 ms |
1440 KB |
Output is correct |
154 |
Correct |
19 ms |
2908 KB |
Output is correct |
155 |
Correct |
7 ms |
2156 KB |
Output is correct |
156 |
Correct |
17 ms |
4692 KB |
Output is correct |
157 |
Incorrect |
15 ms |
2908 KB |
Output isn't correct |
158 |
Halted |
0 ms |
0 KB |
- |