#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(a, b) for(int a = 0; a < (b); ++a)
#define st first
#define nd second
#define pb push_back
#define all(a) a.begin(), a.end()
const ll INF=1e18+7;
const ll LIM=8e5+7;
vector<int>V[LIM];
ll dp[LIM], dp2[LIM], A[LIM], B[LIM], l[LIM];
int main() {
ios_base::sync_with_stdio(0); cin.tie(0);
ll n, m;
cin >> n >> m;
rep(i, n) cin >> A[n-i];
rep(i, n+1) cin >> B[i];
ll ans=0;
rep(i, n+1) ans+=B[i];
rep(i, n+1) ans+=A[i];
rep(i, n+1) m+=A[i]*(ll)i;
rep(i, n+1) m-=B[i]*(ll)i;
if(m<0) {
m*=-1;
rep(i, n+1) swap(A[i], B[i]);
}
rep(i, LIM) dp[i]=INF;
dp[0]=0;
int ile=1;
for(ll i=n; i; --i) {
if(m>=LIM/2) {
ll p=m-LIM/2;
p=(p+i-1)/i;
p=min(p, max(A[i]-300/ile, 0ll));
A[i]-=p;
if(A[i]) ++ile;
dp[0]+=p;
m-=p*i;
}
}
if(m>=LIM) {
cout << "impossible\n";
return 0;
}
rep(xd, 2) {
for(ll i=1; i<=n; ++i) if(A[i]) {
rep(j, i) V[j].clear();
rep(j, i) l[j]=0;
rep(j, LIM) {
ll p=j%i;
while(l[p]<V[p].size() && (j-V[p][l[p]])/i>A[i]) ++l[p];
while(V[p].size()>0 && dp[j]<=dp[V[p].back()]+(j-V[p].back())/i) {
V[p].pop_back();
l[p]=min(l[p], (ll)V[p].size());
}
dp2[j]=dp[j];
if(l[p]<V[p].size()) {
dp2[j]=min(dp2[j], dp[V[p][l[p]]]+(j-V[p][l[p]])/i);
}
V[p].pb(j);
}
rep(j, LIM) dp[j]=dp2[j];
}
rep(i, LIM/2) swap(dp[i], dp[LIM-i-1]);
rep(i, n+1) swap(A[i], B[i]);
}
if(dp[m]==INF) {
cout << "impossible\n";
return 0;
}
cout << ans-dp[m] << '\n';
}
Compilation message
vault.cpp: In function 'int main()':
vault.cpp:52:15: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | while(l[p]<V[p].size() && (j-V[p][l[p]])/i>A[i]) ++l[p];
| ~~~~^~~~~~~~~~~~
vault.cpp:58:12: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | if(l[p]<V[p].size()) {
| ~~~~^~~~~~~~~~~~
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
39 ms |
35932 KB |
Output is correct |
2 |
Correct |
30 ms |
35928 KB |
Output is correct |
3 |
Correct |
14 ms |
35928 KB |
Output is correct |
4 |
Correct |
77 ms |
35980 KB |
Output is correct |
5 |
Correct |
5 ms |
29784 KB |
Output is correct |
6 |
Correct |
794 ms |
35928 KB |
Output is correct |
7 |
Correct |
352 ms |
35932 KB |
Output is correct |
8 |
Correct |
783 ms |
35992 KB |
Output is correct |
9 |
Correct |
801 ms |
36564 KB |
Output is correct |
10 |
Correct |
22 ms |
35932 KB |
Output is correct |
11 |
Correct |
44 ms |
35928 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
39 ms |
35932 KB |
Output is correct |
2 |
Correct |
30 ms |
35928 KB |
Output is correct |
3 |
Correct |
14 ms |
35928 KB |
Output is correct |
4 |
Correct |
77 ms |
35980 KB |
Output is correct |
5 |
Correct |
5 ms |
29784 KB |
Output is correct |
6 |
Correct |
794 ms |
35928 KB |
Output is correct |
7 |
Correct |
352 ms |
35932 KB |
Output is correct |
8 |
Correct |
783 ms |
35992 KB |
Output is correct |
9 |
Correct |
801 ms |
36564 KB |
Output is correct |
10 |
Correct |
22 ms |
35932 KB |
Output is correct |
11 |
Correct |
44 ms |
35928 KB |
Output is correct |
12 |
Correct |
35 ms |
35928 KB |
Output is correct |
13 |
Correct |
31 ms |
35928 KB |
Output is correct |
14 |
Correct |
13 ms |
35932 KB |
Output is correct |
15 |
Correct |
79 ms |
35928 KB |
Output is correct |
16 |
Correct |
5 ms |
29788 KB |
Output is correct |
17 |
Correct |
803 ms |
36028 KB |
Output is correct |
18 |
Correct |
356 ms |
35928 KB |
Output is correct |
19 |
Correct |
797 ms |
35996 KB |
Output is correct |
20 |
Correct |
811 ms |
36180 KB |
Output is correct |
21 |
Correct |
25 ms |
35928 KB |
Output is correct |
22 |
Correct |
48 ms |
35984 KB |
Output is correct |
23 |
Correct |
6 ms |
30040 KB |
Output is correct |
24 |
Correct |
1727 ms |
36768 KB |
Output is correct |
25 |
Correct |
674 ms |
36148 KB |
Output is correct |
26 |
Correct |
1740 ms |
37276 KB |
Output is correct |
27 |
Correct |
1745 ms |
37652 KB |
Output is correct |
28 |
Correct |
23 ms |
35932 KB |
Output is correct |
29 |
Correct |
45 ms |
35932 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
81 ms |
35984 KB |
Output is correct |
2 |
Correct |
347 ms |
38652 KB |
Output is correct |
3 |
Correct |
97 ms |
37968 KB |
Output is correct |
4 |
Correct |
329 ms |
42632 KB |
Output is correct |
5 |
Correct |
339 ms |
40280 KB |
Output is correct |
6 |
Correct |
369 ms |
46752 KB |
Output is correct |
7 |
Correct |
26 ms |
36188 KB |
Output is correct |
8 |
Correct |
50 ms |
35980 KB |
Output is correct |
9 |
Correct |
215 ms |
46340 KB |
Output is correct |
10 |
Correct |
235 ms |
39248 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
81 ms |
35984 KB |
Output is correct |
2 |
Correct |
347 ms |
38652 KB |
Output is correct |
3 |
Correct |
97 ms |
37968 KB |
Output is correct |
4 |
Correct |
329 ms |
42632 KB |
Output is correct |
5 |
Correct |
339 ms |
40280 KB |
Output is correct |
6 |
Correct |
369 ms |
46752 KB |
Output is correct |
7 |
Correct |
26 ms |
36188 KB |
Output is correct |
8 |
Correct |
50 ms |
35980 KB |
Output is correct |
9 |
Correct |
215 ms |
46340 KB |
Output is correct |
10 |
Correct |
235 ms |
39248 KB |
Output is correct |
11 |
Correct |
36 ms |
35928 KB |
Output is correct |
12 |
Correct |
29 ms |
35932 KB |
Output is correct |
13 |
Correct |
13 ms |
35932 KB |
Output is correct |
14 |
Correct |
80 ms |
35932 KB |
Output is correct |
15 |
Correct |
318 ms |
38832 KB |
Output is correct |
16 |
Correct |
93 ms |
37968 KB |
Output is correct |
17 |
Correct |
331 ms |
42540 KB |
Output is correct |
18 |
Correct |
339 ms |
40276 KB |
Output is correct |
19 |
Correct |
341 ms |
46772 KB |
Output is correct |
20 |
Correct |
27 ms |
35936 KB |
Output is correct |
21 |
Correct |
46 ms |
35932 KB |
Output is correct |
22 |
Correct |
210 ms |
46368 KB |
Output is correct |
23 |
Correct |
241 ms |
39256 KB |
Output is correct |
24 |
Correct |
525 ms |
39868 KB |
Output is correct |
25 |
Correct |
198 ms |
37788 KB |
Output is correct |
26 |
Correct |
579 ms |
42552 KB |
Output is correct |
27 |
Correct |
544 ms |
41460 KB |
Output is correct |
28 |
Correct |
542 ms |
46640 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
81 ms |
35984 KB |
Output is correct |
2 |
Correct |
347 ms |
38652 KB |
Output is correct |
3 |
Correct |
97 ms |
37968 KB |
Output is correct |
4 |
Correct |
329 ms |
42632 KB |
Output is correct |
5 |
Correct |
339 ms |
40280 KB |
Output is correct |
6 |
Correct |
369 ms |
46752 KB |
Output is correct |
7 |
Correct |
26 ms |
36188 KB |
Output is correct |
8 |
Correct |
50 ms |
35980 KB |
Output is correct |
9 |
Correct |
215 ms |
46340 KB |
Output is correct |
10 |
Correct |
235 ms |
39248 KB |
Output is correct |
11 |
Correct |
76 ms |
35932 KB |
Output is correct |
12 |
Correct |
330 ms |
38864 KB |
Output is correct |
13 |
Correct |
102 ms |
37972 KB |
Output is correct |
14 |
Correct |
334 ms |
42704 KB |
Output is correct |
15 |
Correct |
347 ms |
40284 KB |
Output is correct |
16 |
Correct |
345 ms |
46636 KB |
Output is correct |
17 |
Correct |
27 ms |
35932 KB |
Output is correct |
18 |
Correct |
47 ms |
35932 KB |
Output is correct |
19 |
Correct |
208 ms |
46208 KB |
Output is correct |
20 |
Correct |
231 ms |
39248 KB |
Output is correct |
21 |
Correct |
22 ms |
35928 KB |
Output is correct |
22 |
Correct |
45 ms |
35932 KB |
Output is correct |
23 |
Correct |
553 ms |
40024 KB |
Output is correct |
24 |
Correct |
242 ms |
39764 KB |
Output is correct |
25 |
Correct |
548 ms |
46008 KB |
Output is correct |
26 |
Correct |
567 ms |
43824 KB |
Output is correct |
27 |
Correct |
560 ms |
48432 KB |
Output is correct |
28 |
Correct |
435 ms |
39676 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
39 ms |
35932 KB |
Output is correct |
2 |
Correct |
30 ms |
35928 KB |
Output is correct |
3 |
Correct |
14 ms |
35928 KB |
Output is correct |
4 |
Correct |
77 ms |
35980 KB |
Output is correct |
5 |
Correct |
5 ms |
29784 KB |
Output is correct |
6 |
Correct |
794 ms |
35928 KB |
Output is correct |
7 |
Correct |
352 ms |
35932 KB |
Output is correct |
8 |
Correct |
783 ms |
35992 KB |
Output is correct |
9 |
Correct |
801 ms |
36564 KB |
Output is correct |
10 |
Correct |
22 ms |
35932 KB |
Output is correct |
11 |
Correct |
44 ms |
35928 KB |
Output is correct |
12 |
Correct |
81 ms |
35984 KB |
Output is correct |
13 |
Correct |
347 ms |
38652 KB |
Output is correct |
14 |
Correct |
97 ms |
37968 KB |
Output is correct |
15 |
Correct |
329 ms |
42632 KB |
Output is correct |
16 |
Correct |
339 ms |
40280 KB |
Output is correct |
17 |
Correct |
369 ms |
46752 KB |
Output is correct |
18 |
Correct |
26 ms |
36188 KB |
Output is correct |
19 |
Correct |
50 ms |
35980 KB |
Output is correct |
20 |
Correct |
215 ms |
46340 KB |
Output is correct |
21 |
Correct |
235 ms |
39248 KB |
Output is correct |
22 |
Correct |
36 ms |
35928 KB |
Output is correct |
23 |
Correct |
29 ms |
35932 KB |
Output is correct |
24 |
Correct |
13 ms |
35932 KB |
Output is correct |
25 |
Correct |
80 ms |
35932 KB |
Output is correct |
26 |
Correct |
318 ms |
38832 KB |
Output is correct |
27 |
Correct |
93 ms |
37968 KB |
Output is correct |
28 |
Correct |
331 ms |
42540 KB |
Output is correct |
29 |
Correct |
339 ms |
40276 KB |
Output is correct |
30 |
Correct |
341 ms |
46772 KB |
Output is correct |
31 |
Correct |
27 ms |
35936 KB |
Output is correct |
32 |
Correct |
46 ms |
35932 KB |
Output is correct |
33 |
Correct |
210 ms |
46368 KB |
Output is correct |
34 |
Correct |
241 ms |
39256 KB |
Output is correct |
35 |
Correct |
525 ms |
39868 KB |
Output is correct |
36 |
Correct |
198 ms |
37788 KB |
Output is correct |
37 |
Correct |
579 ms |
42552 KB |
Output is correct |
38 |
Correct |
544 ms |
41460 KB |
Output is correct |
39 |
Correct |
542 ms |
46640 KB |
Output is correct |
40 |
Correct |
76 ms |
35932 KB |
Output is correct |
41 |
Correct |
330 ms |
38864 KB |
Output is correct |
42 |
Correct |
102 ms |
37972 KB |
Output is correct |
43 |
Correct |
334 ms |
42704 KB |
Output is correct |
44 |
Correct |
347 ms |
40284 KB |
Output is correct |
45 |
Correct |
345 ms |
46636 KB |
Output is correct |
46 |
Correct |
27 ms |
35932 KB |
Output is correct |
47 |
Correct |
47 ms |
35932 KB |
Output is correct |
48 |
Correct |
208 ms |
46208 KB |
Output is correct |
49 |
Correct |
231 ms |
39248 KB |
Output is correct |
50 |
Correct |
22 ms |
35928 KB |
Output is correct |
51 |
Correct |
45 ms |
35932 KB |
Output is correct |
52 |
Correct |
553 ms |
40024 KB |
Output is correct |
53 |
Correct |
242 ms |
39764 KB |
Output is correct |
54 |
Correct |
548 ms |
46008 KB |
Output is correct |
55 |
Correct |
567 ms |
43824 KB |
Output is correct |
56 |
Correct |
560 ms |
48432 KB |
Output is correct |
57 |
Correct |
435 ms |
39676 KB |
Output is correct |
58 |
Correct |
35 ms |
35932 KB |
Output is correct |
59 |
Correct |
30 ms |
35932 KB |
Output is correct |
60 |
Correct |
13 ms |
36008 KB |
Output is correct |
61 |
Correct |
80 ms |
35932 KB |
Output is correct |
62 |
Correct |
4 ms |
29788 KB |
Output is correct |
63 |
Correct |
811 ms |
36000 KB |
Output is correct |
64 |
Correct |
363 ms |
35928 KB |
Output is correct |
65 |
Correct |
804 ms |
35932 KB |
Output is correct |
66 |
Correct |
811 ms |
36212 KB |
Output is correct |
67 |
Correct |
22 ms |
35928 KB |
Output is correct |
68 |
Correct |
43 ms |
35928 KB |
Output is correct |
69 |
Correct |
321 ms |
38840 KB |
Output is correct |
70 |
Correct |
98 ms |
37972 KB |
Output is correct |
71 |
Correct |
347 ms |
42604 KB |
Output is correct |
72 |
Correct |
342 ms |
40284 KB |
Output is correct |
73 |
Correct |
348 ms |
46632 KB |
Output is correct |
74 |
Correct |
23 ms |
35928 KB |
Output is correct |
75 |
Correct |
47 ms |
35932 KB |
Output is correct |
76 |
Correct |
218 ms |
46396 KB |
Output is correct |
77 |
Correct |
236 ms |
39248 KB |
Output is correct |
78 |
Correct |
536 ms |
39868 KB |
Output is correct |
79 |
Correct |
203 ms |
37712 KB |
Output is correct |
80 |
Correct |
559 ms |
42552 KB |
Output is correct |
81 |
Correct |
548 ms |
41444 KB |
Output is correct |
82 |
Correct |
567 ms |
46632 KB |
Output is correct |
83 |
Correct |
566 ms |
40208 KB |
Output is correct |
84 |
Correct |
241 ms |
39884 KB |
Output is correct |
85 |
Correct |
571 ms |
46120 KB |
Output is correct |
86 |
Correct |
572 ms |
43872 KB |
Output is correct |
87 |
Correct |
568 ms |
48408 KB |
Output is correct |
88 |
Correct |
427 ms |
39580 KB |
Output is correct |
89 |
Correct |
925 ms |
39464 KB |
Output is correct |
90 |
Correct |
936 ms |
40496 KB |
Output is correct |
91 |
Correct |
924 ms |
45624 KB |
Output is correct |
92 |
Correct |
953 ms |
48608 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
81 ms |
35984 KB |
Output is correct |
2 |
Correct |
347 ms |
38652 KB |
Output is correct |
3 |
Correct |
97 ms |
37968 KB |
Output is correct |
4 |
Correct |
329 ms |
42632 KB |
Output is correct |
5 |
Correct |
339 ms |
40280 KB |
Output is correct |
6 |
Correct |
369 ms |
46752 KB |
Output is correct |
7 |
Correct |
26 ms |
36188 KB |
Output is correct |
8 |
Correct |
50 ms |
35980 KB |
Output is correct |
9 |
Correct |
215 ms |
46340 KB |
Output is correct |
10 |
Correct |
235 ms |
39248 KB |
Output is correct |
11 |
Correct |
76 ms |
35932 KB |
Output is correct |
12 |
Correct |
330 ms |
38864 KB |
Output is correct |
13 |
Correct |
102 ms |
37972 KB |
Output is correct |
14 |
Correct |
334 ms |
42704 KB |
Output is correct |
15 |
Correct |
347 ms |
40284 KB |
Output is correct |
16 |
Correct |
345 ms |
46636 KB |
Output is correct |
17 |
Correct |
27 ms |
35932 KB |
Output is correct |
18 |
Correct |
47 ms |
35932 KB |
Output is correct |
19 |
Correct |
208 ms |
46208 KB |
Output is correct |
20 |
Correct |
231 ms |
39248 KB |
Output is correct |
21 |
Correct |
22 ms |
35928 KB |
Output is correct |
22 |
Correct |
45 ms |
35932 KB |
Output is correct |
23 |
Correct |
553 ms |
40024 KB |
Output is correct |
24 |
Correct |
242 ms |
39764 KB |
Output is correct |
25 |
Correct |
548 ms |
46008 KB |
Output is correct |
26 |
Correct |
567 ms |
43824 KB |
Output is correct |
27 |
Correct |
560 ms |
48432 KB |
Output is correct |
28 |
Correct |
435 ms |
39676 KB |
Output is correct |
29 |
Correct |
85 ms |
36184 KB |
Output is correct |
30 |
Correct |
327 ms |
38752 KB |
Output is correct |
31 |
Correct |
99 ms |
37968 KB |
Output is correct |
32 |
Correct |
341 ms |
42548 KB |
Output is correct |
33 |
Correct |
344 ms |
40272 KB |
Output is correct |
34 |
Correct |
361 ms |
46796 KB |
Output is correct |
35 |
Correct |
25 ms |
35932 KB |
Output is correct |
36 |
Correct |
46 ms |
35928 KB |
Output is correct |
37 |
Correct |
213 ms |
46384 KB |
Output is correct |
38 |
Correct |
239 ms |
39072 KB |
Output is correct |
39 |
Correct |
23 ms |
35928 KB |
Output is correct |
40 |
Correct |
46 ms |
35932 KB |
Output is correct |
41 |
Correct |
573 ms |
40204 KB |
Output is correct |
42 |
Correct |
252 ms |
39812 KB |
Output is correct |
43 |
Correct |
553 ms |
46128 KB |
Output is correct |
44 |
Correct |
581 ms |
43808 KB |
Output is correct |
45 |
Correct |
593 ms |
48420 KB |
Output is correct |
46 |
Correct |
438 ms |
39616 KB |
Output is correct |
47 |
Correct |
25 ms |
35932 KB |
Output is correct |
48 |
Correct |
43 ms |
35932 KB |
Output is correct |
49 |
Correct |
1224 ms |
45560 KB |
Output is correct |
50 |
Correct |
505 ms |
38560 KB |
Output is correct |
51 |
Correct |
1241 ms |
45096 KB |
Output is correct |
52 |
Correct |
1254 ms |
44120 KB |
Output is correct |
53 |
Correct |
1196 ms |
50640 KB |
Output is correct |
54 |
Correct |
1014 ms |
41916 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
39 ms |
35932 KB |
Output is correct |
2 |
Correct |
30 ms |
35928 KB |
Output is correct |
3 |
Correct |
14 ms |
35928 KB |
Output is correct |
4 |
Correct |
77 ms |
35980 KB |
Output is correct |
5 |
Correct |
5 ms |
29784 KB |
Output is correct |
6 |
Correct |
794 ms |
35928 KB |
Output is correct |
7 |
Correct |
352 ms |
35932 KB |
Output is correct |
8 |
Correct |
783 ms |
35992 KB |
Output is correct |
9 |
Correct |
801 ms |
36564 KB |
Output is correct |
10 |
Correct |
22 ms |
35932 KB |
Output is correct |
11 |
Correct |
44 ms |
35928 KB |
Output is correct |
12 |
Correct |
35 ms |
35928 KB |
Output is correct |
13 |
Correct |
31 ms |
35928 KB |
Output is correct |
14 |
Correct |
13 ms |
35932 KB |
Output is correct |
15 |
Correct |
79 ms |
35928 KB |
Output is correct |
16 |
Correct |
5 ms |
29788 KB |
Output is correct |
17 |
Correct |
803 ms |
36028 KB |
Output is correct |
18 |
Correct |
356 ms |
35928 KB |
Output is correct |
19 |
Correct |
797 ms |
35996 KB |
Output is correct |
20 |
Correct |
811 ms |
36180 KB |
Output is correct |
21 |
Correct |
25 ms |
35928 KB |
Output is correct |
22 |
Correct |
48 ms |
35984 KB |
Output is correct |
23 |
Correct |
6 ms |
30040 KB |
Output is correct |
24 |
Correct |
1727 ms |
36768 KB |
Output is correct |
25 |
Correct |
674 ms |
36148 KB |
Output is correct |
26 |
Correct |
1740 ms |
37276 KB |
Output is correct |
27 |
Correct |
1745 ms |
37652 KB |
Output is correct |
28 |
Correct |
23 ms |
35932 KB |
Output is correct |
29 |
Correct |
45 ms |
35932 KB |
Output is correct |
30 |
Correct |
81 ms |
35984 KB |
Output is correct |
31 |
Correct |
347 ms |
38652 KB |
Output is correct |
32 |
Correct |
97 ms |
37968 KB |
Output is correct |
33 |
Correct |
329 ms |
42632 KB |
Output is correct |
34 |
Correct |
339 ms |
40280 KB |
Output is correct |
35 |
Correct |
369 ms |
46752 KB |
Output is correct |
36 |
Correct |
26 ms |
36188 KB |
Output is correct |
37 |
Correct |
50 ms |
35980 KB |
Output is correct |
38 |
Correct |
215 ms |
46340 KB |
Output is correct |
39 |
Correct |
235 ms |
39248 KB |
Output is correct |
40 |
Correct |
36 ms |
35928 KB |
Output is correct |
41 |
Correct |
29 ms |
35932 KB |
Output is correct |
42 |
Correct |
13 ms |
35932 KB |
Output is correct |
43 |
Correct |
80 ms |
35932 KB |
Output is correct |
44 |
Correct |
318 ms |
38832 KB |
Output is correct |
45 |
Correct |
93 ms |
37968 KB |
Output is correct |
46 |
Correct |
331 ms |
42540 KB |
Output is correct |
47 |
Correct |
339 ms |
40276 KB |
Output is correct |
48 |
Correct |
341 ms |
46772 KB |
Output is correct |
49 |
Correct |
27 ms |
35936 KB |
Output is correct |
50 |
Correct |
46 ms |
35932 KB |
Output is correct |
51 |
Correct |
210 ms |
46368 KB |
Output is correct |
52 |
Correct |
241 ms |
39256 KB |
Output is correct |
53 |
Correct |
525 ms |
39868 KB |
Output is correct |
54 |
Correct |
198 ms |
37788 KB |
Output is correct |
55 |
Correct |
579 ms |
42552 KB |
Output is correct |
56 |
Correct |
544 ms |
41460 KB |
Output is correct |
57 |
Correct |
542 ms |
46640 KB |
Output is correct |
58 |
Correct |
76 ms |
35932 KB |
Output is correct |
59 |
Correct |
330 ms |
38864 KB |
Output is correct |
60 |
Correct |
102 ms |
37972 KB |
Output is correct |
61 |
Correct |
334 ms |
42704 KB |
Output is correct |
62 |
Correct |
347 ms |
40284 KB |
Output is correct |
63 |
Correct |
345 ms |
46636 KB |
Output is correct |
64 |
Correct |
27 ms |
35932 KB |
Output is correct |
65 |
Correct |
47 ms |
35932 KB |
Output is correct |
66 |
Correct |
208 ms |
46208 KB |
Output is correct |
67 |
Correct |
231 ms |
39248 KB |
Output is correct |
68 |
Correct |
22 ms |
35928 KB |
Output is correct |
69 |
Correct |
45 ms |
35932 KB |
Output is correct |
70 |
Correct |
553 ms |
40024 KB |
Output is correct |
71 |
Correct |
242 ms |
39764 KB |
Output is correct |
72 |
Correct |
548 ms |
46008 KB |
Output is correct |
73 |
Correct |
567 ms |
43824 KB |
Output is correct |
74 |
Correct |
560 ms |
48432 KB |
Output is correct |
75 |
Correct |
435 ms |
39676 KB |
Output is correct |
76 |
Correct |
35 ms |
35932 KB |
Output is correct |
77 |
Correct |
30 ms |
35932 KB |
Output is correct |
78 |
Correct |
13 ms |
36008 KB |
Output is correct |
79 |
Correct |
80 ms |
35932 KB |
Output is correct |
80 |
Correct |
4 ms |
29788 KB |
Output is correct |
81 |
Correct |
811 ms |
36000 KB |
Output is correct |
82 |
Correct |
363 ms |
35928 KB |
Output is correct |
83 |
Correct |
804 ms |
35932 KB |
Output is correct |
84 |
Correct |
811 ms |
36212 KB |
Output is correct |
85 |
Correct |
22 ms |
35928 KB |
Output is correct |
86 |
Correct |
43 ms |
35928 KB |
Output is correct |
87 |
Correct |
321 ms |
38840 KB |
Output is correct |
88 |
Correct |
98 ms |
37972 KB |
Output is correct |
89 |
Correct |
347 ms |
42604 KB |
Output is correct |
90 |
Correct |
342 ms |
40284 KB |
Output is correct |
91 |
Correct |
348 ms |
46632 KB |
Output is correct |
92 |
Correct |
23 ms |
35928 KB |
Output is correct |
93 |
Correct |
47 ms |
35932 KB |
Output is correct |
94 |
Correct |
218 ms |
46396 KB |
Output is correct |
95 |
Correct |
236 ms |
39248 KB |
Output is correct |
96 |
Correct |
536 ms |
39868 KB |
Output is correct |
97 |
Correct |
203 ms |
37712 KB |
Output is correct |
98 |
Correct |
559 ms |
42552 KB |
Output is correct |
99 |
Correct |
548 ms |
41444 KB |
Output is correct |
100 |
Correct |
567 ms |
46632 KB |
Output is correct |
101 |
Correct |
566 ms |
40208 KB |
Output is correct |
102 |
Correct |
241 ms |
39884 KB |
Output is correct |
103 |
Correct |
571 ms |
46120 KB |
Output is correct |
104 |
Correct |
572 ms |
43872 KB |
Output is correct |
105 |
Correct |
568 ms |
48408 KB |
Output is correct |
106 |
Correct |
427 ms |
39580 KB |
Output is correct |
107 |
Correct |
925 ms |
39464 KB |
Output is correct |
108 |
Correct |
936 ms |
40496 KB |
Output is correct |
109 |
Correct |
924 ms |
45624 KB |
Output is correct |
110 |
Correct |
953 ms |
48608 KB |
Output is correct |
111 |
Correct |
85 ms |
36184 KB |
Output is correct |
112 |
Correct |
327 ms |
38752 KB |
Output is correct |
113 |
Correct |
99 ms |
37968 KB |
Output is correct |
114 |
Correct |
341 ms |
42548 KB |
Output is correct |
115 |
Correct |
344 ms |
40272 KB |
Output is correct |
116 |
Correct |
361 ms |
46796 KB |
Output is correct |
117 |
Correct |
25 ms |
35932 KB |
Output is correct |
118 |
Correct |
46 ms |
35928 KB |
Output is correct |
119 |
Correct |
213 ms |
46384 KB |
Output is correct |
120 |
Correct |
239 ms |
39072 KB |
Output is correct |
121 |
Correct |
23 ms |
35928 KB |
Output is correct |
122 |
Correct |
46 ms |
35932 KB |
Output is correct |
123 |
Correct |
573 ms |
40204 KB |
Output is correct |
124 |
Correct |
252 ms |
39812 KB |
Output is correct |
125 |
Correct |
553 ms |
46128 KB |
Output is correct |
126 |
Correct |
581 ms |
43808 KB |
Output is correct |
127 |
Correct |
593 ms |
48420 KB |
Output is correct |
128 |
Correct |
438 ms |
39616 KB |
Output is correct |
129 |
Correct |
25 ms |
35932 KB |
Output is correct |
130 |
Correct |
43 ms |
35932 KB |
Output is correct |
131 |
Correct |
1224 ms |
45560 KB |
Output is correct |
132 |
Correct |
505 ms |
38560 KB |
Output is correct |
133 |
Correct |
1241 ms |
45096 KB |
Output is correct |
134 |
Correct |
1254 ms |
44120 KB |
Output is correct |
135 |
Correct |
1196 ms |
50640 KB |
Output is correct |
136 |
Correct |
1014 ms |
41916 KB |
Output is correct |
137 |
Correct |
38 ms |
35932 KB |
Output is correct |
138 |
Correct |
31 ms |
36004 KB |
Output is correct |
139 |
Correct |
14 ms |
35932 KB |
Output is correct |
140 |
Correct |
81 ms |
35984 KB |
Output is correct |
141 |
Correct |
4 ms |
29784 KB |
Output is correct |
142 |
Correct |
812 ms |
36256 KB |
Output is correct |
143 |
Correct |
359 ms |
35932 KB |
Output is correct |
144 |
Correct |
822 ms |
35928 KB |
Output is correct |
145 |
Correct |
828 ms |
36180 KB |
Output is correct |
146 |
Correct |
22 ms |
35996 KB |
Output is correct |
147 |
Correct |
45 ms |
35932 KB |
Output is correct |
148 |
Correct |
5 ms |
29788 KB |
Output is correct |
149 |
Correct |
1711 ms |
37016 KB |
Output is correct |
150 |
Correct |
649 ms |
36180 KB |
Output is correct |
151 |
Correct |
1701 ms |
37272 KB |
Output is correct |
152 |
Correct |
1699 ms |
37264 KB |
Output is correct |
153 |
Correct |
21 ms |
36016 KB |
Output is correct |
154 |
Correct |
43 ms |
35988 KB |
Output is correct |
155 |
Correct |
317 ms |
38656 KB |
Output is correct |
156 |
Correct |
94 ms |
38048 KB |
Output is correct |
157 |
Correct |
327 ms |
42552 KB |
Output is correct |
158 |
Correct |
334 ms |
40324 KB |
Output is correct |
159 |
Correct |
339 ms |
46716 KB |
Output is correct |
160 |
Correct |
23 ms |
35928 KB |
Output is correct |
161 |
Correct |
46 ms |
35932 KB |
Output is correct |
162 |
Correct |
203 ms |
46476 KB |
Output is correct |
163 |
Correct |
229 ms |
39252 KB |
Output is correct |
164 |
Correct |
543 ms |
40024 KB |
Output is correct |
165 |
Correct |
234 ms |
39764 KB |
Output is correct |
166 |
Correct |
547 ms |
46124 KB |
Output is correct |
167 |
Correct |
556 ms |
44100 KB |
Output is correct |
168 |
Correct |
567 ms |
48208 KB |
Output is correct |
169 |
Correct |
430 ms |
39688 KB |
Output is correct |
170 |
Correct |
534 ms |
39748 KB |
Output is correct |
171 |
Correct |
201 ms |
37972 KB |
Output is correct |
172 |
Correct |
558 ms |
42612 KB |
Output is correct |
173 |
Correct |
539 ms |
41704 KB |
Output is correct |
174 |
Correct |
548 ms |
46636 KB |
Output is correct |
175 |
Correct |
923 ms |
39580 KB |
Output is correct |
176 |
Correct |
947 ms |
40524 KB |
Output is correct |
177 |
Correct |
928 ms |
45616 KB |
Output is correct |
178 |
Correct |
959 ms |
48308 KB |
Output is correct |
179 |
Correct |
1196 ms |
45732 KB |
Output is correct |
180 |
Correct |
508 ms |
38484 KB |
Output is correct |
181 |
Correct |
1260 ms |
45164 KB |
Output is correct |
182 |
Correct |
1240 ms |
44156 KB |
Output is correct |
183 |
Correct |
1130 ms |
50548 KB |
Output is correct |
184 |
Correct |
975 ms |
41908 KB |
Output is correct |
185 |
Correct |
1862 ms |
42152 KB |
Output is correct |
186 |
Correct |
1926 ms |
43132 KB |
Output is correct |
187 |
Correct |
1886 ms |
48188 KB |
Output is correct |
188 |
Correct |
1878 ms |
50472 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
81 ms |
35984 KB |
Output is correct |
2 |
Correct |
347 ms |
38652 KB |
Output is correct |
3 |
Correct |
97 ms |
37968 KB |
Output is correct |
4 |
Correct |
329 ms |
42632 KB |
Output is correct |
5 |
Correct |
339 ms |
40280 KB |
Output is correct |
6 |
Correct |
369 ms |
46752 KB |
Output is correct |
7 |
Correct |
26 ms |
36188 KB |
Output is correct |
8 |
Correct |
50 ms |
35980 KB |
Output is correct |
9 |
Correct |
215 ms |
46340 KB |
Output is correct |
10 |
Correct |
235 ms |
39248 KB |
Output is correct |
11 |
Correct |
76 ms |
35932 KB |
Output is correct |
12 |
Correct |
330 ms |
38864 KB |
Output is correct |
13 |
Correct |
102 ms |
37972 KB |
Output is correct |
14 |
Correct |
334 ms |
42704 KB |
Output is correct |
15 |
Correct |
347 ms |
40284 KB |
Output is correct |
16 |
Correct |
345 ms |
46636 KB |
Output is correct |
17 |
Correct |
27 ms |
35932 KB |
Output is correct |
18 |
Correct |
47 ms |
35932 KB |
Output is correct |
19 |
Correct |
208 ms |
46208 KB |
Output is correct |
20 |
Correct |
231 ms |
39248 KB |
Output is correct |
21 |
Correct |
22 ms |
35928 KB |
Output is correct |
22 |
Correct |
45 ms |
35932 KB |
Output is correct |
23 |
Correct |
553 ms |
40024 KB |
Output is correct |
24 |
Correct |
242 ms |
39764 KB |
Output is correct |
25 |
Correct |
548 ms |
46008 KB |
Output is correct |
26 |
Correct |
567 ms |
43824 KB |
Output is correct |
27 |
Correct |
560 ms |
48432 KB |
Output is correct |
28 |
Correct |
435 ms |
39676 KB |
Output is correct |
29 |
Correct |
85 ms |
36184 KB |
Output is correct |
30 |
Correct |
327 ms |
38752 KB |
Output is correct |
31 |
Correct |
99 ms |
37968 KB |
Output is correct |
32 |
Correct |
341 ms |
42548 KB |
Output is correct |
33 |
Correct |
344 ms |
40272 KB |
Output is correct |
34 |
Correct |
361 ms |
46796 KB |
Output is correct |
35 |
Correct |
25 ms |
35932 KB |
Output is correct |
36 |
Correct |
46 ms |
35928 KB |
Output is correct |
37 |
Correct |
213 ms |
46384 KB |
Output is correct |
38 |
Correct |
239 ms |
39072 KB |
Output is correct |
39 |
Correct |
23 ms |
35928 KB |
Output is correct |
40 |
Correct |
46 ms |
35932 KB |
Output is correct |
41 |
Correct |
573 ms |
40204 KB |
Output is correct |
42 |
Correct |
252 ms |
39812 KB |
Output is correct |
43 |
Correct |
553 ms |
46128 KB |
Output is correct |
44 |
Correct |
581 ms |
43808 KB |
Output is correct |
45 |
Correct |
593 ms |
48420 KB |
Output is correct |
46 |
Correct |
438 ms |
39616 KB |
Output is correct |
47 |
Correct |
25 ms |
35932 KB |
Output is correct |
48 |
Correct |
43 ms |
35932 KB |
Output is correct |
49 |
Correct |
1224 ms |
45560 KB |
Output is correct |
50 |
Correct |
505 ms |
38560 KB |
Output is correct |
51 |
Correct |
1241 ms |
45096 KB |
Output is correct |
52 |
Correct |
1254 ms |
44120 KB |
Output is correct |
53 |
Correct |
1196 ms |
50640 KB |
Output is correct |
54 |
Correct |
1014 ms |
41916 KB |
Output is correct |
55 |
Correct |
78 ms |
35928 KB |
Output is correct |
56 |
Correct |
328 ms |
38848 KB |
Output is correct |
57 |
Correct |
96 ms |
37972 KB |
Output is correct |
58 |
Correct |
334 ms |
42632 KB |
Output is correct |
59 |
Correct |
342 ms |
40088 KB |
Output is correct |
60 |
Correct |
354 ms |
46712 KB |
Output is correct |
61 |
Correct |
23 ms |
35932 KB |
Output is correct |
62 |
Correct |
49 ms |
36004 KB |
Output is correct |
63 |
Correct |
212 ms |
46380 KB |
Output is correct |
64 |
Correct |
235 ms |
39248 KB |
Output is correct |
65 |
Correct |
22 ms |
35932 KB |
Output is correct |
66 |
Correct |
50 ms |
35928 KB |
Output is correct |
67 |
Correct |
557 ms |
40204 KB |
Output is correct |
68 |
Correct |
259 ms |
39764 KB |
Output is correct |
69 |
Correct |
553 ms |
46116 KB |
Output is correct |
70 |
Correct |
565 ms |
43916 KB |
Output is correct |
71 |
Correct |
561 ms |
48432 KB |
Output is correct |
72 |
Correct |
425 ms |
39616 KB |
Output is correct |
73 |
Correct |
21 ms |
35928 KB |
Output is correct |
74 |
Correct |
43 ms |
35928 KB |
Output is correct |
75 |
Correct |
1130 ms |
45616 KB |
Output is correct |
76 |
Correct |
477 ms |
38484 KB |
Output is correct |
77 |
Correct |
1155 ms |
45092 KB |
Output is correct |
78 |
Correct |
1179 ms |
44024 KB |
Output is correct |
79 |
Correct |
1137 ms |
50472 KB |
Output is correct |
80 |
Correct |
989 ms |
41908 KB |
Output is correct |
81 |
Correct |
3601 ms |
39908 KB |
Output is correct |
82 |
Correct |
1636 ms |
39252 KB |
Output is correct |
83 |
Correct |
3649 ms |
44084 KB |
Output is correct |
84 |
Incorrect |
3604 ms |
45740 KB |
Output isn't correct |
85 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
39 ms |
35932 KB |
Output is correct |
2 |
Correct |
30 ms |
35928 KB |
Output is correct |
3 |
Correct |
14 ms |
35928 KB |
Output is correct |
4 |
Correct |
77 ms |
35980 KB |
Output is correct |
5 |
Correct |
5 ms |
29784 KB |
Output is correct |
6 |
Correct |
794 ms |
35928 KB |
Output is correct |
7 |
Correct |
352 ms |
35932 KB |
Output is correct |
8 |
Correct |
783 ms |
35992 KB |
Output is correct |
9 |
Correct |
801 ms |
36564 KB |
Output is correct |
10 |
Correct |
22 ms |
35932 KB |
Output is correct |
11 |
Correct |
44 ms |
35928 KB |
Output is correct |
12 |
Correct |
35 ms |
35928 KB |
Output is correct |
13 |
Correct |
31 ms |
35928 KB |
Output is correct |
14 |
Correct |
13 ms |
35932 KB |
Output is correct |
15 |
Correct |
79 ms |
35928 KB |
Output is correct |
16 |
Correct |
5 ms |
29788 KB |
Output is correct |
17 |
Correct |
803 ms |
36028 KB |
Output is correct |
18 |
Correct |
356 ms |
35928 KB |
Output is correct |
19 |
Correct |
797 ms |
35996 KB |
Output is correct |
20 |
Correct |
811 ms |
36180 KB |
Output is correct |
21 |
Correct |
25 ms |
35928 KB |
Output is correct |
22 |
Correct |
48 ms |
35984 KB |
Output is correct |
23 |
Correct |
6 ms |
30040 KB |
Output is correct |
24 |
Correct |
1727 ms |
36768 KB |
Output is correct |
25 |
Correct |
674 ms |
36148 KB |
Output is correct |
26 |
Correct |
1740 ms |
37276 KB |
Output is correct |
27 |
Correct |
1745 ms |
37652 KB |
Output is correct |
28 |
Correct |
23 ms |
35932 KB |
Output is correct |
29 |
Correct |
45 ms |
35932 KB |
Output is correct |
30 |
Correct |
81 ms |
35984 KB |
Output is correct |
31 |
Correct |
347 ms |
38652 KB |
Output is correct |
32 |
Correct |
97 ms |
37968 KB |
Output is correct |
33 |
Correct |
329 ms |
42632 KB |
Output is correct |
34 |
Correct |
339 ms |
40280 KB |
Output is correct |
35 |
Correct |
369 ms |
46752 KB |
Output is correct |
36 |
Correct |
26 ms |
36188 KB |
Output is correct |
37 |
Correct |
50 ms |
35980 KB |
Output is correct |
38 |
Correct |
215 ms |
46340 KB |
Output is correct |
39 |
Correct |
235 ms |
39248 KB |
Output is correct |
40 |
Correct |
36 ms |
35928 KB |
Output is correct |
41 |
Correct |
29 ms |
35932 KB |
Output is correct |
42 |
Correct |
13 ms |
35932 KB |
Output is correct |
43 |
Correct |
80 ms |
35932 KB |
Output is correct |
44 |
Correct |
318 ms |
38832 KB |
Output is correct |
45 |
Correct |
93 ms |
37968 KB |
Output is correct |
46 |
Correct |
331 ms |
42540 KB |
Output is correct |
47 |
Correct |
339 ms |
40276 KB |
Output is correct |
48 |
Correct |
341 ms |
46772 KB |
Output is correct |
49 |
Correct |
27 ms |
35936 KB |
Output is correct |
50 |
Correct |
46 ms |
35932 KB |
Output is correct |
51 |
Correct |
210 ms |
46368 KB |
Output is correct |
52 |
Correct |
241 ms |
39256 KB |
Output is correct |
53 |
Correct |
525 ms |
39868 KB |
Output is correct |
54 |
Correct |
198 ms |
37788 KB |
Output is correct |
55 |
Correct |
579 ms |
42552 KB |
Output is correct |
56 |
Correct |
544 ms |
41460 KB |
Output is correct |
57 |
Correct |
542 ms |
46640 KB |
Output is correct |
58 |
Correct |
76 ms |
35932 KB |
Output is correct |
59 |
Correct |
330 ms |
38864 KB |
Output is correct |
60 |
Correct |
102 ms |
37972 KB |
Output is correct |
61 |
Correct |
334 ms |
42704 KB |
Output is correct |
62 |
Correct |
347 ms |
40284 KB |
Output is correct |
63 |
Correct |
345 ms |
46636 KB |
Output is correct |
64 |
Correct |
27 ms |
35932 KB |
Output is correct |
65 |
Correct |
47 ms |
35932 KB |
Output is correct |
66 |
Correct |
208 ms |
46208 KB |
Output is correct |
67 |
Correct |
231 ms |
39248 KB |
Output is correct |
68 |
Correct |
22 ms |
35928 KB |
Output is correct |
69 |
Correct |
45 ms |
35932 KB |
Output is correct |
70 |
Correct |
553 ms |
40024 KB |
Output is correct |
71 |
Correct |
242 ms |
39764 KB |
Output is correct |
72 |
Correct |
548 ms |
46008 KB |
Output is correct |
73 |
Correct |
567 ms |
43824 KB |
Output is correct |
74 |
Correct |
560 ms |
48432 KB |
Output is correct |
75 |
Correct |
435 ms |
39676 KB |
Output is correct |
76 |
Correct |
35 ms |
35932 KB |
Output is correct |
77 |
Correct |
30 ms |
35932 KB |
Output is correct |
78 |
Correct |
13 ms |
36008 KB |
Output is correct |
79 |
Correct |
80 ms |
35932 KB |
Output is correct |
80 |
Correct |
4 ms |
29788 KB |
Output is correct |
81 |
Correct |
811 ms |
36000 KB |
Output is correct |
82 |
Correct |
363 ms |
35928 KB |
Output is correct |
83 |
Correct |
804 ms |
35932 KB |
Output is correct |
84 |
Correct |
811 ms |
36212 KB |
Output is correct |
85 |
Correct |
22 ms |
35928 KB |
Output is correct |
86 |
Correct |
43 ms |
35928 KB |
Output is correct |
87 |
Correct |
321 ms |
38840 KB |
Output is correct |
88 |
Correct |
98 ms |
37972 KB |
Output is correct |
89 |
Correct |
347 ms |
42604 KB |
Output is correct |
90 |
Correct |
342 ms |
40284 KB |
Output is correct |
91 |
Correct |
348 ms |
46632 KB |
Output is correct |
92 |
Correct |
23 ms |
35928 KB |
Output is correct |
93 |
Correct |
47 ms |
35932 KB |
Output is correct |
94 |
Correct |
218 ms |
46396 KB |
Output is correct |
95 |
Correct |
236 ms |
39248 KB |
Output is correct |
96 |
Correct |
536 ms |
39868 KB |
Output is correct |
97 |
Correct |
203 ms |
37712 KB |
Output is correct |
98 |
Correct |
559 ms |
42552 KB |
Output is correct |
99 |
Correct |
548 ms |
41444 KB |
Output is correct |
100 |
Correct |
567 ms |
46632 KB |
Output is correct |
101 |
Correct |
566 ms |
40208 KB |
Output is correct |
102 |
Correct |
241 ms |
39884 KB |
Output is correct |
103 |
Correct |
571 ms |
46120 KB |
Output is correct |
104 |
Correct |
572 ms |
43872 KB |
Output is correct |
105 |
Correct |
568 ms |
48408 KB |
Output is correct |
106 |
Correct |
427 ms |
39580 KB |
Output is correct |
107 |
Correct |
925 ms |
39464 KB |
Output is correct |
108 |
Correct |
936 ms |
40496 KB |
Output is correct |
109 |
Correct |
924 ms |
45624 KB |
Output is correct |
110 |
Correct |
953 ms |
48608 KB |
Output is correct |
111 |
Correct |
85 ms |
36184 KB |
Output is correct |
112 |
Correct |
327 ms |
38752 KB |
Output is correct |
113 |
Correct |
99 ms |
37968 KB |
Output is correct |
114 |
Correct |
341 ms |
42548 KB |
Output is correct |
115 |
Correct |
344 ms |
40272 KB |
Output is correct |
116 |
Correct |
361 ms |
46796 KB |
Output is correct |
117 |
Correct |
25 ms |
35932 KB |
Output is correct |
118 |
Correct |
46 ms |
35928 KB |
Output is correct |
119 |
Correct |
213 ms |
46384 KB |
Output is correct |
120 |
Correct |
239 ms |
39072 KB |
Output is correct |
121 |
Correct |
23 ms |
35928 KB |
Output is correct |
122 |
Correct |
46 ms |
35932 KB |
Output is correct |
123 |
Correct |
573 ms |
40204 KB |
Output is correct |
124 |
Correct |
252 ms |
39812 KB |
Output is correct |
125 |
Correct |
553 ms |
46128 KB |
Output is correct |
126 |
Correct |
581 ms |
43808 KB |
Output is correct |
127 |
Correct |
593 ms |
48420 KB |
Output is correct |
128 |
Correct |
438 ms |
39616 KB |
Output is correct |
129 |
Correct |
25 ms |
35932 KB |
Output is correct |
130 |
Correct |
43 ms |
35932 KB |
Output is correct |
131 |
Correct |
1224 ms |
45560 KB |
Output is correct |
132 |
Correct |
505 ms |
38560 KB |
Output is correct |
133 |
Correct |
1241 ms |
45096 KB |
Output is correct |
134 |
Correct |
1254 ms |
44120 KB |
Output is correct |
135 |
Correct |
1196 ms |
50640 KB |
Output is correct |
136 |
Correct |
1014 ms |
41916 KB |
Output is correct |
137 |
Correct |
38 ms |
35932 KB |
Output is correct |
138 |
Correct |
31 ms |
36004 KB |
Output is correct |
139 |
Correct |
14 ms |
35932 KB |
Output is correct |
140 |
Correct |
81 ms |
35984 KB |
Output is correct |
141 |
Correct |
4 ms |
29784 KB |
Output is correct |
142 |
Correct |
812 ms |
36256 KB |
Output is correct |
143 |
Correct |
359 ms |
35932 KB |
Output is correct |
144 |
Correct |
822 ms |
35928 KB |
Output is correct |
145 |
Correct |
828 ms |
36180 KB |
Output is correct |
146 |
Correct |
22 ms |
35996 KB |
Output is correct |
147 |
Correct |
45 ms |
35932 KB |
Output is correct |
148 |
Correct |
5 ms |
29788 KB |
Output is correct |
149 |
Correct |
1711 ms |
37016 KB |
Output is correct |
150 |
Correct |
649 ms |
36180 KB |
Output is correct |
151 |
Correct |
1701 ms |
37272 KB |
Output is correct |
152 |
Correct |
1699 ms |
37264 KB |
Output is correct |
153 |
Correct |
21 ms |
36016 KB |
Output is correct |
154 |
Correct |
43 ms |
35988 KB |
Output is correct |
155 |
Correct |
317 ms |
38656 KB |
Output is correct |
156 |
Correct |
94 ms |
38048 KB |
Output is correct |
157 |
Correct |
327 ms |
42552 KB |
Output is correct |
158 |
Correct |
334 ms |
40324 KB |
Output is correct |
159 |
Correct |
339 ms |
46716 KB |
Output is correct |
160 |
Correct |
23 ms |
35928 KB |
Output is correct |
161 |
Correct |
46 ms |
35932 KB |
Output is correct |
162 |
Correct |
203 ms |
46476 KB |
Output is correct |
163 |
Correct |
229 ms |
39252 KB |
Output is correct |
164 |
Correct |
543 ms |
40024 KB |
Output is correct |
165 |
Correct |
234 ms |
39764 KB |
Output is correct |
166 |
Correct |
547 ms |
46124 KB |
Output is correct |
167 |
Correct |
556 ms |
44100 KB |
Output is correct |
168 |
Correct |
567 ms |
48208 KB |
Output is correct |
169 |
Correct |
430 ms |
39688 KB |
Output is correct |
170 |
Correct |
534 ms |
39748 KB |
Output is correct |
171 |
Correct |
201 ms |
37972 KB |
Output is correct |
172 |
Correct |
558 ms |
42612 KB |
Output is correct |
173 |
Correct |
539 ms |
41704 KB |
Output is correct |
174 |
Correct |
548 ms |
46636 KB |
Output is correct |
175 |
Correct |
923 ms |
39580 KB |
Output is correct |
176 |
Correct |
947 ms |
40524 KB |
Output is correct |
177 |
Correct |
928 ms |
45616 KB |
Output is correct |
178 |
Correct |
959 ms |
48308 KB |
Output is correct |
179 |
Correct |
1196 ms |
45732 KB |
Output is correct |
180 |
Correct |
508 ms |
38484 KB |
Output is correct |
181 |
Correct |
1260 ms |
45164 KB |
Output is correct |
182 |
Correct |
1240 ms |
44156 KB |
Output is correct |
183 |
Correct |
1130 ms |
50548 KB |
Output is correct |
184 |
Correct |
975 ms |
41908 KB |
Output is correct |
185 |
Correct |
1862 ms |
42152 KB |
Output is correct |
186 |
Correct |
1926 ms |
43132 KB |
Output is correct |
187 |
Correct |
1886 ms |
48188 KB |
Output is correct |
188 |
Correct |
1878 ms |
50472 KB |
Output is correct |
189 |
Correct |
78 ms |
35928 KB |
Output is correct |
190 |
Correct |
328 ms |
38848 KB |
Output is correct |
191 |
Correct |
96 ms |
37972 KB |
Output is correct |
192 |
Correct |
334 ms |
42632 KB |
Output is correct |
193 |
Correct |
342 ms |
40088 KB |
Output is correct |
194 |
Correct |
354 ms |
46712 KB |
Output is correct |
195 |
Correct |
23 ms |
35932 KB |
Output is correct |
196 |
Correct |
49 ms |
36004 KB |
Output is correct |
197 |
Correct |
212 ms |
46380 KB |
Output is correct |
198 |
Correct |
235 ms |
39248 KB |
Output is correct |
199 |
Correct |
22 ms |
35932 KB |
Output is correct |
200 |
Correct |
50 ms |
35928 KB |
Output is correct |
201 |
Correct |
557 ms |
40204 KB |
Output is correct |
202 |
Correct |
259 ms |
39764 KB |
Output is correct |
203 |
Correct |
553 ms |
46116 KB |
Output is correct |
204 |
Correct |
565 ms |
43916 KB |
Output is correct |
205 |
Correct |
561 ms |
48432 KB |
Output is correct |
206 |
Correct |
425 ms |
39616 KB |
Output is correct |
207 |
Correct |
21 ms |
35928 KB |
Output is correct |
208 |
Correct |
43 ms |
35928 KB |
Output is correct |
209 |
Correct |
1130 ms |
45616 KB |
Output is correct |
210 |
Correct |
477 ms |
38484 KB |
Output is correct |
211 |
Correct |
1155 ms |
45092 KB |
Output is correct |
212 |
Correct |
1179 ms |
44024 KB |
Output is correct |
213 |
Correct |
1137 ms |
50472 KB |
Output is correct |
214 |
Correct |
989 ms |
41908 KB |
Output is correct |
215 |
Correct |
3601 ms |
39908 KB |
Output is correct |
216 |
Correct |
1636 ms |
39252 KB |
Output is correct |
217 |
Correct |
3649 ms |
44084 KB |
Output is correct |
218 |
Incorrect |
3604 ms |
45740 KB |
Output isn't correct |
219 |
Halted |
0 ms |
0 KB |
- |