# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
1046624 |
2024-08-06T18:35:26 Z |
1L1YA |
Maze (JOI23_ho_t3) |
C++17 |
|
145 ms |
350180 KB |
//1L1YA
#include<bits/stdc++.h>
using namespace std;
//#pragma GCC optimize ("O3,unrool-loops")
//#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt")
typedef long long ll;
typedef pair<ll,ll> pll;
typedef pair<int,int> pii;
#define Pb push_back
#define F first
#define S second
#define endl '\n'
#define sep ' '
#define all(x) x.begin(),x.end()
#define al(x,n) x+1,x+n+1
#define SZ(x) ((int)x.size())
#define lc (id<<1)
#define rc (lc|1)
#define mid (l+r>>1)
#define dokme(x) cout << x << endl, exit(0)
#define sik(x) cout << x << endl;continue;
#define FastIO ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define FileIO freopen("input.txt","r",stdin);freopen("output.txt","w",stdout);
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
const ll oo=1e18;
const int mod=1e9+7;
const int inf=1e9+111;
const int N=6e6+11;
const int lg=23;
int n,m,k,xs,ys,xt,yt,x[4]={1,-1,0,0},y[4]={0,0,1,-1};
vector<int> d[N];
string s[N];
void bfs(){
queue<pii> Q;
queue<pair<pii,pii>> QQ;
for(int i=1;i<=n;i++)
for(int j=1;j<=m;j++)
d[i][j]=inf;
d[xs][ys]=0;
QQ.push({{xs,ys},{0,0}});
while(!QQ.empty()){
int p=QQ.front().F.F,q=QQ.front().F.S;QQ.pop();
Q.push({p,q});
for(int i=0;i<4;i++)
if(p+x[i] && p+x[i]<=n && q+y[i] && q+y[i]<=m && d[p+x[i]][q+y[i]] && s[p+x[i]][q+y[i]]=='.'){
d[p+x[i]][q+y[i]]=0;
QQ.push({{p+x[i],q+y[i]},{0,0}});
}
}
while(!Q.empty()){
while(!Q.empty()){
int p=Q.front().F,q=Q.front().S;Q.pop();
for(int i=0;i<4;i++)
if(p+x[i] && p+x[i]<=n && q+y[i] && q+y[i]<=m && d[p][q]+1<d[p+x[i]][q+y[i]]){
d[p+x[i]][q+y[i]]=d[p][q]+1;
QQ.push({{p+x[i],q+y[i]},{k-abs(x[i]),k-abs(y[i])}});
}
}
while(!QQ.empty()){
int p=QQ.front().F.F,q=QQ.front().F.S;
pii val=QQ.front().S;
QQ.pop();
Q.push({p,q});
for(int i=0;i<4;i++)
if(p+x[i] && p+x[i]<=n && q+y[i] && q+y[i]<=m && d[p][q]<d[p+x[i]][q+y[i]] && (((val.F-abs(x[i]))>=0 && (val.S-abs(y[i]))>=0 && ((val.F-abs(x[i]))>0 || (val.S-abs(y[i]))>0)) || s[p+x[i]][q+y[i]]=='.')){
d[p+x[i]][q+y[i]]=d[p][q];
QQ.push({{p+x[i],q+y[i]},{val.F-abs(x[i]),val.S-abs(y[i])}});
}
}
}
}
int main(){
FastIO
cin >> n >> m >> k >> xs >> ys >> xt >> yt;
for(int i=1;i<=n;i++){
cin >> s[i];
s[i]='#'+s[i];
d[i].resize(m+1);
}
bfs();
cout << d[xt][yt] << endl;
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
61 ms |
329148 KB |
Output is correct |
2 |
Correct |
64 ms |
329044 KB |
Output is correct |
3 |
Correct |
61 ms |
329040 KB |
Output is correct |
4 |
Correct |
63 ms |
329044 KB |
Output is correct |
5 |
Correct |
65 ms |
329040 KB |
Output is correct |
6 |
Correct |
62 ms |
329208 KB |
Output is correct |
7 |
Correct |
65 ms |
329044 KB |
Output is correct |
8 |
Correct |
65 ms |
329208 KB |
Output is correct |
9 |
Correct |
65 ms |
329052 KB |
Output is correct |
10 |
Correct |
69 ms |
329184 KB |
Output is correct |
11 |
Correct |
65 ms |
329044 KB |
Output is correct |
12 |
Correct |
62 ms |
329044 KB |
Output is correct |
13 |
Correct |
62 ms |
329208 KB |
Output is correct |
14 |
Correct |
62 ms |
329076 KB |
Output is correct |
15 |
Correct |
61 ms |
328968 KB |
Output is correct |
16 |
Correct |
62 ms |
329052 KB |
Output is correct |
17 |
Correct |
62 ms |
329044 KB |
Output is correct |
18 |
Correct |
63 ms |
329008 KB |
Output is correct |
19 |
Correct |
66 ms |
329312 KB |
Output is correct |
20 |
Correct |
66 ms |
329296 KB |
Output is correct |
21 |
Correct |
67 ms |
329812 KB |
Output is correct |
22 |
Correct |
65 ms |
329300 KB |
Output is correct |
23 |
Correct |
65 ms |
329492 KB |
Output is correct |
24 |
Correct |
69 ms |
329556 KB |
Output is correct |
25 |
Correct |
71 ms |
329472 KB |
Output is correct |
26 |
Correct |
81 ms |
329556 KB |
Output is correct |
27 |
Correct |
66 ms |
329552 KB |
Output is correct |
28 |
Correct |
64 ms |
329300 KB |
Output is correct |
29 |
Correct |
69 ms |
329808 KB |
Output is correct |
30 |
Correct |
66 ms |
329296 KB |
Output is correct |
31 |
Correct |
72 ms |
331104 KB |
Output is correct |
32 |
Correct |
74 ms |
329812 KB |
Output is correct |
33 |
Correct |
68 ms |
329968 KB |
Output is correct |
34 |
Correct |
69 ms |
330056 KB |
Output is correct |
35 |
Correct |
65 ms |
330056 KB |
Output is correct |
36 |
Correct |
68 ms |
330068 KB |
Output is correct |
37 |
Correct |
69 ms |
329812 KB |
Output is correct |
38 |
Correct |
68 ms |
329756 KB |
Output is correct |
39 |
Correct |
124 ms |
336468 KB |
Output is correct |
40 |
Correct |
70 ms |
329992 KB |
Output is correct |
41 |
Correct |
67 ms |
330024 KB |
Output is correct |
42 |
Correct |
72 ms |
330068 KB |
Output is correct |
43 |
Correct |
76 ms |
330188 KB |
Output is correct |
44 |
Correct |
95 ms |
333012 KB |
Output is correct |
45 |
Correct |
96 ms |
333452 KB |
Output is correct |
46 |
Correct |
109 ms |
348684 KB |
Output is correct |
47 |
Correct |
142 ms |
336700 KB |
Output is correct |
48 |
Correct |
120 ms |
336636 KB |
Output is correct |
49 |
Correct |
100 ms |
336456 KB |
Output is correct |
50 |
Correct |
98 ms |
336444 KB |
Output is correct |
51 |
Correct |
145 ms |
337080 KB |
Output is correct |
52 |
Correct |
142 ms |
336720 KB |
Output is correct |
53 |
Correct |
138 ms |
336476 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
67 ms |
329052 KB |
Output is correct |
2 |
Correct |
62 ms |
329044 KB |
Output is correct |
3 |
Correct |
62 ms |
329040 KB |
Output is correct |
4 |
Correct |
62 ms |
329028 KB |
Output is correct |
5 |
Correct |
62 ms |
329212 KB |
Output is correct |
6 |
Correct |
69 ms |
328980 KB |
Output is correct |
7 |
Correct |
63 ms |
329212 KB |
Output is correct |
8 |
Correct |
64 ms |
329044 KB |
Output is correct |
9 |
Correct |
62 ms |
329220 KB |
Output is correct |
10 |
Correct |
64 ms |
329040 KB |
Output is correct |
11 |
Correct |
63 ms |
329040 KB |
Output is correct |
12 |
Correct |
63 ms |
329044 KB |
Output is correct |
13 |
Correct |
63 ms |
329144 KB |
Output is correct |
14 |
Correct |
62 ms |
329008 KB |
Output is correct |
15 |
Correct |
62 ms |
329068 KB |
Output is correct |
16 |
Correct |
63 ms |
329212 KB |
Output is correct |
17 |
Correct |
61 ms |
329040 KB |
Output is correct |
18 |
Correct |
65 ms |
329044 KB |
Output is correct |
19 |
Correct |
62 ms |
329040 KB |
Output is correct |
20 |
Correct |
65 ms |
329040 KB |
Output is correct |
21 |
Correct |
65 ms |
329040 KB |
Output is correct |
22 |
Correct |
72 ms |
329044 KB |
Output is correct |
23 |
Correct |
61 ms |
329044 KB |
Output is correct |
24 |
Correct |
61 ms |
329148 KB |
Output is correct |
25 |
Correct |
62 ms |
329044 KB |
Output is correct |
26 |
Correct |
64 ms |
329044 KB |
Output is correct |
27 |
Correct |
63 ms |
329040 KB |
Output is correct |
28 |
Correct |
72 ms |
329040 KB |
Output is correct |
29 |
Correct |
61 ms |
329044 KB |
Output is correct |
30 |
Correct |
62 ms |
329044 KB |
Output is correct |
31 |
Correct |
61 ms |
329016 KB |
Output is correct |
32 |
Correct |
61 ms |
329004 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
63 ms |
329040 KB |
Output is correct |
2 |
Correct |
62 ms |
329016 KB |
Output is correct |
3 |
Correct |
62 ms |
329132 KB |
Output is correct |
4 |
Correct |
62 ms |
329204 KB |
Output is correct |
5 |
Correct |
63 ms |
329100 KB |
Output is correct |
6 |
Correct |
62 ms |
329088 KB |
Output is correct |
7 |
Correct |
61 ms |
329044 KB |
Output is correct |
8 |
Correct |
63 ms |
329044 KB |
Output is correct |
9 |
Correct |
63 ms |
329044 KB |
Output is correct |
10 |
Correct |
63 ms |
329040 KB |
Output is correct |
11 |
Correct |
69 ms |
329044 KB |
Output is correct |
12 |
Correct |
63 ms |
329220 KB |
Output is correct |
13 |
Correct |
61 ms |
329180 KB |
Output is correct |
14 |
Correct |
66 ms |
329024 KB |
Output is correct |
15 |
Correct |
63 ms |
329040 KB |
Output is correct |
16 |
Correct |
64 ms |
329068 KB |
Output is correct |
17 |
Correct |
65 ms |
329044 KB |
Output is correct |
18 |
Correct |
62 ms |
329076 KB |
Output is correct |
19 |
Correct |
62 ms |
329076 KB |
Output is correct |
20 |
Correct |
63 ms |
329212 KB |
Output is correct |
21 |
Correct |
65 ms |
329040 KB |
Output is correct |
22 |
Correct |
65 ms |
329044 KB |
Output is correct |
23 |
Correct |
65 ms |
329044 KB |
Output is correct |
24 |
Correct |
63 ms |
329236 KB |
Output is correct |
25 |
Correct |
67 ms |
329236 KB |
Output is correct |
26 |
Correct |
65 ms |
329844 KB |
Output is correct |
27 |
Correct |
65 ms |
330064 KB |
Output is correct |
28 |
Correct |
72 ms |
329812 KB |
Output is correct |
29 |
Correct |
65 ms |
329812 KB |
Output is correct |
30 |
Correct |
67 ms |
330064 KB |
Output is correct |
31 |
Correct |
64 ms |
329400 KB |
Output is correct |
32 |
Correct |
66 ms |
329480 KB |
Output is correct |
33 |
Correct |
66 ms |
329556 KB |
Output is correct |
34 |
Correct |
67 ms |
330576 KB |
Output is correct |
35 |
Correct |
67 ms |
331088 KB |
Output is correct |
36 |
Correct |
66 ms |
331092 KB |
Output is correct |
37 |
Correct |
66 ms |
331092 KB |
Output is correct |
38 |
Correct |
70 ms |
331088 KB |
Output is correct |
39 |
Correct |
82 ms |
334416 KB |
Output is correct |
40 |
Correct |
117 ms |
344044 KB |
Output is correct |
41 |
Correct |
112 ms |
350180 KB |
Output is correct |
42 |
Correct |
110 ms |
349940 KB |
Output is correct |
43 |
Correct |
107 ms |
349920 KB |
Output is correct |
44 |
Correct |
108 ms |
349924 KB |
Output is correct |
45 |
Correct |
126 ms |
346004 KB |
Output is correct |
46 |
Correct |
133 ms |
346044 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
67 ms |
329052 KB |
Output is correct |
2 |
Correct |
62 ms |
329044 KB |
Output is correct |
3 |
Correct |
62 ms |
329040 KB |
Output is correct |
4 |
Correct |
62 ms |
329028 KB |
Output is correct |
5 |
Correct |
62 ms |
329212 KB |
Output is correct |
6 |
Correct |
69 ms |
328980 KB |
Output is correct |
7 |
Correct |
63 ms |
329212 KB |
Output is correct |
8 |
Correct |
64 ms |
329044 KB |
Output is correct |
9 |
Correct |
62 ms |
329220 KB |
Output is correct |
10 |
Correct |
64 ms |
329040 KB |
Output is correct |
11 |
Correct |
63 ms |
329040 KB |
Output is correct |
12 |
Correct |
63 ms |
329044 KB |
Output is correct |
13 |
Correct |
63 ms |
329144 KB |
Output is correct |
14 |
Correct |
62 ms |
329008 KB |
Output is correct |
15 |
Correct |
62 ms |
329068 KB |
Output is correct |
16 |
Correct |
63 ms |
329212 KB |
Output is correct |
17 |
Correct |
61 ms |
329040 KB |
Output is correct |
18 |
Correct |
65 ms |
329044 KB |
Output is correct |
19 |
Correct |
62 ms |
329040 KB |
Output is correct |
20 |
Correct |
65 ms |
329040 KB |
Output is correct |
21 |
Correct |
65 ms |
329040 KB |
Output is correct |
22 |
Correct |
72 ms |
329044 KB |
Output is correct |
23 |
Correct |
61 ms |
329044 KB |
Output is correct |
24 |
Correct |
61 ms |
329148 KB |
Output is correct |
25 |
Correct |
62 ms |
329044 KB |
Output is correct |
26 |
Correct |
64 ms |
329044 KB |
Output is correct |
27 |
Correct |
63 ms |
329040 KB |
Output is correct |
28 |
Correct |
72 ms |
329040 KB |
Output is correct |
29 |
Correct |
61 ms |
329044 KB |
Output is correct |
30 |
Correct |
62 ms |
329044 KB |
Output is correct |
31 |
Correct |
61 ms |
329016 KB |
Output is correct |
32 |
Correct |
61 ms |
329004 KB |
Output is correct |
33 |
Correct |
66 ms |
329296 KB |
Output is correct |
34 |
Correct |
64 ms |
329044 KB |
Output is correct |
35 |
Correct |
63 ms |
329044 KB |
Output is correct |
36 |
Correct |
65 ms |
329300 KB |
Output is correct |
37 |
Correct |
65 ms |
329528 KB |
Output is correct |
38 |
Correct |
63 ms |
329844 KB |
Output is correct |
39 |
Correct |
64 ms |
330068 KB |
Output is correct |
40 |
Correct |
66 ms |
329552 KB |
Output is correct |
41 |
Correct |
63 ms |
329480 KB |
Output is correct |
42 |
Correct |
64 ms |
329812 KB |
Output is correct |
43 |
Correct |
64 ms |
329812 KB |
Output is correct |
44 |
Correct |
64 ms |
330064 KB |
Output is correct |
45 |
Correct |
64 ms |
329692 KB |
Output is correct |
46 |
Correct |
64 ms |
329460 KB |
Output is correct |
47 |
Correct |
67 ms |
329556 KB |
Output is correct |
48 |
Incorrect |
63 ms |
329552 KB |
Output isn't correct |
49 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
67 ms |
329052 KB |
Output is correct |
2 |
Correct |
62 ms |
329044 KB |
Output is correct |
3 |
Correct |
62 ms |
329040 KB |
Output is correct |
4 |
Correct |
62 ms |
329028 KB |
Output is correct |
5 |
Correct |
62 ms |
329212 KB |
Output is correct |
6 |
Correct |
69 ms |
328980 KB |
Output is correct |
7 |
Correct |
63 ms |
329212 KB |
Output is correct |
8 |
Correct |
64 ms |
329044 KB |
Output is correct |
9 |
Correct |
62 ms |
329220 KB |
Output is correct |
10 |
Correct |
64 ms |
329040 KB |
Output is correct |
11 |
Correct |
63 ms |
329040 KB |
Output is correct |
12 |
Correct |
63 ms |
329044 KB |
Output is correct |
13 |
Correct |
63 ms |
329144 KB |
Output is correct |
14 |
Correct |
62 ms |
329008 KB |
Output is correct |
15 |
Correct |
62 ms |
329068 KB |
Output is correct |
16 |
Correct |
63 ms |
329212 KB |
Output is correct |
17 |
Correct |
61 ms |
329040 KB |
Output is correct |
18 |
Correct |
65 ms |
329044 KB |
Output is correct |
19 |
Correct |
62 ms |
329040 KB |
Output is correct |
20 |
Correct |
65 ms |
329040 KB |
Output is correct |
21 |
Correct |
65 ms |
329040 KB |
Output is correct |
22 |
Correct |
72 ms |
329044 KB |
Output is correct |
23 |
Correct |
61 ms |
329044 KB |
Output is correct |
24 |
Correct |
61 ms |
329148 KB |
Output is correct |
25 |
Correct |
62 ms |
329044 KB |
Output is correct |
26 |
Correct |
64 ms |
329044 KB |
Output is correct |
27 |
Correct |
63 ms |
329040 KB |
Output is correct |
28 |
Correct |
72 ms |
329040 KB |
Output is correct |
29 |
Correct |
61 ms |
329044 KB |
Output is correct |
30 |
Correct |
62 ms |
329044 KB |
Output is correct |
31 |
Correct |
61 ms |
329016 KB |
Output is correct |
32 |
Correct |
61 ms |
329004 KB |
Output is correct |
33 |
Correct |
66 ms |
329296 KB |
Output is correct |
34 |
Correct |
64 ms |
329044 KB |
Output is correct |
35 |
Correct |
63 ms |
329044 KB |
Output is correct |
36 |
Correct |
65 ms |
329300 KB |
Output is correct |
37 |
Correct |
65 ms |
329528 KB |
Output is correct |
38 |
Correct |
63 ms |
329844 KB |
Output is correct |
39 |
Correct |
64 ms |
330068 KB |
Output is correct |
40 |
Correct |
66 ms |
329552 KB |
Output is correct |
41 |
Correct |
63 ms |
329480 KB |
Output is correct |
42 |
Correct |
64 ms |
329812 KB |
Output is correct |
43 |
Correct |
64 ms |
329812 KB |
Output is correct |
44 |
Correct |
64 ms |
330064 KB |
Output is correct |
45 |
Correct |
64 ms |
329692 KB |
Output is correct |
46 |
Correct |
64 ms |
329460 KB |
Output is correct |
47 |
Correct |
67 ms |
329556 KB |
Output is correct |
48 |
Incorrect |
63 ms |
329552 KB |
Output isn't correct |
49 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
61 ms |
329148 KB |
Output is correct |
2 |
Correct |
64 ms |
329044 KB |
Output is correct |
3 |
Correct |
61 ms |
329040 KB |
Output is correct |
4 |
Correct |
63 ms |
329044 KB |
Output is correct |
5 |
Correct |
65 ms |
329040 KB |
Output is correct |
6 |
Correct |
62 ms |
329208 KB |
Output is correct |
7 |
Correct |
65 ms |
329044 KB |
Output is correct |
8 |
Correct |
65 ms |
329208 KB |
Output is correct |
9 |
Correct |
65 ms |
329052 KB |
Output is correct |
10 |
Correct |
69 ms |
329184 KB |
Output is correct |
11 |
Correct |
65 ms |
329044 KB |
Output is correct |
12 |
Correct |
62 ms |
329044 KB |
Output is correct |
13 |
Correct |
62 ms |
329208 KB |
Output is correct |
14 |
Correct |
62 ms |
329076 KB |
Output is correct |
15 |
Correct |
61 ms |
328968 KB |
Output is correct |
16 |
Correct |
62 ms |
329052 KB |
Output is correct |
17 |
Correct |
62 ms |
329044 KB |
Output is correct |
18 |
Correct |
63 ms |
329008 KB |
Output is correct |
19 |
Correct |
66 ms |
329312 KB |
Output is correct |
20 |
Correct |
66 ms |
329296 KB |
Output is correct |
21 |
Correct |
67 ms |
329812 KB |
Output is correct |
22 |
Correct |
65 ms |
329300 KB |
Output is correct |
23 |
Correct |
65 ms |
329492 KB |
Output is correct |
24 |
Correct |
69 ms |
329556 KB |
Output is correct |
25 |
Correct |
71 ms |
329472 KB |
Output is correct |
26 |
Correct |
81 ms |
329556 KB |
Output is correct |
27 |
Correct |
66 ms |
329552 KB |
Output is correct |
28 |
Correct |
64 ms |
329300 KB |
Output is correct |
29 |
Correct |
69 ms |
329808 KB |
Output is correct |
30 |
Correct |
66 ms |
329296 KB |
Output is correct |
31 |
Correct |
72 ms |
331104 KB |
Output is correct |
32 |
Correct |
74 ms |
329812 KB |
Output is correct |
33 |
Correct |
68 ms |
329968 KB |
Output is correct |
34 |
Correct |
69 ms |
330056 KB |
Output is correct |
35 |
Correct |
65 ms |
330056 KB |
Output is correct |
36 |
Correct |
68 ms |
330068 KB |
Output is correct |
37 |
Correct |
69 ms |
329812 KB |
Output is correct |
38 |
Correct |
68 ms |
329756 KB |
Output is correct |
39 |
Correct |
124 ms |
336468 KB |
Output is correct |
40 |
Correct |
70 ms |
329992 KB |
Output is correct |
41 |
Correct |
67 ms |
330024 KB |
Output is correct |
42 |
Correct |
72 ms |
330068 KB |
Output is correct |
43 |
Correct |
76 ms |
330188 KB |
Output is correct |
44 |
Correct |
95 ms |
333012 KB |
Output is correct |
45 |
Correct |
96 ms |
333452 KB |
Output is correct |
46 |
Correct |
109 ms |
348684 KB |
Output is correct |
47 |
Correct |
142 ms |
336700 KB |
Output is correct |
48 |
Correct |
120 ms |
336636 KB |
Output is correct |
49 |
Correct |
100 ms |
336456 KB |
Output is correct |
50 |
Correct |
98 ms |
336444 KB |
Output is correct |
51 |
Correct |
145 ms |
337080 KB |
Output is correct |
52 |
Correct |
142 ms |
336720 KB |
Output is correct |
53 |
Correct |
138 ms |
336476 KB |
Output is correct |
54 |
Correct |
67 ms |
329052 KB |
Output is correct |
55 |
Correct |
62 ms |
329044 KB |
Output is correct |
56 |
Correct |
62 ms |
329040 KB |
Output is correct |
57 |
Correct |
62 ms |
329028 KB |
Output is correct |
58 |
Correct |
62 ms |
329212 KB |
Output is correct |
59 |
Correct |
69 ms |
328980 KB |
Output is correct |
60 |
Correct |
63 ms |
329212 KB |
Output is correct |
61 |
Correct |
64 ms |
329044 KB |
Output is correct |
62 |
Correct |
62 ms |
329220 KB |
Output is correct |
63 |
Correct |
64 ms |
329040 KB |
Output is correct |
64 |
Correct |
63 ms |
329040 KB |
Output is correct |
65 |
Correct |
63 ms |
329044 KB |
Output is correct |
66 |
Correct |
63 ms |
329144 KB |
Output is correct |
67 |
Correct |
62 ms |
329008 KB |
Output is correct |
68 |
Correct |
62 ms |
329068 KB |
Output is correct |
69 |
Correct |
63 ms |
329212 KB |
Output is correct |
70 |
Correct |
61 ms |
329040 KB |
Output is correct |
71 |
Correct |
65 ms |
329044 KB |
Output is correct |
72 |
Correct |
62 ms |
329040 KB |
Output is correct |
73 |
Correct |
65 ms |
329040 KB |
Output is correct |
74 |
Correct |
65 ms |
329040 KB |
Output is correct |
75 |
Correct |
72 ms |
329044 KB |
Output is correct |
76 |
Correct |
61 ms |
329044 KB |
Output is correct |
77 |
Correct |
61 ms |
329148 KB |
Output is correct |
78 |
Correct |
62 ms |
329044 KB |
Output is correct |
79 |
Correct |
64 ms |
329044 KB |
Output is correct |
80 |
Correct |
63 ms |
329040 KB |
Output is correct |
81 |
Correct |
72 ms |
329040 KB |
Output is correct |
82 |
Correct |
61 ms |
329044 KB |
Output is correct |
83 |
Correct |
62 ms |
329044 KB |
Output is correct |
84 |
Correct |
61 ms |
329016 KB |
Output is correct |
85 |
Correct |
61 ms |
329004 KB |
Output is correct |
86 |
Correct |
63 ms |
329040 KB |
Output is correct |
87 |
Correct |
62 ms |
329016 KB |
Output is correct |
88 |
Correct |
62 ms |
329132 KB |
Output is correct |
89 |
Correct |
62 ms |
329204 KB |
Output is correct |
90 |
Correct |
63 ms |
329100 KB |
Output is correct |
91 |
Correct |
62 ms |
329088 KB |
Output is correct |
92 |
Correct |
61 ms |
329044 KB |
Output is correct |
93 |
Correct |
63 ms |
329044 KB |
Output is correct |
94 |
Correct |
63 ms |
329044 KB |
Output is correct |
95 |
Correct |
63 ms |
329040 KB |
Output is correct |
96 |
Correct |
69 ms |
329044 KB |
Output is correct |
97 |
Correct |
63 ms |
329220 KB |
Output is correct |
98 |
Correct |
61 ms |
329180 KB |
Output is correct |
99 |
Correct |
66 ms |
329024 KB |
Output is correct |
100 |
Correct |
63 ms |
329040 KB |
Output is correct |
101 |
Correct |
64 ms |
329068 KB |
Output is correct |
102 |
Correct |
65 ms |
329044 KB |
Output is correct |
103 |
Correct |
62 ms |
329076 KB |
Output is correct |
104 |
Correct |
62 ms |
329076 KB |
Output is correct |
105 |
Correct |
63 ms |
329212 KB |
Output is correct |
106 |
Correct |
65 ms |
329040 KB |
Output is correct |
107 |
Correct |
65 ms |
329044 KB |
Output is correct |
108 |
Correct |
65 ms |
329044 KB |
Output is correct |
109 |
Correct |
63 ms |
329236 KB |
Output is correct |
110 |
Correct |
67 ms |
329236 KB |
Output is correct |
111 |
Correct |
65 ms |
329844 KB |
Output is correct |
112 |
Correct |
65 ms |
330064 KB |
Output is correct |
113 |
Correct |
72 ms |
329812 KB |
Output is correct |
114 |
Correct |
65 ms |
329812 KB |
Output is correct |
115 |
Correct |
67 ms |
330064 KB |
Output is correct |
116 |
Correct |
64 ms |
329400 KB |
Output is correct |
117 |
Correct |
66 ms |
329480 KB |
Output is correct |
118 |
Correct |
66 ms |
329556 KB |
Output is correct |
119 |
Correct |
67 ms |
330576 KB |
Output is correct |
120 |
Correct |
67 ms |
331088 KB |
Output is correct |
121 |
Correct |
66 ms |
331092 KB |
Output is correct |
122 |
Correct |
66 ms |
331092 KB |
Output is correct |
123 |
Correct |
70 ms |
331088 KB |
Output is correct |
124 |
Correct |
82 ms |
334416 KB |
Output is correct |
125 |
Correct |
117 ms |
344044 KB |
Output is correct |
126 |
Correct |
112 ms |
350180 KB |
Output is correct |
127 |
Correct |
110 ms |
349940 KB |
Output is correct |
128 |
Correct |
107 ms |
349920 KB |
Output is correct |
129 |
Correct |
108 ms |
349924 KB |
Output is correct |
130 |
Correct |
126 ms |
346004 KB |
Output is correct |
131 |
Correct |
133 ms |
346044 KB |
Output is correct |
132 |
Correct |
66 ms |
329296 KB |
Output is correct |
133 |
Correct |
64 ms |
329044 KB |
Output is correct |
134 |
Correct |
63 ms |
329044 KB |
Output is correct |
135 |
Correct |
65 ms |
329300 KB |
Output is correct |
136 |
Correct |
65 ms |
329528 KB |
Output is correct |
137 |
Correct |
63 ms |
329844 KB |
Output is correct |
138 |
Correct |
64 ms |
330068 KB |
Output is correct |
139 |
Correct |
66 ms |
329552 KB |
Output is correct |
140 |
Correct |
63 ms |
329480 KB |
Output is correct |
141 |
Correct |
64 ms |
329812 KB |
Output is correct |
142 |
Correct |
64 ms |
329812 KB |
Output is correct |
143 |
Correct |
64 ms |
330064 KB |
Output is correct |
144 |
Correct |
64 ms |
329692 KB |
Output is correct |
145 |
Correct |
64 ms |
329460 KB |
Output is correct |
146 |
Correct |
67 ms |
329556 KB |
Output is correct |
147 |
Incorrect |
63 ms |
329552 KB |
Output isn't correct |
148 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
61 ms |
329148 KB |
Output is correct |
2 |
Correct |
64 ms |
329044 KB |
Output is correct |
3 |
Correct |
61 ms |
329040 KB |
Output is correct |
4 |
Correct |
63 ms |
329044 KB |
Output is correct |
5 |
Correct |
65 ms |
329040 KB |
Output is correct |
6 |
Correct |
62 ms |
329208 KB |
Output is correct |
7 |
Correct |
65 ms |
329044 KB |
Output is correct |
8 |
Correct |
65 ms |
329208 KB |
Output is correct |
9 |
Correct |
65 ms |
329052 KB |
Output is correct |
10 |
Correct |
69 ms |
329184 KB |
Output is correct |
11 |
Correct |
65 ms |
329044 KB |
Output is correct |
12 |
Correct |
62 ms |
329044 KB |
Output is correct |
13 |
Correct |
62 ms |
329208 KB |
Output is correct |
14 |
Correct |
62 ms |
329076 KB |
Output is correct |
15 |
Correct |
61 ms |
328968 KB |
Output is correct |
16 |
Correct |
62 ms |
329052 KB |
Output is correct |
17 |
Correct |
62 ms |
329044 KB |
Output is correct |
18 |
Correct |
63 ms |
329008 KB |
Output is correct |
19 |
Correct |
66 ms |
329312 KB |
Output is correct |
20 |
Correct |
66 ms |
329296 KB |
Output is correct |
21 |
Correct |
67 ms |
329812 KB |
Output is correct |
22 |
Correct |
65 ms |
329300 KB |
Output is correct |
23 |
Correct |
65 ms |
329492 KB |
Output is correct |
24 |
Correct |
69 ms |
329556 KB |
Output is correct |
25 |
Correct |
71 ms |
329472 KB |
Output is correct |
26 |
Correct |
81 ms |
329556 KB |
Output is correct |
27 |
Correct |
66 ms |
329552 KB |
Output is correct |
28 |
Correct |
64 ms |
329300 KB |
Output is correct |
29 |
Correct |
69 ms |
329808 KB |
Output is correct |
30 |
Correct |
66 ms |
329296 KB |
Output is correct |
31 |
Correct |
72 ms |
331104 KB |
Output is correct |
32 |
Correct |
74 ms |
329812 KB |
Output is correct |
33 |
Correct |
68 ms |
329968 KB |
Output is correct |
34 |
Correct |
69 ms |
330056 KB |
Output is correct |
35 |
Correct |
65 ms |
330056 KB |
Output is correct |
36 |
Correct |
68 ms |
330068 KB |
Output is correct |
37 |
Correct |
69 ms |
329812 KB |
Output is correct |
38 |
Correct |
68 ms |
329756 KB |
Output is correct |
39 |
Correct |
124 ms |
336468 KB |
Output is correct |
40 |
Correct |
70 ms |
329992 KB |
Output is correct |
41 |
Correct |
67 ms |
330024 KB |
Output is correct |
42 |
Correct |
72 ms |
330068 KB |
Output is correct |
43 |
Correct |
76 ms |
330188 KB |
Output is correct |
44 |
Correct |
95 ms |
333012 KB |
Output is correct |
45 |
Correct |
96 ms |
333452 KB |
Output is correct |
46 |
Correct |
109 ms |
348684 KB |
Output is correct |
47 |
Correct |
142 ms |
336700 KB |
Output is correct |
48 |
Correct |
120 ms |
336636 KB |
Output is correct |
49 |
Correct |
100 ms |
336456 KB |
Output is correct |
50 |
Correct |
98 ms |
336444 KB |
Output is correct |
51 |
Correct |
145 ms |
337080 KB |
Output is correct |
52 |
Correct |
142 ms |
336720 KB |
Output is correct |
53 |
Correct |
138 ms |
336476 KB |
Output is correct |
54 |
Correct |
67 ms |
329052 KB |
Output is correct |
55 |
Correct |
62 ms |
329044 KB |
Output is correct |
56 |
Correct |
62 ms |
329040 KB |
Output is correct |
57 |
Correct |
62 ms |
329028 KB |
Output is correct |
58 |
Correct |
62 ms |
329212 KB |
Output is correct |
59 |
Correct |
69 ms |
328980 KB |
Output is correct |
60 |
Correct |
63 ms |
329212 KB |
Output is correct |
61 |
Correct |
64 ms |
329044 KB |
Output is correct |
62 |
Correct |
62 ms |
329220 KB |
Output is correct |
63 |
Correct |
64 ms |
329040 KB |
Output is correct |
64 |
Correct |
63 ms |
329040 KB |
Output is correct |
65 |
Correct |
63 ms |
329044 KB |
Output is correct |
66 |
Correct |
63 ms |
329144 KB |
Output is correct |
67 |
Correct |
62 ms |
329008 KB |
Output is correct |
68 |
Correct |
62 ms |
329068 KB |
Output is correct |
69 |
Correct |
63 ms |
329212 KB |
Output is correct |
70 |
Correct |
61 ms |
329040 KB |
Output is correct |
71 |
Correct |
65 ms |
329044 KB |
Output is correct |
72 |
Correct |
62 ms |
329040 KB |
Output is correct |
73 |
Correct |
65 ms |
329040 KB |
Output is correct |
74 |
Correct |
65 ms |
329040 KB |
Output is correct |
75 |
Correct |
72 ms |
329044 KB |
Output is correct |
76 |
Correct |
61 ms |
329044 KB |
Output is correct |
77 |
Correct |
61 ms |
329148 KB |
Output is correct |
78 |
Correct |
62 ms |
329044 KB |
Output is correct |
79 |
Correct |
64 ms |
329044 KB |
Output is correct |
80 |
Correct |
63 ms |
329040 KB |
Output is correct |
81 |
Correct |
72 ms |
329040 KB |
Output is correct |
82 |
Correct |
61 ms |
329044 KB |
Output is correct |
83 |
Correct |
62 ms |
329044 KB |
Output is correct |
84 |
Correct |
61 ms |
329016 KB |
Output is correct |
85 |
Correct |
61 ms |
329004 KB |
Output is correct |
86 |
Correct |
63 ms |
329040 KB |
Output is correct |
87 |
Correct |
62 ms |
329016 KB |
Output is correct |
88 |
Correct |
62 ms |
329132 KB |
Output is correct |
89 |
Correct |
62 ms |
329204 KB |
Output is correct |
90 |
Correct |
63 ms |
329100 KB |
Output is correct |
91 |
Correct |
62 ms |
329088 KB |
Output is correct |
92 |
Correct |
61 ms |
329044 KB |
Output is correct |
93 |
Correct |
63 ms |
329044 KB |
Output is correct |
94 |
Correct |
63 ms |
329044 KB |
Output is correct |
95 |
Correct |
63 ms |
329040 KB |
Output is correct |
96 |
Correct |
69 ms |
329044 KB |
Output is correct |
97 |
Correct |
63 ms |
329220 KB |
Output is correct |
98 |
Correct |
61 ms |
329180 KB |
Output is correct |
99 |
Correct |
66 ms |
329024 KB |
Output is correct |
100 |
Correct |
63 ms |
329040 KB |
Output is correct |
101 |
Correct |
64 ms |
329068 KB |
Output is correct |
102 |
Correct |
65 ms |
329044 KB |
Output is correct |
103 |
Correct |
62 ms |
329076 KB |
Output is correct |
104 |
Correct |
62 ms |
329076 KB |
Output is correct |
105 |
Correct |
63 ms |
329212 KB |
Output is correct |
106 |
Correct |
65 ms |
329040 KB |
Output is correct |
107 |
Correct |
65 ms |
329044 KB |
Output is correct |
108 |
Correct |
65 ms |
329044 KB |
Output is correct |
109 |
Correct |
63 ms |
329236 KB |
Output is correct |
110 |
Correct |
67 ms |
329236 KB |
Output is correct |
111 |
Correct |
65 ms |
329844 KB |
Output is correct |
112 |
Correct |
65 ms |
330064 KB |
Output is correct |
113 |
Correct |
72 ms |
329812 KB |
Output is correct |
114 |
Correct |
65 ms |
329812 KB |
Output is correct |
115 |
Correct |
67 ms |
330064 KB |
Output is correct |
116 |
Correct |
64 ms |
329400 KB |
Output is correct |
117 |
Correct |
66 ms |
329480 KB |
Output is correct |
118 |
Correct |
66 ms |
329556 KB |
Output is correct |
119 |
Correct |
67 ms |
330576 KB |
Output is correct |
120 |
Correct |
67 ms |
331088 KB |
Output is correct |
121 |
Correct |
66 ms |
331092 KB |
Output is correct |
122 |
Correct |
66 ms |
331092 KB |
Output is correct |
123 |
Correct |
70 ms |
331088 KB |
Output is correct |
124 |
Correct |
82 ms |
334416 KB |
Output is correct |
125 |
Correct |
117 ms |
344044 KB |
Output is correct |
126 |
Correct |
112 ms |
350180 KB |
Output is correct |
127 |
Correct |
110 ms |
349940 KB |
Output is correct |
128 |
Correct |
107 ms |
349920 KB |
Output is correct |
129 |
Correct |
108 ms |
349924 KB |
Output is correct |
130 |
Correct |
126 ms |
346004 KB |
Output is correct |
131 |
Correct |
133 ms |
346044 KB |
Output is correct |
132 |
Correct |
66 ms |
329296 KB |
Output is correct |
133 |
Correct |
64 ms |
329044 KB |
Output is correct |
134 |
Correct |
63 ms |
329044 KB |
Output is correct |
135 |
Correct |
65 ms |
329300 KB |
Output is correct |
136 |
Correct |
65 ms |
329528 KB |
Output is correct |
137 |
Correct |
63 ms |
329844 KB |
Output is correct |
138 |
Correct |
64 ms |
330068 KB |
Output is correct |
139 |
Correct |
66 ms |
329552 KB |
Output is correct |
140 |
Correct |
63 ms |
329480 KB |
Output is correct |
141 |
Correct |
64 ms |
329812 KB |
Output is correct |
142 |
Correct |
64 ms |
329812 KB |
Output is correct |
143 |
Correct |
64 ms |
330064 KB |
Output is correct |
144 |
Correct |
64 ms |
329692 KB |
Output is correct |
145 |
Correct |
64 ms |
329460 KB |
Output is correct |
146 |
Correct |
67 ms |
329556 KB |
Output is correct |
147 |
Incorrect |
63 ms |
329552 KB |
Output isn't correct |
148 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
61 ms |
329148 KB |
Output is correct |
2 |
Correct |
64 ms |
329044 KB |
Output is correct |
3 |
Correct |
61 ms |
329040 KB |
Output is correct |
4 |
Correct |
63 ms |
329044 KB |
Output is correct |
5 |
Correct |
65 ms |
329040 KB |
Output is correct |
6 |
Correct |
62 ms |
329208 KB |
Output is correct |
7 |
Correct |
65 ms |
329044 KB |
Output is correct |
8 |
Correct |
65 ms |
329208 KB |
Output is correct |
9 |
Correct |
65 ms |
329052 KB |
Output is correct |
10 |
Correct |
69 ms |
329184 KB |
Output is correct |
11 |
Correct |
65 ms |
329044 KB |
Output is correct |
12 |
Correct |
62 ms |
329044 KB |
Output is correct |
13 |
Correct |
62 ms |
329208 KB |
Output is correct |
14 |
Correct |
62 ms |
329076 KB |
Output is correct |
15 |
Correct |
61 ms |
328968 KB |
Output is correct |
16 |
Correct |
62 ms |
329052 KB |
Output is correct |
17 |
Correct |
62 ms |
329044 KB |
Output is correct |
18 |
Correct |
63 ms |
329008 KB |
Output is correct |
19 |
Correct |
66 ms |
329312 KB |
Output is correct |
20 |
Correct |
66 ms |
329296 KB |
Output is correct |
21 |
Correct |
67 ms |
329812 KB |
Output is correct |
22 |
Correct |
65 ms |
329300 KB |
Output is correct |
23 |
Correct |
65 ms |
329492 KB |
Output is correct |
24 |
Correct |
69 ms |
329556 KB |
Output is correct |
25 |
Correct |
71 ms |
329472 KB |
Output is correct |
26 |
Correct |
81 ms |
329556 KB |
Output is correct |
27 |
Correct |
66 ms |
329552 KB |
Output is correct |
28 |
Correct |
64 ms |
329300 KB |
Output is correct |
29 |
Correct |
69 ms |
329808 KB |
Output is correct |
30 |
Correct |
66 ms |
329296 KB |
Output is correct |
31 |
Correct |
72 ms |
331104 KB |
Output is correct |
32 |
Correct |
74 ms |
329812 KB |
Output is correct |
33 |
Correct |
68 ms |
329968 KB |
Output is correct |
34 |
Correct |
69 ms |
330056 KB |
Output is correct |
35 |
Correct |
65 ms |
330056 KB |
Output is correct |
36 |
Correct |
68 ms |
330068 KB |
Output is correct |
37 |
Correct |
69 ms |
329812 KB |
Output is correct |
38 |
Correct |
68 ms |
329756 KB |
Output is correct |
39 |
Correct |
124 ms |
336468 KB |
Output is correct |
40 |
Correct |
70 ms |
329992 KB |
Output is correct |
41 |
Correct |
67 ms |
330024 KB |
Output is correct |
42 |
Correct |
72 ms |
330068 KB |
Output is correct |
43 |
Correct |
76 ms |
330188 KB |
Output is correct |
44 |
Correct |
95 ms |
333012 KB |
Output is correct |
45 |
Correct |
96 ms |
333452 KB |
Output is correct |
46 |
Correct |
109 ms |
348684 KB |
Output is correct |
47 |
Correct |
142 ms |
336700 KB |
Output is correct |
48 |
Correct |
120 ms |
336636 KB |
Output is correct |
49 |
Correct |
100 ms |
336456 KB |
Output is correct |
50 |
Correct |
98 ms |
336444 KB |
Output is correct |
51 |
Correct |
145 ms |
337080 KB |
Output is correct |
52 |
Correct |
142 ms |
336720 KB |
Output is correct |
53 |
Correct |
138 ms |
336476 KB |
Output is correct |
54 |
Correct |
67 ms |
329052 KB |
Output is correct |
55 |
Correct |
62 ms |
329044 KB |
Output is correct |
56 |
Correct |
62 ms |
329040 KB |
Output is correct |
57 |
Correct |
62 ms |
329028 KB |
Output is correct |
58 |
Correct |
62 ms |
329212 KB |
Output is correct |
59 |
Correct |
69 ms |
328980 KB |
Output is correct |
60 |
Correct |
63 ms |
329212 KB |
Output is correct |
61 |
Correct |
64 ms |
329044 KB |
Output is correct |
62 |
Correct |
62 ms |
329220 KB |
Output is correct |
63 |
Correct |
64 ms |
329040 KB |
Output is correct |
64 |
Correct |
63 ms |
329040 KB |
Output is correct |
65 |
Correct |
63 ms |
329044 KB |
Output is correct |
66 |
Correct |
63 ms |
329144 KB |
Output is correct |
67 |
Correct |
62 ms |
329008 KB |
Output is correct |
68 |
Correct |
62 ms |
329068 KB |
Output is correct |
69 |
Correct |
63 ms |
329212 KB |
Output is correct |
70 |
Correct |
61 ms |
329040 KB |
Output is correct |
71 |
Correct |
65 ms |
329044 KB |
Output is correct |
72 |
Correct |
62 ms |
329040 KB |
Output is correct |
73 |
Correct |
65 ms |
329040 KB |
Output is correct |
74 |
Correct |
65 ms |
329040 KB |
Output is correct |
75 |
Correct |
72 ms |
329044 KB |
Output is correct |
76 |
Correct |
61 ms |
329044 KB |
Output is correct |
77 |
Correct |
61 ms |
329148 KB |
Output is correct |
78 |
Correct |
62 ms |
329044 KB |
Output is correct |
79 |
Correct |
64 ms |
329044 KB |
Output is correct |
80 |
Correct |
63 ms |
329040 KB |
Output is correct |
81 |
Correct |
72 ms |
329040 KB |
Output is correct |
82 |
Correct |
61 ms |
329044 KB |
Output is correct |
83 |
Correct |
62 ms |
329044 KB |
Output is correct |
84 |
Correct |
61 ms |
329016 KB |
Output is correct |
85 |
Correct |
61 ms |
329004 KB |
Output is correct |
86 |
Correct |
63 ms |
329040 KB |
Output is correct |
87 |
Correct |
62 ms |
329016 KB |
Output is correct |
88 |
Correct |
62 ms |
329132 KB |
Output is correct |
89 |
Correct |
62 ms |
329204 KB |
Output is correct |
90 |
Correct |
63 ms |
329100 KB |
Output is correct |
91 |
Correct |
62 ms |
329088 KB |
Output is correct |
92 |
Correct |
61 ms |
329044 KB |
Output is correct |
93 |
Correct |
63 ms |
329044 KB |
Output is correct |
94 |
Correct |
63 ms |
329044 KB |
Output is correct |
95 |
Correct |
63 ms |
329040 KB |
Output is correct |
96 |
Correct |
69 ms |
329044 KB |
Output is correct |
97 |
Correct |
63 ms |
329220 KB |
Output is correct |
98 |
Correct |
61 ms |
329180 KB |
Output is correct |
99 |
Correct |
66 ms |
329024 KB |
Output is correct |
100 |
Correct |
63 ms |
329040 KB |
Output is correct |
101 |
Correct |
64 ms |
329068 KB |
Output is correct |
102 |
Correct |
65 ms |
329044 KB |
Output is correct |
103 |
Correct |
62 ms |
329076 KB |
Output is correct |
104 |
Correct |
62 ms |
329076 KB |
Output is correct |
105 |
Correct |
63 ms |
329212 KB |
Output is correct |
106 |
Correct |
65 ms |
329040 KB |
Output is correct |
107 |
Correct |
65 ms |
329044 KB |
Output is correct |
108 |
Correct |
65 ms |
329044 KB |
Output is correct |
109 |
Correct |
63 ms |
329236 KB |
Output is correct |
110 |
Correct |
67 ms |
329236 KB |
Output is correct |
111 |
Correct |
65 ms |
329844 KB |
Output is correct |
112 |
Correct |
65 ms |
330064 KB |
Output is correct |
113 |
Correct |
72 ms |
329812 KB |
Output is correct |
114 |
Correct |
65 ms |
329812 KB |
Output is correct |
115 |
Correct |
67 ms |
330064 KB |
Output is correct |
116 |
Correct |
64 ms |
329400 KB |
Output is correct |
117 |
Correct |
66 ms |
329480 KB |
Output is correct |
118 |
Correct |
66 ms |
329556 KB |
Output is correct |
119 |
Correct |
67 ms |
330576 KB |
Output is correct |
120 |
Correct |
67 ms |
331088 KB |
Output is correct |
121 |
Correct |
66 ms |
331092 KB |
Output is correct |
122 |
Correct |
66 ms |
331092 KB |
Output is correct |
123 |
Correct |
70 ms |
331088 KB |
Output is correct |
124 |
Correct |
82 ms |
334416 KB |
Output is correct |
125 |
Correct |
117 ms |
344044 KB |
Output is correct |
126 |
Correct |
112 ms |
350180 KB |
Output is correct |
127 |
Correct |
110 ms |
349940 KB |
Output is correct |
128 |
Correct |
107 ms |
349920 KB |
Output is correct |
129 |
Correct |
108 ms |
349924 KB |
Output is correct |
130 |
Correct |
126 ms |
346004 KB |
Output is correct |
131 |
Correct |
133 ms |
346044 KB |
Output is correct |
132 |
Correct |
66 ms |
329296 KB |
Output is correct |
133 |
Correct |
64 ms |
329044 KB |
Output is correct |
134 |
Correct |
63 ms |
329044 KB |
Output is correct |
135 |
Correct |
65 ms |
329300 KB |
Output is correct |
136 |
Correct |
65 ms |
329528 KB |
Output is correct |
137 |
Correct |
63 ms |
329844 KB |
Output is correct |
138 |
Correct |
64 ms |
330068 KB |
Output is correct |
139 |
Correct |
66 ms |
329552 KB |
Output is correct |
140 |
Correct |
63 ms |
329480 KB |
Output is correct |
141 |
Correct |
64 ms |
329812 KB |
Output is correct |
142 |
Correct |
64 ms |
329812 KB |
Output is correct |
143 |
Correct |
64 ms |
330064 KB |
Output is correct |
144 |
Correct |
64 ms |
329692 KB |
Output is correct |
145 |
Correct |
64 ms |
329460 KB |
Output is correct |
146 |
Correct |
67 ms |
329556 KB |
Output is correct |
147 |
Incorrect |
63 ms |
329552 KB |
Output isn't correct |
148 |
Halted |
0 ms |
0 KB |
- |