#include <stdio.h>
#define N 500000
#define N_ (1 << 20) /* N_ = pow2(ceil(log2(N))) */
#define INF 0x3f3f3f3f
int min(int a, int b) { return a < b ? a : b; }
int max(int a, int b) { return a > b ? a : b; }
unsigned int Z = 12345;
int rand_() {
return (Z *= 3) >> 1;
}
char type[N]; int xx[N * 2], xx_[N * 2], prev[N];
int compare_lr(int i, int j) {
if (xx[i << 1 | 0] != xx[j << 1 | 0])
return xx[i << 1 | 0] - xx[j << 1 | 0];
if (xx[i << 1 | 1] != xx[j << 1 | 1])
return xx[i << 1 | 1] - xx[j << 1 | 1];
return i - j;
}
int compare_x(int i, int j) {
return xx[i] != xx[j] ? xx[i] - xx[j] : (j & 1) - (i & 1);
}
int (*compare)(int, int);
void sort(int *ii, int l, int r) {
while (l < r) {
int i = l, j = l, k = r, i_ = ii[l + rand_() % (r - l)], tmp;
while (j < k) {
int c = compare(ii[j], i_);
if (c == 0)
j++;
else if (c < 0) {
tmp = ii[i], ii[i] = ii[j], ii[j] = tmp;
i++, j++;
} else {
k--;
tmp = ii[j], ii[j] = ii[k], ii[k] = tmp;
}
}
sort(ii, l, i);
l = k;
}
}
int stl[N_ * 2], str[N_ * 2], stlr[N_ * 2];
int stl1[N_ * 2], str1[N_ * 2], stl2[N_ * 2], str2[N_ * 2];
int n_;
void build(int n) {
int i;
n_ = 1;
while (n_ < n)
n_ <<= 1;
for (i = 1; i < n_ * 2; i++) {
stl[i] = -INF, str[i] = INF, stlr[i] = INF;
stl1[i] = -INF, str1[i] = INF, stl2[i] = -INF, str2[i] = INF;
}
}
void pul1(int i) {
int l = i << 1, r = l | 1;
stl[i] = max(stl[l], stl[r]);
str[i] = min(str[l], str[r]);
stlr[i] = min(stlr[l], stlr[r]);
if (stl[l] != -INF && str[r] != INF)
stlr[i] = min(stlr[i], str[r] - stl[l]);
}
void update1(int i, int l, int r) {
i += n_;
stl[i] = l, str[i] = r, stlr[i] = INF;
while (i > 1)
pul1(i >>= 1);
}
void pul2(int i) {
int l = i << 1, r = l | 1;
if (stl1[l] > stl1[r] || stl1[l] == stl1[r] && str1[l] < str1[r])
stl1[i] = stl1[l], str1[i] = str1[l];
else
stl1[i] = stl1[r], str1[i] = str1[r];
if (str2[l] < str2[r] || str2[l] == str2[r] && stl2[l] > stl2[r])
stl2[i] = stl2[l], str2[i] = str2[l];
else
stl2[i] = stl2[r], str2[i] = str2[r];
}
void update2(int i, int l, int r) {
i += n_;
stl1[i] = l, str1[i] = r, stl2[i] = l, str2[i] = r;
while (i > 1)
pul2(i >>= 1);
}
int main() {
static int ii[N * 2], qu[N];
int n, cnt, i, i_, j, l, r;
scanf("%d", &n);
for (i = 0; i < n; i++) {
static char s[2];
scanf("%s%d%d", s, &xx[i << 1 | 0], &xx[i << 1 | 1]);
type[i] = s[0] == 'A' ? 0 : 1;
}
for (i = 0; i < n; i++)
ii[i] = i;
compare = compare_lr, sort(ii, 0, n);
for (i = 0; i < n; i = j) {
l = xx[ii[i] << 1 | 0], r = xx[ii[i] << 1 | 1];
j = i, cnt = 0;
while (j < n && xx[ii[j] << 1 | 0] == l && xx[ii[j] << 1 | 1] == r) {
i_ = ii[j++];
if (type[i_] == 0)
qu[cnt++] = i_;
else
prev[i_] = qu[--cnt];
}
}
for (i = 0; i < n * 2; i++)
ii[i] = i;
compare = compare_x, sort(ii, 0, n * 2);
for (i = 0; i < n * 2; i++)
xx_[ii[i]] = i;
build(n * 2);
for (i = 0; i < n; i++) {
if (type[i] == 0) {
update1(xx_[i << 1 | 0], -INF, xx[i << 1 | 1]);
update1(xx_[i << 1 | 1], xx[i << 1 | 0], INF);
update2(xx_[i << 1 | 0], xx[i << 1 | 0], xx[i << 1 | 1]);
} else {
update1(xx_[prev[i] << 1 | 0], -INF, INF);
update1(xx_[prev[i] << 1 | 1], -INF, INF);
update2(xx_[prev[i] << 1 | 0], -INF, INF);
}
printf("%d\n", stlr[1] != INF ? stlr[1] : str1[1] - stl2[1]);
}
return 0;
}
Compilation message
Main.c: In function 'pul2':
Main.c:90:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
90 | if (stl1[l] > stl1[r] || stl1[l] == stl1[r] && str1[l] < str1[r])
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Main.c:94:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
94 | if (str2[l] < str2[r] || str2[l] == str2[r] && stl2[l] > stl2[r])
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Main.c: In function 'main':
Main.c:111:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
111 | scanf("%d", &n);
| ^~~~~~~~~~~~~~~
Main.c:115:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
115 | scanf("%s%d%d", s, &xx[i << 1 | 0], &xx[i << 1 | 1]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
340 KB |
Output is correct |
2 |
Correct |
1 ms |
380 KB |
Output is correct |
3 |
Correct |
1 ms |
424 KB |
Output is correct |
4 |
Correct |
1 ms |
340 KB |
Output is correct |
5 |
Correct |
1 ms |
340 KB |
Output is correct |
6 |
Correct |
1 ms |
340 KB |
Output is correct |
7 |
Correct |
1 ms |
340 KB |
Output is correct |
8 |
Correct |
1 ms |
340 KB |
Output is correct |
9 |
Correct |
1 ms |
428 KB |
Output is correct |
10 |
Correct |
1 ms |
428 KB |
Output is correct |
11 |
Correct |
1 ms |
340 KB |
Output is correct |
12 |
Correct |
1 ms |
424 KB |
Output is correct |
13 |
Correct |
1 ms |
340 KB |
Output is correct |
14 |
Correct |
1 ms |
340 KB |
Output is correct |
15 |
Correct |
1 ms |
340 KB |
Output is correct |
16 |
Correct |
1 ms |
340 KB |
Output is correct |
17 |
Correct |
1 ms |
340 KB |
Output is correct |
18 |
Correct |
1 ms |
340 KB |
Output is correct |
19 |
Correct |
1 ms |
340 KB |
Output is correct |
20 |
Correct |
1 ms |
340 KB |
Output is correct |
21 |
Correct |
1 ms |
340 KB |
Output is correct |
22 |
Correct |
1 ms |
340 KB |
Output is correct |
23 |
Correct |
1 ms |
340 KB |
Output is correct |
24 |
Correct |
1 ms |
340 KB |
Output is correct |
25 |
Correct |
1 ms |
340 KB |
Output is correct |
26 |
Correct |
1 ms |
340 KB |
Output is correct |
27 |
Correct |
1 ms |
340 KB |
Output is correct |
28 |
Correct |
2 ms |
340 KB |
Output is correct |
29 |
Correct |
1 ms |
340 KB |
Output is correct |
30 |
Correct |
1 ms |
340 KB |
Output is correct |
31 |
Correct |
1 ms |
340 KB |
Output is correct |
32 |
Correct |
1 ms |
340 KB |
Output is correct |
33 |
Correct |
1 ms |
340 KB |
Output is correct |
34 |
Correct |
1 ms |
340 KB |
Output is correct |
35 |
Correct |
1 ms |
340 KB |
Output is correct |
36 |
Correct |
1 ms |
340 KB |
Output is correct |
37 |
Correct |
1 ms |
340 KB |
Output is correct |
38 |
Correct |
1 ms |
340 KB |
Output is correct |
39 |
Correct |
1 ms |
428 KB |
Output is correct |
40 |
Correct |
1 ms |
428 KB |
Output is correct |
41 |
Correct |
1 ms |
340 KB |
Output is correct |
42 |
Correct |
1 ms |
340 KB |
Output is correct |
43 |
Correct |
1 ms |
424 KB |
Output is correct |
44 |
Correct |
1 ms |
340 KB |
Output is correct |
45 |
Correct |
1 ms |
340 KB |
Output is correct |
46 |
Correct |
1 ms |
340 KB |
Output is correct |
47 |
Correct |
1 ms |
340 KB |
Output is correct |
48 |
Correct |
1 ms |
432 KB |
Output is correct |
49 |
Correct |
1 ms |
432 KB |
Output is correct |
50 |
Correct |
1 ms |
428 KB |
Output is correct |
51 |
Correct |
1 ms |
340 KB |
Output is correct |
52 |
Correct |
1 ms |
340 KB |
Output is correct |
53 |
Correct |
1 ms |
340 KB |
Output is correct |
54 |
Correct |
1 ms |
340 KB |
Output is correct |
55 |
Correct |
1 ms |
340 KB |
Output is correct |
56 |
Correct |
1 ms |
428 KB |
Output is correct |
57 |
Correct |
1 ms |
340 KB |
Output is correct |
58 |
Correct |
1 ms |
424 KB |
Output is correct |
59 |
Correct |
1 ms |
340 KB |
Output is correct |
60 |
Correct |
1 ms |
340 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
340 KB |
Output is correct |
2 |
Correct |
1 ms |
380 KB |
Output is correct |
3 |
Correct |
1 ms |
424 KB |
Output is correct |
4 |
Correct |
1 ms |
340 KB |
Output is correct |
5 |
Correct |
1 ms |
340 KB |
Output is correct |
6 |
Correct |
1 ms |
340 KB |
Output is correct |
7 |
Correct |
1 ms |
340 KB |
Output is correct |
8 |
Correct |
1 ms |
340 KB |
Output is correct |
9 |
Correct |
1 ms |
428 KB |
Output is correct |
10 |
Correct |
1 ms |
428 KB |
Output is correct |
11 |
Correct |
1 ms |
340 KB |
Output is correct |
12 |
Correct |
1 ms |
424 KB |
Output is correct |
13 |
Correct |
1 ms |
340 KB |
Output is correct |
14 |
Correct |
1 ms |
340 KB |
Output is correct |
15 |
Correct |
1 ms |
340 KB |
Output is correct |
16 |
Correct |
1 ms |
340 KB |
Output is correct |
17 |
Correct |
1 ms |
340 KB |
Output is correct |
18 |
Correct |
1 ms |
340 KB |
Output is correct |
19 |
Correct |
1 ms |
340 KB |
Output is correct |
20 |
Correct |
1 ms |
340 KB |
Output is correct |
21 |
Correct |
1 ms |
340 KB |
Output is correct |
22 |
Correct |
1 ms |
340 KB |
Output is correct |
23 |
Correct |
1 ms |
340 KB |
Output is correct |
24 |
Correct |
1 ms |
340 KB |
Output is correct |
25 |
Correct |
1 ms |
340 KB |
Output is correct |
26 |
Correct |
1 ms |
340 KB |
Output is correct |
27 |
Correct |
1 ms |
340 KB |
Output is correct |
28 |
Correct |
2 ms |
340 KB |
Output is correct |
29 |
Correct |
1 ms |
340 KB |
Output is correct |
30 |
Correct |
1 ms |
340 KB |
Output is correct |
31 |
Correct |
1 ms |
340 KB |
Output is correct |
32 |
Correct |
1 ms |
340 KB |
Output is correct |
33 |
Correct |
1 ms |
340 KB |
Output is correct |
34 |
Correct |
1 ms |
340 KB |
Output is correct |
35 |
Correct |
1 ms |
340 KB |
Output is correct |
36 |
Correct |
1 ms |
340 KB |
Output is correct |
37 |
Correct |
1 ms |
340 KB |
Output is correct |
38 |
Correct |
1 ms |
340 KB |
Output is correct |
39 |
Correct |
1 ms |
428 KB |
Output is correct |
40 |
Correct |
1 ms |
428 KB |
Output is correct |
41 |
Correct |
1 ms |
340 KB |
Output is correct |
42 |
Correct |
1 ms |
340 KB |
Output is correct |
43 |
Correct |
1 ms |
424 KB |
Output is correct |
44 |
Correct |
1 ms |
340 KB |
Output is correct |
45 |
Correct |
1 ms |
340 KB |
Output is correct |
46 |
Correct |
1 ms |
340 KB |
Output is correct |
47 |
Correct |
1 ms |
340 KB |
Output is correct |
48 |
Correct |
1 ms |
432 KB |
Output is correct |
49 |
Correct |
1 ms |
432 KB |
Output is correct |
50 |
Correct |
1 ms |
428 KB |
Output is correct |
51 |
Correct |
1 ms |
340 KB |
Output is correct |
52 |
Correct |
1 ms |
340 KB |
Output is correct |
53 |
Correct |
1 ms |
340 KB |
Output is correct |
54 |
Correct |
1 ms |
340 KB |
Output is correct |
55 |
Correct |
1 ms |
340 KB |
Output is correct |
56 |
Correct |
1 ms |
428 KB |
Output is correct |
57 |
Correct |
1 ms |
340 KB |
Output is correct |
58 |
Correct |
1 ms |
424 KB |
Output is correct |
59 |
Correct |
1 ms |
340 KB |
Output is correct |
60 |
Correct |
1 ms |
340 KB |
Output is correct |
61 |
Correct |
1 ms |
340 KB |
Output is correct |
62 |
Correct |
1 ms |
340 KB |
Output is correct |
63 |
Correct |
1 ms |
296 KB |
Output is correct |
64 |
Correct |
20 ms |
2684 KB |
Output is correct |
65 |
Correct |
15 ms |
2644 KB |
Output is correct |
66 |
Correct |
15 ms |
2740 KB |
Output is correct |
67 |
Correct |
15 ms |
2672 KB |
Output is correct |
68 |
Correct |
15 ms |
2644 KB |
Output is correct |
69 |
Correct |
16 ms |
2644 KB |
Output is correct |
70 |
Correct |
15 ms |
2676 KB |
Output is correct |
71 |
Correct |
15 ms |
2772 KB |
Output is correct |
72 |
Correct |
16 ms |
2656 KB |
Output is correct |
73 |
Correct |
17 ms |
2732 KB |
Output is correct |
74 |
Correct |
17 ms |
2644 KB |
Output is correct |
75 |
Correct |
15 ms |
2672 KB |
Output is correct |
76 |
Correct |
15 ms |
2664 KB |
Output is correct |
77 |
Correct |
17 ms |
2628 KB |
Output is correct |
78 |
Correct |
15 ms |
2664 KB |
Output is correct |
79 |
Correct |
15 ms |
2628 KB |
Output is correct |
80 |
Correct |
17 ms |
2616 KB |
Output is correct |
81 |
Correct |
15 ms |
2736 KB |
Output is correct |
82 |
Correct |
15 ms |
2728 KB |
Output is correct |
83 |
Correct |
19 ms |
2772 KB |
Output is correct |
84 |
Correct |
17 ms |
2612 KB |
Output is correct |
85 |
Correct |
22 ms |
2644 KB |
Output is correct |
86 |
Correct |
15 ms |
2748 KB |
Output is correct |
87 |
Correct |
15 ms |
2732 KB |
Output is correct |
88 |
Correct |
15 ms |
2716 KB |
Output is correct |
89 |
Correct |
15 ms |
2644 KB |
Output is correct |
90 |
Correct |
16 ms |
2644 KB |
Output is correct |
91 |
Correct |
15 ms |
2740 KB |
Output is correct |
92 |
Correct |
15 ms |
2656 KB |
Output is correct |
93 |
Correct |
16 ms |
2632 KB |
Output is correct |
94 |
Correct |
16 ms |
2644 KB |
Output is correct |
95 |
Correct |
15 ms |
2676 KB |
Output is correct |
96 |
Correct |
15 ms |
2708 KB |
Output is correct |
97 |
Correct |
15 ms |
2772 KB |
Output is correct |
98 |
Correct |
15 ms |
2772 KB |
Output is correct |
99 |
Correct |
15 ms |
2656 KB |
Output is correct |
100 |
Correct |
15 ms |
2740 KB |
Output is correct |
101 |
Correct |
15 ms |
2776 KB |
Output is correct |
102 |
Correct |
16 ms |
2728 KB |
Output is correct |
103 |
Correct |
16 ms |
2772 KB |
Output is correct |
104 |
Correct |
19 ms |
2644 KB |
Output is correct |
105 |
Correct |
19 ms |
2688 KB |
Output is correct |
106 |
Correct |
15 ms |
2724 KB |
Output is correct |
107 |
Correct |
15 ms |
2676 KB |
Output is correct |
108 |
Correct |
15 ms |
2716 KB |
Output is correct |
109 |
Correct |
15 ms |
2644 KB |
Output is correct |
110 |
Correct |
16 ms |
2736 KB |
Output is correct |
111 |
Correct |
15 ms |
2724 KB |
Output is correct |
112 |
Correct |
15 ms |
2660 KB |
Output is correct |
113 |
Correct |
15 ms |
2728 KB |
Output is correct |
114 |
Correct |
14 ms |
2696 KB |
Output is correct |
115 |
Correct |
14 ms |
2644 KB |
Output is correct |
116 |
Correct |
15 ms |
2688 KB |
Output is correct |
117 |
Correct |
16 ms |
2644 KB |
Output is correct |
118 |
Correct |
14 ms |
2696 KB |
Output is correct |
119 |
Correct |
15 ms |
2704 KB |
Output is correct |
120 |
Correct |
15 ms |
2692 KB |
Output is correct |
121 |
Correct |
17 ms |
2716 KB |
Output is correct |
122 |
Correct |
14 ms |
2664 KB |
Output is correct |
123 |
Correct |
13 ms |
2668 KB |
Output is correct |
124 |
Correct |
14 ms |
2644 KB |
Output is correct |
125 |
Correct |
14 ms |
2644 KB |
Output is correct |
126 |
Correct |
15 ms |
2604 KB |
Output is correct |
127 |
Correct |
15 ms |
2668 KB |
Output is correct |
128 |
Correct |
14 ms |
2644 KB |
Output is correct |
129 |
Correct |
17 ms |
2612 KB |
Output is correct |
130 |
Correct |
16 ms |
2644 KB |
Output is correct |
131 |
Correct |
14 ms |
2644 KB |
Output is correct |
132 |
Correct |
16 ms |
2644 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
340 KB |
Output is correct |
2 |
Correct |
1 ms |
380 KB |
Output is correct |
3 |
Correct |
1 ms |
424 KB |
Output is correct |
4 |
Correct |
1 ms |
340 KB |
Output is correct |
5 |
Correct |
1 ms |
340 KB |
Output is correct |
6 |
Correct |
1 ms |
340 KB |
Output is correct |
7 |
Correct |
1 ms |
340 KB |
Output is correct |
8 |
Correct |
1 ms |
340 KB |
Output is correct |
9 |
Correct |
1 ms |
428 KB |
Output is correct |
10 |
Correct |
1 ms |
428 KB |
Output is correct |
11 |
Correct |
1 ms |
340 KB |
Output is correct |
12 |
Correct |
1 ms |
424 KB |
Output is correct |
13 |
Correct |
1 ms |
340 KB |
Output is correct |
14 |
Correct |
1 ms |
340 KB |
Output is correct |
15 |
Correct |
1 ms |
340 KB |
Output is correct |
16 |
Correct |
1 ms |
340 KB |
Output is correct |
17 |
Correct |
1 ms |
340 KB |
Output is correct |
18 |
Correct |
1 ms |
340 KB |
Output is correct |
19 |
Correct |
1 ms |
340 KB |
Output is correct |
20 |
Correct |
1 ms |
340 KB |
Output is correct |
21 |
Correct |
1 ms |
340 KB |
Output is correct |
22 |
Correct |
1 ms |
340 KB |
Output is correct |
23 |
Correct |
1 ms |
340 KB |
Output is correct |
24 |
Correct |
1 ms |
340 KB |
Output is correct |
25 |
Correct |
1 ms |
340 KB |
Output is correct |
26 |
Correct |
1 ms |
340 KB |
Output is correct |
27 |
Correct |
1 ms |
340 KB |
Output is correct |
28 |
Correct |
2 ms |
340 KB |
Output is correct |
29 |
Correct |
1 ms |
340 KB |
Output is correct |
30 |
Correct |
1 ms |
340 KB |
Output is correct |
31 |
Correct |
1 ms |
340 KB |
Output is correct |
32 |
Correct |
1 ms |
340 KB |
Output is correct |
33 |
Correct |
1 ms |
340 KB |
Output is correct |
34 |
Correct |
1 ms |
340 KB |
Output is correct |
35 |
Correct |
1 ms |
340 KB |
Output is correct |
36 |
Correct |
1 ms |
340 KB |
Output is correct |
37 |
Correct |
1 ms |
340 KB |
Output is correct |
38 |
Correct |
1 ms |
340 KB |
Output is correct |
39 |
Correct |
1 ms |
428 KB |
Output is correct |
40 |
Correct |
1 ms |
428 KB |
Output is correct |
41 |
Correct |
1 ms |
340 KB |
Output is correct |
42 |
Correct |
1 ms |
340 KB |
Output is correct |
43 |
Correct |
1 ms |
424 KB |
Output is correct |
44 |
Correct |
1 ms |
340 KB |
Output is correct |
45 |
Correct |
1 ms |
340 KB |
Output is correct |
46 |
Correct |
1 ms |
340 KB |
Output is correct |
47 |
Correct |
1 ms |
340 KB |
Output is correct |
48 |
Correct |
1 ms |
432 KB |
Output is correct |
49 |
Correct |
1 ms |
432 KB |
Output is correct |
50 |
Correct |
1 ms |
428 KB |
Output is correct |
51 |
Correct |
1 ms |
340 KB |
Output is correct |
52 |
Correct |
1 ms |
340 KB |
Output is correct |
53 |
Correct |
1 ms |
340 KB |
Output is correct |
54 |
Correct |
1 ms |
340 KB |
Output is correct |
55 |
Correct |
1 ms |
340 KB |
Output is correct |
56 |
Correct |
1 ms |
428 KB |
Output is correct |
57 |
Correct |
1 ms |
340 KB |
Output is correct |
58 |
Correct |
1 ms |
424 KB |
Output is correct |
59 |
Correct |
1 ms |
340 KB |
Output is correct |
60 |
Correct |
1 ms |
340 KB |
Output is correct |
61 |
Correct |
1 ms |
340 KB |
Output is correct |
62 |
Correct |
1 ms |
340 KB |
Output is correct |
63 |
Correct |
1 ms |
296 KB |
Output is correct |
64 |
Correct |
20 ms |
2684 KB |
Output is correct |
65 |
Correct |
15 ms |
2644 KB |
Output is correct |
66 |
Correct |
15 ms |
2740 KB |
Output is correct |
67 |
Correct |
15 ms |
2672 KB |
Output is correct |
68 |
Correct |
15 ms |
2644 KB |
Output is correct |
69 |
Correct |
16 ms |
2644 KB |
Output is correct |
70 |
Correct |
15 ms |
2676 KB |
Output is correct |
71 |
Correct |
15 ms |
2772 KB |
Output is correct |
72 |
Correct |
16 ms |
2656 KB |
Output is correct |
73 |
Correct |
17 ms |
2732 KB |
Output is correct |
74 |
Correct |
17 ms |
2644 KB |
Output is correct |
75 |
Correct |
15 ms |
2672 KB |
Output is correct |
76 |
Correct |
15 ms |
2664 KB |
Output is correct |
77 |
Correct |
17 ms |
2628 KB |
Output is correct |
78 |
Correct |
15 ms |
2664 KB |
Output is correct |
79 |
Correct |
15 ms |
2628 KB |
Output is correct |
80 |
Correct |
17 ms |
2616 KB |
Output is correct |
81 |
Correct |
15 ms |
2736 KB |
Output is correct |
82 |
Correct |
15 ms |
2728 KB |
Output is correct |
83 |
Correct |
19 ms |
2772 KB |
Output is correct |
84 |
Correct |
17 ms |
2612 KB |
Output is correct |
85 |
Correct |
22 ms |
2644 KB |
Output is correct |
86 |
Correct |
15 ms |
2748 KB |
Output is correct |
87 |
Correct |
15 ms |
2732 KB |
Output is correct |
88 |
Correct |
15 ms |
2716 KB |
Output is correct |
89 |
Correct |
15 ms |
2644 KB |
Output is correct |
90 |
Correct |
16 ms |
2644 KB |
Output is correct |
91 |
Correct |
15 ms |
2740 KB |
Output is correct |
92 |
Correct |
15 ms |
2656 KB |
Output is correct |
93 |
Correct |
16 ms |
2632 KB |
Output is correct |
94 |
Correct |
16 ms |
2644 KB |
Output is correct |
95 |
Correct |
15 ms |
2676 KB |
Output is correct |
96 |
Correct |
15 ms |
2708 KB |
Output is correct |
97 |
Correct |
15 ms |
2772 KB |
Output is correct |
98 |
Correct |
15 ms |
2772 KB |
Output is correct |
99 |
Correct |
15 ms |
2656 KB |
Output is correct |
100 |
Correct |
15 ms |
2740 KB |
Output is correct |
101 |
Correct |
15 ms |
2776 KB |
Output is correct |
102 |
Correct |
16 ms |
2728 KB |
Output is correct |
103 |
Correct |
16 ms |
2772 KB |
Output is correct |
104 |
Correct |
19 ms |
2644 KB |
Output is correct |
105 |
Correct |
19 ms |
2688 KB |
Output is correct |
106 |
Correct |
15 ms |
2724 KB |
Output is correct |
107 |
Correct |
15 ms |
2676 KB |
Output is correct |
108 |
Correct |
15 ms |
2716 KB |
Output is correct |
109 |
Correct |
15 ms |
2644 KB |
Output is correct |
110 |
Correct |
16 ms |
2736 KB |
Output is correct |
111 |
Correct |
15 ms |
2724 KB |
Output is correct |
112 |
Correct |
15 ms |
2660 KB |
Output is correct |
113 |
Correct |
15 ms |
2728 KB |
Output is correct |
114 |
Correct |
14 ms |
2696 KB |
Output is correct |
115 |
Correct |
14 ms |
2644 KB |
Output is correct |
116 |
Correct |
15 ms |
2688 KB |
Output is correct |
117 |
Correct |
16 ms |
2644 KB |
Output is correct |
118 |
Correct |
14 ms |
2696 KB |
Output is correct |
119 |
Correct |
15 ms |
2704 KB |
Output is correct |
120 |
Correct |
15 ms |
2692 KB |
Output is correct |
121 |
Correct |
17 ms |
2716 KB |
Output is correct |
122 |
Correct |
14 ms |
2664 KB |
Output is correct |
123 |
Correct |
13 ms |
2668 KB |
Output is correct |
124 |
Correct |
14 ms |
2644 KB |
Output is correct |
125 |
Correct |
14 ms |
2644 KB |
Output is correct |
126 |
Correct |
15 ms |
2604 KB |
Output is correct |
127 |
Correct |
15 ms |
2668 KB |
Output is correct |
128 |
Correct |
14 ms |
2644 KB |
Output is correct |
129 |
Correct |
17 ms |
2612 KB |
Output is correct |
130 |
Correct |
16 ms |
2644 KB |
Output is correct |
131 |
Correct |
14 ms |
2644 KB |
Output is correct |
132 |
Correct |
16 ms |
2644 KB |
Output is correct |
133 |
Correct |
78 ms |
9808 KB |
Output is correct |
134 |
Correct |
75 ms |
9904 KB |
Output is correct |
135 |
Correct |
77 ms |
9996 KB |
Output is correct |
136 |
Correct |
73 ms |
9988 KB |
Output is correct |
137 |
Correct |
77 ms |
9820 KB |
Output is correct |
138 |
Correct |
80 ms |
9860 KB |
Output is correct |
139 |
Correct |
73 ms |
9936 KB |
Output is correct |
140 |
Correct |
88 ms |
9980 KB |
Output is correct |
141 |
Correct |
77 ms |
9776 KB |
Output is correct |
142 |
Correct |
72 ms |
9908 KB |
Output is correct |
143 |
Correct |
79 ms |
9952 KB |
Output is correct |
144 |
Correct |
72 ms |
9960 KB |
Output is correct |
145 |
Correct |
81 ms |
9704 KB |
Output is correct |
146 |
Correct |
75 ms |
9680 KB |
Output is correct |
147 |
Correct |
77 ms |
9768 KB |
Output is correct |
148 |
Correct |
73 ms |
9704 KB |
Output is correct |
149 |
Correct |
73 ms |
9752 KB |
Output is correct |
150 |
Correct |
74 ms |
9868 KB |
Output is correct |
151 |
Correct |
73 ms |
9884 KB |
Output is correct |
152 |
Correct |
72 ms |
10016 KB |
Output is correct |
153 |
Correct |
75 ms |
9724 KB |
Output is correct |
154 |
Correct |
74 ms |
9864 KB |
Output is correct |
155 |
Correct |
79 ms |
9956 KB |
Output is correct |
156 |
Correct |
86 ms |
9944 KB |
Output is correct |
157 |
Correct |
76 ms |
9804 KB |
Output is correct |
158 |
Correct |
75 ms |
9804 KB |
Output is correct |
159 |
Correct |
73 ms |
9860 KB |
Output is correct |
160 |
Correct |
77 ms |
9892 KB |
Output is correct |
161 |
Correct |
97 ms |
9632 KB |
Output is correct |
162 |
Correct |
74 ms |
9708 KB |
Output is correct |
163 |
Correct |
73 ms |
9680 KB |
Output is correct |
164 |
Correct |
74 ms |
9672 KB |
Output is correct |
165 |
Correct |
85 ms |
10032 KB |
Output is correct |
166 |
Correct |
70 ms |
10056 KB |
Output is correct |
167 |
Correct |
75 ms |
10020 KB |
Output is correct |
168 |
Correct |
72 ms |
10044 KB |
Output is correct |
169 |
Correct |
78 ms |
9972 KB |
Output is correct |
170 |
Correct |
79 ms |
10020 KB |
Output is correct |
171 |
Correct |
80 ms |
9952 KB |
Output is correct |
172 |
Correct |
74 ms |
10052 KB |
Output is correct |
173 |
Correct |
76 ms |
9848 KB |
Output is correct |
174 |
Correct |
84 ms |
9876 KB |
Output is correct |
175 |
Correct |
77 ms |
10024 KB |
Output is correct |
176 |
Correct |
80 ms |
10060 KB |
Output is correct |
177 |
Correct |
80 ms |
9764 KB |
Output is correct |
178 |
Correct |
78 ms |
9896 KB |
Output is correct |
179 |
Correct |
74 ms |
9920 KB |
Output is correct |
180 |
Correct |
74 ms |
10028 KB |
Output is correct |
181 |
Correct |
67 ms |
9940 KB |
Output is correct |
182 |
Correct |
85 ms |
9828 KB |
Output is correct |
183 |
Correct |
63 ms |
9932 KB |
Output is correct |
184 |
Correct |
66 ms |
9960 KB |
Output is correct |
185 |
Correct |
69 ms |
9832 KB |
Output is correct |
186 |
Correct |
69 ms |
9824 KB |
Output is correct |
187 |
Correct |
68 ms |
9900 KB |
Output is correct |
188 |
Correct |
64 ms |
9896 KB |
Output is correct |
189 |
Correct |
67 ms |
9896 KB |
Output is correct |
190 |
Correct |
71 ms |
9888 KB |
Output is correct |
191 |
Correct |
56 ms |
9636 KB |
Output is correct |
192 |
Correct |
63 ms |
9616 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
247 ms |
37460 KB |
Output is correct |
2 |
Correct |
245 ms |
37440 KB |
Output is correct |
3 |
Correct |
510 ms |
74416 KB |
Output is correct |
4 |
Correct |
528 ms |
74492 KB |
Output is correct |
5 |
Correct |
667 ms |
78676 KB |
Output is correct |
6 |
Correct |
622 ms |
78788 KB |
Output is correct |
7 |
Correct |
985 ms |
79612 KB |
Output is correct |
8 |
Correct |
984 ms |
78776 KB |
Output is correct |
9 |
Correct |
915 ms |
78608 KB |
Output is correct |
10 |
Correct |
971 ms |
79732 KB |
Output is correct |
11 |
Correct |
898 ms |
78752 KB |
Output is correct |
12 |
Correct |
933 ms |
78576 KB |
Output is correct |
13 |
Correct |
998 ms |
79672 KB |
Output is correct |
14 |
Correct |
951 ms |
78944 KB |
Output is correct |
15 |
Correct |
915 ms |
78632 KB |
Output is correct |
16 |
Correct |
736 ms |
80076 KB |
Output is correct |
17 |
Correct |
751 ms |
80116 KB |
Output is correct |
18 |
Correct |
714 ms |
79876 KB |
Output is correct |
19 |
Correct |
735 ms |
79964 KB |
Output is correct |
20 |
Correct |
715 ms |
79996 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
340 KB |
Output is correct |
2 |
Correct |
1 ms |
380 KB |
Output is correct |
3 |
Correct |
1 ms |
424 KB |
Output is correct |
4 |
Correct |
1 ms |
340 KB |
Output is correct |
5 |
Correct |
1 ms |
340 KB |
Output is correct |
6 |
Correct |
1 ms |
340 KB |
Output is correct |
7 |
Correct |
1 ms |
340 KB |
Output is correct |
8 |
Correct |
1 ms |
340 KB |
Output is correct |
9 |
Correct |
1 ms |
428 KB |
Output is correct |
10 |
Correct |
1 ms |
428 KB |
Output is correct |
11 |
Correct |
1 ms |
340 KB |
Output is correct |
12 |
Correct |
1 ms |
424 KB |
Output is correct |
13 |
Correct |
1 ms |
340 KB |
Output is correct |
14 |
Correct |
1 ms |
340 KB |
Output is correct |
15 |
Correct |
1 ms |
340 KB |
Output is correct |
16 |
Correct |
1 ms |
340 KB |
Output is correct |
17 |
Correct |
1 ms |
340 KB |
Output is correct |
18 |
Correct |
1 ms |
340 KB |
Output is correct |
19 |
Correct |
1 ms |
340 KB |
Output is correct |
20 |
Correct |
1 ms |
340 KB |
Output is correct |
21 |
Correct |
1 ms |
340 KB |
Output is correct |
22 |
Correct |
1 ms |
340 KB |
Output is correct |
23 |
Correct |
1 ms |
340 KB |
Output is correct |
24 |
Correct |
1 ms |
340 KB |
Output is correct |
25 |
Correct |
1 ms |
340 KB |
Output is correct |
26 |
Correct |
1 ms |
340 KB |
Output is correct |
27 |
Correct |
1 ms |
340 KB |
Output is correct |
28 |
Correct |
2 ms |
340 KB |
Output is correct |
29 |
Correct |
1 ms |
340 KB |
Output is correct |
30 |
Correct |
1 ms |
340 KB |
Output is correct |
31 |
Correct |
1 ms |
340 KB |
Output is correct |
32 |
Correct |
1 ms |
340 KB |
Output is correct |
33 |
Correct |
1 ms |
340 KB |
Output is correct |
34 |
Correct |
1 ms |
340 KB |
Output is correct |
35 |
Correct |
1 ms |
340 KB |
Output is correct |
36 |
Correct |
1 ms |
340 KB |
Output is correct |
37 |
Correct |
1 ms |
340 KB |
Output is correct |
38 |
Correct |
1 ms |
340 KB |
Output is correct |
39 |
Correct |
1 ms |
428 KB |
Output is correct |
40 |
Correct |
1 ms |
428 KB |
Output is correct |
41 |
Correct |
1 ms |
340 KB |
Output is correct |
42 |
Correct |
1 ms |
340 KB |
Output is correct |
43 |
Correct |
1 ms |
424 KB |
Output is correct |
44 |
Correct |
1 ms |
340 KB |
Output is correct |
45 |
Correct |
1 ms |
340 KB |
Output is correct |
46 |
Correct |
1 ms |
340 KB |
Output is correct |
47 |
Correct |
1 ms |
340 KB |
Output is correct |
48 |
Correct |
1 ms |
432 KB |
Output is correct |
49 |
Correct |
1 ms |
432 KB |
Output is correct |
50 |
Correct |
1 ms |
428 KB |
Output is correct |
51 |
Correct |
1 ms |
340 KB |
Output is correct |
52 |
Correct |
1 ms |
340 KB |
Output is correct |
53 |
Correct |
1 ms |
340 KB |
Output is correct |
54 |
Correct |
1 ms |
340 KB |
Output is correct |
55 |
Correct |
1 ms |
340 KB |
Output is correct |
56 |
Correct |
1 ms |
428 KB |
Output is correct |
57 |
Correct |
1 ms |
340 KB |
Output is correct |
58 |
Correct |
1 ms |
424 KB |
Output is correct |
59 |
Correct |
1 ms |
340 KB |
Output is correct |
60 |
Correct |
1 ms |
340 KB |
Output is correct |
61 |
Correct |
1 ms |
340 KB |
Output is correct |
62 |
Correct |
1 ms |
340 KB |
Output is correct |
63 |
Correct |
1 ms |
296 KB |
Output is correct |
64 |
Correct |
20 ms |
2684 KB |
Output is correct |
65 |
Correct |
15 ms |
2644 KB |
Output is correct |
66 |
Correct |
15 ms |
2740 KB |
Output is correct |
67 |
Correct |
15 ms |
2672 KB |
Output is correct |
68 |
Correct |
15 ms |
2644 KB |
Output is correct |
69 |
Correct |
16 ms |
2644 KB |
Output is correct |
70 |
Correct |
15 ms |
2676 KB |
Output is correct |
71 |
Correct |
15 ms |
2772 KB |
Output is correct |
72 |
Correct |
16 ms |
2656 KB |
Output is correct |
73 |
Correct |
17 ms |
2732 KB |
Output is correct |
74 |
Correct |
17 ms |
2644 KB |
Output is correct |
75 |
Correct |
15 ms |
2672 KB |
Output is correct |
76 |
Correct |
15 ms |
2664 KB |
Output is correct |
77 |
Correct |
17 ms |
2628 KB |
Output is correct |
78 |
Correct |
15 ms |
2664 KB |
Output is correct |
79 |
Correct |
15 ms |
2628 KB |
Output is correct |
80 |
Correct |
17 ms |
2616 KB |
Output is correct |
81 |
Correct |
15 ms |
2736 KB |
Output is correct |
82 |
Correct |
15 ms |
2728 KB |
Output is correct |
83 |
Correct |
19 ms |
2772 KB |
Output is correct |
84 |
Correct |
17 ms |
2612 KB |
Output is correct |
85 |
Correct |
22 ms |
2644 KB |
Output is correct |
86 |
Correct |
15 ms |
2748 KB |
Output is correct |
87 |
Correct |
15 ms |
2732 KB |
Output is correct |
88 |
Correct |
15 ms |
2716 KB |
Output is correct |
89 |
Correct |
15 ms |
2644 KB |
Output is correct |
90 |
Correct |
16 ms |
2644 KB |
Output is correct |
91 |
Correct |
15 ms |
2740 KB |
Output is correct |
92 |
Correct |
15 ms |
2656 KB |
Output is correct |
93 |
Correct |
16 ms |
2632 KB |
Output is correct |
94 |
Correct |
16 ms |
2644 KB |
Output is correct |
95 |
Correct |
15 ms |
2676 KB |
Output is correct |
96 |
Correct |
15 ms |
2708 KB |
Output is correct |
97 |
Correct |
15 ms |
2772 KB |
Output is correct |
98 |
Correct |
15 ms |
2772 KB |
Output is correct |
99 |
Correct |
15 ms |
2656 KB |
Output is correct |
100 |
Correct |
15 ms |
2740 KB |
Output is correct |
101 |
Correct |
15 ms |
2776 KB |
Output is correct |
102 |
Correct |
16 ms |
2728 KB |
Output is correct |
103 |
Correct |
16 ms |
2772 KB |
Output is correct |
104 |
Correct |
19 ms |
2644 KB |
Output is correct |
105 |
Correct |
19 ms |
2688 KB |
Output is correct |
106 |
Correct |
15 ms |
2724 KB |
Output is correct |
107 |
Correct |
15 ms |
2676 KB |
Output is correct |
108 |
Correct |
15 ms |
2716 KB |
Output is correct |
109 |
Correct |
15 ms |
2644 KB |
Output is correct |
110 |
Correct |
16 ms |
2736 KB |
Output is correct |
111 |
Correct |
15 ms |
2724 KB |
Output is correct |
112 |
Correct |
15 ms |
2660 KB |
Output is correct |
113 |
Correct |
15 ms |
2728 KB |
Output is correct |
114 |
Correct |
14 ms |
2696 KB |
Output is correct |
115 |
Correct |
14 ms |
2644 KB |
Output is correct |
116 |
Correct |
15 ms |
2688 KB |
Output is correct |
117 |
Correct |
16 ms |
2644 KB |
Output is correct |
118 |
Correct |
14 ms |
2696 KB |
Output is correct |
119 |
Correct |
15 ms |
2704 KB |
Output is correct |
120 |
Correct |
15 ms |
2692 KB |
Output is correct |
121 |
Correct |
17 ms |
2716 KB |
Output is correct |
122 |
Correct |
14 ms |
2664 KB |
Output is correct |
123 |
Correct |
13 ms |
2668 KB |
Output is correct |
124 |
Correct |
14 ms |
2644 KB |
Output is correct |
125 |
Correct |
14 ms |
2644 KB |
Output is correct |
126 |
Correct |
15 ms |
2604 KB |
Output is correct |
127 |
Correct |
15 ms |
2668 KB |
Output is correct |
128 |
Correct |
14 ms |
2644 KB |
Output is correct |
129 |
Correct |
17 ms |
2612 KB |
Output is correct |
130 |
Correct |
16 ms |
2644 KB |
Output is correct |
131 |
Correct |
14 ms |
2644 KB |
Output is correct |
132 |
Correct |
16 ms |
2644 KB |
Output is correct |
133 |
Correct |
78 ms |
9808 KB |
Output is correct |
134 |
Correct |
75 ms |
9904 KB |
Output is correct |
135 |
Correct |
77 ms |
9996 KB |
Output is correct |
136 |
Correct |
73 ms |
9988 KB |
Output is correct |
137 |
Correct |
77 ms |
9820 KB |
Output is correct |
138 |
Correct |
80 ms |
9860 KB |
Output is correct |
139 |
Correct |
73 ms |
9936 KB |
Output is correct |
140 |
Correct |
88 ms |
9980 KB |
Output is correct |
141 |
Correct |
77 ms |
9776 KB |
Output is correct |
142 |
Correct |
72 ms |
9908 KB |
Output is correct |
143 |
Correct |
79 ms |
9952 KB |
Output is correct |
144 |
Correct |
72 ms |
9960 KB |
Output is correct |
145 |
Correct |
81 ms |
9704 KB |
Output is correct |
146 |
Correct |
75 ms |
9680 KB |
Output is correct |
147 |
Correct |
77 ms |
9768 KB |
Output is correct |
148 |
Correct |
73 ms |
9704 KB |
Output is correct |
149 |
Correct |
73 ms |
9752 KB |
Output is correct |
150 |
Correct |
74 ms |
9868 KB |
Output is correct |
151 |
Correct |
73 ms |
9884 KB |
Output is correct |
152 |
Correct |
72 ms |
10016 KB |
Output is correct |
153 |
Correct |
75 ms |
9724 KB |
Output is correct |
154 |
Correct |
74 ms |
9864 KB |
Output is correct |
155 |
Correct |
79 ms |
9956 KB |
Output is correct |
156 |
Correct |
86 ms |
9944 KB |
Output is correct |
157 |
Correct |
76 ms |
9804 KB |
Output is correct |
158 |
Correct |
75 ms |
9804 KB |
Output is correct |
159 |
Correct |
73 ms |
9860 KB |
Output is correct |
160 |
Correct |
77 ms |
9892 KB |
Output is correct |
161 |
Correct |
97 ms |
9632 KB |
Output is correct |
162 |
Correct |
74 ms |
9708 KB |
Output is correct |
163 |
Correct |
73 ms |
9680 KB |
Output is correct |
164 |
Correct |
74 ms |
9672 KB |
Output is correct |
165 |
Correct |
85 ms |
10032 KB |
Output is correct |
166 |
Correct |
70 ms |
10056 KB |
Output is correct |
167 |
Correct |
75 ms |
10020 KB |
Output is correct |
168 |
Correct |
72 ms |
10044 KB |
Output is correct |
169 |
Correct |
78 ms |
9972 KB |
Output is correct |
170 |
Correct |
79 ms |
10020 KB |
Output is correct |
171 |
Correct |
80 ms |
9952 KB |
Output is correct |
172 |
Correct |
74 ms |
10052 KB |
Output is correct |
173 |
Correct |
76 ms |
9848 KB |
Output is correct |
174 |
Correct |
84 ms |
9876 KB |
Output is correct |
175 |
Correct |
77 ms |
10024 KB |
Output is correct |
176 |
Correct |
80 ms |
10060 KB |
Output is correct |
177 |
Correct |
80 ms |
9764 KB |
Output is correct |
178 |
Correct |
78 ms |
9896 KB |
Output is correct |
179 |
Correct |
74 ms |
9920 KB |
Output is correct |
180 |
Correct |
74 ms |
10028 KB |
Output is correct |
181 |
Correct |
67 ms |
9940 KB |
Output is correct |
182 |
Correct |
85 ms |
9828 KB |
Output is correct |
183 |
Correct |
63 ms |
9932 KB |
Output is correct |
184 |
Correct |
66 ms |
9960 KB |
Output is correct |
185 |
Correct |
69 ms |
9832 KB |
Output is correct |
186 |
Correct |
69 ms |
9824 KB |
Output is correct |
187 |
Correct |
68 ms |
9900 KB |
Output is correct |
188 |
Correct |
64 ms |
9896 KB |
Output is correct |
189 |
Correct |
67 ms |
9896 KB |
Output is correct |
190 |
Correct |
71 ms |
9888 KB |
Output is correct |
191 |
Correct |
56 ms |
9636 KB |
Output is correct |
192 |
Correct |
63 ms |
9616 KB |
Output is correct |
193 |
Correct |
247 ms |
37460 KB |
Output is correct |
194 |
Correct |
245 ms |
37440 KB |
Output is correct |
195 |
Correct |
510 ms |
74416 KB |
Output is correct |
196 |
Correct |
528 ms |
74492 KB |
Output is correct |
197 |
Correct |
667 ms |
78676 KB |
Output is correct |
198 |
Correct |
622 ms |
78788 KB |
Output is correct |
199 |
Correct |
985 ms |
79612 KB |
Output is correct |
200 |
Correct |
984 ms |
78776 KB |
Output is correct |
201 |
Correct |
915 ms |
78608 KB |
Output is correct |
202 |
Correct |
971 ms |
79732 KB |
Output is correct |
203 |
Correct |
898 ms |
78752 KB |
Output is correct |
204 |
Correct |
933 ms |
78576 KB |
Output is correct |
205 |
Correct |
998 ms |
79672 KB |
Output is correct |
206 |
Correct |
951 ms |
78944 KB |
Output is correct |
207 |
Correct |
915 ms |
78632 KB |
Output is correct |
208 |
Correct |
736 ms |
80076 KB |
Output is correct |
209 |
Correct |
751 ms |
80116 KB |
Output is correct |
210 |
Correct |
714 ms |
79876 KB |
Output is correct |
211 |
Correct |
735 ms |
79964 KB |
Output is correct |
212 |
Correct |
715 ms |
79996 KB |
Output is correct |
213 |
Correct |
1083 ms |
80744 KB |
Output is correct |
214 |
Correct |
1118 ms |
81700 KB |
Output is correct |
215 |
Correct |
1037 ms |
82060 KB |
Output is correct |
216 |
Correct |
1035 ms |
82896 KB |
Output is correct |
217 |
Correct |
1079 ms |
80640 KB |
Output is correct |
218 |
Correct |
1084 ms |
81740 KB |
Output is correct |
219 |
Correct |
1087 ms |
82016 KB |
Output is correct |
220 |
Correct |
1027 ms |
82704 KB |
Output is correct |
221 |
Correct |
1070 ms |
80604 KB |
Output is correct |
222 |
Correct |
1166 ms |
81560 KB |
Output is correct |
223 |
Correct |
1099 ms |
81672 KB |
Output is correct |
224 |
Correct |
1120 ms |
81648 KB |
Output is correct |
225 |
Correct |
1053 ms |
79776 KB |
Output is correct |
226 |
Correct |
1136 ms |
79764 KB |
Output is correct |
227 |
Correct |
1062 ms |
79664 KB |
Output is correct |
228 |
Correct |
1074 ms |
79616 KB |
Output is correct |
229 |
Correct |
1138 ms |
80432 KB |
Output is correct |
230 |
Correct |
1067 ms |
81292 KB |
Output is correct |
231 |
Correct |
1085 ms |
81796 KB |
Output is correct |
232 |
Correct |
1008 ms |
82740 KB |
Output is correct |
233 |
Correct |
1132 ms |
80412 KB |
Output is correct |
234 |
Correct |
1149 ms |
81244 KB |
Output is correct |
235 |
Correct |
1109 ms |
81932 KB |
Output is correct |
236 |
Correct |
1008 ms |
82332 KB |
Output is correct |
237 |
Correct |
1090 ms |
80504 KB |
Output is correct |
238 |
Correct |
1142 ms |
81356 KB |
Output is correct |
239 |
Correct |
1071 ms |
81408 KB |
Output is correct |
240 |
Correct |
1101 ms |
81488 KB |
Output is correct |
241 |
Correct |
1088 ms |
79492 KB |
Output is correct |
242 |
Correct |
1062 ms |
79324 KB |
Output is correct |
243 |
Correct |
1086 ms |
79388 KB |
Output is correct |
244 |
Correct |
1118 ms |
79188 KB |
Output is correct |
245 |
Correct |
972 ms |
83016 KB |
Output is correct |
246 |
Correct |
951 ms |
83052 KB |
Output is correct |
247 |
Correct |
981 ms |
82904 KB |
Output is correct |
248 |
Correct |
933 ms |
83044 KB |
Output is correct |
249 |
Correct |
995 ms |
82624 KB |
Output is correct |
250 |
Correct |
1073 ms |
82624 KB |
Output is correct |
251 |
Correct |
1020 ms |
82584 KB |
Output is correct |
252 |
Correct |
987 ms |
83064 KB |
Output is correct |
253 |
Correct |
1083 ms |
81476 KB |
Output is correct |
254 |
Correct |
1104 ms |
81868 KB |
Output is correct |
255 |
Correct |
1084 ms |
82276 KB |
Output is correct |
256 |
Correct |
1022 ms |
83060 KB |
Output is correct |
257 |
Correct |
1054 ms |
80644 KB |
Output is correct |
258 |
Correct |
1121 ms |
81132 KB |
Output is correct |
259 |
Correct |
1103 ms |
81448 KB |
Output is correct |
260 |
Correct |
1038 ms |
83140 KB |
Output is correct |
261 |
Correct |
790 ms |
82288 KB |
Output is correct |
262 |
Correct |
1031 ms |
82144 KB |
Output is correct |
263 |
Correct |
665 ms |
80992 KB |
Output is correct |
264 |
Correct |
799 ms |
81008 KB |
Output is correct |
265 |
Correct |
822 ms |
82068 KB |
Output is correct |
266 |
Correct |
984 ms |
82156 KB |
Output is correct |
267 |
Correct |
659 ms |
80924 KB |
Output is correct |
268 |
Correct |
812 ms |
80972 KB |
Output is correct |
269 |
Correct |
639 ms |
78760 KB |
Output is correct |
270 |
Correct |
662 ms |
78608 KB |
Output is correct |
271 |
Correct |
983 ms |
79620 KB |
Output is correct |
272 |
Correct |
955 ms |
78732 KB |
Output is correct |
273 |
Correct |
992 ms |
79796 KB |
Output is correct |
274 |
Correct |
894 ms |
78960 KB |
Output is correct |
275 |
Correct |
547 ms |
81256 KB |
Output is correct |