#include "light.h"
#include <cstring>
#include <vector>
using namespace std;
const int N = 150;
typedef vector<long long> vl;
typedef pair<long long, vl> plvl;
long long xx[N], xx_[N]; int n, n_;
void prepare() {
n = 0;
xx[n++] = 1;
}
void update(long long d) {
for (int i = 0; i < n; i++)
xx[i] += d;
n_ = 0;
xx_[n_++] = 1;
for (int i = 0; i < n; i++) {
if (xx[i] <= xx_[n_ - 1])
continue;
long long x;
while ((x = xx_[n_ - 1] * 2 + 1) < xx[i]) {
while (n_ >= 2 && xx_[n_ - 2] * 2 + 1 >= x)
n_--;
xx_[n_++] = x;
}
x = xx[i];
while (n_ >= 2 && xx_[n_ - 2] * 2 + 1 >= x)
n_--;
xx_[n_++] = x;
}
memcpy(xx, xx_, (n = n_) * sizeof *xx_);
}
vl query() {
vl aa(n);
for (int i = 0; i < n; i++)
aa[i] = xx[n - 1] - xx[n - 1 - i] + 1;
return aa;
}
plvl join(long long d) {
update(d);
return { d, query() };
}
plvl leave(long long d) {
update(-d);
return { d, query() };
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Correct |
2 |
Correct |
269 ms |
420 KB |
Correct |
3 |
Correct |
298 ms |
588 KB |
Correct |
4 |
Correct |
244 ms |
408 KB |
Correct |
5 |
Correct |
267 ms |
408 KB |
Correct |
6 |
Correct |
254 ms |
408 KB |
Correct |
7 |
Correct |
267 ms |
344 KB |
Correct |
8 |
Correct |
222 ms |
592 KB |
Correct |
9 |
Correct |
249 ms |
412 KB |
Correct |
10 |
Correct |
248 ms |
408 KB |
Correct |
11 |
Correct |
258 ms |
408 KB |
Correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Correct |
2 |
Correct |
251 ms |
344 KB |
Correct |
3 |
Correct |
32 ms |
344 KB |
Correct |
4 |
Correct |
228 ms |
344 KB |
Correct |
5 |
Correct |
230 ms |
344 KB |
Correct |
6 |
Correct |
4 ms |
344 KB |
Correct |
7 |
Correct |
210 ms |
344 KB |
Correct |
8 |
Correct |
11 ms |
344 KB |
Correct |
9 |
Correct |
206 ms |
344 KB |
Correct |
10 |
Correct |
254 ms |
344 KB |
Correct |
11 |
Correct |
58 ms |
344 KB |
Correct |
12 |
Correct |
225 ms |
344 KB |
Correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Correct |
2 |
Correct |
251 ms |
344 KB |
Correct |
3 |
Correct |
32 ms |
344 KB |
Correct |
4 |
Correct |
228 ms |
344 KB |
Correct |
5 |
Correct |
230 ms |
344 KB |
Correct |
6 |
Correct |
4 ms |
344 KB |
Correct |
7 |
Correct |
210 ms |
344 KB |
Correct |
8 |
Correct |
11 ms |
344 KB |
Correct |
9 |
Correct |
206 ms |
344 KB |
Correct |
10 |
Correct |
254 ms |
344 KB |
Correct |
11 |
Correct |
58 ms |
344 KB |
Correct |
12 |
Correct |
225 ms |
344 KB |
Correct |
13 |
Correct |
0 ms |
344 KB |
Correct |
14 |
Correct |
224 ms |
344 KB |
Correct |
15 |
Correct |
37 ms |
344 KB |
Correct |
16 |
Correct |
273 ms |
344 KB |
Correct |
17 |
Correct |
219 ms |
344 KB |
Correct |
18 |
Correct |
5 ms |
344 KB |
Correct |
19 |
Correct |
208 ms |
344 KB |
Correct |
20 |
Correct |
11 ms |
344 KB |
Correct |
21 |
Correct |
223 ms |
344 KB |
Correct |
22 |
Correct |
216 ms |
344 KB |
Correct |
23 |
Correct |
57 ms |
344 KB |
Correct |
24 |
Correct |
229 ms |
344 KB |
Correct |
25 |
Correct |
4 ms |
344 KB |
Correct |
26 |
Correct |
2 ms |
344 KB |
Correct |
27 |
Correct |
3 ms |
344 KB |
Correct |
28 |
Correct |
241 ms |
344 KB |
Correct |
29 |
Correct |
9 ms |
344 KB |
Correct |
30 |
Correct |
243 ms |
344 KB |
Correct |
31 |
Correct |
241 ms |
344 KB |
Correct |
32 |
Correct |
6 ms |
344 KB |
Correct |
33 |
Correct |
225 ms |
344 KB |
Correct |
34 |
Correct |
249 ms |
344 KB |
Correct |
35 |
Correct |
275 ms |
344 KB |
Correct |
36 |
Correct |
222 ms |
344 KB |
Correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Correct |
2 |
Correct |
251 ms |
344 KB |
Correct |
3 |
Correct |
32 ms |
344 KB |
Correct |
4 |
Correct |
228 ms |
344 KB |
Correct |
5 |
Correct |
230 ms |
344 KB |
Correct |
6 |
Correct |
4 ms |
344 KB |
Correct |
7 |
Correct |
210 ms |
344 KB |
Correct |
8 |
Correct |
11 ms |
344 KB |
Correct |
9 |
Correct |
206 ms |
344 KB |
Correct |
10 |
Correct |
254 ms |
344 KB |
Correct |
11 |
Correct |
58 ms |
344 KB |
Correct |
12 |
Correct |
225 ms |
344 KB |
Correct |
13 |
Correct |
0 ms |
344 KB |
Correct |
14 |
Correct |
224 ms |
344 KB |
Correct |
15 |
Correct |
37 ms |
344 KB |
Correct |
16 |
Correct |
273 ms |
344 KB |
Correct |
17 |
Correct |
219 ms |
344 KB |
Correct |
18 |
Correct |
5 ms |
344 KB |
Correct |
19 |
Correct |
208 ms |
344 KB |
Correct |
20 |
Correct |
11 ms |
344 KB |
Correct |
21 |
Correct |
223 ms |
344 KB |
Correct |
22 |
Correct |
216 ms |
344 KB |
Correct |
23 |
Correct |
57 ms |
344 KB |
Correct |
24 |
Correct |
229 ms |
344 KB |
Correct |
25 |
Correct |
4 ms |
344 KB |
Correct |
26 |
Correct |
2 ms |
344 KB |
Correct |
27 |
Correct |
3 ms |
344 KB |
Correct |
28 |
Correct |
241 ms |
344 KB |
Correct |
29 |
Correct |
9 ms |
344 KB |
Correct |
30 |
Correct |
243 ms |
344 KB |
Correct |
31 |
Correct |
241 ms |
344 KB |
Correct |
32 |
Correct |
6 ms |
344 KB |
Correct |
33 |
Correct |
225 ms |
344 KB |
Correct |
34 |
Correct |
249 ms |
344 KB |
Correct |
35 |
Correct |
275 ms |
344 KB |
Correct |
36 |
Correct |
222 ms |
344 KB |
Correct |
37 |
Correct |
0 ms |
344 KB |
Correct |
38 |
Correct |
261 ms |
344 KB |
Correct |
39 |
Correct |
27 ms |
344 KB |
Correct |
40 |
Correct |
230 ms |
344 KB |
Correct |
41 |
Correct |
231 ms |
344 KB |
Correct |
42 |
Correct |
4 ms |
344 KB |
Correct |
43 |
Correct |
224 ms |
344 KB |
Correct |
44 |
Correct |
13 ms |
344 KB |
Correct |
45 |
Correct |
217 ms |
344 KB |
Correct |
46 |
Correct |
234 ms |
344 KB |
Correct |
47 |
Correct |
62 ms |
344 KB |
Correct |
48 |
Correct |
210 ms |
344 KB |
Correct |
49 |
Correct |
3 ms |
344 KB |
Correct |
50 |
Correct |
3 ms |
344 KB |
Correct |
51 |
Correct |
3 ms |
344 KB |
Correct |
52 |
Correct |
229 ms |
344 KB |
Correct |
53 |
Correct |
13 ms |
344 KB |
Correct |
54 |
Correct |
221 ms |
384 KB |
Correct |
55 |
Correct |
210 ms |
344 KB |
Correct |
56 |
Correct |
5 ms |
344 KB |
Correct |
57 |
Correct |
232 ms |
344 KB |
Correct |
58 |
Correct |
248 ms |
344 KB |
Correct |
59 |
Correct |
231 ms |
344 KB |
Correct |
60 |
Correct |
223 ms |
344 KB |
Correct |
61 |
Correct |
9 ms |
344 KB |
Correct |
62 |
Correct |
26 ms |
344 KB |
Correct |
63 |
Correct |
12 ms |
344 KB |
Correct |
64 |
Correct |
227 ms |
344 KB |
Correct |
65 |
Correct |
222 ms |
344 KB |
Correct |
66 |
Correct |
238 ms |
344 KB |
Correct |
67 |
Correct |
253 ms |
344 KB |
Correct |
68 |
Correct |
227 ms |
344 KB |
Correct |
69 |
Correct |
250 ms |
344 KB |
Correct |
70 |
Correct |
219 ms |
344 KB |
Correct |
71 |
Correct |
241 ms |
344 KB |
Correct |
72 |
Correct |
215 ms |
344 KB |
Correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Correct |
2 |
Correct |
251 ms |
344 KB |
Correct |
3 |
Correct |
32 ms |
344 KB |
Correct |
4 |
Correct |
228 ms |
344 KB |
Correct |
5 |
Correct |
230 ms |
344 KB |
Correct |
6 |
Correct |
4 ms |
344 KB |
Correct |
7 |
Correct |
210 ms |
344 KB |
Correct |
8 |
Correct |
11 ms |
344 KB |
Correct |
9 |
Correct |
206 ms |
344 KB |
Correct |
10 |
Correct |
254 ms |
344 KB |
Correct |
11 |
Correct |
58 ms |
344 KB |
Correct |
12 |
Correct |
225 ms |
344 KB |
Correct |
13 |
Correct |
0 ms |
344 KB |
Correct |
14 |
Correct |
224 ms |
344 KB |
Correct |
15 |
Correct |
37 ms |
344 KB |
Correct |
16 |
Correct |
273 ms |
344 KB |
Correct |
17 |
Correct |
219 ms |
344 KB |
Correct |
18 |
Correct |
5 ms |
344 KB |
Correct |
19 |
Correct |
208 ms |
344 KB |
Correct |
20 |
Correct |
11 ms |
344 KB |
Correct |
21 |
Correct |
223 ms |
344 KB |
Correct |
22 |
Correct |
216 ms |
344 KB |
Correct |
23 |
Correct |
57 ms |
344 KB |
Correct |
24 |
Correct |
229 ms |
344 KB |
Correct |
25 |
Correct |
4 ms |
344 KB |
Correct |
26 |
Correct |
2 ms |
344 KB |
Correct |
27 |
Correct |
3 ms |
344 KB |
Correct |
28 |
Correct |
241 ms |
344 KB |
Correct |
29 |
Correct |
9 ms |
344 KB |
Correct |
30 |
Correct |
243 ms |
344 KB |
Correct |
31 |
Correct |
241 ms |
344 KB |
Correct |
32 |
Correct |
6 ms |
344 KB |
Correct |
33 |
Correct |
225 ms |
344 KB |
Correct |
34 |
Correct |
249 ms |
344 KB |
Correct |
35 |
Correct |
275 ms |
344 KB |
Correct |
36 |
Correct |
222 ms |
344 KB |
Correct |
37 |
Correct |
0 ms |
344 KB |
Correct |
38 |
Correct |
261 ms |
344 KB |
Correct |
39 |
Correct |
27 ms |
344 KB |
Correct |
40 |
Correct |
230 ms |
344 KB |
Correct |
41 |
Correct |
231 ms |
344 KB |
Correct |
42 |
Correct |
4 ms |
344 KB |
Correct |
43 |
Correct |
224 ms |
344 KB |
Correct |
44 |
Correct |
13 ms |
344 KB |
Correct |
45 |
Correct |
217 ms |
344 KB |
Correct |
46 |
Correct |
234 ms |
344 KB |
Correct |
47 |
Correct |
62 ms |
344 KB |
Correct |
48 |
Correct |
210 ms |
344 KB |
Correct |
49 |
Correct |
3 ms |
344 KB |
Correct |
50 |
Correct |
3 ms |
344 KB |
Correct |
51 |
Correct |
3 ms |
344 KB |
Correct |
52 |
Correct |
229 ms |
344 KB |
Correct |
53 |
Correct |
13 ms |
344 KB |
Correct |
54 |
Correct |
221 ms |
384 KB |
Correct |
55 |
Correct |
210 ms |
344 KB |
Correct |
56 |
Correct |
5 ms |
344 KB |
Correct |
57 |
Correct |
232 ms |
344 KB |
Correct |
58 |
Correct |
248 ms |
344 KB |
Correct |
59 |
Correct |
231 ms |
344 KB |
Correct |
60 |
Correct |
223 ms |
344 KB |
Correct |
61 |
Correct |
9 ms |
344 KB |
Correct |
62 |
Correct |
26 ms |
344 KB |
Correct |
63 |
Correct |
12 ms |
344 KB |
Correct |
64 |
Correct |
227 ms |
344 KB |
Correct |
65 |
Correct |
222 ms |
344 KB |
Correct |
66 |
Correct |
238 ms |
344 KB |
Correct |
67 |
Correct |
253 ms |
344 KB |
Correct |
68 |
Correct |
227 ms |
344 KB |
Correct |
69 |
Correct |
250 ms |
344 KB |
Correct |
70 |
Correct |
219 ms |
344 KB |
Correct |
71 |
Correct |
241 ms |
344 KB |
Correct |
72 |
Correct |
215 ms |
344 KB |
Correct |
73 |
Correct |
0 ms |
344 KB |
Correct |
74 |
Correct |
206 ms |
372 KB |
Correct |
75 |
Correct |
29 ms |
344 KB |
Correct |
76 |
Correct |
214 ms |
344 KB |
Correct |
77 |
Correct |
216 ms |
344 KB |
Correct |
78 |
Correct |
3 ms |
344 KB |
Correct |
79 |
Correct |
245 ms |
344 KB |
Correct |
80 |
Correct |
13 ms |
344 KB |
Correct |
81 |
Correct |
236 ms |
344 KB |
Correct |
82 |
Correct |
224 ms |
344 KB |
Correct |
83 |
Correct |
52 ms |
344 KB |
Correct |
84 |
Correct |
229 ms |
344 KB |
Correct |
85 |
Correct |
2 ms |
344 KB |
Correct |
86 |
Correct |
3 ms |
344 KB |
Correct |
87 |
Correct |
3 ms |
344 KB |
Correct |
88 |
Correct |
235 ms |
344 KB |
Correct |
89 |
Correct |
11 ms |
344 KB |
Correct |
90 |
Correct |
226 ms |
344 KB |
Correct |
91 |
Correct |
229 ms |
344 KB |
Correct |
92 |
Correct |
5 ms |
344 KB |
Correct |
93 |
Correct |
228 ms |
344 KB |
Correct |
94 |
Correct |
240 ms |
344 KB |
Correct |
95 |
Correct |
209 ms |
344 KB |
Correct |
96 |
Correct |
242 ms |
344 KB |
Correct |
97 |
Correct |
13 ms |
344 KB |
Correct |
98 |
Correct |
28 ms |
344 KB |
Correct |
99 |
Correct |
18 ms |
344 KB |
Correct |
100 |
Correct |
249 ms |
344 KB |
Correct |
101 |
Correct |
229 ms |
344 KB |
Correct |
102 |
Correct |
218 ms |
344 KB |
Correct |
103 |
Correct |
277 ms |
344 KB |
Correct |
104 |
Correct |
222 ms |
344 KB |
Correct |
105 |
Correct |
228 ms |
344 KB |
Correct |
106 |
Correct |
208 ms |
344 KB |
Correct |
107 |
Correct |
219 ms |
344 KB |
Correct |
108 |
Correct |
240 ms |
344 KB |
Correct |
109 |
Correct |
263 ms |
344 KB |
Correct |
110 |
Correct |
233 ms |
340 KB |
Correct |
111 |
Correct |
229 ms |
344 KB |
Correct |
112 |
Correct |
239 ms |
600 KB |
Correct |
113 |
Correct |
211 ms |
344 KB |
Correct |
114 |
Correct |
221 ms |
344 KB |
Correct |
115 |
Correct |
269 ms |
412 KB |
Correct |
116 |
Correct |
229 ms |
344 KB |
Correct |
117 |
Correct |
257 ms |
344 KB |
Correct |
118 |
Correct |
252 ms |
344 KB |
Correct |
119 |
Correct |
240 ms |
344 KB |
Correct |
120 |
Correct |
235 ms |
344 KB |
Correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Correct |
2 |
Correct |
251 ms |
344 KB |
Correct |
3 |
Correct |
32 ms |
344 KB |
Correct |
4 |
Correct |
228 ms |
344 KB |
Correct |
5 |
Correct |
230 ms |
344 KB |
Correct |
6 |
Correct |
4 ms |
344 KB |
Correct |
7 |
Correct |
210 ms |
344 KB |
Correct |
8 |
Correct |
11 ms |
344 KB |
Correct |
9 |
Correct |
206 ms |
344 KB |
Correct |
10 |
Correct |
254 ms |
344 KB |
Correct |
11 |
Correct |
58 ms |
344 KB |
Correct |
12 |
Correct |
225 ms |
344 KB |
Correct |
13 |
Correct |
0 ms |
344 KB |
Correct |
14 |
Correct |
224 ms |
344 KB |
Correct |
15 |
Correct |
37 ms |
344 KB |
Correct |
16 |
Correct |
273 ms |
344 KB |
Correct |
17 |
Correct |
219 ms |
344 KB |
Correct |
18 |
Correct |
5 ms |
344 KB |
Correct |
19 |
Correct |
208 ms |
344 KB |
Correct |
20 |
Correct |
11 ms |
344 KB |
Correct |
21 |
Correct |
223 ms |
344 KB |
Correct |
22 |
Correct |
216 ms |
344 KB |
Correct |
23 |
Correct |
57 ms |
344 KB |
Correct |
24 |
Correct |
229 ms |
344 KB |
Correct |
25 |
Correct |
4 ms |
344 KB |
Correct |
26 |
Correct |
2 ms |
344 KB |
Correct |
27 |
Correct |
3 ms |
344 KB |
Correct |
28 |
Correct |
241 ms |
344 KB |
Correct |
29 |
Correct |
9 ms |
344 KB |
Correct |
30 |
Correct |
243 ms |
344 KB |
Correct |
31 |
Correct |
241 ms |
344 KB |
Correct |
32 |
Correct |
6 ms |
344 KB |
Correct |
33 |
Correct |
225 ms |
344 KB |
Correct |
34 |
Correct |
249 ms |
344 KB |
Correct |
35 |
Correct |
275 ms |
344 KB |
Correct |
36 |
Correct |
222 ms |
344 KB |
Correct |
37 |
Correct |
0 ms |
344 KB |
Correct |
38 |
Correct |
261 ms |
344 KB |
Correct |
39 |
Correct |
27 ms |
344 KB |
Correct |
40 |
Correct |
230 ms |
344 KB |
Correct |
41 |
Correct |
231 ms |
344 KB |
Correct |
42 |
Correct |
4 ms |
344 KB |
Correct |
43 |
Correct |
224 ms |
344 KB |
Correct |
44 |
Correct |
13 ms |
344 KB |
Correct |
45 |
Correct |
217 ms |
344 KB |
Correct |
46 |
Correct |
234 ms |
344 KB |
Correct |
47 |
Correct |
62 ms |
344 KB |
Correct |
48 |
Correct |
210 ms |
344 KB |
Correct |
49 |
Correct |
3 ms |
344 KB |
Correct |
50 |
Correct |
3 ms |
344 KB |
Correct |
51 |
Correct |
3 ms |
344 KB |
Correct |
52 |
Correct |
229 ms |
344 KB |
Correct |
53 |
Correct |
13 ms |
344 KB |
Correct |
54 |
Correct |
221 ms |
384 KB |
Correct |
55 |
Correct |
210 ms |
344 KB |
Correct |
56 |
Correct |
5 ms |
344 KB |
Correct |
57 |
Correct |
232 ms |
344 KB |
Correct |
58 |
Correct |
248 ms |
344 KB |
Correct |
59 |
Correct |
231 ms |
344 KB |
Correct |
60 |
Correct |
223 ms |
344 KB |
Correct |
61 |
Correct |
9 ms |
344 KB |
Correct |
62 |
Correct |
26 ms |
344 KB |
Correct |
63 |
Correct |
12 ms |
344 KB |
Correct |
64 |
Correct |
227 ms |
344 KB |
Correct |
65 |
Correct |
222 ms |
344 KB |
Correct |
66 |
Correct |
238 ms |
344 KB |
Correct |
67 |
Correct |
253 ms |
344 KB |
Correct |
68 |
Correct |
227 ms |
344 KB |
Correct |
69 |
Correct |
250 ms |
344 KB |
Correct |
70 |
Correct |
219 ms |
344 KB |
Correct |
71 |
Correct |
241 ms |
344 KB |
Correct |
72 |
Correct |
215 ms |
344 KB |
Correct |
73 |
Correct |
0 ms |
344 KB |
Correct |
74 |
Correct |
206 ms |
372 KB |
Correct |
75 |
Correct |
29 ms |
344 KB |
Correct |
76 |
Correct |
214 ms |
344 KB |
Correct |
77 |
Correct |
216 ms |
344 KB |
Correct |
78 |
Correct |
3 ms |
344 KB |
Correct |
79 |
Correct |
245 ms |
344 KB |
Correct |
80 |
Correct |
13 ms |
344 KB |
Correct |
81 |
Correct |
236 ms |
344 KB |
Correct |
82 |
Correct |
224 ms |
344 KB |
Correct |
83 |
Correct |
52 ms |
344 KB |
Correct |
84 |
Correct |
229 ms |
344 KB |
Correct |
85 |
Correct |
2 ms |
344 KB |
Correct |
86 |
Correct |
3 ms |
344 KB |
Correct |
87 |
Correct |
3 ms |
344 KB |
Correct |
88 |
Correct |
235 ms |
344 KB |
Correct |
89 |
Correct |
11 ms |
344 KB |
Correct |
90 |
Correct |
226 ms |
344 KB |
Correct |
91 |
Correct |
229 ms |
344 KB |
Correct |
92 |
Correct |
5 ms |
344 KB |
Correct |
93 |
Correct |
228 ms |
344 KB |
Correct |
94 |
Correct |
240 ms |
344 KB |
Correct |
95 |
Correct |
209 ms |
344 KB |
Correct |
96 |
Correct |
242 ms |
344 KB |
Correct |
97 |
Correct |
13 ms |
344 KB |
Correct |
98 |
Correct |
28 ms |
344 KB |
Correct |
99 |
Correct |
18 ms |
344 KB |
Correct |
100 |
Correct |
249 ms |
344 KB |
Correct |
101 |
Correct |
229 ms |
344 KB |
Correct |
102 |
Correct |
218 ms |
344 KB |
Correct |
103 |
Correct |
277 ms |
344 KB |
Correct |
104 |
Correct |
222 ms |
344 KB |
Correct |
105 |
Correct |
228 ms |
344 KB |
Correct |
106 |
Correct |
208 ms |
344 KB |
Correct |
107 |
Correct |
219 ms |
344 KB |
Correct |
108 |
Correct |
240 ms |
344 KB |
Correct |
109 |
Correct |
263 ms |
344 KB |
Correct |
110 |
Correct |
233 ms |
340 KB |
Correct |
111 |
Correct |
229 ms |
344 KB |
Correct |
112 |
Correct |
239 ms |
600 KB |
Correct |
113 |
Correct |
211 ms |
344 KB |
Correct |
114 |
Correct |
221 ms |
344 KB |
Correct |
115 |
Correct |
269 ms |
412 KB |
Correct |
116 |
Correct |
229 ms |
344 KB |
Correct |
117 |
Correct |
257 ms |
344 KB |
Correct |
118 |
Correct |
252 ms |
344 KB |
Correct |
119 |
Correct |
240 ms |
344 KB |
Correct |
120 |
Correct |
235 ms |
344 KB |
Correct |
121 |
Correct |
0 ms |
344 KB |
Correct |
122 |
Correct |
248 ms |
344 KB |
Correct |
123 |
Correct |
24 ms |
344 KB |
Correct |
124 |
Correct |
236 ms |
344 KB |
Correct |
125 |
Correct |
241 ms |
344 KB |
Correct |
126 |
Correct |
6 ms |
344 KB |
Correct |
127 |
Correct |
232 ms |
340 KB |
Correct |
128 |
Correct |
8 ms |
344 KB |
Correct |
129 |
Correct |
227 ms |
344 KB |
Correct |
130 |
Correct |
216 ms |
344 KB |
Correct |
131 |
Correct |
56 ms |
344 KB |
Correct |
132 |
Correct |
219 ms |
344 KB |
Correct |
133 |
Correct |
3 ms |
344 KB |
Correct |
134 |
Correct |
4 ms |
344 KB |
Correct |
135 |
Correct |
3 ms |
344 KB |
Correct |
136 |
Correct |
200 ms |
344 KB |
Correct |
137 |
Correct |
13 ms |
344 KB |
Correct |
138 |
Correct |
208 ms |
344 KB |
Correct |
139 |
Correct |
223 ms |
344 KB |
Correct |
140 |
Correct |
6 ms |
344 KB |
Correct |
141 |
Correct |
259 ms |
344 KB |
Correct |
142 |
Correct |
221 ms |
344 KB |
Correct |
143 |
Correct |
240 ms |
344 KB |
Correct |
144 |
Correct |
235 ms |
344 KB |
Correct |
145 |
Correct |
11 ms |
344 KB |
Correct |
146 |
Correct |
29 ms |
344 KB |
Correct |
147 |
Correct |
9 ms |
344 KB |
Correct |
148 |
Correct |
228 ms |
344 KB |
Correct |
149 |
Correct |
240 ms |
344 KB |
Correct |
150 |
Correct |
228 ms |
344 KB |
Correct |
151 |
Correct |
242 ms |
344 KB |
Correct |
152 |
Correct |
246 ms |
344 KB |
Correct |
153 |
Correct |
220 ms |
344 KB |
Correct |
154 |
Correct |
252 ms |
344 KB |
Correct |
155 |
Correct |
248 ms |
344 KB |
Correct |
156 |
Correct |
251 ms |
344 KB |
Correct |
157 |
Correct |
205 ms |
344 KB |
Correct |
158 |
Correct |
242 ms |
344 KB |
Correct |
159 |
Correct |
256 ms |
344 KB |
Correct |
160 |
Correct |
247 ms |
600 KB |
Correct |
161 |
Correct |
223 ms |
344 KB |
Correct |
162 |
Correct |
250 ms |
344 KB |
Correct |
163 |
Correct |
240 ms |
400 KB |
Correct |
164 |
Correct |
242 ms |
344 KB |
Correct |
165 |
Correct |
220 ms |
344 KB |
Correct |
166 |
Correct |
209 ms |
344 KB |
Correct |
167 |
Correct |
227 ms |
344 KB |
Correct |
168 |
Correct |
229 ms |
344 KB |
Correct |
169 |
Correct |
215 ms |
344 KB |
Correct |
170 |
Correct |
231 ms |
344 KB |
Correct |
171 |
Correct |
235 ms |
344 KB |
Correct |
172 |
Correct |
217 ms |
344 KB |
Correct |
173 |
Correct |
251 ms |
344 KB |
Correct |
174 |
Correct |
213 ms |
344 KB |
Correct |
175 |
Correct |
266 ms |
344 KB |
Correct |
176 |
Correct |
234 ms |
344 KB |
Correct |
177 |
Correct |
245 ms |
600 KB |
Correct |
178 |
Correct |
212 ms |
344 KB |
Correct |
179 |
Correct |
213 ms |
408 KB |
Correct |
180 |
Correct |
249 ms |
344 KB |
Correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
340 KB |
Correct |
2 |
Correct |
250 ms |
404 KB |
Correct |
3 |
Correct |
254 ms |
404 KB |
Correct |
4 |
Correct |
242 ms |
412 KB |
Correct |
5 |
Correct |
242 ms |
404 KB |
Correct |
6 |
Correct |
241 ms |
344 KB |
Correct |
7 |
Correct |
243 ms |
404 KB |
Correct |
8 |
Correct |
244 ms |
412 KB |
Correct |
9 |
Correct |
273 ms |
412 KB |
Correct |
10 |
Correct |
248 ms |
404 KB |
Correct |
11 |
Correct |
241 ms |
408 KB |
Correct |
12 |
Correct |
253 ms |
344 KB |
Correct |
13 |
Correct |
26 ms |
344 KB |
Correct |
14 |
Correct |
227 ms |
344 KB |
Correct |
15 |
Correct |
228 ms |
344 KB |
Correct |
16 |
Correct |
4 ms |
344 KB |
Correct |
17 |
Correct |
223 ms |
344 KB |
Correct |
18 |
Correct |
13 ms |
344 KB |
Correct |
19 |
Correct |
177 ms |
344 KB |
Correct |
20 |
Correct |
198 ms |
344 KB |
Correct |
21 |
Correct |
61 ms |
344 KB |
Correct |
22 |
Correct |
184 ms |
344 KB |
Correct |
23 |
Correct |
3 ms |
344 KB |
Correct |
24 |
Correct |
3 ms |
344 KB |
Correct |
25 |
Correct |
3 ms |
344 KB |
Correct |
26 |
Correct |
183 ms |
344 KB |
Correct |
27 |
Correct |
16 ms |
344 KB |
Correct |
28 |
Correct |
198 ms |
344 KB |
Correct |
29 |
Correct |
193 ms |
344 KB |
Correct |
30 |
Correct |
5 ms |
344 KB |
Correct |
31 |
Correct |
202 ms |
344 KB |
Correct |
32 |
Correct |
176 ms |
344 KB |
Correct |
33 |
Correct |
201 ms |
344 KB |
Correct |
34 |
Correct |
194 ms |
344 KB |
Correct |
35 |
Correct |
16 ms |
344 KB |
Correct |
36 |
Correct |
32 ms |
344 KB |
Correct |
37 |
Correct |
13 ms |
344 KB |
Correct |
38 |
Correct |
185 ms |
344 KB |
Correct |
39 |
Correct |
190 ms |
344 KB |
Correct |
40 |
Correct |
222 ms |
344 KB |
Correct |
41 |
Correct |
182 ms |
344 KB |
Correct |
42 |
Correct |
205 ms |
344 KB |
Correct |
43 |
Correct |
183 ms |
344 KB |
Correct |
44 |
Correct |
228 ms |
344 KB |
Correct |
45 |
Correct |
196 ms |
344 KB |
Correct |
46 |
Correct |
195 ms |
344 KB |
Correct |
47 |
Correct |
219 ms |
344 KB |
Correct |
48 |
Correct |
226 ms |
344 KB |
Correct |
49 |
Correct |
226 ms |
344 KB |
Correct |
50 |
Correct |
196 ms |
344 KB |
Correct |
51 |
Correct |
247 ms |
340 KB |
Correct |
52 |
Correct |
245 ms |
344 KB |
Correct |
53 |
Correct |
228 ms |
408 KB |
Correct |
54 |
Correct |
216 ms |
344 KB |
Correct |
55 |
Correct |
233 ms |
344 KB |
Correct |
56 |
Correct |
226 ms |
344 KB |
Correct |
57 |
Correct |
247 ms |
344 KB |
Correct |
58 |
Correct |
253 ms |
344 KB |
Correct |
59 |
Correct |
240 ms |
344 KB |
Correct |
60 |
Correct |
242 ms |
344 KB |
Correct |
61 |
Correct |
239 ms |
344 KB |
Correct |
62 |
Correct |
195 ms |
344 KB |
Correct |
63 |
Correct |
218 ms |
344 KB |
Correct |
64 |
Correct |
251 ms |
424 KB |
Correct |
65 |
Correct |
236 ms |
344 KB |
Correct |
66 |
Correct |
225 ms |
344 KB |
Correct |
67 |
Correct |
242 ms |
344 KB |
Correct |
68 |
Correct |
216 ms |
344 KB |
Correct |
69 |
Correct |
238 ms |
344 KB |
Correct |
70 |
Correct |
242 ms |
344 KB |
Correct |
71 |
Correct |
246 ms |
408 KB |
Correct |
72 |
Correct |
283 ms |
420 KB |
Correct |
73 |
Correct |
249 ms |
420 KB |
Correct |
74 |
Correct |
246 ms |
344 KB |
Correct |
75 |
Correct |
277 ms |
344 KB |
Correct |
76 |
Correct |
234 ms |
408 KB |
Correct |
77 |
Correct |
258 ms |
344 KB |
Correct |
78 |
Correct |
236 ms |
344 KB |
Correct |
79 |
Correct |
230 ms |
592 KB |
Correct |
80 |
Correct |
228 ms |
344 KB |
Correct |
81 |
Correct |
279 ms |
344 KB |
Correct |
82 |
Correct |
311 ms |
344 KB |
Correct |
83 |
Correct |
266 ms |
600 KB |
Correct |
84 |
Correct |
232 ms |
344 KB |
Correct |
85 |
Correct |
242 ms |
344 KB |
Correct |
86 |
Correct |
212 ms |
408 KB |
Correct |
87 |
Correct |
249 ms |
432 KB |
Correct |
88 |
Correct |
260 ms |
416 KB |
Correct |
89 |
Correct |
223 ms |
408 KB |
Correct |
90 |
Correct |
226 ms |
344 KB |
Correct |
91 |
Correct |
247 ms |
408 KB |
Correct |
92 |
Correct |
250 ms |
344 KB |
Correct |
93 |
Correct |
226 ms |
592 KB |
Correct |
94 |
Correct |
227 ms |
344 KB |
Correct |
95 |
Correct |
265 ms |
344 KB |
Correct |
96 |
Correct |
245 ms |
344 KB |
Correct |
97 |
Correct |
297 ms |
424 KB |
Correct |
98 |
Correct |
275 ms |
432 KB |
Correct |
99 |
Correct |
225 ms |
344 KB |
Correct |
100 |
Correct |
233 ms |
344 KB |
Correct |
101 |
Correct |
256 ms |
408 KB |
Correct |
102 |
Correct |
301 ms |
440 KB |
Correct |
103 |
Correct |
250 ms |
416 KB |
Correct |
104 |
Correct |
256 ms |
412 KB |
Correct |
105 |
Correct |
253 ms |
408 KB |
Correct |
106 |
Correct |
213 ms |
412 KB |
Correct |
107 |
Correct |
265 ms |
344 KB |
Correct |
108 |
Correct |
183 ms |
592 KB |
Correct |
109 |
Correct |
225 ms |
344 KB |
Correct |
110 |
Correct |
246 ms |
344 KB |
Correct |
111 |
Correct |
261 ms |
344 KB |
Correct |
112 |
Correct |
261 ms |
344 KB |
Correct |
113 |
Correct |
264 ms |
344 KB |
Correct |
114 |
Correct |
227 ms |
340 KB |
Correct |
115 |
Correct |
240 ms |
344 KB |
Correct |
116 |
Correct |
235 ms |
408 KB |
Correct |
117 |
Correct |
304 ms |
420 KB |
Correct |
118 |
Correct |
254 ms |
436 KB |
Correct |
119 |
Correct |
261 ms |
344 KB |
Correct |
120 |
Correct |
273 ms |
344 KB |
Correct |
121 |
Correct |
260 ms |
428 KB |
Correct |
122 |
Correct |
236 ms |
344 KB |
Correct |
123 |
Correct |
258 ms |
592 KB |
Correct |
124 |
Correct |
214 ms |
424 KB |
Correct |
125 |
Correct |
256 ms |
344 KB |
Correct |
126 |
Correct |
240 ms |
344 KB |
Correct |
127 |
Correct |
277 ms |
344 KB |
Correct |
128 |
Correct |
255 ms |
432 KB |
Correct |
129 |
Correct |
242 ms |
344 KB |
Correct |
130 |
Correct |
242 ms |
600 KB |
Correct |