# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
914119 |
2024-01-21T08:19:08 Z |
mychecksedad |
Maze (JOI23_ho_t3) |
C++17 |
|
263 ms |
250352 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[N];
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();
}
}
}
}
}
queue<array<int, 2>> Q;
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;
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.front()[0], y = Q.front()[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){
if(max(abs(dist[a][b][0]), abs(dist[a][b][1])) > max(abs(curx + arr[l][0]), abs(cury + arr[l][1]))){
dist[a][b] = {curx + arr[l][0], cury + arr[l][1]};
}
}else{
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, 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 |
54 ms |
188244 KB |
Output is correct |
2 |
Correct |
53 ms |
188252 KB |
Output is correct |
3 |
Correct |
53 ms |
188192 KB |
Output is correct |
4 |
Correct |
55 ms |
188244 KB |
Output is correct |
5 |
Correct |
53 ms |
188244 KB |
Output is correct |
6 |
Correct |
55 ms |
188252 KB |
Output is correct |
7 |
Correct |
54 ms |
188244 KB |
Output is correct |
8 |
Correct |
53 ms |
188244 KB |
Output is correct |
9 |
Correct |
54 ms |
188220 KB |
Output is correct |
10 |
Correct |
54 ms |
188260 KB |
Output is correct |
11 |
Correct |
53 ms |
188244 KB |
Output is correct |
12 |
Correct |
54 ms |
188232 KB |
Output is correct |
13 |
Correct |
54 ms |
188236 KB |
Output is correct |
14 |
Correct |
54 ms |
188240 KB |
Output is correct |
15 |
Correct |
53 ms |
188248 KB |
Output is correct |
16 |
Correct |
58 ms |
188184 KB |
Output is correct |
17 |
Correct |
54 ms |
188252 KB |
Output is correct |
18 |
Correct |
53 ms |
188308 KB |
Output is correct |
19 |
Correct |
59 ms |
189276 KB |
Output is correct |
20 |
Correct |
63 ms |
189340 KB |
Output is correct |
21 |
Correct |
59 ms |
189900 KB |
Output is correct |
22 |
Correct |
59 ms |
189780 KB |
Output is correct |
23 |
Correct |
59 ms |
189264 KB |
Output is correct |
24 |
Correct |
57 ms |
190000 KB |
Output is correct |
25 |
Correct |
57 ms |
189592 KB |
Output is correct |
26 |
Correct |
59 ms |
189780 KB |
Output is correct |
27 |
Correct |
56 ms |
189916 KB |
Output is correct |
28 |
Correct |
55 ms |
189268 KB |
Output is correct |
29 |
Correct |
71 ms |
191712 KB |
Output is correct |
30 |
Correct |
60 ms |
190048 KB |
Output is correct |
31 |
Correct |
60 ms |
193132 KB |
Output is correct |
32 |
Correct |
71 ms |
192276 KB |
Output is correct |
33 |
Correct |
68 ms |
191056 KB |
Output is correct |
34 |
Correct |
63 ms |
192692 KB |
Output is correct |
35 |
Correct |
65 ms |
191632 KB |
Output is correct |
36 |
Correct |
67 ms |
192400 KB |
Output is correct |
37 |
Correct |
68 ms |
192396 KB |
Output is correct |
38 |
Correct |
57 ms |
191128 KB |
Output is correct |
39 |
Correct |
241 ms |
217468 KB |
Output is correct |
40 |
Correct |
64 ms |
192652 KB |
Output is correct |
41 |
Correct |
65 ms |
194128 KB |
Output is correct |
42 |
Correct |
79 ms |
193364 KB |
Output is correct |
43 |
Correct |
74 ms |
195264 KB |
Output is correct |
44 |
Correct |
100 ms |
208036 KB |
Output is correct |
45 |
Correct |
100 ms |
207508 KB |
Output is correct |
46 |
Correct |
130 ms |
233496 KB |
Output is correct |
47 |
Correct |
263 ms |
230384 KB |
Output is correct |
48 |
Correct |
189 ms |
215800 KB |
Output is correct |
49 |
Correct |
121 ms |
231748 KB |
Output is correct |
50 |
Correct |
131 ms |
220688 KB |
Output is correct |
51 |
Correct |
206 ms |
228392 KB |
Output is correct |
52 |
Correct |
193 ms |
229784 KB |
Output is correct |
53 |
Correct |
221 ms |
215828 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
53 ms |
188252 KB |
Output is correct |
2 |
Correct |
55 ms |
188244 KB |
Output is correct |
3 |
Correct |
54 ms |
188500 KB |
Output is correct |
4 |
Correct |
54 ms |
188244 KB |
Output is correct |
5 |
Correct |
54 ms |
188292 KB |
Output is correct |
6 |
Correct |
52 ms |
188252 KB |
Output is correct |
7 |
Correct |
55 ms |
188252 KB |
Output is correct |
8 |
Correct |
52 ms |
188244 KB |
Output is correct |
9 |
Correct |
53 ms |
188188 KB |
Output is correct |
10 |
Correct |
56 ms |
188244 KB |
Output is correct |
11 |
Correct |
53 ms |
188240 KB |
Output is correct |
12 |
Correct |
54 ms |
188136 KB |
Output is correct |
13 |
Correct |
56 ms |
188752 KB |
Output is correct |
14 |
Correct |
54 ms |
188184 KB |
Output is correct |
15 |
Correct |
53 ms |
188240 KB |
Output is correct |
16 |
Correct |
53 ms |
188300 KB |
Output is correct |
17 |
Correct |
54 ms |
188148 KB |
Output is correct |
18 |
Correct |
53 ms |
188284 KB |
Output is correct |
19 |
Correct |
52 ms |
188244 KB |
Output is correct |
20 |
Correct |
54 ms |
188244 KB |
Output is correct |
21 |
Correct |
53 ms |
188152 KB |
Output is correct |
22 |
Correct |
55 ms |
188244 KB |
Output is correct |
23 |
Correct |
54 ms |
188244 KB |
Output is correct |
24 |
Correct |
53 ms |
188232 KB |
Output is correct |
25 |
Correct |
54 ms |
188244 KB |
Output is correct |
26 |
Correct |
54 ms |
188312 KB |
Output is correct |
27 |
Correct |
53 ms |
188244 KB |
Output is correct |
28 |
Correct |
53 ms |
188244 KB |
Output is correct |
29 |
Correct |
52 ms |
188244 KB |
Output is correct |
30 |
Correct |
53 ms |
188244 KB |
Output is correct |
31 |
Correct |
54 ms |
188244 KB |
Output is correct |
32 |
Correct |
52 ms |
188244 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
57 ms |
188280 KB |
Output is correct |
2 |
Correct |
53 ms |
188104 KB |
Output is correct |
3 |
Correct |
52 ms |
188240 KB |
Output is correct |
4 |
Correct |
57 ms |
188560 KB |
Output is correct |
5 |
Correct |
52 ms |
188244 KB |
Output is correct |
6 |
Correct |
56 ms |
188244 KB |
Output is correct |
7 |
Correct |
54 ms |
188248 KB |
Output is correct |
8 |
Correct |
54 ms |
188244 KB |
Output is correct |
9 |
Correct |
53 ms |
188240 KB |
Output is correct |
10 |
Correct |
56 ms |
188300 KB |
Output is correct |
11 |
Correct |
53 ms |
188192 KB |
Output is correct |
12 |
Correct |
52 ms |
188240 KB |
Output is correct |
13 |
Correct |
53 ms |
188248 KB |
Output is correct |
14 |
Correct |
53 ms |
188244 KB |
Output is correct |
15 |
Correct |
53 ms |
188244 KB |
Output is correct |
16 |
Correct |
53 ms |
188240 KB |
Output is correct |
17 |
Correct |
58 ms |
188364 KB |
Output is correct |
18 |
Correct |
54 ms |
188244 KB |
Output is correct |
19 |
Correct |
53 ms |
188244 KB |
Output is correct |
20 |
Correct |
53 ms |
188240 KB |
Output is correct |
21 |
Correct |
52 ms |
188240 KB |
Output is correct |
22 |
Correct |
56 ms |
188504 KB |
Output is correct |
23 |
Correct |
54 ms |
188244 KB |
Output is correct |
24 |
Correct |
54 ms |
188240 KB |
Output is correct |
25 |
Correct |
54 ms |
189264 KB |
Output is correct |
26 |
Correct |
57 ms |
189904 KB |
Output is correct |
27 |
Correct |
57 ms |
189904 KB |
Output is correct |
28 |
Correct |
58 ms |
189904 KB |
Output is correct |
29 |
Correct |
58 ms |
190416 KB |
Output is correct |
30 |
Correct |
57 ms |
189920 KB |
Output is correct |
31 |
Correct |
58 ms |
189780 KB |
Output is correct |
32 |
Correct |
56 ms |
189780 KB |
Output is correct |
33 |
Correct |
56 ms |
189780 KB |
Output is correct |
34 |
Correct |
62 ms |
191688 KB |
Output is correct |
35 |
Correct |
62 ms |
193024 KB |
Output is correct |
36 |
Correct |
64 ms |
193228 KB |
Output is correct |
37 |
Correct |
72 ms |
194440 KB |
Output is correct |
38 |
Correct |
65 ms |
193208 KB |
Output is correct |
39 |
Correct |
78 ms |
201676 KB |
Output is correct |
40 |
Correct |
125 ms |
224200 KB |
Output is correct |
41 |
Correct |
123 ms |
231376 KB |
Output is correct |
42 |
Correct |
124 ms |
233220 KB |
Output is correct |
43 |
Correct |
210 ms |
250352 KB |
Output is correct |
44 |
Correct |
149 ms |
232308 KB |
Output is correct |
45 |
Correct |
143 ms |
230112 KB |
Output is correct |
46 |
Correct |
138 ms |
230652 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
53 ms |
188252 KB |
Output is correct |
2 |
Correct |
55 ms |
188244 KB |
Output is correct |
3 |
Correct |
54 ms |
188500 KB |
Output is correct |
4 |
Correct |
54 ms |
188244 KB |
Output is correct |
5 |
Correct |
54 ms |
188292 KB |
Output is correct |
6 |
Correct |
52 ms |
188252 KB |
Output is correct |
7 |
Correct |
55 ms |
188252 KB |
Output is correct |
8 |
Correct |
52 ms |
188244 KB |
Output is correct |
9 |
Correct |
53 ms |
188188 KB |
Output is correct |
10 |
Correct |
56 ms |
188244 KB |
Output is correct |
11 |
Correct |
53 ms |
188240 KB |
Output is correct |
12 |
Correct |
54 ms |
188136 KB |
Output is correct |
13 |
Correct |
56 ms |
188752 KB |
Output is correct |
14 |
Correct |
54 ms |
188184 KB |
Output is correct |
15 |
Correct |
53 ms |
188240 KB |
Output is correct |
16 |
Correct |
53 ms |
188300 KB |
Output is correct |
17 |
Correct |
54 ms |
188148 KB |
Output is correct |
18 |
Correct |
53 ms |
188284 KB |
Output is correct |
19 |
Correct |
52 ms |
188244 KB |
Output is correct |
20 |
Correct |
54 ms |
188244 KB |
Output is correct |
21 |
Correct |
53 ms |
188152 KB |
Output is correct |
22 |
Correct |
55 ms |
188244 KB |
Output is correct |
23 |
Correct |
54 ms |
188244 KB |
Output is correct |
24 |
Correct |
53 ms |
188232 KB |
Output is correct |
25 |
Correct |
54 ms |
188244 KB |
Output is correct |
26 |
Correct |
54 ms |
188312 KB |
Output is correct |
27 |
Correct |
53 ms |
188244 KB |
Output is correct |
28 |
Correct |
53 ms |
188244 KB |
Output is correct |
29 |
Correct |
52 ms |
188244 KB |
Output is correct |
30 |
Correct |
53 ms |
188244 KB |
Output is correct |
31 |
Correct |
54 ms |
188244 KB |
Output is correct |
32 |
Correct |
52 ms |
188244 KB |
Output is correct |
33 |
Correct |
58 ms |
189268 KB |
Output is correct |
34 |
Correct |
53 ms |
188196 KB |
Output is correct |
35 |
Correct |
54 ms |
188244 KB |
Output is correct |
36 |
Correct |
55 ms |
189352 KB |
Output is correct |
37 |
Correct |
57 ms |
189340 KB |
Output is correct |
38 |
Correct |
57 ms |
189704 KB |
Output is correct |
39 |
Correct |
56 ms |
189904 KB |
Output is correct |
40 |
Correct |
60 ms |
189780 KB |
Output is correct |
41 |
Correct |
57 ms |
189300 KB |
Output is correct |
42 |
Correct |
57 ms |
189904 KB |
Output is correct |
43 |
Correct |
61 ms |
190484 KB |
Output is correct |
44 |
Correct |
56 ms |
189916 KB |
Output is correct |
45 |
Correct |
57 ms |
190096 KB |
Output is correct |
46 |
Correct |
59 ms |
189592 KB |
Output is correct |
47 |
Correct |
60 ms |
190192 KB |
Output is correct |
48 |
Correct |
58 ms |
189780 KB |
Output is correct |
49 |
Correct |
57 ms |
189780 KB |
Output is correct |
50 |
Incorrect |
59 ms |
189780 KB |
Output isn't correct |
51 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
53 ms |
188252 KB |
Output is correct |
2 |
Correct |
55 ms |
188244 KB |
Output is correct |
3 |
Correct |
54 ms |
188500 KB |
Output is correct |
4 |
Correct |
54 ms |
188244 KB |
Output is correct |
5 |
Correct |
54 ms |
188292 KB |
Output is correct |
6 |
Correct |
52 ms |
188252 KB |
Output is correct |
7 |
Correct |
55 ms |
188252 KB |
Output is correct |
8 |
Correct |
52 ms |
188244 KB |
Output is correct |
9 |
Correct |
53 ms |
188188 KB |
Output is correct |
10 |
Correct |
56 ms |
188244 KB |
Output is correct |
11 |
Correct |
53 ms |
188240 KB |
Output is correct |
12 |
Correct |
54 ms |
188136 KB |
Output is correct |
13 |
Correct |
56 ms |
188752 KB |
Output is correct |
14 |
Correct |
54 ms |
188184 KB |
Output is correct |
15 |
Correct |
53 ms |
188240 KB |
Output is correct |
16 |
Correct |
53 ms |
188300 KB |
Output is correct |
17 |
Correct |
54 ms |
188148 KB |
Output is correct |
18 |
Correct |
53 ms |
188284 KB |
Output is correct |
19 |
Correct |
52 ms |
188244 KB |
Output is correct |
20 |
Correct |
54 ms |
188244 KB |
Output is correct |
21 |
Correct |
53 ms |
188152 KB |
Output is correct |
22 |
Correct |
55 ms |
188244 KB |
Output is correct |
23 |
Correct |
54 ms |
188244 KB |
Output is correct |
24 |
Correct |
53 ms |
188232 KB |
Output is correct |
25 |
Correct |
54 ms |
188244 KB |
Output is correct |
26 |
Correct |
54 ms |
188312 KB |
Output is correct |
27 |
Correct |
53 ms |
188244 KB |
Output is correct |
28 |
Correct |
53 ms |
188244 KB |
Output is correct |
29 |
Correct |
52 ms |
188244 KB |
Output is correct |
30 |
Correct |
53 ms |
188244 KB |
Output is correct |
31 |
Correct |
54 ms |
188244 KB |
Output is correct |
32 |
Correct |
52 ms |
188244 KB |
Output is correct |
33 |
Correct |
58 ms |
189268 KB |
Output is correct |
34 |
Correct |
53 ms |
188196 KB |
Output is correct |
35 |
Correct |
54 ms |
188244 KB |
Output is correct |
36 |
Correct |
55 ms |
189352 KB |
Output is correct |
37 |
Correct |
57 ms |
189340 KB |
Output is correct |
38 |
Correct |
57 ms |
189704 KB |
Output is correct |
39 |
Correct |
56 ms |
189904 KB |
Output is correct |
40 |
Correct |
60 ms |
189780 KB |
Output is correct |
41 |
Correct |
57 ms |
189300 KB |
Output is correct |
42 |
Correct |
57 ms |
189904 KB |
Output is correct |
43 |
Correct |
61 ms |
190484 KB |
Output is correct |
44 |
Correct |
56 ms |
189916 KB |
Output is correct |
45 |
Correct |
57 ms |
190096 KB |
Output is correct |
46 |
Correct |
59 ms |
189592 KB |
Output is correct |
47 |
Correct |
60 ms |
190192 KB |
Output is correct |
48 |
Correct |
58 ms |
189780 KB |
Output is correct |
49 |
Correct |
57 ms |
189780 KB |
Output is correct |
50 |
Incorrect |
59 ms |
189780 KB |
Output isn't correct |
51 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
54 ms |
188244 KB |
Output is correct |
2 |
Correct |
53 ms |
188252 KB |
Output is correct |
3 |
Correct |
53 ms |
188192 KB |
Output is correct |
4 |
Correct |
55 ms |
188244 KB |
Output is correct |
5 |
Correct |
53 ms |
188244 KB |
Output is correct |
6 |
Correct |
55 ms |
188252 KB |
Output is correct |
7 |
Correct |
54 ms |
188244 KB |
Output is correct |
8 |
Correct |
53 ms |
188244 KB |
Output is correct |
9 |
Correct |
54 ms |
188220 KB |
Output is correct |
10 |
Correct |
54 ms |
188260 KB |
Output is correct |
11 |
Correct |
53 ms |
188244 KB |
Output is correct |
12 |
Correct |
54 ms |
188232 KB |
Output is correct |
13 |
Correct |
54 ms |
188236 KB |
Output is correct |
14 |
Correct |
54 ms |
188240 KB |
Output is correct |
15 |
Correct |
53 ms |
188248 KB |
Output is correct |
16 |
Correct |
58 ms |
188184 KB |
Output is correct |
17 |
Correct |
54 ms |
188252 KB |
Output is correct |
18 |
Correct |
53 ms |
188308 KB |
Output is correct |
19 |
Correct |
59 ms |
189276 KB |
Output is correct |
20 |
Correct |
63 ms |
189340 KB |
Output is correct |
21 |
Correct |
59 ms |
189900 KB |
Output is correct |
22 |
Correct |
59 ms |
189780 KB |
Output is correct |
23 |
Correct |
59 ms |
189264 KB |
Output is correct |
24 |
Correct |
57 ms |
190000 KB |
Output is correct |
25 |
Correct |
57 ms |
189592 KB |
Output is correct |
26 |
Correct |
59 ms |
189780 KB |
Output is correct |
27 |
Correct |
56 ms |
189916 KB |
Output is correct |
28 |
Correct |
55 ms |
189268 KB |
Output is correct |
29 |
Correct |
71 ms |
191712 KB |
Output is correct |
30 |
Correct |
60 ms |
190048 KB |
Output is correct |
31 |
Correct |
60 ms |
193132 KB |
Output is correct |
32 |
Correct |
71 ms |
192276 KB |
Output is correct |
33 |
Correct |
68 ms |
191056 KB |
Output is correct |
34 |
Correct |
63 ms |
192692 KB |
Output is correct |
35 |
Correct |
65 ms |
191632 KB |
Output is correct |
36 |
Correct |
67 ms |
192400 KB |
Output is correct |
37 |
Correct |
68 ms |
192396 KB |
Output is correct |
38 |
Correct |
57 ms |
191128 KB |
Output is correct |
39 |
Correct |
241 ms |
217468 KB |
Output is correct |
40 |
Correct |
64 ms |
192652 KB |
Output is correct |
41 |
Correct |
65 ms |
194128 KB |
Output is correct |
42 |
Correct |
79 ms |
193364 KB |
Output is correct |
43 |
Correct |
74 ms |
195264 KB |
Output is correct |
44 |
Correct |
100 ms |
208036 KB |
Output is correct |
45 |
Correct |
100 ms |
207508 KB |
Output is correct |
46 |
Correct |
130 ms |
233496 KB |
Output is correct |
47 |
Correct |
263 ms |
230384 KB |
Output is correct |
48 |
Correct |
189 ms |
215800 KB |
Output is correct |
49 |
Correct |
121 ms |
231748 KB |
Output is correct |
50 |
Correct |
131 ms |
220688 KB |
Output is correct |
51 |
Correct |
206 ms |
228392 KB |
Output is correct |
52 |
Correct |
193 ms |
229784 KB |
Output is correct |
53 |
Correct |
221 ms |
215828 KB |
Output is correct |
54 |
Correct |
53 ms |
188252 KB |
Output is correct |
55 |
Correct |
55 ms |
188244 KB |
Output is correct |
56 |
Correct |
54 ms |
188500 KB |
Output is correct |
57 |
Correct |
54 ms |
188244 KB |
Output is correct |
58 |
Correct |
54 ms |
188292 KB |
Output is correct |
59 |
Correct |
52 ms |
188252 KB |
Output is correct |
60 |
Correct |
55 ms |
188252 KB |
Output is correct |
61 |
Correct |
52 ms |
188244 KB |
Output is correct |
62 |
Correct |
53 ms |
188188 KB |
Output is correct |
63 |
Correct |
56 ms |
188244 KB |
Output is correct |
64 |
Correct |
53 ms |
188240 KB |
Output is correct |
65 |
Correct |
54 ms |
188136 KB |
Output is correct |
66 |
Correct |
56 ms |
188752 KB |
Output is correct |
67 |
Correct |
54 ms |
188184 KB |
Output is correct |
68 |
Correct |
53 ms |
188240 KB |
Output is correct |
69 |
Correct |
53 ms |
188300 KB |
Output is correct |
70 |
Correct |
54 ms |
188148 KB |
Output is correct |
71 |
Correct |
53 ms |
188284 KB |
Output is correct |
72 |
Correct |
52 ms |
188244 KB |
Output is correct |
73 |
Correct |
54 ms |
188244 KB |
Output is correct |
74 |
Correct |
53 ms |
188152 KB |
Output is correct |
75 |
Correct |
55 ms |
188244 KB |
Output is correct |
76 |
Correct |
54 ms |
188244 KB |
Output is correct |
77 |
Correct |
53 ms |
188232 KB |
Output is correct |
78 |
Correct |
54 ms |
188244 KB |
Output is correct |
79 |
Correct |
54 ms |
188312 KB |
Output is correct |
80 |
Correct |
53 ms |
188244 KB |
Output is correct |
81 |
Correct |
53 ms |
188244 KB |
Output is correct |
82 |
Correct |
52 ms |
188244 KB |
Output is correct |
83 |
Correct |
53 ms |
188244 KB |
Output is correct |
84 |
Correct |
54 ms |
188244 KB |
Output is correct |
85 |
Correct |
52 ms |
188244 KB |
Output is correct |
86 |
Correct |
57 ms |
188280 KB |
Output is correct |
87 |
Correct |
53 ms |
188104 KB |
Output is correct |
88 |
Correct |
52 ms |
188240 KB |
Output is correct |
89 |
Correct |
57 ms |
188560 KB |
Output is correct |
90 |
Correct |
52 ms |
188244 KB |
Output is correct |
91 |
Correct |
56 ms |
188244 KB |
Output is correct |
92 |
Correct |
54 ms |
188248 KB |
Output is correct |
93 |
Correct |
54 ms |
188244 KB |
Output is correct |
94 |
Correct |
53 ms |
188240 KB |
Output is correct |
95 |
Correct |
56 ms |
188300 KB |
Output is correct |
96 |
Correct |
53 ms |
188192 KB |
Output is correct |
97 |
Correct |
52 ms |
188240 KB |
Output is correct |
98 |
Correct |
53 ms |
188248 KB |
Output is correct |
99 |
Correct |
53 ms |
188244 KB |
Output is correct |
100 |
Correct |
53 ms |
188244 KB |
Output is correct |
101 |
Correct |
53 ms |
188240 KB |
Output is correct |
102 |
Correct |
58 ms |
188364 KB |
Output is correct |
103 |
Correct |
54 ms |
188244 KB |
Output is correct |
104 |
Correct |
53 ms |
188244 KB |
Output is correct |
105 |
Correct |
53 ms |
188240 KB |
Output is correct |
106 |
Correct |
52 ms |
188240 KB |
Output is correct |
107 |
Correct |
56 ms |
188504 KB |
Output is correct |
108 |
Correct |
54 ms |
188244 KB |
Output is correct |
109 |
Correct |
54 ms |
188240 KB |
Output is correct |
110 |
Correct |
54 ms |
189264 KB |
Output is correct |
111 |
Correct |
57 ms |
189904 KB |
Output is correct |
112 |
Correct |
57 ms |
189904 KB |
Output is correct |
113 |
Correct |
58 ms |
189904 KB |
Output is correct |
114 |
Correct |
58 ms |
190416 KB |
Output is correct |
115 |
Correct |
57 ms |
189920 KB |
Output is correct |
116 |
Correct |
58 ms |
189780 KB |
Output is correct |
117 |
Correct |
56 ms |
189780 KB |
Output is correct |
118 |
Correct |
56 ms |
189780 KB |
Output is correct |
119 |
Correct |
62 ms |
191688 KB |
Output is correct |
120 |
Correct |
62 ms |
193024 KB |
Output is correct |
121 |
Correct |
64 ms |
193228 KB |
Output is correct |
122 |
Correct |
72 ms |
194440 KB |
Output is correct |
123 |
Correct |
65 ms |
193208 KB |
Output is correct |
124 |
Correct |
78 ms |
201676 KB |
Output is correct |
125 |
Correct |
125 ms |
224200 KB |
Output is correct |
126 |
Correct |
123 ms |
231376 KB |
Output is correct |
127 |
Correct |
124 ms |
233220 KB |
Output is correct |
128 |
Correct |
210 ms |
250352 KB |
Output is correct |
129 |
Correct |
149 ms |
232308 KB |
Output is correct |
130 |
Correct |
143 ms |
230112 KB |
Output is correct |
131 |
Correct |
138 ms |
230652 KB |
Output is correct |
132 |
Correct |
58 ms |
189268 KB |
Output is correct |
133 |
Correct |
53 ms |
188196 KB |
Output is correct |
134 |
Correct |
54 ms |
188244 KB |
Output is correct |
135 |
Correct |
55 ms |
189352 KB |
Output is correct |
136 |
Correct |
57 ms |
189340 KB |
Output is correct |
137 |
Correct |
57 ms |
189704 KB |
Output is correct |
138 |
Correct |
56 ms |
189904 KB |
Output is correct |
139 |
Correct |
60 ms |
189780 KB |
Output is correct |
140 |
Correct |
57 ms |
189300 KB |
Output is correct |
141 |
Correct |
57 ms |
189904 KB |
Output is correct |
142 |
Correct |
61 ms |
190484 KB |
Output is correct |
143 |
Correct |
56 ms |
189916 KB |
Output is correct |
144 |
Correct |
57 ms |
190096 KB |
Output is correct |
145 |
Correct |
59 ms |
189592 KB |
Output is correct |
146 |
Correct |
60 ms |
190192 KB |
Output is correct |
147 |
Correct |
58 ms |
189780 KB |
Output is correct |
148 |
Correct |
57 ms |
189780 KB |
Output is correct |
149 |
Incorrect |
59 ms |
189780 KB |
Output isn't correct |
150 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
54 ms |
188244 KB |
Output is correct |
2 |
Correct |
53 ms |
188252 KB |
Output is correct |
3 |
Correct |
53 ms |
188192 KB |
Output is correct |
4 |
Correct |
55 ms |
188244 KB |
Output is correct |
5 |
Correct |
53 ms |
188244 KB |
Output is correct |
6 |
Correct |
55 ms |
188252 KB |
Output is correct |
7 |
Correct |
54 ms |
188244 KB |
Output is correct |
8 |
Correct |
53 ms |
188244 KB |
Output is correct |
9 |
Correct |
54 ms |
188220 KB |
Output is correct |
10 |
Correct |
54 ms |
188260 KB |
Output is correct |
11 |
Correct |
53 ms |
188244 KB |
Output is correct |
12 |
Correct |
54 ms |
188232 KB |
Output is correct |
13 |
Correct |
54 ms |
188236 KB |
Output is correct |
14 |
Correct |
54 ms |
188240 KB |
Output is correct |
15 |
Correct |
53 ms |
188248 KB |
Output is correct |
16 |
Correct |
58 ms |
188184 KB |
Output is correct |
17 |
Correct |
54 ms |
188252 KB |
Output is correct |
18 |
Correct |
53 ms |
188308 KB |
Output is correct |
19 |
Correct |
59 ms |
189276 KB |
Output is correct |
20 |
Correct |
63 ms |
189340 KB |
Output is correct |
21 |
Correct |
59 ms |
189900 KB |
Output is correct |
22 |
Correct |
59 ms |
189780 KB |
Output is correct |
23 |
Correct |
59 ms |
189264 KB |
Output is correct |
24 |
Correct |
57 ms |
190000 KB |
Output is correct |
25 |
Correct |
57 ms |
189592 KB |
Output is correct |
26 |
Correct |
59 ms |
189780 KB |
Output is correct |
27 |
Correct |
56 ms |
189916 KB |
Output is correct |
28 |
Correct |
55 ms |
189268 KB |
Output is correct |
29 |
Correct |
71 ms |
191712 KB |
Output is correct |
30 |
Correct |
60 ms |
190048 KB |
Output is correct |
31 |
Correct |
60 ms |
193132 KB |
Output is correct |
32 |
Correct |
71 ms |
192276 KB |
Output is correct |
33 |
Correct |
68 ms |
191056 KB |
Output is correct |
34 |
Correct |
63 ms |
192692 KB |
Output is correct |
35 |
Correct |
65 ms |
191632 KB |
Output is correct |
36 |
Correct |
67 ms |
192400 KB |
Output is correct |
37 |
Correct |
68 ms |
192396 KB |
Output is correct |
38 |
Correct |
57 ms |
191128 KB |
Output is correct |
39 |
Correct |
241 ms |
217468 KB |
Output is correct |
40 |
Correct |
64 ms |
192652 KB |
Output is correct |
41 |
Correct |
65 ms |
194128 KB |
Output is correct |
42 |
Correct |
79 ms |
193364 KB |
Output is correct |
43 |
Correct |
74 ms |
195264 KB |
Output is correct |
44 |
Correct |
100 ms |
208036 KB |
Output is correct |
45 |
Correct |
100 ms |
207508 KB |
Output is correct |
46 |
Correct |
130 ms |
233496 KB |
Output is correct |
47 |
Correct |
263 ms |
230384 KB |
Output is correct |
48 |
Correct |
189 ms |
215800 KB |
Output is correct |
49 |
Correct |
121 ms |
231748 KB |
Output is correct |
50 |
Correct |
131 ms |
220688 KB |
Output is correct |
51 |
Correct |
206 ms |
228392 KB |
Output is correct |
52 |
Correct |
193 ms |
229784 KB |
Output is correct |
53 |
Correct |
221 ms |
215828 KB |
Output is correct |
54 |
Correct |
53 ms |
188252 KB |
Output is correct |
55 |
Correct |
55 ms |
188244 KB |
Output is correct |
56 |
Correct |
54 ms |
188500 KB |
Output is correct |
57 |
Correct |
54 ms |
188244 KB |
Output is correct |
58 |
Correct |
54 ms |
188292 KB |
Output is correct |
59 |
Correct |
52 ms |
188252 KB |
Output is correct |
60 |
Correct |
55 ms |
188252 KB |
Output is correct |
61 |
Correct |
52 ms |
188244 KB |
Output is correct |
62 |
Correct |
53 ms |
188188 KB |
Output is correct |
63 |
Correct |
56 ms |
188244 KB |
Output is correct |
64 |
Correct |
53 ms |
188240 KB |
Output is correct |
65 |
Correct |
54 ms |
188136 KB |
Output is correct |
66 |
Correct |
56 ms |
188752 KB |
Output is correct |
67 |
Correct |
54 ms |
188184 KB |
Output is correct |
68 |
Correct |
53 ms |
188240 KB |
Output is correct |
69 |
Correct |
53 ms |
188300 KB |
Output is correct |
70 |
Correct |
54 ms |
188148 KB |
Output is correct |
71 |
Correct |
53 ms |
188284 KB |
Output is correct |
72 |
Correct |
52 ms |
188244 KB |
Output is correct |
73 |
Correct |
54 ms |
188244 KB |
Output is correct |
74 |
Correct |
53 ms |
188152 KB |
Output is correct |
75 |
Correct |
55 ms |
188244 KB |
Output is correct |
76 |
Correct |
54 ms |
188244 KB |
Output is correct |
77 |
Correct |
53 ms |
188232 KB |
Output is correct |
78 |
Correct |
54 ms |
188244 KB |
Output is correct |
79 |
Correct |
54 ms |
188312 KB |
Output is correct |
80 |
Correct |
53 ms |
188244 KB |
Output is correct |
81 |
Correct |
53 ms |
188244 KB |
Output is correct |
82 |
Correct |
52 ms |
188244 KB |
Output is correct |
83 |
Correct |
53 ms |
188244 KB |
Output is correct |
84 |
Correct |
54 ms |
188244 KB |
Output is correct |
85 |
Correct |
52 ms |
188244 KB |
Output is correct |
86 |
Correct |
57 ms |
188280 KB |
Output is correct |
87 |
Correct |
53 ms |
188104 KB |
Output is correct |
88 |
Correct |
52 ms |
188240 KB |
Output is correct |
89 |
Correct |
57 ms |
188560 KB |
Output is correct |
90 |
Correct |
52 ms |
188244 KB |
Output is correct |
91 |
Correct |
56 ms |
188244 KB |
Output is correct |
92 |
Correct |
54 ms |
188248 KB |
Output is correct |
93 |
Correct |
54 ms |
188244 KB |
Output is correct |
94 |
Correct |
53 ms |
188240 KB |
Output is correct |
95 |
Correct |
56 ms |
188300 KB |
Output is correct |
96 |
Correct |
53 ms |
188192 KB |
Output is correct |
97 |
Correct |
52 ms |
188240 KB |
Output is correct |
98 |
Correct |
53 ms |
188248 KB |
Output is correct |
99 |
Correct |
53 ms |
188244 KB |
Output is correct |
100 |
Correct |
53 ms |
188244 KB |
Output is correct |
101 |
Correct |
53 ms |
188240 KB |
Output is correct |
102 |
Correct |
58 ms |
188364 KB |
Output is correct |
103 |
Correct |
54 ms |
188244 KB |
Output is correct |
104 |
Correct |
53 ms |
188244 KB |
Output is correct |
105 |
Correct |
53 ms |
188240 KB |
Output is correct |
106 |
Correct |
52 ms |
188240 KB |
Output is correct |
107 |
Correct |
56 ms |
188504 KB |
Output is correct |
108 |
Correct |
54 ms |
188244 KB |
Output is correct |
109 |
Correct |
54 ms |
188240 KB |
Output is correct |
110 |
Correct |
54 ms |
189264 KB |
Output is correct |
111 |
Correct |
57 ms |
189904 KB |
Output is correct |
112 |
Correct |
57 ms |
189904 KB |
Output is correct |
113 |
Correct |
58 ms |
189904 KB |
Output is correct |
114 |
Correct |
58 ms |
190416 KB |
Output is correct |
115 |
Correct |
57 ms |
189920 KB |
Output is correct |
116 |
Correct |
58 ms |
189780 KB |
Output is correct |
117 |
Correct |
56 ms |
189780 KB |
Output is correct |
118 |
Correct |
56 ms |
189780 KB |
Output is correct |
119 |
Correct |
62 ms |
191688 KB |
Output is correct |
120 |
Correct |
62 ms |
193024 KB |
Output is correct |
121 |
Correct |
64 ms |
193228 KB |
Output is correct |
122 |
Correct |
72 ms |
194440 KB |
Output is correct |
123 |
Correct |
65 ms |
193208 KB |
Output is correct |
124 |
Correct |
78 ms |
201676 KB |
Output is correct |
125 |
Correct |
125 ms |
224200 KB |
Output is correct |
126 |
Correct |
123 ms |
231376 KB |
Output is correct |
127 |
Correct |
124 ms |
233220 KB |
Output is correct |
128 |
Correct |
210 ms |
250352 KB |
Output is correct |
129 |
Correct |
149 ms |
232308 KB |
Output is correct |
130 |
Correct |
143 ms |
230112 KB |
Output is correct |
131 |
Correct |
138 ms |
230652 KB |
Output is correct |
132 |
Correct |
58 ms |
189268 KB |
Output is correct |
133 |
Correct |
53 ms |
188196 KB |
Output is correct |
134 |
Correct |
54 ms |
188244 KB |
Output is correct |
135 |
Correct |
55 ms |
189352 KB |
Output is correct |
136 |
Correct |
57 ms |
189340 KB |
Output is correct |
137 |
Correct |
57 ms |
189704 KB |
Output is correct |
138 |
Correct |
56 ms |
189904 KB |
Output is correct |
139 |
Correct |
60 ms |
189780 KB |
Output is correct |
140 |
Correct |
57 ms |
189300 KB |
Output is correct |
141 |
Correct |
57 ms |
189904 KB |
Output is correct |
142 |
Correct |
61 ms |
190484 KB |
Output is correct |
143 |
Correct |
56 ms |
189916 KB |
Output is correct |
144 |
Correct |
57 ms |
190096 KB |
Output is correct |
145 |
Correct |
59 ms |
189592 KB |
Output is correct |
146 |
Correct |
60 ms |
190192 KB |
Output is correct |
147 |
Correct |
58 ms |
189780 KB |
Output is correct |
148 |
Correct |
57 ms |
189780 KB |
Output is correct |
149 |
Incorrect |
59 ms |
189780 KB |
Output isn't correct |
150 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
54 ms |
188244 KB |
Output is correct |
2 |
Correct |
53 ms |
188252 KB |
Output is correct |
3 |
Correct |
53 ms |
188192 KB |
Output is correct |
4 |
Correct |
55 ms |
188244 KB |
Output is correct |
5 |
Correct |
53 ms |
188244 KB |
Output is correct |
6 |
Correct |
55 ms |
188252 KB |
Output is correct |
7 |
Correct |
54 ms |
188244 KB |
Output is correct |
8 |
Correct |
53 ms |
188244 KB |
Output is correct |
9 |
Correct |
54 ms |
188220 KB |
Output is correct |
10 |
Correct |
54 ms |
188260 KB |
Output is correct |
11 |
Correct |
53 ms |
188244 KB |
Output is correct |
12 |
Correct |
54 ms |
188232 KB |
Output is correct |
13 |
Correct |
54 ms |
188236 KB |
Output is correct |
14 |
Correct |
54 ms |
188240 KB |
Output is correct |
15 |
Correct |
53 ms |
188248 KB |
Output is correct |
16 |
Correct |
58 ms |
188184 KB |
Output is correct |
17 |
Correct |
54 ms |
188252 KB |
Output is correct |
18 |
Correct |
53 ms |
188308 KB |
Output is correct |
19 |
Correct |
59 ms |
189276 KB |
Output is correct |
20 |
Correct |
63 ms |
189340 KB |
Output is correct |
21 |
Correct |
59 ms |
189900 KB |
Output is correct |
22 |
Correct |
59 ms |
189780 KB |
Output is correct |
23 |
Correct |
59 ms |
189264 KB |
Output is correct |
24 |
Correct |
57 ms |
190000 KB |
Output is correct |
25 |
Correct |
57 ms |
189592 KB |
Output is correct |
26 |
Correct |
59 ms |
189780 KB |
Output is correct |
27 |
Correct |
56 ms |
189916 KB |
Output is correct |
28 |
Correct |
55 ms |
189268 KB |
Output is correct |
29 |
Correct |
71 ms |
191712 KB |
Output is correct |
30 |
Correct |
60 ms |
190048 KB |
Output is correct |
31 |
Correct |
60 ms |
193132 KB |
Output is correct |
32 |
Correct |
71 ms |
192276 KB |
Output is correct |
33 |
Correct |
68 ms |
191056 KB |
Output is correct |
34 |
Correct |
63 ms |
192692 KB |
Output is correct |
35 |
Correct |
65 ms |
191632 KB |
Output is correct |
36 |
Correct |
67 ms |
192400 KB |
Output is correct |
37 |
Correct |
68 ms |
192396 KB |
Output is correct |
38 |
Correct |
57 ms |
191128 KB |
Output is correct |
39 |
Correct |
241 ms |
217468 KB |
Output is correct |
40 |
Correct |
64 ms |
192652 KB |
Output is correct |
41 |
Correct |
65 ms |
194128 KB |
Output is correct |
42 |
Correct |
79 ms |
193364 KB |
Output is correct |
43 |
Correct |
74 ms |
195264 KB |
Output is correct |
44 |
Correct |
100 ms |
208036 KB |
Output is correct |
45 |
Correct |
100 ms |
207508 KB |
Output is correct |
46 |
Correct |
130 ms |
233496 KB |
Output is correct |
47 |
Correct |
263 ms |
230384 KB |
Output is correct |
48 |
Correct |
189 ms |
215800 KB |
Output is correct |
49 |
Correct |
121 ms |
231748 KB |
Output is correct |
50 |
Correct |
131 ms |
220688 KB |
Output is correct |
51 |
Correct |
206 ms |
228392 KB |
Output is correct |
52 |
Correct |
193 ms |
229784 KB |
Output is correct |
53 |
Correct |
221 ms |
215828 KB |
Output is correct |
54 |
Correct |
53 ms |
188252 KB |
Output is correct |
55 |
Correct |
55 ms |
188244 KB |
Output is correct |
56 |
Correct |
54 ms |
188500 KB |
Output is correct |
57 |
Correct |
54 ms |
188244 KB |
Output is correct |
58 |
Correct |
54 ms |
188292 KB |
Output is correct |
59 |
Correct |
52 ms |
188252 KB |
Output is correct |
60 |
Correct |
55 ms |
188252 KB |
Output is correct |
61 |
Correct |
52 ms |
188244 KB |
Output is correct |
62 |
Correct |
53 ms |
188188 KB |
Output is correct |
63 |
Correct |
56 ms |
188244 KB |
Output is correct |
64 |
Correct |
53 ms |
188240 KB |
Output is correct |
65 |
Correct |
54 ms |
188136 KB |
Output is correct |
66 |
Correct |
56 ms |
188752 KB |
Output is correct |
67 |
Correct |
54 ms |
188184 KB |
Output is correct |
68 |
Correct |
53 ms |
188240 KB |
Output is correct |
69 |
Correct |
53 ms |
188300 KB |
Output is correct |
70 |
Correct |
54 ms |
188148 KB |
Output is correct |
71 |
Correct |
53 ms |
188284 KB |
Output is correct |
72 |
Correct |
52 ms |
188244 KB |
Output is correct |
73 |
Correct |
54 ms |
188244 KB |
Output is correct |
74 |
Correct |
53 ms |
188152 KB |
Output is correct |
75 |
Correct |
55 ms |
188244 KB |
Output is correct |
76 |
Correct |
54 ms |
188244 KB |
Output is correct |
77 |
Correct |
53 ms |
188232 KB |
Output is correct |
78 |
Correct |
54 ms |
188244 KB |
Output is correct |
79 |
Correct |
54 ms |
188312 KB |
Output is correct |
80 |
Correct |
53 ms |
188244 KB |
Output is correct |
81 |
Correct |
53 ms |
188244 KB |
Output is correct |
82 |
Correct |
52 ms |
188244 KB |
Output is correct |
83 |
Correct |
53 ms |
188244 KB |
Output is correct |
84 |
Correct |
54 ms |
188244 KB |
Output is correct |
85 |
Correct |
52 ms |
188244 KB |
Output is correct |
86 |
Correct |
57 ms |
188280 KB |
Output is correct |
87 |
Correct |
53 ms |
188104 KB |
Output is correct |
88 |
Correct |
52 ms |
188240 KB |
Output is correct |
89 |
Correct |
57 ms |
188560 KB |
Output is correct |
90 |
Correct |
52 ms |
188244 KB |
Output is correct |
91 |
Correct |
56 ms |
188244 KB |
Output is correct |
92 |
Correct |
54 ms |
188248 KB |
Output is correct |
93 |
Correct |
54 ms |
188244 KB |
Output is correct |
94 |
Correct |
53 ms |
188240 KB |
Output is correct |
95 |
Correct |
56 ms |
188300 KB |
Output is correct |
96 |
Correct |
53 ms |
188192 KB |
Output is correct |
97 |
Correct |
52 ms |
188240 KB |
Output is correct |
98 |
Correct |
53 ms |
188248 KB |
Output is correct |
99 |
Correct |
53 ms |
188244 KB |
Output is correct |
100 |
Correct |
53 ms |
188244 KB |
Output is correct |
101 |
Correct |
53 ms |
188240 KB |
Output is correct |
102 |
Correct |
58 ms |
188364 KB |
Output is correct |
103 |
Correct |
54 ms |
188244 KB |
Output is correct |
104 |
Correct |
53 ms |
188244 KB |
Output is correct |
105 |
Correct |
53 ms |
188240 KB |
Output is correct |
106 |
Correct |
52 ms |
188240 KB |
Output is correct |
107 |
Correct |
56 ms |
188504 KB |
Output is correct |
108 |
Correct |
54 ms |
188244 KB |
Output is correct |
109 |
Correct |
54 ms |
188240 KB |
Output is correct |
110 |
Correct |
54 ms |
189264 KB |
Output is correct |
111 |
Correct |
57 ms |
189904 KB |
Output is correct |
112 |
Correct |
57 ms |
189904 KB |
Output is correct |
113 |
Correct |
58 ms |
189904 KB |
Output is correct |
114 |
Correct |
58 ms |
190416 KB |
Output is correct |
115 |
Correct |
57 ms |
189920 KB |
Output is correct |
116 |
Correct |
58 ms |
189780 KB |
Output is correct |
117 |
Correct |
56 ms |
189780 KB |
Output is correct |
118 |
Correct |
56 ms |
189780 KB |
Output is correct |
119 |
Correct |
62 ms |
191688 KB |
Output is correct |
120 |
Correct |
62 ms |
193024 KB |
Output is correct |
121 |
Correct |
64 ms |
193228 KB |
Output is correct |
122 |
Correct |
72 ms |
194440 KB |
Output is correct |
123 |
Correct |
65 ms |
193208 KB |
Output is correct |
124 |
Correct |
78 ms |
201676 KB |
Output is correct |
125 |
Correct |
125 ms |
224200 KB |
Output is correct |
126 |
Correct |
123 ms |
231376 KB |
Output is correct |
127 |
Correct |
124 ms |
233220 KB |
Output is correct |
128 |
Correct |
210 ms |
250352 KB |
Output is correct |
129 |
Correct |
149 ms |
232308 KB |
Output is correct |
130 |
Correct |
143 ms |
230112 KB |
Output is correct |
131 |
Correct |
138 ms |
230652 KB |
Output is correct |
132 |
Correct |
58 ms |
189268 KB |
Output is correct |
133 |
Correct |
53 ms |
188196 KB |
Output is correct |
134 |
Correct |
54 ms |
188244 KB |
Output is correct |
135 |
Correct |
55 ms |
189352 KB |
Output is correct |
136 |
Correct |
57 ms |
189340 KB |
Output is correct |
137 |
Correct |
57 ms |
189704 KB |
Output is correct |
138 |
Correct |
56 ms |
189904 KB |
Output is correct |
139 |
Correct |
60 ms |
189780 KB |
Output is correct |
140 |
Correct |
57 ms |
189300 KB |
Output is correct |
141 |
Correct |
57 ms |
189904 KB |
Output is correct |
142 |
Correct |
61 ms |
190484 KB |
Output is correct |
143 |
Correct |
56 ms |
189916 KB |
Output is correct |
144 |
Correct |
57 ms |
190096 KB |
Output is correct |
145 |
Correct |
59 ms |
189592 KB |
Output is correct |
146 |
Correct |
60 ms |
190192 KB |
Output is correct |
147 |
Correct |
58 ms |
189780 KB |
Output is correct |
148 |
Correct |
57 ms |
189780 KB |
Output is correct |
149 |
Incorrect |
59 ms |
189780 KB |
Output isn't correct |
150 |
Halted |
0 ms |
0 KB |
- |