#include<bits/stdc++.h>
using namespace std;
const long long INF = 1e18;
const int maxn = 105;
long long A[2*maxn], inp[2*maxn];
int bs_A[2*maxn][65];
long long dp[maxn][8*maxn*maxn];
long long tmp[8*maxn*maxn];
int main(){
int m;
long long L;
cin >> m >> L;
for(int i = 0; i <= 2*m; i++)cin >> A[i];
if(L < 0){
L*=-1;
for(int i = 1; i <= m; i++)swap(A[m-i], A[m+i]);
}
for(int i = 0; i <= 2*m; i++){
if(i == m)continue;
for(int j = 0; j <= 60; j++){
if(A[i] == 0)break;
bs_A[i][j] = A[i]&1 ? 1 : 2;
A[i] = (A[i]-1)/2;
}
}
int sum = m*(m+1)*4;
memset(dp, -1, sizeof(dp));
dp[1][sum] = 0;
for(int b = 0; b <= 60; b++){
for(int i = 1; i <= m; i++){
for(int j = 0; j <= 2*sum; j++){
if(dp[i][j] == -1)continue;
for(int p_val = 0; p_val <= bs_A[m+i][b]; p_val++){
for(int n_val = 0; n_val <= bs_A[m-i][b]; n_val++){
int nw = j + (p_val - n_val)*i;
long long cost = p_val + n_val;
cost <<= b;
assert(0 <= nw && nw <= 2*sum);
dp[i+1][nw] = max(dp[i+1][nw], dp[i][j] + cost);
}
}
}
}
for(int j = 0; j <= 2*sum; j++)tmp[j] = -1;
for(int i = 0; i <= 2*sum; i++){
if(((i&1)^(sum&1)) != ((L>>b)&1))continue;
int ri = i - sum, pos;
if(ri < 0)pos = (ri-1)/2 + sum;
else pos = ri/2 + sum;
assert(pos >= 0 && pos <= 2*sum);
tmp[pos] = max(tmp[pos], dp[m+1][i]);
}
for(int i = 2; i <= m+1; i++){
for(int j = 0; j <= 2*sum; j++)dp[i][j] = -1;
}
for(int i = 0; i <= 2*sum; i++)dp[1][i] = tmp[i];
}
if(dp[1][sum] == -1)cout << "impossible";
else cout << dp[1][sum] + A[m];
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
41 ms |
72784 KB |
Output is correct |
2 |
Correct |
33 ms |
72784 KB |
Output is correct |
3 |
Correct |
30 ms |
72788 KB |
Output is correct |
4 |
Correct |
31 ms |
72716 KB |
Output is correct |
5 |
Correct |
123 ms |
72880 KB |
Output is correct |
6 |
Correct |
114 ms |
73044 KB |
Output is correct |
7 |
Correct |
149 ms |
73044 KB |
Output is correct |
8 |
Correct |
112 ms |
73044 KB |
Output is correct |
9 |
Correct |
116 ms |
73040 KB |
Output is correct |
10 |
Correct |
120 ms |
73040 KB |
Output is correct |
11 |
Correct |
107 ms |
73052 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
41 ms |
72784 KB |
Output is correct |
2 |
Correct |
33 ms |
72784 KB |
Output is correct |
3 |
Correct |
30 ms |
72788 KB |
Output is correct |
4 |
Correct |
31 ms |
72716 KB |
Output is correct |
5 |
Correct |
123 ms |
72880 KB |
Output is correct |
6 |
Correct |
114 ms |
73044 KB |
Output is correct |
7 |
Correct |
149 ms |
73044 KB |
Output is correct |
8 |
Correct |
112 ms |
73044 KB |
Output is correct |
9 |
Correct |
116 ms |
73040 KB |
Output is correct |
10 |
Correct |
120 ms |
73040 KB |
Output is correct |
11 |
Correct |
107 ms |
73052 KB |
Output is correct |
12 |
Correct |
29 ms |
72784 KB |
Output is correct |
13 |
Correct |
34 ms |
72784 KB |
Output is correct |
14 |
Correct |
31 ms |
72808 KB |
Output is correct |
15 |
Correct |
34 ms |
72784 KB |
Output is correct |
16 |
Correct |
112 ms |
73104 KB |
Output is correct |
17 |
Correct |
120 ms |
73044 KB |
Output is correct |
18 |
Correct |
107 ms |
73040 KB |
Output is correct |
19 |
Correct |
112 ms |
73104 KB |
Output is correct |
20 |
Correct |
117 ms |
73048 KB |
Output is correct |
21 |
Correct |
111 ms |
73044 KB |
Output is correct |
22 |
Correct |
140 ms |
73080 KB |
Output is correct |
23 |
Correct |
900 ms |
73552 KB |
Output is correct |
24 |
Correct |
928 ms |
73604 KB |
Output is correct |
25 |
Correct |
832 ms |
73604 KB |
Output is correct |
26 |
Correct |
907 ms |
73808 KB |
Output is correct |
27 |
Correct |
880 ms |
73604 KB |
Output is correct |
28 |
Correct |
762 ms |
73552 KB |
Output is correct |
29 |
Correct |
785 ms |
73556 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
36 ms |
72784 KB |
Output is correct |
2 |
Correct |
47 ms |
72992 KB |
Output is correct |
3 |
Correct |
64 ms |
72988 KB |
Output is correct |
4 |
Correct |
48 ms |
72788 KB |
Output is correct |
5 |
Correct |
53 ms |
72992 KB |
Output is correct |
6 |
Correct |
50 ms |
72784 KB |
Output is correct |
7 |
Correct |
50 ms |
72788 KB |
Output is correct |
8 |
Correct |
46 ms |
72956 KB |
Output is correct |
9 |
Correct |
57 ms |
73052 KB |
Output is correct |
10 |
Correct |
49 ms |
72792 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
36 ms |
72784 KB |
Output is correct |
2 |
Correct |
47 ms |
72992 KB |
Output is correct |
3 |
Correct |
64 ms |
72988 KB |
Output is correct |
4 |
Correct |
48 ms |
72788 KB |
Output is correct |
5 |
Correct |
53 ms |
72992 KB |
Output is correct |
6 |
Correct |
50 ms |
72784 KB |
Output is correct |
7 |
Correct |
50 ms |
72788 KB |
Output is correct |
8 |
Correct |
46 ms |
72956 KB |
Output is correct |
9 |
Correct |
57 ms |
73052 KB |
Output is correct |
10 |
Correct |
49 ms |
72792 KB |
Output is correct |
11 |
Correct |
49 ms |
72920 KB |
Output is correct |
12 |
Correct |
39 ms |
72788 KB |
Output is correct |
13 |
Correct |
33 ms |
72792 KB |
Output is correct |
14 |
Correct |
34 ms |
72904 KB |
Output is correct |
15 |
Correct |
52 ms |
72784 KB |
Output is correct |
16 |
Correct |
51 ms |
73040 KB |
Output is correct |
17 |
Correct |
51 ms |
72796 KB |
Output is correct |
18 |
Correct |
49 ms |
72788 KB |
Output is correct |
19 |
Correct |
48 ms |
72896 KB |
Output is correct |
20 |
Correct |
49 ms |
72788 KB |
Output is correct |
21 |
Correct |
55 ms |
72784 KB |
Output is correct |
22 |
Correct |
54 ms |
72796 KB |
Output is correct |
23 |
Correct |
50 ms |
72784 KB |
Output is correct |
24 |
Correct |
53 ms |
72796 KB |
Output is correct |
25 |
Correct |
47 ms |
72784 KB |
Output is correct |
26 |
Correct |
63 ms |
73044 KB |
Output is correct |
27 |
Correct |
69 ms |
72796 KB |
Output is correct |
28 |
Correct |
61 ms |
72784 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
36 ms |
72784 KB |
Output is correct |
2 |
Correct |
47 ms |
72992 KB |
Output is correct |
3 |
Correct |
64 ms |
72988 KB |
Output is correct |
4 |
Correct |
48 ms |
72788 KB |
Output is correct |
5 |
Correct |
53 ms |
72992 KB |
Output is correct |
6 |
Correct |
50 ms |
72784 KB |
Output is correct |
7 |
Correct |
50 ms |
72788 KB |
Output is correct |
8 |
Correct |
46 ms |
72956 KB |
Output is correct |
9 |
Correct |
57 ms |
73052 KB |
Output is correct |
10 |
Correct |
49 ms |
72792 KB |
Output is correct |
11 |
Correct |
34 ms |
72792 KB |
Output is correct |
12 |
Correct |
49 ms |
72784 KB |
Output is correct |
13 |
Correct |
57 ms |
72784 KB |
Output is correct |
14 |
Correct |
52 ms |
72748 KB |
Output is correct |
15 |
Correct |
51 ms |
72788 KB |
Output is correct |
16 |
Correct |
53 ms |
73048 KB |
Output is correct |
17 |
Correct |
53 ms |
72808 KB |
Output is correct |
18 |
Correct |
49 ms |
72888 KB |
Output is correct |
19 |
Correct |
49 ms |
72784 KB |
Output is correct |
20 |
Correct |
52 ms |
72788 KB |
Output is correct |
21 |
Correct |
113 ms |
73084 KB |
Output is correct |
22 |
Correct |
110 ms |
73088 KB |
Output is correct |
23 |
Correct |
119 ms |
73044 KB |
Output is correct |
24 |
Correct |
119 ms |
73040 KB |
Output is correct |
25 |
Correct |
116 ms |
72952 KB |
Output is correct |
26 |
Correct |
117 ms |
73040 KB |
Output is correct |
27 |
Correct |
118 ms |
73048 KB |
Output is correct |
28 |
Correct |
114 ms |
72924 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
41 ms |
72784 KB |
Output is correct |
2 |
Correct |
33 ms |
72784 KB |
Output is correct |
3 |
Correct |
30 ms |
72788 KB |
Output is correct |
4 |
Correct |
31 ms |
72716 KB |
Output is correct |
5 |
Correct |
123 ms |
72880 KB |
Output is correct |
6 |
Correct |
114 ms |
73044 KB |
Output is correct |
7 |
Correct |
149 ms |
73044 KB |
Output is correct |
8 |
Correct |
112 ms |
73044 KB |
Output is correct |
9 |
Correct |
116 ms |
73040 KB |
Output is correct |
10 |
Correct |
120 ms |
73040 KB |
Output is correct |
11 |
Correct |
107 ms |
73052 KB |
Output is correct |
12 |
Correct |
36 ms |
72784 KB |
Output is correct |
13 |
Correct |
47 ms |
72992 KB |
Output is correct |
14 |
Correct |
64 ms |
72988 KB |
Output is correct |
15 |
Correct |
48 ms |
72788 KB |
Output is correct |
16 |
Correct |
53 ms |
72992 KB |
Output is correct |
17 |
Correct |
50 ms |
72784 KB |
Output is correct |
18 |
Correct |
50 ms |
72788 KB |
Output is correct |
19 |
Correct |
46 ms |
72956 KB |
Output is correct |
20 |
Correct |
57 ms |
73052 KB |
Output is correct |
21 |
Correct |
49 ms |
72792 KB |
Output is correct |
22 |
Correct |
49 ms |
72920 KB |
Output is correct |
23 |
Correct |
39 ms |
72788 KB |
Output is correct |
24 |
Correct |
33 ms |
72792 KB |
Output is correct |
25 |
Correct |
34 ms |
72904 KB |
Output is correct |
26 |
Correct |
52 ms |
72784 KB |
Output is correct |
27 |
Correct |
51 ms |
73040 KB |
Output is correct |
28 |
Correct |
51 ms |
72796 KB |
Output is correct |
29 |
Correct |
49 ms |
72788 KB |
Output is correct |
30 |
Correct |
48 ms |
72896 KB |
Output is correct |
31 |
Correct |
49 ms |
72788 KB |
Output is correct |
32 |
Correct |
55 ms |
72784 KB |
Output is correct |
33 |
Correct |
54 ms |
72796 KB |
Output is correct |
34 |
Correct |
50 ms |
72784 KB |
Output is correct |
35 |
Correct |
53 ms |
72796 KB |
Output is correct |
36 |
Correct |
47 ms |
72784 KB |
Output is correct |
37 |
Correct |
63 ms |
73044 KB |
Output is correct |
38 |
Correct |
69 ms |
72796 KB |
Output is correct |
39 |
Correct |
61 ms |
72784 KB |
Output is correct |
40 |
Correct |
34 ms |
72792 KB |
Output is correct |
41 |
Correct |
49 ms |
72784 KB |
Output is correct |
42 |
Correct |
57 ms |
72784 KB |
Output is correct |
43 |
Correct |
52 ms |
72748 KB |
Output is correct |
44 |
Correct |
51 ms |
72788 KB |
Output is correct |
45 |
Correct |
53 ms |
73048 KB |
Output is correct |
46 |
Correct |
53 ms |
72808 KB |
Output is correct |
47 |
Correct |
49 ms |
72888 KB |
Output is correct |
48 |
Correct |
49 ms |
72784 KB |
Output is correct |
49 |
Correct |
52 ms |
72788 KB |
Output is correct |
50 |
Correct |
113 ms |
73084 KB |
Output is correct |
51 |
Correct |
110 ms |
73088 KB |
Output is correct |
52 |
Correct |
119 ms |
73044 KB |
Output is correct |
53 |
Correct |
119 ms |
73040 KB |
Output is correct |
54 |
Correct |
116 ms |
72952 KB |
Output is correct |
55 |
Correct |
117 ms |
73040 KB |
Output is correct |
56 |
Correct |
118 ms |
73048 KB |
Output is correct |
57 |
Correct |
114 ms |
72924 KB |
Output is correct |
58 |
Correct |
32 ms |
72784 KB |
Output is correct |
59 |
Correct |
32 ms |
72788 KB |
Output is correct |
60 |
Correct |
36 ms |
72784 KB |
Output is correct |
61 |
Correct |
33 ms |
72940 KB |
Output is correct |
62 |
Correct |
126 ms |
73108 KB |
Output is correct |
63 |
Correct |
112 ms |
73008 KB |
Output is correct |
64 |
Correct |
112 ms |
73044 KB |
Output is correct |
65 |
Correct |
115 ms |
73044 KB |
Output is correct |
66 |
Correct |
117 ms |
73044 KB |
Output is correct |
67 |
Correct |
107 ms |
73044 KB |
Output is correct |
68 |
Correct |
106 ms |
73084 KB |
Output is correct |
69 |
Correct |
52 ms |
72784 KB |
Output is correct |
70 |
Correct |
49 ms |
72784 KB |
Output is correct |
71 |
Correct |
60 ms |
72784 KB |
Output is correct |
72 |
Correct |
52 ms |
72992 KB |
Output is correct |
73 |
Correct |
54 ms |
72988 KB |
Output is correct |
74 |
Correct |
53 ms |
72788 KB |
Output is correct |
75 |
Correct |
47 ms |
72744 KB |
Output is correct |
76 |
Correct |
63 ms |
72784 KB |
Output is correct |
77 |
Correct |
56 ms |
72788 KB |
Output is correct |
78 |
Correct |
56 ms |
72788 KB |
Output is correct |
79 |
Correct |
49 ms |
72864 KB |
Output is correct |
80 |
Correct |
52 ms |
72836 KB |
Output is correct |
81 |
Correct |
54 ms |
72784 KB |
Output is correct |
82 |
Correct |
58 ms |
72836 KB |
Output is correct |
83 |
Correct |
118 ms |
73044 KB |
Output is correct |
84 |
Correct |
116 ms |
73080 KB |
Output is correct |
85 |
Correct |
115 ms |
73096 KB |
Output is correct |
86 |
Correct |
112 ms |
73096 KB |
Output is correct |
87 |
Correct |
111 ms |
73044 KB |
Output is correct |
88 |
Correct |
134 ms |
72912 KB |
Output is correct |
89 |
Correct |
120 ms |
73036 KB |
Output is correct |
90 |
Correct |
128 ms |
73040 KB |
Output is correct |
91 |
Correct |
131 ms |
73044 KB |
Output is correct |
92 |
Correct |
130 ms |
73040 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
36 ms |
72784 KB |
Output is correct |
2 |
Correct |
47 ms |
72992 KB |
Output is correct |
3 |
Correct |
64 ms |
72988 KB |
Output is correct |
4 |
Correct |
48 ms |
72788 KB |
Output is correct |
5 |
Correct |
53 ms |
72992 KB |
Output is correct |
6 |
Correct |
50 ms |
72784 KB |
Output is correct |
7 |
Correct |
50 ms |
72788 KB |
Output is correct |
8 |
Correct |
46 ms |
72956 KB |
Output is correct |
9 |
Correct |
57 ms |
73052 KB |
Output is correct |
10 |
Correct |
49 ms |
72792 KB |
Output is correct |
11 |
Correct |
34 ms |
72792 KB |
Output is correct |
12 |
Correct |
49 ms |
72784 KB |
Output is correct |
13 |
Correct |
57 ms |
72784 KB |
Output is correct |
14 |
Correct |
52 ms |
72748 KB |
Output is correct |
15 |
Correct |
51 ms |
72788 KB |
Output is correct |
16 |
Correct |
53 ms |
73048 KB |
Output is correct |
17 |
Correct |
53 ms |
72808 KB |
Output is correct |
18 |
Correct |
49 ms |
72888 KB |
Output is correct |
19 |
Correct |
49 ms |
72784 KB |
Output is correct |
20 |
Correct |
52 ms |
72788 KB |
Output is correct |
21 |
Correct |
113 ms |
73084 KB |
Output is correct |
22 |
Correct |
110 ms |
73088 KB |
Output is correct |
23 |
Correct |
119 ms |
73044 KB |
Output is correct |
24 |
Correct |
119 ms |
73040 KB |
Output is correct |
25 |
Correct |
116 ms |
72952 KB |
Output is correct |
26 |
Correct |
117 ms |
73040 KB |
Output is correct |
27 |
Correct |
118 ms |
73048 KB |
Output is correct |
28 |
Correct |
114 ms |
72924 KB |
Output is correct |
29 |
Correct |
35 ms |
72788 KB |
Output is correct |
30 |
Correct |
53 ms |
72784 KB |
Output is correct |
31 |
Correct |
51 ms |
72960 KB |
Output is correct |
32 |
Correct |
52 ms |
72784 KB |
Output is correct |
33 |
Correct |
51 ms |
72792 KB |
Output is correct |
34 |
Correct |
50 ms |
72948 KB |
Output is correct |
35 |
Correct |
50 ms |
72796 KB |
Output is correct |
36 |
Correct |
49 ms |
72788 KB |
Output is correct |
37 |
Correct |
60 ms |
73044 KB |
Output is correct |
38 |
Correct |
54 ms |
72796 KB |
Output is correct |
39 |
Correct |
109 ms |
73084 KB |
Output is correct |
40 |
Correct |
117 ms |
73044 KB |
Output is correct |
41 |
Correct |
117 ms |
73096 KB |
Output is correct |
42 |
Correct |
122 ms |
72952 KB |
Output is correct |
43 |
Correct |
120 ms |
73044 KB |
Output is correct |
44 |
Correct |
118 ms |
72972 KB |
Output is correct |
45 |
Correct |
115 ms |
73044 KB |
Output is correct |
46 |
Correct |
131 ms |
73096 KB |
Output is correct |
47 |
Correct |
792 ms |
73504 KB |
Output is correct |
48 |
Correct |
805 ms |
73352 KB |
Output is correct |
49 |
Correct |
840 ms |
73580 KB |
Output is correct |
50 |
Correct |
800 ms |
73576 KB |
Output is correct |
51 |
Correct |
903 ms |
73552 KB |
Output is correct |
52 |
Correct |
854 ms |
73580 KB |
Output is correct |
53 |
Correct |
853 ms |
73584 KB |
Output is correct |
54 |
Correct |
817 ms |
73556 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
41 ms |
72784 KB |
Output is correct |
2 |
Correct |
33 ms |
72784 KB |
Output is correct |
3 |
Correct |
30 ms |
72788 KB |
Output is correct |
4 |
Correct |
31 ms |
72716 KB |
Output is correct |
5 |
Correct |
123 ms |
72880 KB |
Output is correct |
6 |
Correct |
114 ms |
73044 KB |
Output is correct |
7 |
Correct |
149 ms |
73044 KB |
Output is correct |
8 |
Correct |
112 ms |
73044 KB |
Output is correct |
9 |
Correct |
116 ms |
73040 KB |
Output is correct |
10 |
Correct |
120 ms |
73040 KB |
Output is correct |
11 |
Correct |
107 ms |
73052 KB |
Output is correct |
12 |
Correct |
29 ms |
72784 KB |
Output is correct |
13 |
Correct |
34 ms |
72784 KB |
Output is correct |
14 |
Correct |
31 ms |
72808 KB |
Output is correct |
15 |
Correct |
34 ms |
72784 KB |
Output is correct |
16 |
Correct |
112 ms |
73104 KB |
Output is correct |
17 |
Correct |
120 ms |
73044 KB |
Output is correct |
18 |
Correct |
107 ms |
73040 KB |
Output is correct |
19 |
Correct |
112 ms |
73104 KB |
Output is correct |
20 |
Correct |
117 ms |
73048 KB |
Output is correct |
21 |
Correct |
111 ms |
73044 KB |
Output is correct |
22 |
Correct |
140 ms |
73080 KB |
Output is correct |
23 |
Correct |
900 ms |
73552 KB |
Output is correct |
24 |
Correct |
928 ms |
73604 KB |
Output is correct |
25 |
Correct |
832 ms |
73604 KB |
Output is correct |
26 |
Correct |
907 ms |
73808 KB |
Output is correct |
27 |
Correct |
880 ms |
73604 KB |
Output is correct |
28 |
Correct |
762 ms |
73552 KB |
Output is correct |
29 |
Correct |
785 ms |
73556 KB |
Output is correct |
30 |
Correct |
36 ms |
72784 KB |
Output is correct |
31 |
Correct |
47 ms |
72992 KB |
Output is correct |
32 |
Correct |
64 ms |
72988 KB |
Output is correct |
33 |
Correct |
48 ms |
72788 KB |
Output is correct |
34 |
Correct |
53 ms |
72992 KB |
Output is correct |
35 |
Correct |
50 ms |
72784 KB |
Output is correct |
36 |
Correct |
50 ms |
72788 KB |
Output is correct |
37 |
Correct |
46 ms |
72956 KB |
Output is correct |
38 |
Correct |
57 ms |
73052 KB |
Output is correct |
39 |
Correct |
49 ms |
72792 KB |
Output is correct |
40 |
Correct |
49 ms |
72920 KB |
Output is correct |
41 |
Correct |
39 ms |
72788 KB |
Output is correct |
42 |
Correct |
33 ms |
72792 KB |
Output is correct |
43 |
Correct |
34 ms |
72904 KB |
Output is correct |
44 |
Correct |
52 ms |
72784 KB |
Output is correct |
45 |
Correct |
51 ms |
73040 KB |
Output is correct |
46 |
Correct |
51 ms |
72796 KB |
Output is correct |
47 |
Correct |
49 ms |
72788 KB |
Output is correct |
48 |
Correct |
48 ms |
72896 KB |
Output is correct |
49 |
Correct |
49 ms |
72788 KB |
Output is correct |
50 |
Correct |
55 ms |
72784 KB |
Output is correct |
51 |
Correct |
54 ms |
72796 KB |
Output is correct |
52 |
Correct |
50 ms |
72784 KB |
Output is correct |
53 |
Correct |
53 ms |
72796 KB |
Output is correct |
54 |
Correct |
47 ms |
72784 KB |
Output is correct |
55 |
Correct |
63 ms |
73044 KB |
Output is correct |
56 |
Correct |
69 ms |
72796 KB |
Output is correct |
57 |
Correct |
61 ms |
72784 KB |
Output is correct |
58 |
Correct |
34 ms |
72792 KB |
Output is correct |
59 |
Correct |
49 ms |
72784 KB |
Output is correct |
60 |
Correct |
57 ms |
72784 KB |
Output is correct |
61 |
Correct |
52 ms |
72748 KB |
Output is correct |
62 |
Correct |
51 ms |
72788 KB |
Output is correct |
63 |
Correct |
53 ms |
73048 KB |
Output is correct |
64 |
Correct |
53 ms |
72808 KB |
Output is correct |
65 |
Correct |
49 ms |
72888 KB |
Output is correct |
66 |
Correct |
49 ms |
72784 KB |
Output is correct |
67 |
Correct |
52 ms |
72788 KB |
Output is correct |
68 |
Correct |
113 ms |
73084 KB |
Output is correct |
69 |
Correct |
110 ms |
73088 KB |
Output is correct |
70 |
Correct |
119 ms |
73044 KB |
Output is correct |
71 |
Correct |
119 ms |
73040 KB |
Output is correct |
72 |
Correct |
116 ms |
72952 KB |
Output is correct |
73 |
Correct |
117 ms |
73040 KB |
Output is correct |
74 |
Correct |
118 ms |
73048 KB |
Output is correct |
75 |
Correct |
114 ms |
72924 KB |
Output is correct |
76 |
Correct |
32 ms |
72784 KB |
Output is correct |
77 |
Correct |
32 ms |
72788 KB |
Output is correct |
78 |
Correct |
36 ms |
72784 KB |
Output is correct |
79 |
Correct |
33 ms |
72940 KB |
Output is correct |
80 |
Correct |
126 ms |
73108 KB |
Output is correct |
81 |
Correct |
112 ms |
73008 KB |
Output is correct |
82 |
Correct |
112 ms |
73044 KB |
Output is correct |
83 |
Correct |
115 ms |
73044 KB |
Output is correct |
84 |
Correct |
117 ms |
73044 KB |
Output is correct |
85 |
Correct |
107 ms |
73044 KB |
Output is correct |
86 |
Correct |
106 ms |
73084 KB |
Output is correct |
87 |
Correct |
52 ms |
72784 KB |
Output is correct |
88 |
Correct |
49 ms |
72784 KB |
Output is correct |
89 |
Correct |
60 ms |
72784 KB |
Output is correct |
90 |
Correct |
52 ms |
72992 KB |
Output is correct |
91 |
Correct |
54 ms |
72988 KB |
Output is correct |
92 |
Correct |
53 ms |
72788 KB |
Output is correct |
93 |
Correct |
47 ms |
72744 KB |
Output is correct |
94 |
Correct |
63 ms |
72784 KB |
Output is correct |
95 |
Correct |
56 ms |
72788 KB |
Output is correct |
96 |
Correct |
56 ms |
72788 KB |
Output is correct |
97 |
Correct |
49 ms |
72864 KB |
Output is correct |
98 |
Correct |
52 ms |
72836 KB |
Output is correct |
99 |
Correct |
54 ms |
72784 KB |
Output is correct |
100 |
Correct |
58 ms |
72836 KB |
Output is correct |
101 |
Correct |
118 ms |
73044 KB |
Output is correct |
102 |
Correct |
116 ms |
73080 KB |
Output is correct |
103 |
Correct |
115 ms |
73096 KB |
Output is correct |
104 |
Correct |
112 ms |
73096 KB |
Output is correct |
105 |
Correct |
111 ms |
73044 KB |
Output is correct |
106 |
Correct |
134 ms |
72912 KB |
Output is correct |
107 |
Correct |
120 ms |
73036 KB |
Output is correct |
108 |
Correct |
128 ms |
73040 KB |
Output is correct |
109 |
Correct |
131 ms |
73044 KB |
Output is correct |
110 |
Correct |
130 ms |
73040 KB |
Output is correct |
111 |
Correct |
35 ms |
72788 KB |
Output is correct |
112 |
Correct |
53 ms |
72784 KB |
Output is correct |
113 |
Correct |
51 ms |
72960 KB |
Output is correct |
114 |
Correct |
52 ms |
72784 KB |
Output is correct |
115 |
Correct |
51 ms |
72792 KB |
Output is correct |
116 |
Correct |
50 ms |
72948 KB |
Output is correct |
117 |
Correct |
50 ms |
72796 KB |
Output is correct |
118 |
Correct |
49 ms |
72788 KB |
Output is correct |
119 |
Correct |
60 ms |
73044 KB |
Output is correct |
120 |
Correct |
54 ms |
72796 KB |
Output is correct |
121 |
Correct |
109 ms |
73084 KB |
Output is correct |
122 |
Correct |
117 ms |
73044 KB |
Output is correct |
123 |
Correct |
117 ms |
73096 KB |
Output is correct |
124 |
Correct |
122 ms |
72952 KB |
Output is correct |
125 |
Correct |
120 ms |
73044 KB |
Output is correct |
126 |
Correct |
118 ms |
72972 KB |
Output is correct |
127 |
Correct |
115 ms |
73044 KB |
Output is correct |
128 |
Correct |
131 ms |
73096 KB |
Output is correct |
129 |
Correct |
792 ms |
73504 KB |
Output is correct |
130 |
Correct |
805 ms |
73352 KB |
Output is correct |
131 |
Correct |
840 ms |
73580 KB |
Output is correct |
132 |
Correct |
800 ms |
73576 KB |
Output is correct |
133 |
Correct |
903 ms |
73552 KB |
Output is correct |
134 |
Correct |
854 ms |
73580 KB |
Output is correct |
135 |
Correct |
853 ms |
73584 KB |
Output is correct |
136 |
Correct |
817 ms |
73556 KB |
Output is correct |
137 |
Correct |
29 ms |
72788 KB |
Output is correct |
138 |
Correct |
30 ms |
72848 KB |
Output is correct |
139 |
Correct |
29 ms |
72684 KB |
Output is correct |
140 |
Correct |
30 ms |
72788 KB |
Output is correct |
141 |
Correct |
111 ms |
73104 KB |
Output is correct |
142 |
Correct |
122 ms |
73104 KB |
Output is correct |
143 |
Correct |
110 ms |
73044 KB |
Output is correct |
144 |
Correct |
121 ms |
73104 KB |
Output is correct |
145 |
Correct |
120 ms |
73040 KB |
Output is correct |
146 |
Correct |
109 ms |
73080 KB |
Output is correct |
147 |
Correct |
113 ms |
73040 KB |
Output is correct |
148 |
Correct |
849 ms |
73564 KB |
Output is correct |
149 |
Correct |
870 ms |
73592 KB |
Output is correct |
150 |
Correct |
794 ms |
73556 KB |
Output is correct |
151 |
Correct |
899 ms |
73520 KB |
Output is correct |
152 |
Correct |
1008 ms |
73504 KB |
Output is correct |
153 |
Correct |
798 ms |
73556 KB |
Output is correct |
154 |
Correct |
767 ms |
73564 KB |
Output is correct |
155 |
Correct |
54 ms |
72784 KB |
Output is correct |
156 |
Correct |
50 ms |
72860 KB |
Output is correct |
157 |
Correct |
50 ms |
72792 KB |
Output is correct |
158 |
Correct |
53 ms |
72788 KB |
Output is correct |
159 |
Correct |
51 ms |
72796 KB |
Output is correct |
160 |
Correct |
55 ms |
73172 KB |
Output is correct |
161 |
Correct |
51 ms |
72796 KB |
Output is correct |
162 |
Correct |
50 ms |
72784 KB |
Output is correct |
163 |
Correct |
50 ms |
72788 KB |
Output is correct |
164 |
Correct |
122 ms |
73092 KB |
Output is correct |
165 |
Correct |
117 ms |
73040 KB |
Output is correct |
166 |
Correct |
117 ms |
73092 KB |
Output is correct |
167 |
Correct |
119 ms |
73044 KB |
Output is correct |
168 |
Correct |
117 ms |
73096 KB |
Output is correct |
169 |
Correct |
116 ms |
73044 KB |
Output is correct |
170 |
Correct |
56 ms |
72784 KB |
Output is correct |
171 |
Correct |
54 ms |
72928 KB |
Output is correct |
172 |
Correct |
55 ms |
72792 KB |
Output is correct |
173 |
Correct |
60 ms |
72992 KB |
Output is correct |
174 |
Correct |
55 ms |
72796 KB |
Output is correct |
175 |
Correct |
125 ms |
73104 KB |
Output is correct |
176 |
Correct |
131 ms |
73044 KB |
Output is correct |
177 |
Correct |
126 ms |
73104 KB |
Output is correct |
178 |
Correct |
131 ms |
73100 KB |
Output is correct |
179 |
Correct |
911 ms |
73808 KB |
Output is correct |
180 |
Correct |
844 ms |
73580 KB |
Output is correct |
181 |
Correct |
915 ms |
73552 KB |
Output is correct |
182 |
Correct |
899 ms |
73584 KB |
Output is correct |
183 |
Correct |
813 ms |
73552 KB |
Output is correct |
184 |
Correct |
854 ms |
73580 KB |
Output is correct |
185 |
Correct |
1075 ms |
73604 KB |
Output is correct |
186 |
Correct |
1012 ms |
73600 KB |
Output is correct |
187 |
Correct |
1012 ms |
73604 KB |
Output is correct |
188 |
Correct |
970 ms |
73600 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
36 ms |
72784 KB |
Output is correct |
2 |
Correct |
47 ms |
72992 KB |
Output is correct |
3 |
Correct |
64 ms |
72988 KB |
Output is correct |
4 |
Correct |
48 ms |
72788 KB |
Output is correct |
5 |
Correct |
53 ms |
72992 KB |
Output is correct |
6 |
Correct |
50 ms |
72784 KB |
Output is correct |
7 |
Correct |
50 ms |
72788 KB |
Output is correct |
8 |
Correct |
46 ms |
72956 KB |
Output is correct |
9 |
Correct |
57 ms |
73052 KB |
Output is correct |
10 |
Correct |
49 ms |
72792 KB |
Output is correct |
11 |
Correct |
34 ms |
72792 KB |
Output is correct |
12 |
Correct |
49 ms |
72784 KB |
Output is correct |
13 |
Correct |
57 ms |
72784 KB |
Output is correct |
14 |
Correct |
52 ms |
72748 KB |
Output is correct |
15 |
Correct |
51 ms |
72788 KB |
Output is correct |
16 |
Correct |
53 ms |
73048 KB |
Output is correct |
17 |
Correct |
53 ms |
72808 KB |
Output is correct |
18 |
Correct |
49 ms |
72888 KB |
Output is correct |
19 |
Correct |
49 ms |
72784 KB |
Output is correct |
20 |
Correct |
52 ms |
72788 KB |
Output is correct |
21 |
Correct |
113 ms |
73084 KB |
Output is correct |
22 |
Correct |
110 ms |
73088 KB |
Output is correct |
23 |
Correct |
119 ms |
73044 KB |
Output is correct |
24 |
Correct |
119 ms |
73040 KB |
Output is correct |
25 |
Correct |
116 ms |
72952 KB |
Output is correct |
26 |
Correct |
117 ms |
73040 KB |
Output is correct |
27 |
Correct |
118 ms |
73048 KB |
Output is correct |
28 |
Correct |
114 ms |
72924 KB |
Output is correct |
29 |
Correct |
35 ms |
72788 KB |
Output is correct |
30 |
Correct |
53 ms |
72784 KB |
Output is correct |
31 |
Correct |
51 ms |
72960 KB |
Output is correct |
32 |
Correct |
52 ms |
72784 KB |
Output is correct |
33 |
Correct |
51 ms |
72792 KB |
Output is correct |
34 |
Correct |
50 ms |
72948 KB |
Output is correct |
35 |
Correct |
50 ms |
72796 KB |
Output is correct |
36 |
Correct |
49 ms |
72788 KB |
Output is correct |
37 |
Correct |
60 ms |
73044 KB |
Output is correct |
38 |
Correct |
54 ms |
72796 KB |
Output is correct |
39 |
Correct |
109 ms |
73084 KB |
Output is correct |
40 |
Correct |
117 ms |
73044 KB |
Output is correct |
41 |
Correct |
117 ms |
73096 KB |
Output is correct |
42 |
Correct |
122 ms |
72952 KB |
Output is correct |
43 |
Correct |
120 ms |
73044 KB |
Output is correct |
44 |
Correct |
118 ms |
72972 KB |
Output is correct |
45 |
Correct |
115 ms |
73044 KB |
Output is correct |
46 |
Correct |
131 ms |
73096 KB |
Output is correct |
47 |
Correct |
792 ms |
73504 KB |
Output is correct |
48 |
Correct |
805 ms |
73352 KB |
Output is correct |
49 |
Correct |
840 ms |
73580 KB |
Output is correct |
50 |
Correct |
800 ms |
73576 KB |
Output is correct |
51 |
Correct |
903 ms |
73552 KB |
Output is correct |
52 |
Correct |
854 ms |
73580 KB |
Output is correct |
53 |
Correct |
853 ms |
73584 KB |
Output is correct |
54 |
Correct |
817 ms |
73556 KB |
Output is correct |
55 |
Correct |
36 ms |
72836 KB |
Output is correct |
56 |
Correct |
51 ms |
72796 KB |
Output is correct |
57 |
Correct |
62 ms |
73040 KB |
Output is correct |
58 |
Correct |
57 ms |
72784 KB |
Output is correct |
59 |
Correct |
54 ms |
72796 KB |
Output is correct |
60 |
Correct |
53 ms |
72824 KB |
Output is correct |
61 |
Correct |
50 ms |
72792 KB |
Output is correct |
62 |
Correct |
51 ms |
72860 KB |
Output is correct |
63 |
Correct |
53 ms |
72784 KB |
Output is correct |
64 |
Correct |
58 ms |
72788 KB |
Output is correct |
65 |
Correct |
120 ms |
73080 KB |
Output is correct |
66 |
Correct |
127 ms |
72928 KB |
Output is correct |
67 |
Correct |
115 ms |
73096 KB |
Output is correct |
68 |
Correct |
114 ms |
72940 KB |
Output is correct |
69 |
Correct |
133 ms |
73040 KB |
Output is correct |
70 |
Correct |
128 ms |
73300 KB |
Output is correct |
71 |
Correct |
116 ms |
73040 KB |
Output is correct |
72 |
Correct |
121 ms |
73040 KB |
Output is correct |
73 |
Correct |
860 ms |
73556 KB |
Output is correct |
74 |
Correct |
830 ms |
73476 KB |
Output is correct |
75 |
Correct |
857 ms |
73584 KB |
Output is correct |
76 |
Correct |
816 ms |
73556 KB |
Output is correct |
77 |
Correct |
855 ms |
73580 KB |
Output is correct |
78 |
Correct |
860 ms |
73580 KB |
Output is correct |
79 |
Correct |
841 ms |
73580 KB |
Output is correct |
80 |
Correct |
801 ms |
73588 KB |
Output is correct |
81 |
Runtime error |
2 ms |
348 KB |
Execution killed with signal 11 |
82 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
41 ms |
72784 KB |
Output is correct |
2 |
Correct |
33 ms |
72784 KB |
Output is correct |
3 |
Correct |
30 ms |
72788 KB |
Output is correct |
4 |
Correct |
31 ms |
72716 KB |
Output is correct |
5 |
Correct |
123 ms |
72880 KB |
Output is correct |
6 |
Correct |
114 ms |
73044 KB |
Output is correct |
7 |
Correct |
149 ms |
73044 KB |
Output is correct |
8 |
Correct |
112 ms |
73044 KB |
Output is correct |
9 |
Correct |
116 ms |
73040 KB |
Output is correct |
10 |
Correct |
120 ms |
73040 KB |
Output is correct |
11 |
Correct |
107 ms |
73052 KB |
Output is correct |
12 |
Correct |
29 ms |
72784 KB |
Output is correct |
13 |
Correct |
34 ms |
72784 KB |
Output is correct |
14 |
Correct |
31 ms |
72808 KB |
Output is correct |
15 |
Correct |
34 ms |
72784 KB |
Output is correct |
16 |
Correct |
112 ms |
73104 KB |
Output is correct |
17 |
Correct |
120 ms |
73044 KB |
Output is correct |
18 |
Correct |
107 ms |
73040 KB |
Output is correct |
19 |
Correct |
112 ms |
73104 KB |
Output is correct |
20 |
Correct |
117 ms |
73048 KB |
Output is correct |
21 |
Correct |
111 ms |
73044 KB |
Output is correct |
22 |
Correct |
140 ms |
73080 KB |
Output is correct |
23 |
Correct |
900 ms |
73552 KB |
Output is correct |
24 |
Correct |
928 ms |
73604 KB |
Output is correct |
25 |
Correct |
832 ms |
73604 KB |
Output is correct |
26 |
Correct |
907 ms |
73808 KB |
Output is correct |
27 |
Correct |
880 ms |
73604 KB |
Output is correct |
28 |
Correct |
762 ms |
73552 KB |
Output is correct |
29 |
Correct |
785 ms |
73556 KB |
Output is correct |
30 |
Correct |
36 ms |
72784 KB |
Output is correct |
31 |
Correct |
47 ms |
72992 KB |
Output is correct |
32 |
Correct |
64 ms |
72988 KB |
Output is correct |
33 |
Correct |
48 ms |
72788 KB |
Output is correct |
34 |
Correct |
53 ms |
72992 KB |
Output is correct |
35 |
Correct |
50 ms |
72784 KB |
Output is correct |
36 |
Correct |
50 ms |
72788 KB |
Output is correct |
37 |
Correct |
46 ms |
72956 KB |
Output is correct |
38 |
Correct |
57 ms |
73052 KB |
Output is correct |
39 |
Correct |
49 ms |
72792 KB |
Output is correct |
40 |
Correct |
49 ms |
72920 KB |
Output is correct |
41 |
Correct |
39 ms |
72788 KB |
Output is correct |
42 |
Correct |
33 ms |
72792 KB |
Output is correct |
43 |
Correct |
34 ms |
72904 KB |
Output is correct |
44 |
Correct |
52 ms |
72784 KB |
Output is correct |
45 |
Correct |
51 ms |
73040 KB |
Output is correct |
46 |
Correct |
51 ms |
72796 KB |
Output is correct |
47 |
Correct |
49 ms |
72788 KB |
Output is correct |
48 |
Correct |
48 ms |
72896 KB |
Output is correct |
49 |
Correct |
49 ms |
72788 KB |
Output is correct |
50 |
Correct |
55 ms |
72784 KB |
Output is correct |
51 |
Correct |
54 ms |
72796 KB |
Output is correct |
52 |
Correct |
50 ms |
72784 KB |
Output is correct |
53 |
Correct |
53 ms |
72796 KB |
Output is correct |
54 |
Correct |
47 ms |
72784 KB |
Output is correct |
55 |
Correct |
63 ms |
73044 KB |
Output is correct |
56 |
Correct |
69 ms |
72796 KB |
Output is correct |
57 |
Correct |
61 ms |
72784 KB |
Output is correct |
58 |
Correct |
34 ms |
72792 KB |
Output is correct |
59 |
Correct |
49 ms |
72784 KB |
Output is correct |
60 |
Correct |
57 ms |
72784 KB |
Output is correct |
61 |
Correct |
52 ms |
72748 KB |
Output is correct |
62 |
Correct |
51 ms |
72788 KB |
Output is correct |
63 |
Correct |
53 ms |
73048 KB |
Output is correct |
64 |
Correct |
53 ms |
72808 KB |
Output is correct |
65 |
Correct |
49 ms |
72888 KB |
Output is correct |
66 |
Correct |
49 ms |
72784 KB |
Output is correct |
67 |
Correct |
52 ms |
72788 KB |
Output is correct |
68 |
Correct |
113 ms |
73084 KB |
Output is correct |
69 |
Correct |
110 ms |
73088 KB |
Output is correct |
70 |
Correct |
119 ms |
73044 KB |
Output is correct |
71 |
Correct |
119 ms |
73040 KB |
Output is correct |
72 |
Correct |
116 ms |
72952 KB |
Output is correct |
73 |
Correct |
117 ms |
73040 KB |
Output is correct |
74 |
Correct |
118 ms |
73048 KB |
Output is correct |
75 |
Correct |
114 ms |
72924 KB |
Output is correct |
76 |
Correct |
32 ms |
72784 KB |
Output is correct |
77 |
Correct |
32 ms |
72788 KB |
Output is correct |
78 |
Correct |
36 ms |
72784 KB |
Output is correct |
79 |
Correct |
33 ms |
72940 KB |
Output is correct |
80 |
Correct |
126 ms |
73108 KB |
Output is correct |
81 |
Correct |
112 ms |
73008 KB |
Output is correct |
82 |
Correct |
112 ms |
73044 KB |
Output is correct |
83 |
Correct |
115 ms |
73044 KB |
Output is correct |
84 |
Correct |
117 ms |
73044 KB |
Output is correct |
85 |
Correct |
107 ms |
73044 KB |
Output is correct |
86 |
Correct |
106 ms |
73084 KB |
Output is correct |
87 |
Correct |
52 ms |
72784 KB |
Output is correct |
88 |
Correct |
49 ms |
72784 KB |
Output is correct |
89 |
Correct |
60 ms |
72784 KB |
Output is correct |
90 |
Correct |
52 ms |
72992 KB |
Output is correct |
91 |
Correct |
54 ms |
72988 KB |
Output is correct |
92 |
Correct |
53 ms |
72788 KB |
Output is correct |
93 |
Correct |
47 ms |
72744 KB |
Output is correct |
94 |
Correct |
63 ms |
72784 KB |
Output is correct |
95 |
Correct |
56 ms |
72788 KB |
Output is correct |
96 |
Correct |
56 ms |
72788 KB |
Output is correct |
97 |
Correct |
49 ms |
72864 KB |
Output is correct |
98 |
Correct |
52 ms |
72836 KB |
Output is correct |
99 |
Correct |
54 ms |
72784 KB |
Output is correct |
100 |
Correct |
58 ms |
72836 KB |
Output is correct |
101 |
Correct |
118 ms |
73044 KB |
Output is correct |
102 |
Correct |
116 ms |
73080 KB |
Output is correct |
103 |
Correct |
115 ms |
73096 KB |
Output is correct |
104 |
Correct |
112 ms |
73096 KB |
Output is correct |
105 |
Correct |
111 ms |
73044 KB |
Output is correct |
106 |
Correct |
134 ms |
72912 KB |
Output is correct |
107 |
Correct |
120 ms |
73036 KB |
Output is correct |
108 |
Correct |
128 ms |
73040 KB |
Output is correct |
109 |
Correct |
131 ms |
73044 KB |
Output is correct |
110 |
Correct |
130 ms |
73040 KB |
Output is correct |
111 |
Correct |
35 ms |
72788 KB |
Output is correct |
112 |
Correct |
53 ms |
72784 KB |
Output is correct |
113 |
Correct |
51 ms |
72960 KB |
Output is correct |
114 |
Correct |
52 ms |
72784 KB |
Output is correct |
115 |
Correct |
51 ms |
72792 KB |
Output is correct |
116 |
Correct |
50 ms |
72948 KB |
Output is correct |
117 |
Correct |
50 ms |
72796 KB |
Output is correct |
118 |
Correct |
49 ms |
72788 KB |
Output is correct |
119 |
Correct |
60 ms |
73044 KB |
Output is correct |
120 |
Correct |
54 ms |
72796 KB |
Output is correct |
121 |
Correct |
109 ms |
73084 KB |
Output is correct |
122 |
Correct |
117 ms |
73044 KB |
Output is correct |
123 |
Correct |
117 ms |
73096 KB |
Output is correct |
124 |
Correct |
122 ms |
72952 KB |
Output is correct |
125 |
Correct |
120 ms |
73044 KB |
Output is correct |
126 |
Correct |
118 ms |
72972 KB |
Output is correct |
127 |
Correct |
115 ms |
73044 KB |
Output is correct |
128 |
Correct |
131 ms |
73096 KB |
Output is correct |
129 |
Correct |
792 ms |
73504 KB |
Output is correct |
130 |
Correct |
805 ms |
73352 KB |
Output is correct |
131 |
Correct |
840 ms |
73580 KB |
Output is correct |
132 |
Correct |
800 ms |
73576 KB |
Output is correct |
133 |
Correct |
903 ms |
73552 KB |
Output is correct |
134 |
Correct |
854 ms |
73580 KB |
Output is correct |
135 |
Correct |
853 ms |
73584 KB |
Output is correct |
136 |
Correct |
817 ms |
73556 KB |
Output is correct |
137 |
Correct |
29 ms |
72788 KB |
Output is correct |
138 |
Correct |
30 ms |
72848 KB |
Output is correct |
139 |
Correct |
29 ms |
72684 KB |
Output is correct |
140 |
Correct |
30 ms |
72788 KB |
Output is correct |
141 |
Correct |
111 ms |
73104 KB |
Output is correct |
142 |
Correct |
122 ms |
73104 KB |
Output is correct |
143 |
Correct |
110 ms |
73044 KB |
Output is correct |
144 |
Correct |
121 ms |
73104 KB |
Output is correct |
145 |
Correct |
120 ms |
73040 KB |
Output is correct |
146 |
Correct |
109 ms |
73080 KB |
Output is correct |
147 |
Correct |
113 ms |
73040 KB |
Output is correct |
148 |
Correct |
849 ms |
73564 KB |
Output is correct |
149 |
Correct |
870 ms |
73592 KB |
Output is correct |
150 |
Correct |
794 ms |
73556 KB |
Output is correct |
151 |
Correct |
899 ms |
73520 KB |
Output is correct |
152 |
Correct |
1008 ms |
73504 KB |
Output is correct |
153 |
Correct |
798 ms |
73556 KB |
Output is correct |
154 |
Correct |
767 ms |
73564 KB |
Output is correct |
155 |
Correct |
54 ms |
72784 KB |
Output is correct |
156 |
Correct |
50 ms |
72860 KB |
Output is correct |
157 |
Correct |
50 ms |
72792 KB |
Output is correct |
158 |
Correct |
53 ms |
72788 KB |
Output is correct |
159 |
Correct |
51 ms |
72796 KB |
Output is correct |
160 |
Correct |
55 ms |
73172 KB |
Output is correct |
161 |
Correct |
51 ms |
72796 KB |
Output is correct |
162 |
Correct |
50 ms |
72784 KB |
Output is correct |
163 |
Correct |
50 ms |
72788 KB |
Output is correct |
164 |
Correct |
122 ms |
73092 KB |
Output is correct |
165 |
Correct |
117 ms |
73040 KB |
Output is correct |
166 |
Correct |
117 ms |
73092 KB |
Output is correct |
167 |
Correct |
119 ms |
73044 KB |
Output is correct |
168 |
Correct |
117 ms |
73096 KB |
Output is correct |
169 |
Correct |
116 ms |
73044 KB |
Output is correct |
170 |
Correct |
56 ms |
72784 KB |
Output is correct |
171 |
Correct |
54 ms |
72928 KB |
Output is correct |
172 |
Correct |
55 ms |
72792 KB |
Output is correct |
173 |
Correct |
60 ms |
72992 KB |
Output is correct |
174 |
Correct |
55 ms |
72796 KB |
Output is correct |
175 |
Correct |
125 ms |
73104 KB |
Output is correct |
176 |
Correct |
131 ms |
73044 KB |
Output is correct |
177 |
Correct |
126 ms |
73104 KB |
Output is correct |
178 |
Correct |
131 ms |
73100 KB |
Output is correct |
179 |
Correct |
911 ms |
73808 KB |
Output is correct |
180 |
Correct |
844 ms |
73580 KB |
Output is correct |
181 |
Correct |
915 ms |
73552 KB |
Output is correct |
182 |
Correct |
899 ms |
73584 KB |
Output is correct |
183 |
Correct |
813 ms |
73552 KB |
Output is correct |
184 |
Correct |
854 ms |
73580 KB |
Output is correct |
185 |
Correct |
1075 ms |
73604 KB |
Output is correct |
186 |
Correct |
1012 ms |
73600 KB |
Output is correct |
187 |
Correct |
1012 ms |
73604 KB |
Output is correct |
188 |
Correct |
970 ms |
73600 KB |
Output is correct |
189 |
Correct |
36 ms |
72836 KB |
Output is correct |
190 |
Correct |
51 ms |
72796 KB |
Output is correct |
191 |
Correct |
62 ms |
73040 KB |
Output is correct |
192 |
Correct |
57 ms |
72784 KB |
Output is correct |
193 |
Correct |
54 ms |
72796 KB |
Output is correct |
194 |
Correct |
53 ms |
72824 KB |
Output is correct |
195 |
Correct |
50 ms |
72792 KB |
Output is correct |
196 |
Correct |
51 ms |
72860 KB |
Output is correct |
197 |
Correct |
53 ms |
72784 KB |
Output is correct |
198 |
Correct |
58 ms |
72788 KB |
Output is correct |
199 |
Correct |
120 ms |
73080 KB |
Output is correct |
200 |
Correct |
127 ms |
72928 KB |
Output is correct |
201 |
Correct |
115 ms |
73096 KB |
Output is correct |
202 |
Correct |
114 ms |
72940 KB |
Output is correct |
203 |
Correct |
133 ms |
73040 KB |
Output is correct |
204 |
Correct |
128 ms |
73300 KB |
Output is correct |
205 |
Correct |
116 ms |
73040 KB |
Output is correct |
206 |
Correct |
121 ms |
73040 KB |
Output is correct |
207 |
Correct |
860 ms |
73556 KB |
Output is correct |
208 |
Correct |
830 ms |
73476 KB |
Output is correct |
209 |
Correct |
857 ms |
73584 KB |
Output is correct |
210 |
Correct |
816 ms |
73556 KB |
Output is correct |
211 |
Correct |
855 ms |
73580 KB |
Output is correct |
212 |
Correct |
860 ms |
73580 KB |
Output is correct |
213 |
Correct |
841 ms |
73580 KB |
Output is correct |
214 |
Correct |
801 ms |
73588 KB |
Output is correct |
215 |
Runtime error |
2 ms |
348 KB |
Execution killed with signal 11 |
216 |
Halted |
0 ms |
0 KB |
- |