# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
914136 |
2024-01-21T09:14:34 Z |
mychecksedad |
Maze (JOI23_ho_t3) |
C++17 |
|
514 ms |
61844 KB |
/* Author : Mychecksdead */
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define MOD (1000000000+7)
#define MOD1 (998244353)
#define pb push_back
#define all(x) x.begin(), x.end()
#define en cout << '\n'
const int N = 6e6+100, M = 1e5+10, K = 52, MX = 30;
int r, c, n, sx, sy, ex, ey, arr[4][2]={{1, 0}, {-1, 0}, {0, 1}, {0, -1}};
string s[5000];
vector<vector<int>> dp;
void solve(){
cin >> r >> c >> n >> sx >> sy >> ex >> ey;
sx--, sy--, ex--, ey--;
for(int i = 0; i < r; ++i) cin >> s[i];
vector<vector<pair<int, int>>> C;
vector<vector<int>> vis(r, vector<int>(c));
vector<vector<array<int, 2>>> dist(r, vector<array<int, 2>>(c));
vector<vector<int>> dp(r, vector<int>(c, MOD));
for(int i = 0; i < r; ++i){
for(int j = 0; j < c; ++j){
if(s[i][j] == '#' || vis[i][j]) continue;
queue<pair<int, int>> q;
q.push({i, j});
vis[i][j] = C.size() + 1;
C.pb({});
while(!q.empty()){
int x = q.front().first, y = q.front().second;
q.pop();
C.back().pb({x, y});
for(int l = 0; l < 4; ++l){
int x1 = x + arr[l][0], x2 = y + arr[l][1];
if(x1 >= 0 && x2 >= 0 && x1 < r && x2 < c && s[x1][x2] != '#' && !vis[x1][x2]){
q.push({x1, x2});
vis[x1][x2] = C.size();
}
}
}
}
}
auto comp = [&](const array<int, 2> &x, const array<int, 2> &y){
return max(abs(dist[x[0]][x[1]][0]), abs(dist[x[0]][x[1]][1])) > max(abs(dist[y[0]][y[1]][0]), abs(dist[y[0]][y[1]][1]));
};
priority_queue<array<int, 2>, vector<array<int, 2>>, decltype(comp)> Q(comp);
for(auto p: C[vis[sx][sy] - 1]){
int x = 0, req = 4;
for(int l = 0; l < 4; ++l){
int a = arr[l][0] + p.first, b = arr[l][1] + p.second;
if(a >= 0 && b >= 0 && a < r && b < c){
if(vis[a][b] == vis[p.first][p.second]) ++x;
}else --req;
}
dp[p.first][p.second] = 0;
dist[p.first][p.second] = {0};
if(x < req) Q.push({p.first, p.second});
}
int cur = 0;
while(dp[ex][ey] == MOD){
vector<pair<int, int>> Sn;
while(!Q.empty()){
int x = Q.top()[0], y = Q.top()[1]; Q.pop();
// cout << x << ' '<< y << ' ' << cur << ' ' << dist[x][y][0] << ' ' << dist[x][y][1] << endl;
int curx = dist[x][y][0], cury = dist[x][y][1];
for(int l = 0; l < 4; ++l){
int a = x + arr[l][0], b = y + arr[l][1];
if(a >= 0 && b >= 0 && a < r && b < c){
if(max(abs(curx + arr[l][0]), abs(cury + arr[l][1])) > n || abs(curx + arr[l][0]) + abs(cury + arr[l][1]) == 2*n){
if(dp[a][b] == MOD && vis[a][b] > 0){
for(auto p: C[vis[a][b] - 1]){
dp[p.first][p.second] = cur + 1;
Sn.pb(p);
}
}
continue;
}
if(dp[a][b] == MOD){
dp[a][b] = cur + 1;
dist[a][b] = {curx + arr[l][0], cury + arr[l][1]};
Sn.pb({a, b});
Q.push({a, b});
}
}
}
}
for(auto p: Sn){
int x = 0, req = 4;
for(int l = 0; l < 4; ++l){
int a = arr[l][0] + p.first, b = arr[l][1] + p.second;
if(a >= 0 && b >= 0 && a < r && b < c){
if(dp[a][b] < MOD) ++x;
}else --req;
}
if(x < req){
Q.push({p.first, p.second});
dist[p.first][p.second] = {0};
}
}
++cur;
}
// for(int i = 0; i < r; ++i){
// for(int j = 0 ;j < c; ++j) cout << dp[i][j] << ' ';
// en;
// }
cout << dp[ex][ey];
}
int main(){
cin.tie(0); ios::sync_with_stdio(0);
int tt = 1, aa;
// freopen("in.txt", "r", stdin);
// freopen("out.txt", "w", stdout);
while(tt--){
solve();
en;
}
cerr<<"time taken : "<<(float)clock()/CLOCKS_PER_SEC<<" seconds\n";
return 0;
}
Compilation message
Main.cpp: In function 'int main()':
Main.cpp:119:15: warning: unused variable 'aa' [-Wunused-variable]
119 | int tt = 1, aa;
| ^~
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
600 KB |
Output is correct |
2 |
Correct |
1 ms |
600 KB |
Output is correct |
3 |
Correct |
1 ms |
600 KB |
Output is correct |
4 |
Correct |
1 ms |
600 KB |
Output is correct |
5 |
Correct |
1 ms |
600 KB |
Output is correct |
6 |
Correct |
1 ms |
604 KB |
Output is correct |
7 |
Correct |
1 ms |
604 KB |
Output is correct |
8 |
Correct |
1 ms |
604 KB |
Output is correct |
9 |
Correct |
1 ms |
612 KB |
Output is correct |
10 |
Correct |
1 ms |
604 KB |
Output is correct |
11 |
Correct |
0 ms |
604 KB |
Output is correct |
12 |
Correct |
0 ms |
604 KB |
Output is correct |
13 |
Correct |
0 ms |
604 KB |
Output is correct |
14 |
Correct |
0 ms |
604 KB |
Output is correct |
15 |
Correct |
0 ms |
604 KB |
Output is correct |
16 |
Correct |
1 ms |
604 KB |
Output is correct |
17 |
Correct |
1 ms |
856 KB |
Output is correct |
18 |
Correct |
1 ms |
600 KB |
Output is correct |
19 |
Correct |
13 ms |
1624 KB |
Output is correct |
20 |
Correct |
4 ms |
1592 KB |
Output is correct |
21 |
Correct |
3 ms |
2260 KB |
Output is correct |
22 |
Correct |
12 ms |
2136 KB |
Output is correct |
23 |
Correct |
14 ms |
1628 KB |
Output is correct |
24 |
Correct |
3 ms |
2200 KB |
Output is correct |
25 |
Correct |
5 ms |
1904 KB |
Output is correct |
26 |
Correct |
4 ms |
2140 KB |
Output is correct |
27 |
Correct |
3 ms |
2140 KB |
Output is correct |
28 |
Correct |
9 ms |
1732 KB |
Output is correct |
29 |
Correct |
39 ms |
3396 KB |
Output is correct |
30 |
Correct |
7 ms |
2412 KB |
Output is correct |
31 |
Correct |
8 ms |
5332 KB |
Output is correct |
32 |
Correct |
43 ms |
4504 KB |
Output is correct |
33 |
Correct |
44 ms |
3160 KB |
Output is correct |
34 |
Correct |
8 ms |
4872 KB |
Output is correct |
35 |
Correct |
10 ms |
3740 KB |
Output is correct |
36 |
Correct |
24 ms |
4760 KB |
Output is correct |
37 |
Correct |
35 ms |
4492 KB |
Output is correct |
38 |
Correct |
4 ms |
3164 KB |
Output is correct |
39 |
Correct |
514 ms |
28260 KB |
Output is correct |
40 |
Correct |
13 ms |
4760 KB |
Output is correct |
41 |
Correct |
11 ms |
6256 KB |
Output is correct |
42 |
Correct |
61 ms |
5528 KB |
Output is correct |
43 |
Correct |
26 ms |
7368 KB |
Output is correct |
44 |
Correct |
65 ms |
19632 KB |
Output is correct |
45 |
Correct |
76 ms |
19096 KB |
Output is correct |
46 |
Correct |
93 ms |
43460 KB |
Output is correct |
47 |
Correct |
410 ms |
40944 KB |
Output is correct |
48 |
Correct |
406 ms |
26520 KB |
Output is correct |
49 |
Correct |
66 ms |
42724 KB |
Output is correct |
50 |
Correct |
80 ms |
31516 KB |
Output is correct |
51 |
Correct |
333 ms |
39176 KB |
Output is correct |
52 |
Correct |
283 ms |
40756 KB |
Output is correct |
53 |
Correct |
493 ms |
26776 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
600 KB |
Output is correct |
2 |
Correct |
1 ms |
600 KB |
Output is correct |
3 |
Correct |
1 ms |
604 KB |
Output is correct |
4 |
Correct |
1 ms |
604 KB |
Output is correct |
5 |
Correct |
1 ms |
604 KB |
Output is correct |
6 |
Correct |
0 ms |
604 KB |
Output is correct |
7 |
Correct |
0 ms |
604 KB |
Output is correct |
8 |
Correct |
0 ms |
604 KB |
Output is correct |
9 |
Correct |
1 ms |
604 KB |
Output is correct |
10 |
Correct |
1 ms |
604 KB |
Output is correct |
11 |
Correct |
0 ms |
604 KB |
Output is correct |
12 |
Correct |
1 ms |
600 KB |
Output is correct |
13 |
Correct |
1 ms |
604 KB |
Output is correct |
14 |
Correct |
1 ms |
600 KB |
Output is correct |
15 |
Correct |
0 ms |
604 KB |
Output is correct |
16 |
Correct |
0 ms |
604 KB |
Output is correct |
17 |
Correct |
1 ms |
604 KB |
Output is correct |
18 |
Correct |
1 ms |
604 KB |
Output is correct |
19 |
Correct |
1 ms |
604 KB |
Output is correct |
20 |
Correct |
1 ms |
856 KB |
Output is correct |
21 |
Correct |
0 ms |
604 KB |
Output is correct |
22 |
Correct |
1 ms |
600 KB |
Output is correct |
23 |
Correct |
0 ms |
604 KB |
Output is correct |
24 |
Correct |
0 ms |
604 KB |
Output is correct |
25 |
Correct |
0 ms |
604 KB |
Output is correct |
26 |
Correct |
0 ms |
604 KB |
Output is correct |
27 |
Correct |
0 ms |
604 KB |
Output is correct |
28 |
Correct |
0 ms |
604 KB |
Output is correct |
29 |
Correct |
0 ms |
604 KB |
Output is correct |
30 |
Correct |
0 ms |
604 KB |
Output is correct |
31 |
Correct |
0 ms |
604 KB |
Output is correct |
32 |
Correct |
1 ms |
604 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
604 KB |
Output is correct |
2 |
Correct |
1 ms |
856 KB |
Output is correct |
3 |
Correct |
0 ms |
604 KB |
Output is correct |
4 |
Correct |
1 ms |
604 KB |
Output is correct |
5 |
Correct |
1 ms |
856 KB |
Output is correct |
6 |
Correct |
1 ms |
600 KB |
Output is correct |
7 |
Correct |
1 ms |
604 KB |
Output is correct |
8 |
Correct |
1 ms |
604 KB |
Output is correct |
9 |
Correct |
1 ms |
600 KB |
Output is correct |
10 |
Correct |
1 ms |
604 KB |
Output is correct |
11 |
Correct |
1 ms |
604 KB |
Output is correct |
12 |
Correct |
1 ms |
604 KB |
Output is correct |
13 |
Correct |
1 ms |
604 KB |
Output is correct |
14 |
Correct |
1 ms |
604 KB |
Output is correct |
15 |
Correct |
0 ms |
604 KB |
Output is correct |
16 |
Correct |
0 ms |
604 KB |
Output is correct |
17 |
Correct |
0 ms |
604 KB |
Output is correct |
18 |
Correct |
0 ms |
604 KB |
Output is correct |
19 |
Correct |
1 ms |
604 KB |
Output is correct |
20 |
Correct |
0 ms |
604 KB |
Output is correct |
21 |
Correct |
0 ms |
604 KB |
Output is correct |
22 |
Correct |
1 ms |
604 KB |
Output is correct |
23 |
Correct |
1 ms |
604 KB |
Output is correct |
24 |
Correct |
1 ms |
604 KB |
Output is correct |
25 |
Correct |
3 ms |
1624 KB |
Output is correct |
26 |
Correct |
4 ms |
2256 KB |
Output is correct |
27 |
Correct |
4 ms |
2260 KB |
Output is correct |
28 |
Correct |
3 ms |
2264 KB |
Output is correct |
29 |
Correct |
12 ms |
2776 KB |
Output is correct |
30 |
Correct |
9 ms |
2276 KB |
Output is correct |
31 |
Correct |
6 ms |
2140 KB |
Output is correct |
32 |
Correct |
3 ms |
2152 KB |
Output is correct |
33 |
Correct |
3 ms |
2152 KB |
Output is correct |
34 |
Correct |
8 ms |
4316 KB |
Output is correct |
35 |
Correct |
8 ms |
5340 KB |
Output is correct |
36 |
Correct |
12 ms |
5588 KB |
Output is correct |
37 |
Correct |
29 ms |
6600 KB |
Output is correct |
38 |
Correct |
24 ms |
5336 KB |
Output is correct |
39 |
Correct |
30 ms |
14296 KB |
Output is correct |
40 |
Correct |
80 ms |
42752 KB |
Output is correct |
41 |
Correct |
91 ms |
42932 KB |
Output is correct |
42 |
Correct |
88 ms |
43964 KB |
Output is correct |
43 |
Correct |
351 ms |
61844 KB |
Output is correct |
44 |
Correct |
298 ms |
43728 KB |
Output is correct |
45 |
Correct |
108 ms |
50128 KB |
Output is correct |
46 |
Correct |
97 ms |
48116 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
600 KB |
Output is correct |
2 |
Correct |
1 ms |
600 KB |
Output is correct |
3 |
Correct |
1 ms |
604 KB |
Output is correct |
4 |
Correct |
1 ms |
604 KB |
Output is correct |
5 |
Correct |
1 ms |
604 KB |
Output is correct |
6 |
Correct |
0 ms |
604 KB |
Output is correct |
7 |
Correct |
0 ms |
604 KB |
Output is correct |
8 |
Correct |
0 ms |
604 KB |
Output is correct |
9 |
Correct |
1 ms |
604 KB |
Output is correct |
10 |
Correct |
1 ms |
604 KB |
Output is correct |
11 |
Correct |
0 ms |
604 KB |
Output is correct |
12 |
Correct |
1 ms |
600 KB |
Output is correct |
13 |
Correct |
1 ms |
604 KB |
Output is correct |
14 |
Correct |
1 ms |
600 KB |
Output is correct |
15 |
Correct |
0 ms |
604 KB |
Output is correct |
16 |
Correct |
0 ms |
604 KB |
Output is correct |
17 |
Correct |
1 ms |
604 KB |
Output is correct |
18 |
Correct |
1 ms |
604 KB |
Output is correct |
19 |
Correct |
1 ms |
604 KB |
Output is correct |
20 |
Correct |
1 ms |
856 KB |
Output is correct |
21 |
Correct |
0 ms |
604 KB |
Output is correct |
22 |
Correct |
1 ms |
600 KB |
Output is correct |
23 |
Correct |
0 ms |
604 KB |
Output is correct |
24 |
Correct |
0 ms |
604 KB |
Output is correct |
25 |
Correct |
0 ms |
604 KB |
Output is correct |
26 |
Correct |
0 ms |
604 KB |
Output is correct |
27 |
Correct |
0 ms |
604 KB |
Output is correct |
28 |
Correct |
0 ms |
604 KB |
Output is correct |
29 |
Correct |
0 ms |
604 KB |
Output is correct |
30 |
Correct |
0 ms |
604 KB |
Output is correct |
31 |
Correct |
0 ms |
604 KB |
Output is correct |
32 |
Correct |
1 ms |
604 KB |
Output is correct |
33 |
Correct |
12 ms |
1624 KB |
Output is correct |
34 |
Correct |
1 ms |
604 KB |
Output is correct |
35 |
Correct |
1 ms |
604 KB |
Output is correct |
36 |
Correct |
3 ms |
1628 KB |
Output is correct |
37 |
Correct |
4 ms |
1592 KB |
Output is correct |
38 |
Correct |
4 ms |
2260 KB |
Output is correct |
39 |
Correct |
3 ms |
2260 KB |
Output is correct |
40 |
Correct |
12 ms |
2140 KB |
Output is correct |
41 |
Correct |
16 ms |
1684 KB |
Output is correct |
42 |
Correct |
3 ms |
2264 KB |
Output is correct |
43 |
Correct |
15 ms |
2732 KB |
Output is correct |
44 |
Correct |
10 ms |
2276 KB |
Output is correct |
45 |
Correct |
3 ms |
2200 KB |
Output is correct |
46 |
Correct |
4 ms |
1904 KB |
Output is correct |
47 |
Correct |
6 ms |
2412 KB |
Output is correct |
48 |
Correct |
7 ms |
2392 KB |
Output is correct |
49 |
Correct |
7 ms |
2140 KB |
Output is correct |
50 |
Correct |
8 ms |
2140 KB |
Output is correct |
51 |
Correct |
6 ms |
2140 KB |
Output is correct |
52 |
Correct |
4 ms |
2140 KB |
Output is correct |
53 |
Correct |
3 ms |
2140 KB |
Output is correct |
54 |
Correct |
11 ms |
1728 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
600 KB |
Output is correct |
2 |
Correct |
1 ms |
600 KB |
Output is correct |
3 |
Correct |
1 ms |
604 KB |
Output is correct |
4 |
Correct |
1 ms |
604 KB |
Output is correct |
5 |
Correct |
1 ms |
604 KB |
Output is correct |
6 |
Correct |
0 ms |
604 KB |
Output is correct |
7 |
Correct |
0 ms |
604 KB |
Output is correct |
8 |
Correct |
0 ms |
604 KB |
Output is correct |
9 |
Correct |
1 ms |
604 KB |
Output is correct |
10 |
Correct |
1 ms |
604 KB |
Output is correct |
11 |
Correct |
0 ms |
604 KB |
Output is correct |
12 |
Correct |
1 ms |
600 KB |
Output is correct |
13 |
Correct |
1 ms |
604 KB |
Output is correct |
14 |
Correct |
1 ms |
600 KB |
Output is correct |
15 |
Correct |
0 ms |
604 KB |
Output is correct |
16 |
Correct |
0 ms |
604 KB |
Output is correct |
17 |
Correct |
1 ms |
604 KB |
Output is correct |
18 |
Correct |
1 ms |
604 KB |
Output is correct |
19 |
Correct |
1 ms |
604 KB |
Output is correct |
20 |
Correct |
1 ms |
856 KB |
Output is correct |
21 |
Correct |
0 ms |
604 KB |
Output is correct |
22 |
Correct |
1 ms |
600 KB |
Output is correct |
23 |
Correct |
0 ms |
604 KB |
Output is correct |
24 |
Correct |
0 ms |
604 KB |
Output is correct |
25 |
Correct |
0 ms |
604 KB |
Output is correct |
26 |
Correct |
0 ms |
604 KB |
Output is correct |
27 |
Correct |
0 ms |
604 KB |
Output is correct |
28 |
Correct |
0 ms |
604 KB |
Output is correct |
29 |
Correct |
0 ms |
604 KB |
Output is correct |
30 |
Correct |
0 ms |
604 KB |
Output is correct |
31 |
Correct |
0 ms |
604 KB |
Output is correct |
32 |
Correct |
1 ms |
604 KB |
Output is correct |
33 |
Correct |
12 ms |
1624 KB |
Output is correct |
34 |
Correct |
1 ms |
604 KB |
Output is correct |
35 |
Correct |
1 ms |
604 KB |
Output is correct |
36 |
Correct |
3 ms |
1628 KB |
Output is correct |
37 |
Correct |
4 ms |
1592 KB |
Output is correct |
38 |
Correct |
4 ms |
2260 KB |
Output is correct |
39 |
Correct |
3 ms |
2260 KB |
Output is correct |
40 |
Correct |
12 ms |
2140 KB |
Output is correct |
41 |
Correct |
16 ms |
1684 KB |
Output is correct |
42 |
Correct |
3 ms |
2264 KB |
Output is correct |
43 |
Correct |
15 ms |
2732 KB |
Output is correct |
44 |
Correct |
10 ms |
2276 KB |
Output is correct |
45 |
Correct |
3 ms |
2200 KB |
Output is correct |
46 |
Correct |
4 ms |
1904 KB |
Output is correct |
47 |
Correct |
6 ms |
2412 KB |
Output is correct |
48 |
Correct |
7 ms |
2392 KB |
Output is correct |
49 |
Correct |
7 ms |
2140 KB |
Output is correct |
50 |
Correct |
8 ms |
2140 KB |
Output is correct |
51 |
Correct |
6 ms |
2140 KB |
Output is correct |
52 |
Correct |
4 ms |
2140 KB |
Output is correct |
53 |
Correct |
3 ms |
2140 KB |
Output is correct |
54 |
Correct |
11 ms |
1728 KB |
Output is correct |
55 |
Correct |
42 ms |
3164 KB |
Output is correct |
56 |
Correct |
7 ms |
2412 KB |
Output is correct |
57 |
Correct |
8 ms |
4232 KB |
Output is correct |
58 |
Incorrect |
18 ms |
4328 KB |
Output isn't correct |
59 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
600 KB |
Output is correct |
2 |
Correct |
1 ms |
600 KB |
Output is correct |
3 |
Correct |
1 ms |
600 KB |
Output is correct |
4 |
Correct |
1 ms |
600 KB |
Output is correct |
5 |
Correct |
1 ms |
600 KB |
Output is correct |
6 |
Correct |
1 ms |
604 KB |
Output is correct |
7 |
Correct |
1 ms |
604 KB |
Output is correct |
8 |
Correct |
1 ms |
604 KB |
Output is correct |
9 |
Correct |
1 ms |
612 KB |
Output is correct |
10 |
Correct |
1 ms |
604 KB |
Output is correct |
11 |
Correct |
0 ms |
604 KB |
Output is correct |
12 |
Correct |
0 ms |
604 KB |
Output is correct |
13 |
Correct |
0 ms |
604 KB |
Output is correct |
14 |
Correct |
0 ms |
604 KB |
Output is correct |
15 |
Correct |
0 ms |
604 KB |
Output is correct |
16 |
Correct |
1 ms |
604 KB |
Output is correct |
17 |
Correct |
1 ms |
856 KB |
Output is correct |
18 |
Correct |
1 ms |
600 KB |
Output is correct |
19 |
Correct |
13 ms |
1624 KB |
Output is correct |
20 |
Correct |
4 ms |
1592 KB |
Output is correct |
21 |
Correct |
3 ms |
2260 KB |
Output is correct |
22 |
Correct |
12 ms |
2136 KB |
Output is correct |
23 |
Correct |
14 ms |
1628 KB |
Output is correct |
24 |
Correct |
3 ms |
2200 KB |
Output is correct |
25 |
Correct |
5 ms |
1904 KB |
Output is correct |
26 |
Correct |
4 ms |
2140 KB |
Output is correct |
27 |
Correct |
3 ms |
2140 KB |
Output is correct |
28 |
Correct |
9 ms |
1732 KB |
Output is correct |
29 |
Correct |
39 ms |
3396 KB |
Output is correct |
30 |
Correct |
7 ms |
2412 KB |
Output is correct |
31 |
Correct |
8 ms |
5332 KB |
Output is correct |
32 |
Correct |
43 ms |
4504 KB |
Output is correct |
33 |
Correct |
44 ms |
3160 KB |
Output is correct |
34 |
Correct |
8 ms |
4872 KB |
Output is correct |
35 |
Correct |
10 ms |
3740 KB |
Output is correct |
36 |
Correct |
24 ms |
4760 KB |
Output is correct |
37 |
Correct |
35 ms |
4492 KB |
Output is correct |
38 |
Correct |
4 ms |
3164 KB |
Output is correct |
39 |
Correct |
514 ms |
28260 KB |
Output is correct |
40 |
Correct |
13 ms |
4760 KB |
Output is correct |
41 |
Correct |
11 ms |
6256 KB |
Output is correct |
42 |
Correct |
61 ms |
5528 KB |
Output is correct |
43 |
Correct |
26 ms |
7368 KB |
Output is correct |
44 |
Correct |
65 ms |
19632 KB |
Output is correct |
45 |
Correct |
76 ms |
19096 KB |
Output is correct |
46 |
Correct |
93 ms |
43460 KB |
Output is correct |
47 |
Correct |
410 ms |
40944 KB |
Output is correct |
48 |
Correct |
406 ms |
26520 KB |
Output is correct |
49 |
Correct |
66 ms |
42724 KB |
Output is correct |
50 |
Correct |
80 ms |
31516 KB |
Output is correct |
51 |
Correct |
333 ms |
39176 KB |
Output is correct |
52 |
Correct |
283 ms |
40756 KB |
Output is correct |
53 |
Correct |
493 ms |
26776 KB |
Output is correct |
54 |
Correct |
1 ms |
600 KB |
Output is correct |
55 |
Correct |
1 ms |
600 KB |
Output is correct |
56 |
Correct |
1 ms |
604 KB |
Output is correct |
57 |
Correct |
1 ms |
604 KB |
Output is correct |
58 |
Correct |
1 ms |
604 KB |
Output is correct |
59 |
Correct |
0 ms |
604 KB |
Output is correct |
60 |
Correct |
0 ms |
604 KB |
Output is correct |
61 |
Correct |
0 ms |
604 KB |
Output is correct |
62 |
Correct |
1 ms |
604 KB |
Output is correct |
63 |
Correct |
1 ms |
604 KB |
Output is correct |
64 |
Correct |
0 ms |
604 KB |
Output is correct |
65 |
Correct |
1 ms |
600 KB |
Output is correct |
66 |
Correct |
1 ms |
604 KB |
Output is correct |
67 |
Correct |
1 ms |
600 KB |
Output is correct |
68 |
Correct |
0 ms |
604 KB |
Output is correct |
69 |
Correct |
0 ms |
604 KB |
Output is correct |
70 |
Correct |
1 ms |
604 KB |
Output is correct |
71 |
Correct |
1 ms |
604 KB |
Output is correct |
72 |
Correct |
1 ms |
604 KB |
Output is correct |
73 |
Correct |
1 ms |
856 KB |
Output is correct |
74 |
Correct |
0 ms |
604 KB |
Output is correct |
75 |
Correct |
1 ms |
600 KB |
Output is correct |
76 |
Correct |
0 ms |
604 KB |
Output is correct |
77 |
Correct |
0 ms |
604 KB |
Output is correct |
78 |
Correct |
0 ms |
604 KB |
Output is correct |
79 |
Correct |
0 ms |
604 KB |
Output is correct |
80 |
Correct |
0 ms |
604 KB |
Output is correct |
81 |
Correct |
0 ms |
604 KB |
Output is correct |
82 |
Correct |
0 ms |
604 KB |
Output is correct |
83 |
Correct |
0 ms |
604 KB |
Output is correct |
84 |
Correct |
0 ms |
604 KB |
Output is correct |
85 |
Correct |
1 ms |
604 KB |
Output is correct |
86 |
Correct |
1 ms |
604 KB |
Output is correct |
87 |
Correct |
1 ms |
856 KB |
Output is correct |
88 |
Correct |
0 ms |
604 KB |
Output is correct |
89 |
Correct |
1 ms |
604 KB |
Output is correct |
90 |
Correct |
1 ms |
856 KB |
Output is correct |
91 |
Correct |
1 ms |
600 KB |
Output is correct |
92 |
Correct |
1 ms |
604 KB |
Output is correct |
93 |
Correct |
1 ms |
604 KB |
Output is correct |
94 |
Correct |
1 ms |
600 KB |
Output is correct |
95 |
Correct |
1 ms |
604 KB |
Output is correct |
96 |
Correct |
1 ms |
604 KB |
Output is correct |
97 |
Correct |
1 ms |
604 KB |
Output is correct |
98 |
Correct |
1 ms |
604 KB |
Output is correct |
99 |
Correct |
1 ms |
604 KB |
Output is correct |
100 |
Correct |
0 ms |
604 KB |
Output is correct |
101 |
Correct |
0 ms |
604 KB |
Output is correct |
102 |
Correct |
0 ms |
604 KB |
Output is correct |
103 |
Correct |
0 ms |
604 KB |
Output is correct |
104 |
Correct |
1 ms |
604 KB |
Output is correct |
105 |
Correct |
0 ms |
604 KB |
Output is correct |
106 |
Correct |
0 ms |
604 KB |
Output is correct |
107 |
Correct |
1 ms |
604 KB |
Output is correct |
108 |
Correct |
1 ms |
604 KB |
Output is correct |
109 |
Correct |
1 ms |
604 KB |
Output is correct |
110 |
Correct |
3 ms |
1624 KB |
Output is correct |
111 |
Correct |
4 ms |
2256 KB |
Output is correct |
112 |
Correct |
4 ms |
2260 KB |
Output is correct |
113 |
Correct |
3 ms |
2264 KB |
Output is correct |
114 |
Correct |
12 ms |
2776 KB |
Output is correct |
115 |
Correct |
9 ms |
2276 KB |
Output is correct |
116 |
Correct |
6 ms |
2140 KB |
Output is correct |
117 |
Correct |
3 ms |
2152 KB |
Output is correct |
118 |
Correct |
3 ms |
2152 KB |
Output is correct |
119 |
Correct |
8 ms |
4316 KB |
Output is correct |
120 |
Correct |
8 ms |
5340 KB |
Output is correct |
121 |
Correct |
12 ms |
5588 KB |
Output is correct |
122 |
Correct |
29 ms |
6600 KB |
Output is correct |
123 |
Correct |
24 ms |
5336 KB |
Output is correct |
124 |
Correct |
30 ms |
14296 KB |
Output is correct |
125 |
Correct |
80 ms |
42752 KB |
Output is correct |
126 |
Correct |
91 ms |
42932 KB |
Output is correct |
127 |
Correct |
88 ms |
43964 KB |
Output is correct |
128 |
Correct |
351 ms |
61844 KB |
Output is correct |
129 |
Correct |
298 ms |
43728 KB |
Output is correct |
130 |
Correct |
108 ms |
50128 KB |
Output is correct |
131 |
Correct |
97 ms |
48116 KB |
Output is correct |
132 |
Correct |
12 ms |
1624 KB |
Output is correct |
133 |
Correct |
1 ms |
604 KB |
Output is correct |
134 |
Correct |
1 ms |
604 KB |
Output is correct |
135 |
Correct |
3 ms |
1628 KB |
Output is correct |
136 |
Correct |
4 ms |
1592 KB |
Output is correct |
137 |
Correct |
4 ms |
2260 KB |
Output is correct |
138 |
Correct |
3 ms |
2260 KB |
Output is correct |
139 |
Correct |
12 ms |
2140 KB |
Output is correct |
140 |
Correct |
16 ms |
1684 KB |
Output is correct |
141 |
Correct |
3 ms |
2264 KB |
Output is correct |
142 |
Correct |
15 ms |
2732 KB |
Output is correct |
143 |
Correct |
10 ms |
2276 KB |
Output is correct |
144 |
Correct |
3 ms |
2200 KB |
Output is correct |
145 |
Correct |
4 ms |
1904 KB |
Output is correct |
146 |
Correct |
6 ms |
2412 KB |
Output is correct |
147 |
Correct |
7 ms |
2392 KB |
Output is correct |
148 |
Correct |
7 ms |
2140 KB |
Output is correct |
149 |
Correct |
8 ms |
2140 KB |
Output is correct |
150 |
Correct |
6 ms |
2140 KB |
Output is correct |
151 |
Correct |
4 ms |
2140 KB |
Output is correct |
152 |
Correct |
3 ms |
2140 KB |
Output is correct |
153 |
Correct |
11 ms |
1728 KB |
Output is correct |
154 |
Correct |
42 ms |
3164 KB |
Output is correct |
155 |
Correct |
7 ms |
2412 KB |
Output is correct |
156 |
Correct |
8 ms |
4232 KB |
Output is correct |
157 |
Incorrect |
18 ms |
4328 KB |
Output isn't correct |
158 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
600 KB |
Output is correct |
2 |
Correct |
1 ms |
600 KB |
Output is correct |
3 |
Correct |
1 ms |
600 KB |
Output is correct |
4 |
Correct |
1 ms |
600 KB |
Output is correct |
5 |
Correct |
1 ms |
600 KB |
Output is correct |
6 |
Correct |
1 ms |
604 KB |
Output is correct |
7 |
Correct |
1 ms |
604 KB |
Output is correct |
8 |
Correct |
1 ms |
604 KB |
Output is correct |
9 |
Correct |
1 ms |
612 KB |
Output is correct |
10 |
Correct |
1 ms |
604 KB |
Output is correct |
11 |
Correct |
0 ms |
604 KB |
Output is correct |
12 |
Correct |
0 ms |
604 KB |
Output is correct |
13 |
Correct |
0 ms |
604 KB |
Output is correct |
14 |
Correct |
0 ms |
604 KB |
Output is correct |
15 |
Correct |
0 ms |
604 KB |
Output is correct |
16 |
Correct |
1 ms |
604 KB |
Output is correct |
17 |
Correct |
1 ms |
856 KB |
Output is correct |
18 |
Correct |
1 ms |
600 KB |
Output is correct |
19 |
Correct |
13 ms |
1624 KB |
Output is correct |
20 |
Correct |
4 ms |
1592 KB |
Output is correct |
21 |
Correct |
3 ms |
2260 KB |
Output is correct |
22 |
Correct |
12 ms |
2136 KB |
Output is correct |
23 |
Correct |
14 ms |
1628 KB |
Output is correct |
24 |
Correct |
3 ms |
2200 KB |
Output is correct |
25 |
Correct |
5 ms |
1904 KB |
Output is correct |
26 |
Correct |
4 ms |
2140 KB |
Output is correct |
27 |
Correct |
3 ms |
2140 KB |
Output is correct |
28 |
Correct |
9 ms |
1732 KB |
Output is correct |
29 |
Correct |
39 ms |
3396 KB |
Output is correct |
30 |
Correct |
7 ms |
2412 KB |
Output is correct |
31 |
Correct |
8 ms |
5332 KB |
Output is correct |
32 |
Correct |
43 ms |
4504 KB |
Output is correct |
33 |
Correct |
44 ms |
3160 KB |
Output is correct |
34 |
Correct |
8 ms |
4872 KB |
Output is correct |
35 |
Correct |
10 ms |
3740 KB |
Output is correct |
36 |
Correct |
24 ms |
4760 KB |
Output is correct |
37 |
Correct |
35 ms |
4492 KB |
Output is correct |
38 |
Correct |
4 ms |
3164 KB |
Output is correct |
39 |
Correct |
514 ms |
28260 KB |
Output is correct |
40 |
Correct |
13 ms |
4760 KB |
Output is correct |
41 |
Correct |
11 ms |
6256 KB |
Output is correct |
42 |
Correct |
61 ms |
5528 KB |
Output is correct |
43 |
Correct |
26 ms |
7368 KB |
Output is correct |
44 |
Correct |
65 ms |
19632 KB |
Output is correct |
45 |
Correct |
76 ms |
19096 KB |
Output is correct |
46 |
Correct |
93 ms |
43460 KB |
Output is correct |
47 |
Correct |
410 ms |
40944 KB |
Output is correct |
48 |
Correct |
406 ms |
26520 KB |
Output is correct |
49 |
Correct |
66 ms |
42724 KB |
Output is correct |
50 |
Correct |
80 ms |
31516 KB |
Output is correct |
51 |
Correct |
333 ms |
39176 KB |
Output is correct |
52 |
Correct |
283 ms |
40756 KB |
Output is correct |
53 |
Correct |
493 ms |
26776 KB |
Output is correct |
54 |
Correct |
1 ms |
600 KB |
Output is correct |
55 |
Correct |
1 ms |
600 KB |
Output is correct |
56 |
Correct |
1 ms |
604 KB |
Output is correct |
57 |
Correct |
1 ms |
604 KB |
Output is correct |
58 |
Correct |
1 ms |
604 KB |
Output is correct |
59 |
Correct |
0 ms |
604 KB |
Output is correct |
60 |
Correct |
0 ms |
604 KB |
Output is correct |
61 |
Correct |
0 ms |
604 KB |
Output is correct |
62 |
Correct |
1 ms |
604 KB |
Output is correct |
63 |
Correct |
1 ms |
604 KB |
Output is correct |
64 |
Correct |
0 ms |
604 KB |
Output is correct |
65 |
Correct |
1 ms |
600 KB |
Output is correct |
66 |
Correct |
1 ms |
604 KB |
Output is correct |
67 |
Correct |
1 ms |
600 KB |
Output is correct |
68 |
Correct |
0 ms |
604 KB |
Output is correct |
69 |
Correct |
0 ms |
604 KB |
Output is correct |
70 |
Correct |
1 ms |
604 KB |
Output is correct |
71 |
Correct |
1 ms |
604 KB |
Output is correct |
72 |
Correct |
1 ms |
604 KB |
Output is correct |
73 |
Correct |
1 ms |
856 KB |
Output is correct |
74 |
Correct |
0 ms |
604 KB |
Output is correct |
75 |
Correct |
1 ms |
600 KB |
Output is correct |
76 |
Correct |
0 ms |
604 KB |
Output is correct |
77 |
Correct |
0 ms |
604 KB |
Output is correct |
78 |
Correct |
0 ms |
604 KB |
Output is correct |
79 |
Correct |
0 ms |
604 KB |
Output is correct |
80 |
Correct |
0 ms |
604 KB |
Output is correct |
81 |
Correct |
0 ms |
604 KB |
Output is correct |
82 |
Correct |
0 ms |
604 KB |
Output is correct |
83 |
Correct |
0 ms |
604 KB |
Output is correct |
84 |
Correct |
0 ms |
604 KB |
Output is correct |
85 |
Correct |
1 ms |
604 KB |
Output is correct |
86 |
Correct |
1 ms |
604 KB |
Output is correct |
87 |
Correct |
1 ms |
856 KB |
Output is correct |
88 |
Correct |
0 ms |
604 KB |
Output is correct |
89 |
Correct |
1 ms |
604 KB |
Output is correct |
90 |
Correct |
1 ms |
856 KB |
Output is correct |
91 |
Correct |
1 ms |
600 KB |
Output is correct |
92 |
Correct |
1 ms |
604 KB |
Output is correct |
93 |
Correct |
1 ms |
604 KB |
Output is correct |
94 |
Correct |
1 ms |
600 KB |
Output is correct |
95 |
Correct |
1 ms |
604 KB |
Output is correct |
96 |
Correct |
1 ms |
604 KB |
Output is correct |
97 |
Correct |
1 ms |
604 KB |
Output is correct |
98 |
Correct |
1 ms |
604 KB |
Output is correct |
99 |
Correct |
1 ms |
604 KB |
Output is correct |
100 |
Correct |
0 ms |
604 KB |
Output is correct |
101 |
Correct |
0 ms |
604 KB |
Output is correct |
102 |
Correct |
0 ms |
604 KB |
Output is correct |
103 |
Correct |
0 ms |
604 KB |
Output is correct |
104 |
Correct |
1 ms |
604 KB |
Output is correct |
105 |
Correct |
0 ms |
604 KB |
Output is correct |
106 |
Correct |
0 ms |
604 KB |
Output is correct |
107 |
Correct |
1 ms |
604 KB |
Output is correct |
108 |
Correct |
1 ms |
604 KB |
Output is correct |
109 |
Correct |
1 ms |
604 KB |
Output is correct |
110 |
Correct |
3 ms |
1624 KB |
Output is correct |
111 |
Correct |
4 ms |
2256 KB |
Output is correct |
112 |
Correct |
4 ms |
2260 KB |
Output is correct |
113 |
Correct |
3 ms |
2264 KB |
Output is correct |
114 |
Correct |
12 ms |
2776 KB |
Output is correct |
115 |
Correct |
9 ms |
2276 KB |
Output is correct |
116 |
Correct |
6 ms |
2140 KB |
Output is correct |
117 |
Correct |
3 ms |
2152 KB |
Output is correct |
118 |
Correct |
3 ms |
2152 KB |
Output is correct |
119 |
Correct |
8 ms |
4316 KB |
Output is correct |
120 |
Correct |
8 ms |
5340 KB |
Output is correct |
121 |
Correct |
12 ms |
5588 KB |
Output is correct |
122 |
Correct |
29 ms |
6600 KB |
Output is correct |
123 |
Correct |
24 ms |
5336 KB |
Output is correct |
124 |
Correct |
30 ms |
14296 KB |
Output is correct |
125 |
Correct |
80 ms |
42752 KB |
Output is correct |
126 |
Correct |
91 ms |
42932 KB |
Output is correct |
127 |
Correct |
88 ms |
43964 KB |
Output is correct |
128 |
Correct |
351 ms |
61844 KB |
Output is correct |
129 |
Correct |
298 ms |
43728 KB |
Output is correct |
130 |
Correct |
108 ms |
50128 KB |
Output is correct |
131 |
Correct |
97 ms |
48116 KB |
Output is correct |
132 |
Correct |
12 ms |
1624 KB |
Output is correct |
133 |
Correct |
1 ms |
604 KB |
Output is correct |
134 |
Correct |
1 ms |
604 KB |
Output is correct |
135 |
Correct |
3 ms |
1628 KB |
Output is correct |
136 |
Correct |
4 ms |
1592 KB |
Output is correct |
137 |
Correct |
4 ms |
2260 KB |
Output is correct |
138 |
Correct |
3 ms |
2260 KB |
Output is correct |
139 |
Correct |
12 ms |
2140 KB |
Output is correct |
140 |
Correct |
16 ms |
1684 KB |
Output is correct |
141 |
Correct |
3 ms |
2264 KB |
Output is correct |
142 |
Correct |
15 ms |
2732 KB |
Output is correct |
143 |
Correct |
10 ms |
2276 KB |
Output is correct |
144 |
Correct |
3 ms |
2200 KB |
Output is correct |
145 |
Correct |
4 ms |
1904 KB |
Output is correct |
146 |
Correct |
6 ms |
2412 KB |
Output is correct |
147 |
Correct |
7 ms |
2392 KB |
Output is correct |
148 |
Correct |
7 ms |
2140 KB |
Output is correct |
149 |
Correct |
8 ms |
2140 KB |
Output is correct |
150 |
Correct |
6 ms |
2140 KB |
Output is correct |
151 |
Correct |
4 ms |
2140 KB |
Output is correct |
152 |
Correct |
3 ms |
2140 KB |
Output is correct |
153 |
Correct |
11 ms |
1728 KB |
Output is correct |
154 |
Correct |
42 ms |
3164 KB |
Output is correct |
155 |
Correct |
7 ms |
2412 KB |
Output is correct |
156 |
Correct |
8 ms |
4232 KB |
Output is correct |
157 |
Incorrect |
18 ms |
4328 KB |
Output isn't correct |
158 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
600 KB |
Output is correct |
2 |
Correct |
1 ms |
600 KB |
Output is correct |
3 |
Correct |
1 ms |
600 KB |
Output is correct |
4 |
Correct |
1 ms |
600 KB |
Output is correct |
5 |
Correct |
1 ms |
600 KB |
Output is correct |
6 |
Correct |
1 ms |
604 KB |
Output is correct |
7 |
Correct |
1 ms |
604 KB |
Output is correct |
8 |
Correct |
1 ms |
604 KB |
Output is correct |
9 |
Correct |
1 ms |
612 KB |
Output is correct |
10 |
Correct |
1 ms |
604 KB |
Output is correct |
11 |
Correct |
0 ms |
604 KB |
Output is correct |
12 |
Correct |
0 ms |
604 KB |
Output is correct |
13 |
Correct |
0 ms |
604 KB |
Output is correct |
14 |
Correct |
0 ms |
604 KB |
Output is correct |
15 |
Correct |
0 ms |
604 KB |
Output is correct |
16 |
Correct |
1 ms |
604 KB |
Output is correct |
17 |
Correct |
1 ms |
856 KB |
Output is correct |
18 |
Correct |
1 ms |
600 KB |
Output is correct |
19 |
Correct |
13 ms |
1624 KB |
Output is correct |
20 |
Correct |
4 ms |
1592 KB |
Output is correct |
21 |
Correct |
3 ms |
2260 KB |
Output is correct |
22 |
Correct |
12 ms |
2136 KB |
Output is correct |
23 |
Correct |
14 ms |
1628 KB |
Output is correct |
24 |
Correct |
3 ms |
2200 KB |
Output is correct |
25 |
Correct |
5 ms |
1904 KB |
Output is correct |
26 |
Correct |
4 ms |
2140 KB |
Output is correct |
27 |
Correct |
3 ms |
2140 KB |
Output is correct |
28 |
Correct |
9 ms |
1732 KB |
Output is correct |
29 |
Correct |
39 ms |
3396 KB |
Output is correct |
30 |
Correct |
7 ms |
2412 KB |
Output is correct |
31 |
Correct |
8 ms |
5332 KB |
Output is correct |
32 |
Correct |
43 ms |
4504 KB |
Output is correct |
33 |
Correct |
44 ms |
3160 KB |
Output is correct |
34 |
Correct |
8 ms |
4872 KB |
Output is correct |
35 |
Correct |
10 ms |
3740 KB |
Output is correct |
36 |
Correct |
24 ms |
4760 KB |
Output is correct |
37 |
Correct |
35 ms |
4492 KB |
Output is correct |
38 |
Correct |
4 ms |
3164 KB |
Output is correct |
39 |
Correct |
514 ms |
28260 KB |
Output is correct |
40 |
Correct |
13 ms |
4760 KB |
Output is correct |
41 |
Correct |
11 ms |
6256 KB |
Output is correct |
42 |
Correct |
61 ms |
5528 KB |
Output is correct |
43 |
Correct |
26 ms |
7368 KB |
Output is correct |
44 |
Correct |
65 ms |
19632 KB |
Output is correct |
45 |
Correct |
76 ms |
19096 KB |
Output is correct |
46 |
Correct |
93 ms |
43460 KB |
Output is correct |
47 |
Correct |
410 ms |
40944 KB |
Output is correct |
48 |
Correct |
406 ms |
26520 KB |
Output is correct |
49 |
Correct |
66 ms |
42724 KB |
Output is correct |
50 |
Correct |
80 ms |
31516 KB |
Output is correct |
51 |
Correct |
333 ms |
39176 KB |
Output is correct |
52 |
Correct |
283 ms |
40756 KB |
Output is correct |
53 |
Correct |
493 ms |
26776 KB |
Output is correct |
54 |
Correct |
1 ms |
600 KB |
Output is correct |
55 |
Correct |
1 ms |
600 KB |
Output is correct |
56 |
Correct |
1 ms |
604 KB |
Output is correct |
57 |
Correct |
1 ms |
604 KB |
Output is correct |
58 |
Correct |
1 ms |
604 KB |
Output is correct |
59 |
Correct |
0 ms |
604 KB |
Output is correct |
60 |
Correct |
0 ms |
604 KB |
Output is correct |
61 |
Correct |
0 ms |
604 KB |
Output is correct |
62 |
Correct |
1 ms |
604 KB |
Output is correct |
63 |
Correct |
1 ms |
604 KB |
Output is correct |
64 |
Correct |
0 ms |
604 KB |
Output is correct |
65 |
Correct |
1 ms |
600 KB |
Output is correct |
66 |
Correct |
1 ms |
604 KB |
Output is correct |
67 |
Correct |
1 ms |
600 KB |
Output is correct |
68 |
Correct |
0 ms |
604 KB |
Output is correct |
69 |
Correct |
0 ms |
604 KB |
Output is correct |
70 |
Correct |
1 ms |
604 KB |
Output is correct |
71 |
Correct |
1 ms |
604 KB |
Output is correct |
72 |
Correct |
1 ms |
604 KB |
Output is correct |
73 |
Correct |
1 ms |
856 KB |
Output is correct |
74 |
Correct |
0 ms |
604 KB |
Output is correct |
75 |
Correct |
1 ms |
600 KB |
Output is correct |
76 |
Correct |
0 ms |
604 KB |
Output is correct |
77 |
Correct |
0 ms |
604 KB |
Output is correct |
78 |
Correct |
0 ms |
604 KB |
Output is correct |
79 |
Correct |
0 ms |
604 KB |
Output is correct |
80 |
Correct |
0 ms |
604 KB |
Output is correct |
81 |
Correct |
0 ms |
604 KB |
Output is correct |
82 |
Correct |
0 ms |
604 KB |
Output is correct |
83 |
Correct |
0 ms |
604 KB |
Output is correct |
84 |
Correct |
0 ms |
604 KB |
Output is correct |
85 |
Correct |
1 ms |
604 KB |
Output is correct |
86 |
Correct |
1 ms |
604 KB |
Output is correct |
87 |
Correct |
1 ms |
856 KB |
Output is correct |
88 |
Correct |
0 ms |
604 KB |
Output is correct |
89 |
Correct |
1 ms |
604 KB |
Output is correct |
90 |
Correct |
1 ms |
856 KB |
Output is correct |
91 |
Correct |
1 ms |
600 KB |
Output is correct |
92 |
Correct |
1 ms |
604 KB |
Output is correct |
93 |
Correct |
1 ms |
604 KB |
Output is correct |
94 |
Correct |
1 ms |
600 KB |
Output is correct |
95 |
Correct |
1 ms |
604 KB |
Output is correct |
96 |
Correct |
1 ms |
604 KB |
Output is correct |
97 |
Correct |
1 ms |
604 KB |
Output is correct |
98 |
Correct |
1 ms |
604 KB |
Output is correct |
99 |
Correct |
1 ms |
604 KB |
Output is correct |
100 |
Correct |
0 ms |
604 KB |
Output is correct |
101 |
Correct |
0 ms |
604 KB |
Output is correct |
102 |
Correct |
0 ms |
604 KB |
Output is correct |
103 |
Correct |
0 ms |
604 KB |
Output is correct |
104 |
Correct |
1 ms |
604 KB |
Output is correct |
105 |
Correct |
0 ms |
604 KB |
Output is correct |
106 |
Correct |
0 ms |
604 KB |
Output is correct |
107 |
Correct |
1 ms |
604 KB |
Output is correct |
108 |
Correct |
1 ms |
604 KB |
Output is correct |
109 |
Correct |
1 ms |
604 KB |
Output is correct |
110 |
Correct |
3 ms |
1624 KB |
Output is correct |
111 |
Correct |
4 ms |
2256 KB |
Output is correct |
112 |
Correct |
4 ms |
2260 KB |
Output is correct |
113 |
Correct |
3 ms |
2264 KB |
Output is correct |
114 |
Correct |
12 ms |
2776 KB |
Output is correct |
115 |
Correct |
9 ms |
2276 KB |
Output is correct |
116 |
Correct |
6 ms |
2140 KB |
Output is correct |
117 |
Correct |
3 ms |
2152 KB |
Output is correct |
118 |
Correct |
3 ms |
2152 KB |
Output is correct |
119 |
Correct |
8 ms |
4316 KB |
Output is correct |
120 |
Correct |
8 ms |
5340 KB |
Output is correct |
121 |
Correct |
12 ms |
5588 KB |
Output is correct |
122 |
Correct |
29 ms |
6600 KB |
Output is correct |
123 |
Correct |
24 ms |
5336 KB |
Output is correct |
124 |
Correct |
30 ms |
14296 KB |
Output is correct |
125 |
Correct |
80 ms |
42752 KB |
Output is correct |
126 |
Correct |
91 ms |
42932 KB |
Output is correct |
127 |
Correct |
88 ms |
43964 KB |
Output is correct |
128 |
Correct |
351 ms |
61844 KB |
Output is correct |
129 |
Correct |
298 ms |
43728 KB |
Output is correct |
130 |
Correct |
108 ms |
50128 KB |
Output is correct |
131 |
Correct |
97 ms |
48116 KB |
Output is correct |
132 |
Correct |
12 ms |
1624 KB |
Output is correct |
133 |
Correct |
1 ms |
604 KB |
Output is correct |
134 |
Correct |
1 ms |
604 KB |
Output is correct |
135 |
Correct |
3 ms |
1628 KB |
Output is correct |
136 |
Correct |
4 ms |
1592 KB |
Output is correct |
137 |
Correct |
4 ms |
2260 KB |
Output is correct |
138 |
Correct |
3 ms |
2260 KB |
Output is correct |
139 |
Correct |
12 ms |
2140 KB |
Output is correct |
140 |
Correct |
16 ms |
1684 KB |
Output is correct |
141 |
Correct |
3 ms |
2264 KB |
Output is correct |
142 |
Correct |
15 ms |
2732 KB |
Output is correct |
143 |
Correct |
10 ms |
2276 KB |
Output is correct |
144 |
Correct |
3 ms |
2200 KB |
Output is correct |
145 |
Correct |
4 ms |
1904 KB |
Output is correct |
146 |
Correct |
6 ms |
2412 KB |
Output is correct |
147 |
Correct |
7 ms |
2392 KB |
Output is correct |
148 |
Correct |
7 ms |
2140 KB |
Output is correct |
149 |
Correct |
8 ms |
2140 KB |
Output is correct |
150 |
Correct |
6 ms |
2140 KB |
Output is correct |
151 |
Correct |
4 ms |
2140 KB |
Output is correct |
152 |
Correct |
3 ms |
2140 KB |
Output is correct |
153 |
Correct |
11 ms |
1728 KB |
Output is correct |
154 |
Correct |
42 ms |
3164 KB |
Output is correct |
155 |
Correct |
7 ms |
2412 KB |
Output is correct |
156 |
Correct |
8 ms |
4232 KB |
Output is correct |
157 |
Incorrect |
18 ms |
4328 KB |
Output isn't correct |
158 |
Halted |
0 ms |
0 KB |
- |