#define DEBUG 0
#include <bits/stdc++.h>
using namespace std;
#if DEBUG
// basic debugging macros
int __i__,__j__;
#define printLine(l) for(__i__=0;__i__<l;__i__++){cout<<"-";}cout<<endl
#define printLine2(l,c) for(__i__=0;__i__<l;__i__++){cout<<c;}cout<<endl
#define printVar(n) cout<<#n<<": "<<n<<endl
#define printArr(a,l) cout<<#a<<": ";for(__i__=0;__i__<l;__i__++){cout<<a[__i__]<<" ";}cout<<endl
#define print2dArr(a,r,c) cout<<#a<<":\n";for(__i__=0;__i__<r;__i__++){for(__j__=0;__j__<c;__j__++){cout<<a[__i__][__j__]<<" ";}cout<<endl;}
#define print2dArr2(a,r,c,l) cout<<#a<<":\n";for(__i__=0;__i__<r;__i__++){for(__j__=0;__j__<c;__j__++){cout<<setw(l)<<setfill(' ')<<a[__i__][__j__]<<" ";}cout<<endl;}
// advanced debugging class
// debug 1,2,'A',"test";
class _Debug {
public:
template<typename T>
_Debug& operator,(T val) {
cout << val << endl;
return *this;
}
};
#define debug _Debug(),
#else
#define printLine(l)
#define printLine2(l,c)
#define printVar(n)
#define printArr(a,l)
#define print2dArr(a,r,c)
#define print2dArr2(a,r,c,l)
#define debug
#endif
// define
#define MAX_VAL 999999999
#define MAX_VAL_2 999999999999999999LL
#define EPS 1e-6
#define mp make_pair
#define pb push_back
// typedef
typedef unsigned int UI;
typedef long long int LLI;
typedef unsigned long long int ULLI;
typedef unsigned short int US;
typedef pair<int,int> pii;
typedef pair<LLI,LLI> plli;
typedef vector<int> vi;
typedef vector<LLI> vlli;
typedef vector<pii> vpii;
typedef vector<plli> vplli;
// ---------- END OF TEMPLATE ----------
LLI _A[601],*A = _A+300;
LLI _curr[601],*curr = _curr+300;
vpii poss;
int _dp[200001],*dp = _dp+100000;
int main() {
int i;
int M;
LLI L;
scanf("%d %lld",&M,&L);
for (i = -M; i <= M; i++) scanf("%lld",&A[i]);
LLI s1 = 0,s2 = 0,ans = 0;
for (i = 1; i <= M; i++) s1 += i*A[i];
for (i = -M; i <= -1; i++) s2 += i*A[i];
if ((L > s1) || (L < s2)) {
printf("impossible\n");
return 0;
}
LLI s = 0;
if (L >= s1+s2) {
for (i = 0; i <= M; i++) curr[i] = A[i],s += i*A[i];
for (i = -1; i >= -M; i--) curr[i] = min((s-L)/(-i),A[i]),s += i*curr[i];
}
else {
for (i = 0; i >= -M; i--) curr[i] = A[i],s += i*A[i];
for (i = 1; i <= M; i++) curr[i] = min((L-s)/i,A[i]),s += i*curr[i];
}
L -= s;
for (i = -M; i <= M; i++) {
ans += curr[i];
if (i != 0) {
int t = min(curr[i],(LLI) M);
if (t > 0) {
int k = 1;
while (t > k) t -= k,poss.pb(mp(-k*i,-k)),k *= 2;
poss.pb(mp(-t*i,-t));
}
t = min(A[i]-curr[i],(LLI) M);
if (t > 0) {
int k = 1;
while (t > k) t -= k,poss.pb(mp(k*i,k)),k *= 2;
poss.pb(mp(t*i,t));
}
}
}
random_shuffle(poss.begin(),poss.end());
int B = 30000;
fill(dp-B,dp+B+1,-1e9),dp[0] = 0;
for (auto [c,v]: poss) {
if (c > 0) {
for (i = B; i >= -B+c; i--) dp[i] = max(dp[i],dp[i-c]+v);
}
else {
for (i = -B; i <= B+c; i++) dp[i] = max(dp[i],dp[i-c]+v);
}
}
if (dp[L] < -1e8) printf("impossible\n");
else printf("%lld\n",ans+dp[L]);
return 0;
}
Compilation message
vault.cpp: In function 'int main()':
vault.cpp:66:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
66 | scanf("%d %lld",&M,&L);
| ~~~~~^~~~~~~~~~~~~~~~~
vault.cpp:67:36: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
67 | for (i = -M; i <= M; i++) scanf("%lld",&A[i]);
| ~~~~~^~~~~~~~~~~~~~
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
468 KB |
Output is correct |
2 |
Correct |
1 ms |
468 KB |
Output is correct |
3 |
Correct |
1 ms |
468 KB |
Output is correct |
4 |
Correct |
2 ms |
468 KB |
Output is correct |
5 |
Correct |
0 ms |
212 KB |
Output is correct |
6 |
Correct |
25 ms |
468 KB |
Output is correct |
7 |
Correct |
12 ms |
468 KB |
Output is correct |
8 |
Correct |
25 ms |
468 KB |
Output is correct |
9 |
Correct |
30 ms |
468 KB |
Output is correct |
10 |
Correct |
1 ms |
468 KB |
Output is correct |
11 |
Correct |
2 ms |
468 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
468 KB |
Output is correct |
2 |
Correct |
1 ms |
468 KB |
Output is correct |
3 |
Correct |
1 ms |
468 KB |
Output is correct |
4 |
Correct |
2 ms |
468 KB |
Output is correct |
5 |
Correct |
0 ms |
212 KB |
Output is correct |
6 |
Correct |
25 ms |
468 KB |
Output is correct |
7 |
Correct |
12 ms |
468 KB |
Output is correct |
8 |
Correct |
25 ms |
468 KB |
Output is correct |
9 |
Correct |
30 ms |
468 KB |
Output is correct |
10 |
Correct |
1 ms |
468 KB |
Output is correct |
11 |
Correct |
2 ms |
468 KB |
Output is correct |
12 |
Correct |
1 ms |
468 KB |
Output is correct |
13 |
Correct |
1 ms |
468 KB |
Output is correct |
14 |
Correct |
0 ms |
468 KB |
Output is correct |
15 |
Correct |
2 ms |
468 KB |
Output is correct |
16 |
Correct |
0 ms |
212 KB |
Output is correct |
17 |
Correct |
25 ms |
468 KB |
Output is correct |
18 |
Correct |
13 ms |
560 KB |
Output is correct |
19 |
Correct |
26 ms |
564 KB |
Output is correct |
20 |
Correct |
29 ms |
568 KB |
Output is correct |
21 |
Correct |
1 ms |
468 KB |
Output is correct |
22 |
Correct |
2 ms |
468 KB |
Output is correct |
23 |
Correct |
0 ms |
212 KB |
Output is correct |
24 |
Correct |
58 ms |
564 KB |
Output is correct |
25 |
Correct |
21 ms |
468 KB |
Output is correct |
26 |
Correct |
68 ms |
584 KB |
Output is correct |
27 |
Correct |
69 ms |
564 KB |
Output is correct |
28 |
Correct |
1 ms |
468 KB |
Output is correct |
29 |
Correct |
2 ms |
468 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
468 KB |
Output is correct |
2 |
Correct |
7 ms |
468 KB |
Output is correct |
3 |
Correct |
2 ms |
468 KB |
Output is correct |
4 |
Correct |
8 ms |
468 KB |
Output is correct |
5 |
Correct |
8 ms |
556 KB |
Output is correct |
6 |
Correct |
7 ms |
468 KB |
Output is correct |
7 |
Correct |
1 ms |
468 KB |
Output is correct |
8 |
Correct |
2 ms |
468 KB |
Output is correct |
9 |
Correct |
6 ms |
556 KB |
Output is correct |
10 |
Correct |
6 ms |
468 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
468 KB |
Output is correct |
2 |
Correct |
7 ms |
468 KB |
Output is correct |
3 |
Correct |
2 ms |
468 KB |
Output is correct |
4 |
Correct |
8 ms |
468 KB |
Output is correct |
5 |
Correct |
8 ms |
556 KB |
Output is correct |
6 |
Correct |
7 ms |
468 KB |
Output is correct |
7 |
Correct |
1 ms |
468 KB |
Output is correct |
8 |
Correct |
2 ms |
468 KB |
Output is correct |
9 |
Correct |
6 ms |
556 KB |
Output is correct |
10 |
Correct |
6 ms |
468 KB |
Output is correct |
11 |
Correct |
1 ms |
468 KB |
Output is correct |
12 |
Correct |
1 ms |
468 KB |
Output is correct |
13 |
Correct |
1 ms |
468 KB |
Output is correct |
14 |
Correct |
2 ms |
468 KB |
Output is correct |
15 |
Correct |
7 ms |
556 KB |
Output is correct |
16 |
Correct |
3 ms |
468 KB |
Output is correct |
17 |
Correct |
8 ms |
468 KB |
Output is correct |
18 |
Correct |
8 ms |
468 KB |
Output is correct |
19 |
Correct |
7 ms |
468 KB |
Output is correct |
20 |
Correct |
1 ms |
468 KB |
Output is correct |
21 |
Correct |
1 ms |
468 KB |
Output is correct |
22 |
Correct |
4 ms |
468 KB |
Output is correct |
23 |
Correct |
5 ms |
468 KB |
Output is correct |
24 |
Correct |
13 ms |
564 KB |
Output is correct |
25 |
Correct |
6 ms |
468 KB |
Output is correct |
26 |
Correct |
16 ms |
560 KB |
Output is correct |
27 |
Correct |
13 ms |
564 KB |
Output is correct |
28 |
Correct |
13 ms |
468 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
468 KB |
Output is correct |
2 |
Correct |
7 ms |
468 KB |
Output is correct |
3 |
Correct |
2 ms |
468 KB |
Output is correct |
4 |
Correct |
8 ms |
468 KB |
Output is correct |
5 |
Correct |
8 ms |
556 KB |
Output is correct |
6 |
Correct |
7 ms |
468 KB |
Output is correct |
7 |
Correct |
1 ms |
468 KB |
Output is correct |
8 |
Correct |
2 ms |
468 KB |
Output is correct |
9 |
Correct |
6 ms |
556 KB |
Output is correct |
10 |
Correct |
6 ms |
468 KB |
Output is correct |
11 |
Correct |
2 ms |
468 KB |
Output is correct |
12 |
Correct |
7 ms |
468 KB |
Output is correct |
13 |
Correct |
2 ms |
468 KB |
Output is correct |
14 |
Correct |
7 ms |
468 KB |
Output is correct |
15 |
Correct |
8 ms |
560 KB |
Output is correct |
16 |
Correct |
7 ms |
560 KB |
Output is correct |
17 |
Correct |
1 ms |
468 KB |
Output is correct |
18 |
Correct |
2 ms |
468 KB |
Output is correct |
19 |
Correct |
4 ms |
468 KB |
Output is correct |
20 |
Correct |
5 ms |
468 KB |
Output is correct |
21 |
Correct |
1 ms |
468 KB |
Output is correct |
22 |
Correct |
2 ms |
468 KB |
Output is correct |
23 |
Correct |
13 ms |
468 KB |
Output is correct |
24 |
Correct |
6 ms |
556 KB |
Output is correct |
25 |
Correct |
15 ms |
560 KB |
Output is correct |
26 |
Correct |
16 ms |
468 KB |
Output is correct |
27 |
Correct |
14 ms |
564 KB |
Output is correct |
28 |
Correct |
11 ms |
556 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
468 KB |
Output is correct |
2 |
Correct |
1 ms |
468 KB |
Output is correct |
3 |
Correct |
1 ms |
468 KB |
Output is correct |
4 |
Correct |
2 ms |
468 KB |
Output is correct |
5 |
Correct |
0 ms |
212 KB |
Output is correct |
6 |
Correct |
25 ms |
468 KB |
Output is correct |
7 |
Correct |
12 ms |
468 KB |
Output is correct |
8 |
Correct |
25 ms |
468 KB |
Output is correct |
9 |
Correct |
30 ms |
468 KB |
Output is correct |
10 |
Correct |
1 ms |
468 KB |
Output is correct |
11 |
Correct |
2 ms |
468 KB |
Output is correct |
12 |
Correct |
2 ms |
468 KB |
Output is correct |
13 |
Correct |
7 ms |
468 KB |
Output is correct |
14 |
Correct |
2 ms |
468 KB |
Output is correct |
15 |
Correct |
8 ms |
468 KB |
Output is correct |
16 |
Correct |
8 ms |
556 KB |
Output is correct |
17 |
Correct |
7 ms |
468 KB |
Output is correct |
18 |
Correct |
1 ms |
468 KB |
Output is correct |
19 |
Correct |
2 ms |
468 KB |
Output is correct |
20 |
Correct |
6 ms |
556 KB |
Output is correct |
21 |
Correct |
6 ms |
468 KB |
Output is correct |
22 |
Correct |
1 ms |
468 KB |
Output is correct |
23 |
Correct |
1 ms |
468 KB |
Output is correct |
24 |
Correct |
1 ms |
468 KB |
Output is correct |
25 |
Correct |
2 ms |
468 KB |
Output is correct |
26 |
Correct |
7 ms |
556 KB |
Output is correct |
27 |
Correct |
3 ms |
468 KB |
Output is correct |
28 |
Correct |
8 ms |
468 KB |
Output is correct |
29 |
Correct |
8 ms |
468 KB |
Output is correct |
30 |
Correct |
7 ms |
468 KB |
Output is correct |
31 |
Correct |
1 ms |
468 KB |
Output is correct |
32 |
Correct |
1 ms |
468 KB |
Output is correct |
33 |
Correct |
4 ms |
468 KB |
Output is correct |
34 |
Correct |
5 ms |
468 KB |
Output is correct |
35 |
Correct |
13 ms |
564 KB |
Output is correct |
36 |
Correct |
6 ms |
468 KB |
Output is correct |
37 |
Correct |
16 ms |
560 KB |
Output is correct |
38 |
Correct |
13 ms |
564 KB |
Output is correct |
39 |
Correct |
13 ms |
468 KB |
Output is correct |
40 |
Correct |
2 ms |
468 KB |
Output is correct |
41 |
Correct |
7 ms |
468 KB |
Output is correct |
42 |
Correct |
2 ms |
468 KB |
Output is correct |
43 |
Correct |
7 ms |
468 KB |
Output is correct |
44 |
Correct |
8 ms |
560 KB |
Output is correct |
45 |
Correct |
7 ms |
560 KB |
Output is correct |
46 |
Correct |
1 ms |
468 KB |
Output is correct |
47 |
Correct |
2 ms |
468 KB |
Output is correct |
48 |
Correct |
4 ms |
468 KB |
Output is correct |
49 |
Correct |
5 ms |
468 KB |
Output is correct |
50 |
Correct |
1 ms |
468 KB |
Output is correct |
51 |
Correct |
2 ms |
468 KB |
Output is correct |
52 |
Correct |
13 ms |
468 KB |
Output is correct |
53 |
Correct |
6 ms |
556 KB |
Output is correct |
54 |
Correct |
15 ms |
560 KB |
Output is correct |
55 |
Correct |
16 ms |
468 KB |
Output is correct |
56 |
Correct |
14 ms |
564 KB |
Output is correct |
57 |
Correct |
11 ms |
556 KB |
Output is correct |
58 |
Correct |
1 ms |
468 KB |
Output is correct |
59 |
Correct |
1 ms |
468 KB |
Output is correct |
60 |
Correct |
1 ms |
468 KB |
Output is correct |
61 |
Correct |
3 ms |
468 KB |
Output is correct |
62 |
Correct |
1 ms |
212 KB |
Output is correct |
63 |
Correct |
27 ms |
560 KB |
Output is correct |
64 |
Correct |
13 ms |
468 KB |
Output is correct |
65 |
Correct |
24 ms |
468 KB |
Output is correct |
66 |
Correct |
30 ms |
468 KB |
Output is correct |
67 |
Correct |
1 ms |
468 KB |
Output is correct |
68 |
Correct |
1 ms |
468 KB |
Output is correct |
69 |
Correct |
7 ms |
560 KB |
Output is correct |
70 |
Correct |
3 ms |
468 KB |
Output is correct |
71 |
Correct |
7 ms |
560 KB |
Output is correct |
72 |
Correct |
10 ms |
468 KB |
Output is correct |
73 |
Correct |
9 ms |
468 KB |
Output is correct |
74 |
Correct |
1 ms |
468 KB |
Output is correct |
75 |
Correct |
2 ms |
468 KB |
Output is correct |
76 |
Correct |
4 ms |
468 KB |
Output is correct |
77 |
Correct |
5 ms |
468 KB |
Output is correct |
78 |
Correct |
13 ms |
468 KB |
Output is correct |
79 |
Correct |
8 ms |
468 KB |
Output is correct |
80 |
Correct |
15 ms |
560 KB |
Output is correct |
81 |
Correct |
13 ms |
468 KB |
Output is correct |
82 |
Correct |
13 ms |
564 KB |
Output is correct |
83 |
Correct |
14 ms |
564 KB |
Output is correct |
84 |
Correct |
6 ms |
468 KB |
Output is correct |
85 |
Correct |
13 ms |
564 KB |
Output is correct |
86 |
Correct |
18 ms |
560 KB |
Output is correct |
87 |
Correct |
14 ms |
468 KB |
Output is correct |
88 |
Correct |
14 ms |
468 KB |
Output is correct |
89 |
Correct |
26 ms |
468 KB |
Output is correct |
90 |
Correct |
29 ms |
548 KB |
Output is correct |
91 |
Correct |
25 ms |
564 KB |
Output is correct |
92 |
Correct |
27 ms |
468 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
468 KB |
Output is correct |
2 |
Correct |
7 ms |
468 KB |
Output is correct |
3 |
Correct |
2 ms |
468 KB |
Output is correct |
4 |
Correct |
8 ms |
468 KB |
Output is correct |
5 |
Correct |
8 ms |
556 KB |
Output is correct |
6 |
Correct |
7 ms |
468 KB |
Output is correct |
7 |
Correct |
1 ms |
468 KB |
Output is correct |
8 |
Correct |
2 ms |
468 KB |
Output is correct |
9 |
Correct |
6 ms |
556 KB |
Output is correct |
10 |
Correct |
6 ms |
468 KB |
Output is correct |
11 |
Correct |
2 ms |
468 KB |
Output is correct |
12 |
Correct |
7 ms |
468 KB |
Output is correct |
13 |
Correct |
2 ms |
468 KB |
Output is correct |
14 |
Correct |
7 ms |
468 KB |
Output is correct |
15 |
Correct |
8 ms |
560 KB |
Output is correct |
16 |
Correct |
7 ms |
560 KB |
Output is correct |
17 |
Correct |
1 ms |
468 KB |
Output is correct |
18 |
Correct |
2 ms |
468 KB |
Output is correct |
19 |
Correct |
4 ms |
468 KB |
Output is correct |
20 |
Correct |
5 ms |
468 KB |
Output is correct |
21 |
Correct |
1 ms |
468 KB |
Output is correct |
22 |
Correct |
2 ms |
468 KB |
Output is correct |
23 |
Correct |
13 ms |
468 KB |
Output is correct |
24 |
Correct |
6 ms |
556 KB |
Output is correct |
25 |
Correct |
15 ms |
560 KB |
Output is correct |
26 |
Correct |
16 ms |
468 KB |
Output is correct |
27 |
Correct |
14 ms |
564 KB |
Output is correct |
28 |
Correct |
11 ms |
556 KB |
Output is correct |
29 |
Correct |
2 ms |
468 KB |
Output is correct |
30 |
Correct |
9 ms |
560 KB |
Output is correct |
31 |
Correct |
3 ms |
468 KB |
Output is correct |
32 |
Correct |
8 ms |
468 KB |
Output is correct |
33 |
Correct |
9 ms |
560 KB |
Output is correct |
34 |
Correct |
7 ms |
468 KB |
Output is correct |
35 |
Correct |
1 ms |
552 KB |
Output is correct |
36 |
Correct |
1 ms |
468 KB |
Output is correct |
37 |
Correct |
4 ms |
468 KB |
Output is correct |
38 |
Correct |
5 ms |
468 KB |
Output is correct |
39 |
Correct |
1 ms |
468 KB |
Output is correct |
40 |
Correct |
1 ms |
468 KB |
Output is correct |
41 |
Correct |
13 ms |
560 KB |
Output is correct |
42 |
Correct |
6 ms |
468 KB |
Output is correct |
43 |
Correct |
13 ms |
468 KB |
Output is correct |
44 |
Correct |
16 ms |
468 KB |
Output is correct |
45 |
Correct |
14 ms |
468 KB |
Output is correct |
46 |
Correct |
10 ms |
556 KB |
Output is correct |
47 |
Correct |
1 ms |
468 KB |
Output is correct |
48 |
Correct |
2 ms |
468 KB |
Output is correct |
49 |
Correct |
32 ms |
468 KB |
Output is correct |
50 |
Correct |
12 ms |
468 KB |
Output is correct |
51 |
Correct |
31 ms |
572 KB |
Output is correct |
52 |
Correct |
37 ms |
556 KB |
Output is correct |
53 |
Correct |
35 ms |
552 KB |
Output is correct |
54 |
Correct |
28 ms |
568 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
468 KB |
Output is correct |
2 |
Correct |
1 ms |
468 KB |
Output is correct |
3 |
Correct |
1 ms |
468 KB |
Output is correct |
4 |
Correct |
2 ms |
468 KB |
Output is correct |
5 |
Correct |
0 ms |
212 KB |
Output is correct |
6 |
Correct |
25 ms |
468 KB |
Output is correct |
7 |
Correct |
12 ms |
468 KB |
Output is correct |
8 |
Correct |
25 ms |
468 KB |
Output is correct |
9 |
Correct |
30 ms |
468 KB |
Output is correct |
10 |
Correct |
1 ms |
468 KB |
Output is correct |
11 |
Correct |
2 ms |
468 KB |
Output is correct |
12 |
Correct |
1 ms |
468 KB |
Output is correct |
13 |
Correct |
1 ms |
468 KB |
Output is correct |
14 |
Correct |
0 ms |
468 KB |
Output is correct |
15 |
Correct |
2 ms |
468 KB |
Output is correct |
16 |
Correct |
0 ms |
212 KB |
Output is correct |
17 |
Correct |
25 ms |
468 KB |
Output is correct |
18 |
Correct |
13 ms |
560 KB |
Output is correct |
19 |
Correct |
26 ms |
564 KB |
Output is correct |
20 |
Correct |
29 ms |
568 KB |
Output is correct |
21 |
Correct |
1 ms |
468 KB |
Output is correct |
22 |
Correct |
2 ms |
468 KB |
Output is correct |
23 |
Correct |
0 ms |
212 KB |
Output is correct |
24 |
Correct |
58 ms |
564 KB |
Output is correct |
25 |
Correct |
21 ms |
468 KB |
Output is correct |
26 |
Correct |
68 ms |
584 KB |
Output is correct |
27 |
Correct |
69 ms |
564 KB |
Output is correct |
28 |
Correct |
1 ms |
468 KB |
Output is correct |
29 |
Correct |
2 ms |
468 KB |
Output is correct |
30 |
Correct |
2 ms |
468 KB |
Output is correct |
31 |
Correct |
7 ms |
468 KB |
Output is correct |
32 |
Correct |
2 ms |
468 KB |
Output is correct |
33 |
Correct |
8 ms |
468 KB |
Output is correct |
34 |
Correct |
8 ms |
556 KB |
Output is correct |
35 |
Correct |
7 ms |
468 KB |
Output is correct |
36 |
Correct |
1 ms |
468 KB |
Output is correct |
37 |
Correct |
2 ms |
468 KB |
Output is correct |
38 |
Correct |
6 ms |
556 KB |
Output is correct |
39 |
Correct |
6 ms |
468 KB |
Output is correct |
40 |
Correct |
1 ms |
468 KB |
Output is correct |
41 |
Correct |
1 ms |
468 KB |
Output is correct |
42 |
Correct |
1 ms |
468 KB |
Output is correct |
43 |
Correct |
2 ms |
468 KB |
Output is correct |
44 |
Correct |
7 ms |
556 KB |
Output is correct |
45 |
Correct |
3 ms |
468 KB |
Output is correct |
46 |
Correct |
8 ms |
468 KB |
Output is correct |
47 |
Correct |
8 ms |
468 KB |
Output is correct |
48 |
Correct |
7 ms |
468 KB |
Output is correct |
49 |
Correct |
1 ms |
468 KB |
Output is correct |
50 |
Correct |
1 ms |
468 KB |
Output is correct |
51 |
Correct |
4 ms |
468 KB |
Output is correct |
52 |
Correct |
5 ms |
468 KB |
Output is correct |
53 |
Correct |
13 ms |
564 KB |
Output is correct |
54 |
Correct |
6 ms |
468 KB |
Output is correct |
55 |
Correct |
16 ms |
560 KB |
Output is correct |
56 |
Correct |
13 ms |
564 KB |
Output is correct |
57 |
Correct |
13 ms |
468 KB |
Output is correct |
58 |
Correct |
2 ms |
468 KB |
Output is correct |
59 |
Correct |
7 ms |
468 KB |
Output is correct |
60 |
Correct |
2 ms |
468 KB |
Output is correct |
61 |
Correct |
7 ms |
468 KB |
Output is correct |
62 |
Correct |
8 ms |
560 KB |
Output is correct |
63 |
Correct |
7 ms |
560 KB |
Output is correct |
64 |
Correct |
1 ms |
468 KB |
Output is correct |
65 |
Correct |
2 ms |
468 KB |
Output is correct |
66 |
Correct |
4 ms |
468 KB |
Output is correct |
67 |
Correct |
5 ms |
468 KB |
Output is correct |
68 |
Correct |
1 ms |
468 KB |
Output is correct |
69 |
Correct |
2 ms |
468 KB |
Output is correct |
70 |
Correct |
13 ms |
468 KB |
Output is correct |
71 |
Correct |
6 ms |
556 KB |
Output is correct |
72 |
Correct |
15 ms |
560 KB |
Output is correct |
73 |
Correct |
16 ms |
468 KB |
Output is correct |
74 |
Correct |
14 ms |
564 KB |
Output is correct |
75 |
Correct |
11 ms |
556 KB |
Output is correct |
76 |
Correct |
1 ms |
468 KB |
Output is correct |
77 |
Correct |
1 ms |
468 KB |
Output is correct |
78 |
Correct |
1 ms |
468 KB |
Output is correct |
79 |
Correct |
3 ms |
468 KB |
Output is correct |
80 |
Correct |
1 ms |
212 KB |
Output is correct |
81 |
Correct |
27 ms |
560 KB |
Output is correct |
82 |
Correct |
13 ms |
468 KB |
Output is correct |
83 |
Correct |
24 ms |
468 KB |
Output is correct |
84 |
Correct |
30 ms |
468 KB |
Output is correct |
85 |
Correct |
1 ms |
468 KB |
Output is correct |
86 |
Correct |
1 ms |
468 KB |
Output is correct |
87 |
Correct |
7 ms |
560 KB |
Output is correct |
88 |
Correct |
3 ms |
468 KB |
Output is correct |
89 |
Correct |
7 ms |
560 KB |
Output is correct |
90 |
Correct |
10 ms |
468 KB |
Output is correct |
91 |
Correct |
9 ms |
468 KB |
Output is correct |
92 |
Correct |
1 ms |
468 KB |
Output is correct |
93 |
Correct |
2 ms |
468 KB |
Output is correct |
94 |
Correct |
4 ms |
468 KB |
Output is correct |
95 |
Correct |
5 ms |
468 KB |
Output is correct |
96 |
Correct |
13 ms |
468 KB |
Output is correct |
97 |
Correct |
8 ms |
468 KB |
Output is correct |
98 |
Correct |
15 ms |
560 KB |
Output is correct |
99 |
Correct |
13 ms |
468 KB |
Output is correct |
100 |
Correct |
13 ms |
564 KB |
Output is correct |
101 |
Correct |
14 ms |
564 KB |
Output is correct |
102 |
Correct |
6 ms |
468 KB |
Output is correct |
103 |
Correct |
13 ms |
564 KB |
Output is correct |
104 |
Correct |
18 ms |
560 KB |
Output is correct |
105 |
Correct |
14 ms |
468 KB |
Output is correct |
106 |
Correct |
14 ms |
468 KB |
Output is correct |
107 |
Correct |
26 ms |
468 KB |
Output is correct |
108 |
Correct |
29 ms |
548 KB |
Output is correct |
109 |
Correct |
25 ms |
564 KB |
Output is correct |
110 |
Correct |
27 ms |
468 KB |
Output is correct |
111 |
Correct |
2 ms |
468 KB |
Output is correct |
112 |
Correct |
9 ms |
560 KB |
Output is correct |
113 |
Correct |
3 ms |
468 KB |
Output is correct |
114 |
Correct |
8 ms |
468 KB |
Output is correct |
115 |
Correct |
9 ms |
560 KB |
Output is correct |
116 |
Correct |
7 ms |
468 KB |
Output is correct |
117 |
Correct |
1 ms |
552 KB |
Output is correct |
118 |
Correct |
1 ms |
468 KB |
Output is correct |
119 |
Correct |
4 ms |
468 KB |
Output is correct |
120 |
Correct |
5 ms |
468 KB |
Output is correct |
121 |
Correct |
1 ms |
468 KB |
Output is correct |
122 |
Correct |
1 ms |
468 KB |
Output is correct |
123 |
Correct |
13 ms |
560 KB |
Output is correct |
124 |
Correct |
6 ms |
468 KB |
Output is correct |
125 |
Correct |
13 ms |
468 KB |
Output is correct |
126 |
Correct |
16 ms |
468 KB |
Output is correct |
127 |
Correct |
14 ms |
468 KB |
Output is correct |
128 |
Correct |
10 ms |
556 KB |
Output is correct |
129 |
Correct |
1 ms |
468 KB |
Output is correct |
130 |
Correct |
2 ms |
468 KB |
Output is correct |
131 |
Correct |
32 ms |
468 KB |
Output is correct |
132 |
Correct |
12 ms |
468 KB |
Output is correct |
133 |
Correct |
31 ms |
572 KB |
Output is correct |
134 |
Correct |
37 ms |
556 KB |
Output is correct |
135 |
Correct |
35 ms |
552 KB |
Output is correct |
136 |
Correct |
28 ms |
568 KB |
Output is correct |
137 |
Correct |
1 ms |
468 KB |
Output is correct |
138 |
Correct |
1 ms |
468 KB |
Output is correct |
139 |
Correct |
1 ms |
468 KB |
Output is correct |
140 |
Correct |
3 ms |
468 KB |
Output is correct |
141 |
Correct |
0 ms |
212 KB |
Output is correct |
142 |
Correct |
26 ms |
480 KB |
Output is correct |
143 |
Correct |
12 ms |
468 KB |
Output is correct |
144 |
Correct |
25 ms |
468 KB |
Output is correct |
145 |
Correct |
30 ms |
468 KB |
Output is correct |
146 |
Correct |
1 ms |
468 KB |
Output is correct |
147 |
Correct |
2 ms |
552 KB |
Output is correct |
148 |
Correct |
0 ms |
212 KB |
Output is correct |
149 |
Correct |
57 ms |
468 KB |
Output is correct |
150 |
Correct |
21 ms |
560 KB |
Output is correct |
151 |
Correct |
70 ms |
468 KB |
Output is correct |
152 |
Correct |
71 ms |
580 KB |
Output is correct |
153 |
Correct |
2 ms |
468 KB |
Output is correct |
154 |
Correct |
2 ms |
468 KB |
Output is correct |
155 |
Correct |
10 ms |
596 KB |
Output is correct |
156 |
Correct |
2 ms |
468 KB |
Output is correct |
157 |
Correct |
8 ms |
560 KB |
Output is correct |
158 |
Correct |
9 ms |
468 KB |
Output is correct |
159 |
Correct |
7 ms |
560 KB |
Output is correct |
160 |
Correct |
1 ms |
468 KB |
Output is correct |
161 |
Correct |
1 ms |
468 KB |
Output is correct |
162 |
Correct |
4 ms |
472 KB |
Output is correct |
163 |
Correct |
5 ms |
468 KB |
Output is correct |
164 |
Correct |
13 ms |
572 KB |
Output is correct |
165 |
Correct |
7 ms |
468 KB |
Output is correct |
166 |
Correct |
13 ms |
568 KB |
Output is correct |
167 |
Correct |
15 ms |
568 KB |
Output is correct |
168 |
Correct |
14 ms |
468 KB |
Output is correct |
169 |
Correct |
11 ms |
560 KB |
Output is correct |
170 |
Correct |
13 ms |
568 KB |
Output is correct |
171 |
Correct |
8 ms |
468 KB |
Output is correct |
172 |
Correct |
16 ms |
560 KB |
Output is correct |
173 |
Correct |
14 ms |
468 KB |
Output is correct |
174 |
Correct |
14 ms |
568 KB |
Output is correct |
175 |
Correct |
26 ms |
468 KB |
Output is correct |
176 |
Correct |
30 ms |
468 KB |
Output is correct |
177 |
Correct |
25 ms |
468 KB |
Output is correct |
178 |
Correct |
27 ms |
468 KB |
Output is correct |
179 |
Correct |
29 ms |
468 KB |
Output is correct |
180 |
Correct |
13 ms |
564 KB |
Output is correct |
181 |
Correct |
32 ms |
556 KB |
Output is correct |
182 |
Correct |
36 ms |
468 KB |
Output is correct |
183 |
Correct |
31 ms |
468 KB |
Output is correct |
184 |
Correct |
24 ms |
468 KB |
Output is correct |
185 |
Correct |
59 ms |
564 KB |
Output is correct |
186 |
Correct |
72 ms |
572 KB |
Output is correct |
187 |
Correct |
60 ms |
568 KB |
Output is correct |
188 |
Correct |
61 ms |
564 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
468 KB |
Output is correct |
2 |
Correct |
7 ms |
468 KB |
Output is correct |
3 |
Correct |
2 ms |
468 KB |
Output is correct |
4 |
Correct |
8 ms |
468 KB |
Output is correct |
5 |
Correct |
8 ms |
556 KB |
Output is correct |
6 |
Correct |
7 ms |
468 KB |
Output is correct |
7 |
Correct |
1 ms |
468 KB |
Output is correct |
8 |
Correct |
2 ms |
468 KB |
Output is correct |
9 |
Correct |
6 ms |
556 KB |
Output is correct |
10 |
Correct |
6 ms |
468 KB |
Output is correct |
11 |
Correct |
2 ms |
468 KB |
Output is correct |
12 |
Correct |
7 ms |
468 KB |
Output is correct |
13 |
Correct |
2 ms |
468 KB |
Output is correct |
14 |
Correct |
7 ms |
468 KB |
Output is correct |
15 |
Correct |
8 ms |
560 KB |
Output is correct |
16 |
Correct |
7 ms |
560 KB |
Output is correct |
17 |
Correct |
1 ms |
468 KB |
Output is correct |
18 |
Correct |
2 ms |
468 KB |
Output is correct |
19 |
Correct |
4 ms |
468 KB |
Output is correct |
20 |
Correct |
5 ms |
468 KB |
Output is correct |
21 |
Correct |
1 ms |
468 KB |
Output is correct |
22 |
Correct |
2 ms |
468 KB |
Output is correct |
23 |
Correct |
13 ms |
468 KB |
Output is correct |
24 |
Correct |
6 ms |
556 KB |
Output is correct |
25 |
Correct |
15 ms |
560 KB |
Output is correct |
26 |
Correct |
16 ms |
468 KB |
Output is correct |
27 |
Correct |
14 ms |
564 KB |
Output is correct |
28 |
Correct |
11 ms |
556 KB |
Output is correct |
29 |
Correct |
2 ms |
468 KB |
Output is correct |
30 |
Correct |
9 ms |
560 KB |
Output is correct |
31 |
Correct |
3 ms |
468 KB |
Output is correct |
32 |
Correct |
8 ms |
468 KB |
Output is correct |
33 |
Correct |
9 ms |
560 KB |
Output is correct |
34 |
Correct |
7 ms |
468 KB |
Output is correct |
35 |
Correct |
1 ms |
552 KB |
Output is correct |
36 |
Correct |
1 ms |
468 KB |
Output is correct |
37 |
Correct |
4 ms |
468 KB |
Output is correct |
38 |
Correct |
5 ms |
468 KB |
Output is correct |
39 |
Correct |
1 ms |
468 KB |
Output is correct |
40 |
Correct |
1 ms |
468 KB |
Output is correct |
41 |
Correct |
13 ms |
560 KB |
Output is correct |
42 |
Correct |
6 ms |
468 KB |
Output is correct |
43 |
Correct |
13 ms |
468 KB |
Output is correct |
44 |
Correct |
16 ms |
468 KB |
Output is correct |
45 |
Correct |
14 ms |
468 KB |
Output is correct |
46 |
Correct |
10 ms |
556 KB |
Output is correct |
47 |
Correct |
1 ms |
468 KB |
Output is correct |
48 |
Correct |
2 ms |
468 KB |
Output is correct |
49 |
Correct |
32 ms |
468 KB |
Output is correct |
50 |
Correct |
12 ms |
468 KB |
Output is correct |
51 |
Correct |
31 ms |
572 KB |
Output is correct |
52 |
Correct |
37 ms |
556 KB |
Output is correct |
53 |
Correct |
35 ms |
552 KB |
Output is correct |
54 |
Correct |
28 ms |
568 KB |
Output is correct |
55 |
Correct |
2 ms |
468 KB |
Output is correct |
56 |
Correct |
7 ms |
468 KB |
Output is correct |
57 |
Correct |
2 ms |
468 KB |
Output is correct |
58 |
Correct |
11 ms |
468 KB |
Output is correct |
59 |
Correct |
10 ms |
564 KB |
Output is correct |
60 |
Correct |
8 ms |
468 KB |
Output is correct |
61 |
Correct |
2 ms |
468 KB |
Output is correct |
62 |
Correct |
2 ms |
468 KB |
Output is correct |
63 |
Correct |
5 ms |
468 KB |
Output is correct |
64 |
Correct |
6 ms |
468 KB |
Output is correct |
65 |
Correct |
1 ms |
468 KB |
Output is correct |
66 |
Correct |
2 ms |
468 KB |
Output is correct |
67 |
Correct |
14 ms |
560 KB |
Output is correct |
68 |
Correct |
7 ms |
556 KB |
Output is correct |
69 |
Correct |
13 ms |
468 KB |
Output is correct |
70 |
Correct |
16 ms |
468 KB |
Output is correct |
71 |
Correct |
14 ms |
468 KB |
Output is correct |
72 |
Correct |
10 ms |
556 KB |
Output is correct |
73 |
Correct |
1 ms |
468 KB |
Output is correct |
74 |
Correct |
3 ms |
468 KB |
Output is correct |
75 |
Correct |
32 ms |
468 KB |
Output is correct |
76 |
Correct |
13 ms |
564 KB |
Output is correct |
77 |
Correct |
32 ms |
572 KB |
Output is correct |
78 |
Correct |
36 ms |
468 KB |
Output is correct |
79 |
Correct |
30 ms |
468 KB |
Output is correct |
80 |
Correct |
25 ms |
468 KB |
Output is correct |
81 |
Correct |
110 ms |
596 KB |
Output is correct |
82 |
Correct |
47 ms |
564 KB |
Output is correct |
83 |
Correct |
107 ms |
596 KB |
Output is correct |
84 |
Correct |
122 ms |
596 KB |
Output is correct |
85 |
Incorrect |
1 ms |
468 KB |
Output isn't correct |
86 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
468 KB |
Output is correct |
2 |
Correct |
1 ms |
468 KB |
Output is correct |
3 |
Correct |
1 ms |
468 KB |
Output is correct |
4 |
Correct |
2 ms |
468 KB |
Output is correct |
5 |
Correct |
0 ms |
212 KB |
Output is correct |
6 |
Correct |
25 ms |
468 KB |
Output is correct |
7 |
Correct |
12 ms |
468 KB |
Output is correct |
8 |
Correct |
25 ms |
468 KB |
Output is correct |
9 |
Correct |
30 ms |
468 KB |
Output is correct |
10 |
Correct |
1 ms |
468 KB |
Output is correct |
11 |
Correct |
2 ms |
468 KB |
Output is correct |
12 |
Correct |
1 ms |
468 KB |
Output is correct |
13 |
Correct |
1 ms |
468 KB |
Output is correct |
14 |
Correct |
0 ms |
468 KB |
Output is correct |
15 |
Correct |
2 ms |
468 KB |
Output is correct |
16 |
Correct |
0 ms |
212 KB |
Output is correct |
17 |
Correct |
25 ms |
468 KB |
Output is correct |
18 |
Correct |
13 ms |
560 KB |
Output is correct |
19 |
Correct |
26 ms |
564 KB |
Output is correct |
20 |
Correct |
29 ms |
568 KB |
Output is correct |
21 |
Correct |
1 ms |
468 KB |
Output is correct |
22 |
Correct |
2 ms |
468 KB |
Output is correct |
23 |
Correct |
0 ms |
212 KB |
Output is correct |
24 |
Correct |
58 ms |
564 KB |
Output is correct |
25 |
Correct |
21 ms |
468 KB |
Output is correct |
26 |
Correct |
68 ms |
584 KB |
Output is correct |
27 |
Correct |
69 ms |
564 KB |
Output is correct |
28 |
Correct |
1 ms |
468 KB |
Output is correct |
29 |
Correct |
2 ms |
468 KB |
Output is correct |
30 |
Correct |
2 ms |
468 KB |
Output is correct |
31 |
Correct |
7 ms |
468 KB |
Output is correct |
32 |
Correct |
2 ms |
468 KB |
Output is correct |
33 |
Correct |
8 ms |
468 KB |
Output is correct |
34 |
Correct |
8 ms |
556 KB |
Output is correct |
35 |
Correct |
7 ms |
468 KB |
Output is correct |
36 |
Correct |
1 ms |
468 KB |
Output is correct |
37 |
Correct |
2 ms |
468 KB |
Output is correct |
38 |
Correct |
6 ms |
556 KB |
Output is correct |
39 |
Correct |
6 ms |
468 KB |
Output is correct |
40 |
Correct |
1 ms |
468 KB |
Output is correct |
41 |
Correct |
1 ms |
468 KB |
Output is correct |
42 |
Correct |
1 ms |
468 KB |
Output is correct |
43 |
Correct |
2 ms |
468 KB |
Output is correct |
44 |
Correct |
7 ms |
556 KB |
Output is correct |
45 |
Correct |
3 ms |
468 KB |
Output is correct |
46 |
Correct |
8 ms |
468 KB |
Output is correct |
47 |
Correct |
8 ms |
468 KB |
Output is correct |
48 |
Correct |
7 ms |
468 KB |
Output is correct |
49 |
Correct |
1 ms |
468 KB |
Output is correct |
50 |
Correct |
1 ms |
468 KB |
Output is correct |
51 |
Correct |
4 ms |
468 KB |
Output is correct |
52 |
Correct |
5 ms |
468 KB |
Output is correct |
53 |
Correct |
13 ms |
564 KB |
Output is correct |
54 |
Correct |
6 ms |
468 KB |
Output is correct |
55 |
Correct |
16 ms |
560 KB |
Output is correct |
56 |
Correct |
13 ms |
564 KB |
Output is correct |
57 |
Correct |
13 ms |
468 KB |
Output is correct |
58 |
Correct |
2 ms |
468 KB |
Output is correct |
59 |
Correct |
7 ms |
468 KB |
Output is correct |
60 |
Correct |
2 ms |
468 KB |
Output is correct |
61 |
Correct |
7 ms |
468 KB |
Output is correct |
62 |
Correct |
8 ms |
560 KB |
Output is correct |
63 |
Correct |
7 ms |
560 KB |
Output is correct |
64 |
Correct |
1 ms |
468 KB |
Output is correct |
65 |
Correct |
2 ms |
468 KB |
Output is correct |
66 |
Correct |
4 ms |
468 KB |
Output is correct |
67 |
Correct |
5 ms |
468 KB |
Output is correct |
68 |
Correct |
1 ms |
468 KB |
Output is correct |
69 |
Correct |
2 ms |
468 KB |
Output is correct |
70 |
Correct |
13 ms |
468 KB |
Output is correct |
71 |
Correct |
6 ms |
556 KB |
Output is correct |
72 |
Correct |
15 ms |
560 KB |
Output is correct |
73 |
Correct |
16 ms |
468 KB |
Output is correct |
74 |
Correct |
14 ms |
564 KB |
Output is correct |
75 |
Correct |
11 ms |
556 KB |
Output is correct |
76 |
Correct |
1 ms |
468 KB |
Output is correct |
77 |
Correct |
1 ms |
468 KB |
Output is correct |
78 |
Correct |
1 ms |
468 KB |
Output is correct |
79 |
Correct |
3 ms |
468 KB |
Output is correct |
80 |
Correct |
1 ms |
212 KB |
Output is correct |
81 |
Correct |
27 ms |
560 KB |
Output is correct |
82 |
Correct |
13 ms |
468 KB |
Output is correct |
83 |
Correct |
24 ms |
468 KB |
Output is correct |
84 |
Correct |
30 ms |
468 KB |
Output is correct |
85 |
Correct |
1 ms |
468 KB |
Output is correct |
86 |
Correct |
1 ms |
468 KB |
Output is correct |
87 |
Correct |
7 ms |
560 KB |
Output is correct |
88 |
Correct |
3 ms |
468 KB |
Output is correct |
89 |
Correct |
7 ms |
560 KB |
Output is correct |
90 |
Correct |
10 ms |
468 KB |
Output is correct |
91 |
Correct |
9 ms |
468 KB |
Output is correct |
92 |
Correct |
1 ms |
468 KB |
Output is correct |
93 |
Correct |
2 ms |
468 KB |
Output is correct |
94 |
Correct |
4 ms |
468 KB |
Output is correct |
95 |
Correct |
5 ms |
468 KB |
Output is correct |
96 |
Correct |
13 ms |
468 KB |
Output is correct |
97 |
Correct |
8 ms |
468 KB |
Output is correct |
98 |
Correct |
15 ms |
560 KB |
Output is correct |
99 |
Correct |
13 ms |
468 KB |
Output is correct |
100 |
Correct |
13 ms |
564 KB |
Output is correct |
101 |
Correct |
14 ms |
564 KB |
Output is correct |
102 |
Correct |
6 ms |
468 KB |
Output is correct |
103 |
Correct |
13 ms |
564 KB |
Output is correct |
104 |
Correct |
18 ms |
560 KB |
Output is correct |
105 |
Correct |
14 ms |
468 KB |
Output is correct |
106 |
Correct |
14 ms |
468 KB |
Output is correct |
107 |
Correct |
26 ms |
468 KB |
Output is correct |
108 |
Correct |
29 ms |
548 KB |
Output is correct |
109 |
Correct |
25 ms |
564 KB |
Output is correct |
110 |
Correct |
27 ms |
468 KB |
Output is correct |
111 |
Correct |
2 ms |
468 KB |
Output is correct |
112 |
Correct |
9 ms |
560 KB |
Output is correct |
113 |
Correct |
3 ms |
468 KB |
Output is correct |
114 |
Correct |
8 ms |
468 KB |
Output is correct |
115 |
Correct |
9 ms |
560 KB |
Output is correct |
116 |
Correct |
7 ms |
468 KB |
Output is correct |
117 |
Correct |
1 ms |
552 KB |
Output is correct |
118 |
Correct |
1 ms |
468 KB |
Output is correct |
119 |
Correct |
4 ms |
468 KB |
Output is correct |
120 |
Correct |
5 ms |
468 KB |
Output is correct |
121 |
Correct |
1 ms |
468 KB |
Output is correct |
122 |
Correct |
1 ms |
468 KB |
Output is correct |
123 |
Correct |
13 ms |
560 KB |
Output is correct |
124 |
Correct |
6 ms |
468 KB |
Output is correct |
125 |
Correct |
13 ms |
468 KB |
Output is correct |
126 |
Correct |
16 ms |
468 KB |
Output is correct |
127 |
Correct |
14 ms |
468 KB |
Output is correct |
128 |
Correct |
10 ms |
556 KB |
Output is correct |
129 |
Correct |
1 ms |
468 KB |
Output is correct |
130 |
Correct |
2 ms |
468 KB |
Output is correct |
131 |
Correct |
32 ms |
468 KB |
Output is correct |
132 |
Correct |
12 ms |
468 KB |
Output is correct |
133 |
Correct |
31 ms |
572 KB |
Output is correct |
134 |
Correct |
37 ms |
556 KB |
Output is correct |
135 |
Correct |
35 ms |
552 KB |
Output is correct |
136 |
Correct |
28 ms |
568 KB |
Output is correct |
137 |
Correct |
1 ms |
468 KB |
Output is correct |
138 |
Correct |
1 ms |
468 KB |
Output is correct |
139 |
Correct |
1 ms |
468 KB |
Output is correct |
140 |
Correct |
3 ms |
468 KB |
Output is correct |
141 |
Correct |
0 ms |
212 KB |
Output is correct |
142 |
Correct |
26 ms |
480 KB |
Output is correct |
143 |
Correct |
12 ms |
468 KB |
Output is correct |
144 |
Correct |
25 ms |
468 KB |
Output is correct |
145 |
Correct |
30 ms |
468 KB |
Output is correct |
146 |
Correct |
1 ms |
468 KB |
Output is correct |
147 |
Correct |
2 ms |
552 KB |
Output is correct |
148 |
Correct |
0 ms |
212 KB |
Output is correct |
149 |
Correct |
57 ms |
468 KB |
Output is correct |
150 |
Correct |
21 ms |
560 KB |
Output is correct |
151 |
Correct |
70 ms |
468 KB |
Output is correct |
152 |
Correct |
71 ms |
580 KB |
Output is correct |
153 |
Correct |
2 ms |
468 KB |
Output is correct |
154 |
Correct |
2 ms |
468 KB |
Output is correct |
155 |
Correct |
10 ms |
596 KB |
Output is correct |
156 |
Correct |
2 ms |
468 KB |
Output is correct |
157 |
Correct |
8 ms |
560 KB |
Output is correct |
158 |
Correct |
9 ms |
468 KB |
Output is correct |
159 |
Correct |
7 ms |
560 KB |
Output is correct |
160 |
Correct |
1 ms |
468 KB |
Output is correct |
161 |
Correct |
1 ms |
468 KB |
Output is correct |
162 |
Correct |
4 ms |
472 KB |
Output is correct |
163 |
Correct |
5 ms |
468 KB |
Output is correct |
164 |
Correct |
13 ms |
572 KB |
Output is correct |
165 |
Correct |
7 ms |
468 KB |
Output is correct |
166 |
Correct |
13 ms |
568 KB |
Output is correct |
167 |
Correct |
15 ms |
568 KB |
Output is correct |
168 |
Correct |
14 ms |
468 KB |
Output is correct |
169 |
Correct |
11 ms |
560 KB |
Output is correct |
170 |
Correct |
13 ms |
568 KB |
Output is correct |
171 |
Correct |
8 ms |
468 KB |
Output is correct |
172 |
Correct |
16 ms |
560 KB |
Output is correct |
173 |
Correct |
14 ms |
468 KB |
Output is correct |
174 |
Correct |
14 ms |
568 KB |
Output is correct |
175 |
Correct |
26 ms |
468 KB |
Output is correct |
176 |
Correct |
30 ms |
468 KB |
Output is correct |
177 |
Correct |
25 ms |
468 KB |
Output is correct |
178 |
Correct |
27 ms |
468 KB |
Output is correct |
179 |
Correct |
29 ms |
468 KB |
Output is correct |
180 |
Correct |
13 ms |
564 KB |
Output is correct |
181 |
Correct |
32 ms |
556 KB |
Output is correct |
182 |
Correct |
36 ms |
468 KB |
Output is correct |
183 |
Correct |
31 ms |
468 KB |
Output is correct |
184 |
Correct |
24 ms |
468 KB |
Output is correct |
185 |
Correct |
59 ms |
564 KB |
Output is correct |
186 |
Correct |
72 ms |
572 KB |
Output is correct |
187 |
Correct |
60 ms |
568 KB |
Output is correct |
188 |
Correct |
61 ms |
564 KB |
Output is correct |
189 |
Correct |
2 ms |
468 KB |
Output is correct |
190 |
Correct |
7 ms |
468 KB |
Output is correct |
191 |
Correct |
2 ms |
468 KB |
Output is correct |
192 |
Correct |
11 ms |
468 KB |
Output is correct |
193 |
Correct |
10 ms |
564 KB |
Output is correct |
194 |
Correct |
8 ms |
468 KB |
Output is correct |
195 |
Correct |
2 ms |
468 KB |
Output is correct |
196 |
Correct |
2 ms |
468 KB |
Output is correct |
197 |
Correct |
5 ms |
468 KB |
Output is correct |
198 |
Correct |
6 ms |
468 KB |
Output is correct |
199 |
Correct |
1 ms |
468 KB |
Output is correct |
200 |
Correct |
2 ms |
468 KB |
Output is correct |
201 |
Correct |
14 ms |
560 KB |
Output is correct |
202 |
Correct |
7 ms |
556 KB |
Output is correct |
203 |
Correct |
13 ms |
468 KB |
Output is correct |
204 |
Correct |
16 ms |
468 KB |
Output is correct |
205 |
Correct |
14 ms |
468 KB |
Output is correct |
206 |
Correct |
10 ms |
556 KB |
Output is correct |
207 |
Correct |
1 ms |
468 KB |
Output is correct |
208 |
Correct |
3 ms |
468 KB |
Output is correct |
209 |
Correct |
32 ms |
468 KB |
Output is correct |
210 |
Correct |
13 ms |
564 KB |
Output is correct |
211 |
Correct |
32 ms |
572 KB |
Output is correct |
212 |
Correct |
36 ms |
468 KB |
Output is correct |
213 |
Correct |
30 ms |
468 KB |
Output is correct |
214 |
Correct |
25 ms |
468 KB |
Output is correct |
215 |
Correct |
110 ms |
596 KB |
Output is correct |
216 |
Correct |
47 ms |
564 KB |
Output is correct |
217 |
Correct |
107 ms |
596 KB |
Output is correct |
218 |
Correct |
122 ms |
596 KB |
Output is correct |
219 |
Incorrect |
1 ms |
468 KB |
Output isn't correct |
220 |
Halted |
0 ms |
0 KB |
- |