답안 #1041785

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
1041785 2024-08-02T08:18:34 Z GEN(#11054) A Light Inconvenience (CEOI23_light) C++17
40 / 100
1000 ms 612 KB
#include "light.h"
#include <vector>
using namespace std;
#include <bits/stdc++.h>
#define int long long

int N = 1;
vector<int> V;
void prepare(){
	N = 1;
	V.clear();
	V.push_back(1);
}
/*
1557 -1 -> error
*/
std::pair<long long, std::vector<long long>> join(long long p){
	N += p;
	vector<int> V2;
	int i, j;
	int c = N;
	while(true) {
        if(c==1) {
            V2.push_back(c);
            break;
        }
        int val = N;
        for(int n : V) {
            if(n <= c && c <= n+p) val = c;
        }
        if(val != c) {
            for(int n : V) {
                if(n >= c) {
                    val = n;
                    break;
                }
            }
        }
        c = val;
        V2.push_back(c);
        c = max(1LL, 2*(c-1)-N);
	}
	reverse(V2.begin(),V2.end());
	int v = 0;
	for(int n : V2) {
        int mi = 1e17;
        for(int m : V) {
            if(m <= n) mi = min(mi, n-m);
        }
        v = max(v, mi);
	}
	V = V2;
	return {v, V};
}

std::pair<long long, std::vector<long long>> leave(long long p){
	N -= p;
	int c = N;
	vector<int> V2;
	while(true) {
        //cout << c << '\n';
        if(c==1) {
            V2.push_back(c);
            break;
        }
        int val = N;
        for(int n : V) {
            if(n <= c && c <= n+p) val = c;
        }
        if(val != c) {
            for(int n : V) {
                if(n >= c) {
                    val = n;
                    break;
                }
            }
        }
        c = val;
        V2.push_back(c);
        c = max(1LL, 2*(c-1)-N);
	}
	reverse(V2.begin(),V2.end());
	int v = 0;
	for(int n : V2) {
        int mi = 1e17;
        for(int m : V) {
            if(m <= n) mi = min(mi, n-m);
        }
        v = max(v, mi);
	}
	V = V2;
	return {v, V};
}

Compilation message

light.cpp: In function 'std::pair<long long int, std::vector<long long int> > join(long long int)':
light.cpp:20:6: warning: unused variable 'i' [-Wunused-variable]
   20 |  int i, j;
      |      ^
light.cpp:20:9: warning: unused variable 'j' [-Wunused-variable]
   20 |  int i, j;
      |         ^
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 344 KB Correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 344 KB Correct
2 Correct 473 ms 444 KB Correct
3 Correct 518 ms 344 KB Correct
4 Correct 551 ms 344 KB Correct
5 Correct 533 ms 432 KB Correct
6 Correct 524 ms 432 KB Correct
7 Correct 503 ms 420 KB Correct
8 Correct 485 ms 344 KB Correct
9 Correct 491 ms 344 KB Correct
10 Correct 519 ms 428 KB Correct
11 Correct 495 ms 344 KB Correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 340 KB Correct
2 Correct 244 ms 344 KB Correct
3 Correct 44 ms 344 KB Correct
4 Correct 270 ms 340 KB Correct
5 Correct 232 ms 344 KB Correct
6 Correct 5 ms 344 KB Correct
7 Correct 243 ms 344 KB Correct
8 Correct 13 ms 344 KB Correct
9 Correct 245 ms 344 KB Correct
10 Correct 236 ms 344 KB Correct
11 Correct 72 ms 344 KB Correct
12 Correct 264 ms 344 KB Correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 340 KB Correct
2 Correct 244 ms 344 KB Correct
3 Correct 44 ms 344 KB Correct
4 Correct 270 ms 340 KB Correct
5 Correct 232 ms 344 KB Correct
6 Correct 5 ms 344 KB Correct
7 Correct 243 ms 344 KB Correct
8 Correct 13 ms 344 KB Correct
9 Correct 245 ms 344 KB Correct
10 Correct 236 ms 344 KB Correct
11 Correct 72 ms 344 KB Correct
12 Correct 264 ms 344 KB Correct
13 Correct 0 ms 344 KB Correct
14 Correct 259 ms 344 KB Correct
15 Correct 40 ms 344 KB Correct
16 Correct 241 ms 344 KB Correct
17 Correct 322 ms 344 KB Correct
18 Correct 6 ms 344 KB Correct
19 Correct 265 ms 344 KB Correct
20 Correct 19 ms 344 KB Correct
21 Correct 271 ms 344 KB Correct
22 Correct 245 ms 344 KB Correct
23 Correct 77 ms 344 KB Correct
24 Correct 271 ms 344 KB Correct
25 Correct 6 ms 344 KB Correct
26 Correct 3 ms 344 KB Correct
27 Correct 5 ms 344 KB Correct
28 Correct 286 ms 344 KB Correct
29 Correct 17 ms 344 KB Correct
30 Correct 295 ms 344 KB Correct
31 Correct 291 ms 344 KB Correct
32 Correct 8 ms 344 KB Correct
33 Correct 270 ms 600 KB Correct
34 Correct 292 ms 344 KB Correct
35 Correct 282 ms 344 KB Correct
36 Correct 265 ms 344 KB Correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 340 KB Correct
2 Correct 244 ms 344 KB Correct
3 Correct 44 ms 344 KB Correct
4 Correct 270 ms 340 KB Correct
5 Correct 232 ms 344 KB Correct
6 Correct 5 ms 344 KB Correct
7 Correct 243 ms 344 KB Correct
8 Correct 13 ms 344 KB Correct
9 Correct 245 ms 344 KB Correct
10 Correct 236 ms 344 KB Correct
11 Correct 72 ms 344 KB Correct
12 Correct 264 ms 344 KB Correct
13 Correct 0 ms 344 KB Correct
14 Correct 259 ms 344 KB Correct
15 Correct 40 ms 344 KB Correct
16 Correct 241 ms 344 KB Correct
17 Correct 322 ms 344 KB Correct
18 Correct 6 ms 344 KB Correct
19 Correct 265 ms 344 KB Correct
20 Correct 19 ms 344 KB Correct
21 Correct 271 ms 344 KB Correct
22 Correct 245 ms 344 KB Correct
23 Correct 77 ms 344 KB Correct
24 Correct 271 ms 344 KB Correct
25 Correct 6 ms 344 KB Correct
26 Correct 3 ms 344 KB Correct
27 Correct 5 ms 344 KB Correct
28 Correct 286 ms 344 KB Correct
29 Correct 17 ms 344 KB Correct
30 Correct 295 ms 344 KB Correct
31 Correct 291 ms 344 KB Correct
32 Correct 8 ms 344 KB Correct
33 Correct 270 ms 600 KB Correct
34 Correct 292 ms 344 KB Correct
35 Correct 282 ms 344 KB Correct
36 Correct 265 ms 344 KB Correct
37 Correct 0 ms 344 KB Correct
38 Correct 254 ms 344 KB Correct
39 Correct 35 ms 596 KB Correct
40 Correct 232 ms 344 KB Correct
41 Correct 272 ms 596 KB Correct
42 Correct 6 ms 596 KB Correct
43 Correct 274 ms 356 KB Correct
44 Correct 18 ms 344 KB Correct
45 Correct 270 ms 344 KB Correct
46 Correct 248 ms 344 KB Correct
47 Correct 54 ms 344 KB Correct
48 Correct 257 ms 344 KB Correct
49 Correct 8 ms 344 KB Correct
50 Correct 5 ms 344 KB Correct
51 Correct 4 ms 344 KB Correct
52 Correct 270 ms 344 KB Correct
53 Correct 17 ms 344 KB Correct
54 Correct 286 ms 344 KB Correct
55 Correct 262 ms 344 KB Correct
56 Correct 6 ms 344 KB Correct
57 Correct 285 ms 344 KB Correct
58 Correct 259 ms 344 KB Correct
59 Correct 255 ms 344 KB Correct
60 Correct 249 ms 344 KB Correct
61 Correct 11 ms 344 KB Correct
62 Correct 43 ms 432 KB Correct
63 Correct 23 ms 612 KB Correct
64 Correct 276 ms 344 KB Correct
65 Correct 243 ms 504 KB Correct
66 Correct 264 ms 344 KB Correct
67 Correct 281 ms 344 KB Correct
68 Correct 260 ms 344 KB Correct
69 Correct 276 ms 344 KB Correct
70 Correct 302 ms 344 KB Correct
71 Correct 271 ms 600 KB Correct
72 Correct 248 ms 344 KB Correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 340 KB Correct
2 Correct 244 ms 344 KB Correct
3 Correct 44 ms 344 KB Correct
4 Correct 270 ms 340 KB Correct
5 Correct 232 ms 344 KB Correct
6 Correct 5 ms 344 KB Correct
7 Correct 243 ms 344 KB Correct
8 Correct 13 ms 344 KB Correct
9 Correct 245 ms 344 KB Correct
10 Correct 236 ms 344 KB Correct
11 Correct 72 ms 344 KB Correct
12 Correct 264 ms 344 KB Correct
13 Correct 0 ms 344 KB Correct
14 Correct 259 ms 344 KB Correct
15 Correct 40 ms 344 KB Correct
16 Correct 241 ms 344 KB Correct
17 Correct 322 ms 344 KB Correct
18 Correct 6 ms 344 KB Correct
19 Correct 265 ms 344 KB Correct
20 Correct 19 ms 344 KB Correct
21 Correct 271 ms 344 KB Correct
22 Correct 245 ms 344 KB Correct
23 Correct 77 ms 344 KB Correct
24 Correct 271 ms 344 KB Correct
25 Correct 6 ms 344 KB Correct
26 Correct 3 ms 344 KB Correct
27 Correct 5 ms 344 KB Correct
28 Correct 286 ms 344 KB Correct
29 Correct 17 ms 344 KB Correct
30 Correct 295 ms 344 KB Correct
31 Correct 291 ms 344 KB Correct
32 Correct 8 ms 344 KB Correct
33 Correct 270 ms 600 KB Correct
34 Correct 292 ms 344 KB Correct
35 Correct 282 ms 344 KB Correct
36 Correct 265 ms 344 KB Correct
37 Correct 0 ms 344 KB Correct
38 Correct 254 ms 344 KB Correct
39 Correct 35 ms 596 KB Correct
40 Correct 232 ms 344 KB Correct
41 Correct 272 ms 596 KB Correct
42 Correct 6 ms 596 KB Correct
43 Correct 274 ms 356 KB Correct
44 Correct 18 ms 344 KB Correct
45 Correct 270 ms 344 KB Correct
46 Correct 248 ms 344 KB Correct
47 Correct 54 ms 344 KB Correct
48 Correct 257 ms 344 KB Correct
49 Correct 8 ms 344 KB Correct
50 Correct 5 ms 344 KB Correct
51 Correct 4 ms 344 KB Correct
52 Correct 270 ms 344 KB Correct
53 Correct 17 ms 344 KB Correct
54 Correct 286 ms 344 KB Correct
55 Correct 262 ms 344 KB Correct
56 Correct 6 ms 344 KB Correct
57 Correct 285 ms 344 KB Correct
58 Correct 259 ms 344 KB Correct
59 Correct 255 ms 344 KB Correct
60 Correct 249 ms 344 KB Correct
61 Correct 11 ms 344 KB Correct
62 Correct 43 ms 432 KB Correct
63 Correct 23 ms 612 KB Correct
64 Correct 276 ms 344 KB Correct
65 Correct 243 ms 504 KB Correct
66 Correct 264 ms 344 KB Correct
67 Correct 281 ms 344 KB Correct
68 Correct 260 ms 344 KB Correct
69 Correct 276 ms 344 KB Correct
70 Correct 302 ms 344 KB Correct
71 Correct 271 ms 600 KB Correct
72 Correct 248 ms 344 KB Correct
73 Correct 0 ms 340 KB Correct
74 Correct 240 ms 344 KB Correct
75 Correct 31 ms 344 KB Correct
76 Correct 266 ms 344 KB Correct
77 Correct 271 ms 344 KB Correct
78 Correct 5 ms 344 KB Correct
79 Correct 237 ms 344 KB Correct
80 Correct 15 ms 344 KB Correct
81 Correct 257 ms 344 KB Correct
82 Correct 257 ms 344 KB Correct
83 Correct 64 ms 344 KB Correct
84 Correct 250 ms 344 KB Correct
85 Correct 4 ms 344 KB Correct
86 Correct 3 ms 344 KB Correct
87 Correct 4 ms 344 KB Correct
88 Correct 269 ms 344 KB Correct
89 Correct 16 ms 344 KB Correct
90 Correct 303 ms 344 KB Correct
91 Correct 299 ms 344 KB Correct
92 Correct 8 ms 344 KB Correct
93 Correct 258 ms 344 KB Correct
94 Correct 252 ms 344 KB Correct
95 Correct 273 ms 344 KB Correct
96 Correct 267 ms 344 KB Correct
97 Correct 24 ms 436 KB Correct
98 Correct 39 ms 440 KB Correct
99 Correct 26 ms 344 KB Correct
100 Correct 269 ms 344 KB Correct
101 Correct 263 ms 344 KB Correct
102 Correct 328 ms 344 KB Correct
103 Correct 286 ms 344 KB Correct
104 Correct 247 ms 344 KB Correct
105 Correct 271 ms 344 KB Correct
106 Correct 278 ms 600 KB Correct
107 Correct 272 ms 344 KB Correct
108 Correct 250 ms 344 KB Correct
109 Correct 313 ms 344 KB Correct
110 Correct 290 ms 344 KB Correct
111 Correct 341 ms 428 KB Correct
112 Correct 296 ms 344 KB Correct
113 Correct 232 ms 344 KB Correct
114 Correct 322 ms 344 KB Correct
115 Correct 283 ms 344 KB Correct
116 Correct 270 ms 340 KB Correct
117 Correct 272 ms 344 KB Correct
118 Correct 311 ms 344 KB Correct
119 Correct 249 ms 344 KB Correct
120 Correct 268 ms 344 KB Correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 340 KB Correct
2 Correct 244 ms 344 KB Correct
3 Correct 44 ms 344 KB Correct
4 Correct 270 ms 340 KB Correct
5 Correct 232 ms 344 KB Correct
6 Correct 5 ms 344 KB Correct
7 Correct 243 ms 344 KB Correct
8 Correct 13 ms 344 KB Correct
9 Correct 245 ms 344 KB Correct
10 Correct 236 ms 344 KB Correct
11 Correct 72 ms 344 KB Correct
12 Correct 264 ms 344 KB Correct
13 Correct 0 ms 344 KB Correct
14 Correct 259 ms 344 KB Correct
15 Correct 40 ms 344 KB Correct
16 Correct 241 ms 344 KB Correct
17 Correct 322 ms 344 KB Correct
18 Correct 6 ms 344 KB Correct
19 Correct 265 ms 344 KB Correct
20 Correct 19 ms 344 KB Correct
21 Correct 271 ms 344 KB Correct
22 Correct 245 ms 344 KB Correct
23 Correct 77 ms 344 KB Correct
24 Correct 271 ms 344 KB Correct
25 Correct 6 ms 344 KB Correct
26 Correct 3 ms 344 KB Correct
27 Correct 5 ms 344 KB Correct
28 Correct 286 ms 344 KB Correct
29 Correct 17 ms 344 KB Correct
30 Correct 295 ms 344 KB Correct
31 Correct 291 ms 344 KB Correct
32 Correct 8 ms 344 KB Correct
33 Correct 270 ms 600 KB Correct
34 Correct 292 ms 344 KB Correct
35 Correct 282 ms 344 KB Correct
36 Correct 265 ms 344 KB Correct
37 Correct 0 ms 344 KB Correct
38 Correct 254 ms 344 KB Correct
39 Correct 35 ms 596 KB Correct
40 Correct 232 ms 344 KB Correct
41 Correct 272 ms 596 KB Correct
42 Correct 6 ms 596 KB Correct
43 Correct 274 ms 356 KB Correct
44 Correct 18 ms 344 KB Correct
45 Correct 270 ms 344 KB Correct
46 Correct 248 ms 344 KB Correct
47 Correct 54 ms 344 KB Correct
48 Correct 257 ms 344 KB Correct
49 Correct 8 ms 344 KB Correct
50 Correct 5 ms 344 KB Correct
51 Correct 4 ms 344 KB Correct
52 Correct 270 ms 344 KB Correct
53 Correct 17 ms 344 KB Correct
54 Correct 286 ms 344 KB Correct
55 Correct 262 ms 344 KB Correct
56 Correct 6 ms 344 KB Correct
57 Correct 285 ms 344 KB Correct
58 Correct 259 ms 344 KB Correct
59 Correct 255 ms 344 KB Correct
60 Correct 249 ms 344 KB Correct
61 Correct 11 ms 344 KB Correct
62 Correct 43 ms 432 KB Correct
63 Correct 23 ms 612 KB Correct
64 Correct 276 ms 344 KB Correct
65 Correct 243 ms 504 KB Correct
66 Correct 264 ms 344 KB Correct
67 Correct 281 ms 344 KB Correct
68 Correct 260 ms 344 KB Correct
69 Correct 276 ms 344 KB Correct
70 Correct 302 ms 344 KB Correct
71 Correct 271 ms 600 KB Correct
72 Correct 248 ms 344 KB Correct
73 Correct 0 ms 340 KB Correct
74 Correct 240 ms 344 KB Correct
75 Correct 31 ms 344 KB Correct
76 Correct 266 ms 344 KB Correct
77 Correct 271 ms 344 KB Correct
78 Correct 5 ms 344 KB Correct
79 Correct 237 ms 344 KB Correct
80 Correct 15 ms 344 KB Correct
81 Correct 257 ms 344 KB Correct
82 Correct 257 ms 344 KB Correct
83 Correct 64 ms 344 KB Correct
84 Correct 250 ms 344 KB Correct
85 Correct 4 ms 344 KB Correct
86 Correct 3 ms 344 KB Correct
87 Correct 4 ms 344 KB Correct
88 Correct 269 ms 344 KB Correct
89 Correct 16 ms 344 KB Correct
90 Correct 303 ms 344 KB Correct
91 Correct 299 ms 344 KB Correct
92 Correct 8 ms 344 KB Correct
93 Correct 258 ms 344 KB Correct
94 Correct 252 ms 344 KB Correct
95 Correct 273 ms 344 KB Correct
96 Correct 267 ms 344 KB Correct
97 Correct 24 ms 436 KB Correct
98 Correct 39 ms 440 KB Correct
99 Correct 26 ms 344 KB Correct
100 Correct 269 ms 344 KB Correct
101 Correct 263 ms 344 KB Correct
102 Correct 328 ms 344 KB Correct
103 Correct 286 ms 344 KB Correct
104 Correct 247 ms 344 KB Correct
105 Correct 271 ms 344 KB Correct
106 Correct 278 ms 600 KB Correct
107 Correct 272 ms 344 KB Correct
108 Correct 250 ms 344 KB Correct
109 Correct 313 ms 344 KB Correct
110 Correct 290 ms 344 KB Correct
111 Correct 341 ms 428 KB Correct
112 Correct 296 ms 344 KB Correct
113 Correct 232 ms 344 KB Correct
114 Correct 322 ms 344 KB Correct
115 Correct 283 ms 344 KB Correct
116 Correct 270 ms 340 KB Correct
117 Correct 272 ms 344 KB Correct
118 Correct 311 ms 344 KB Correct
119 Correct 249 ms 344 KB Correct
120 Correct 268 ms 344 KB Correct
121 Correct 0 ms 344 KB Correct
122 Correct 277 ms 504 KB Correct
123 Correct 43 ms 340 KB Correct
124 Correct 287 ms 344 KB Correct
125 Correct 265 ms 344 KB Correct
126 Correct 4 ms 344 KB Correct
127 Correct 256 ms 344 KB Correct
128 Correct 19 ms 344 KB Correct
129 Correct 267 ms 344 KB Correct
130 Correct 263 ms 596 KB Correct
131 Correct 80 ms 344 KB Correct
132 Correct 220 ms 344 KB Correct
133 Correct 4 ms 344 KB Correct
134 Correct 3 ms 344 KB Correct
135 Correct 3 ms 344 KB Correct
136 Correct 274 ms 436 KB Correct
137 Correct 17 ms 344 KB Correct
138 Correct 251 ms 344 KB Correct
139 Correct 285 ms 600 KB Correct
140 Correct 6 ms 344 KB Correct
141 Correct 263 ms 344 KB Correct
142 Correct 285 ms 344 KB Correct
143 Correct 284 ms 432 KB Correct
144 Correct 254 ms 344 KB Correct
145 Correct 27 ms 344 KB Correct
146 Correct 47 ms 344 KB Correct
147 Correct 17 ms 344 KB Correct
148 Correct 277 ms 344 KB Correct
149 Correct 248 ms 344 KB Correct
150 Correct 288 ms 344 KB Correct
151 Correct 330 ms 344 KB Correct
152 Correct 319 ms 344 KB Correct
153 Correct 295 ms 344 KB Correct
154 Correct 295 ms 344 KB Correct
155 Correct 284 ms 600 KB Correct
156 Correct 284 ms 344 KB Correct
157 Correct 294 ms 344 KB Correct
158 Correct 305 ms 344 KB Correct
159 Correct 297 ms 344 KB Correct
160 Correct 305 ms 344 KB Correct
161 Correct 265 ms 344 KB Correct
162 Correct 327 ms 344 KB Correct
163 Correct 293 ms 344 KB Correct
164 Correct 301 ms 344 KB Correct
165 Correct 288 ms 344 KB Correct
166 Correct 308 ms 344 KB Correct
167 Correct 266 ms 344 KB Correct
168 Correct 271 ms 344 KB Correct
169 Correct 329 ms 344 KB Correct
170 Correct 326 ms 344 KB Correct
171 Correct 345 ms 344 KB Correct
172 Correct 357 ms 344 KB Correct
173 Correct 271 ms 344 KB Correct
174 Correct 356 ms 344 KB Correct
175 Correct 310 ms 344 KB Correct
176 Correct 289 ms 344 KB Correct
177 Correct 321 ms 344 KB Correct
178 Correct 367 ms 344 KB Correct
179 Correct 299 ms 344 KB Correct
180 Correct 279 ms 416 KB Correct
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 344 KB Correct
2 Correct 540 ms 432 KB Correct
3 Correct 511 ms 440 KB Correct
4 Correct 488 ms 436 KB Correct
5 Correct 561 ms 420 KB Correct
6 Correct 477 ms 588 KB Correct
7 Correct 556 ms 592 KB Correct
8 Correct 469 ms 592 KB Correct
9 Correct 480 ms 344 KB Correct
10 Correct 603 ms 412 KB Correct
11 Correct 498 ms 344 KB Correct
12 Correct 219 ms 344 KB Correct
13 Correct 39 ms 344 KB Correct
14 Correct 250 ms 344 KB Correct
15 Correct 266 ms 344 KB Correct
16 Correct 3 ms 344 KB Correct
17 Correct 216 ms 344 KB Correct
18 Correct 18 ms 344 KB Correct
19 Correct 263 ms 344 KB Correct
20 Correct 260 ms 344 KB Correct
21 Correct 64 ms 340 KB Correct
22 Correct 285 ms 344 KB Correct
23 Correct 5 ms 344 KB Correct
24 Correct 3 ms 344 KB Correct
25 Correct 5 ms 344 KB Correct
26 Correct 274 ms 344 KB Correct
27 Correct 17 ms 344 KB Correct
28 Correct 259 ms 344 KB Correct
29 Correct 278 ms 344 KB Correct
30 Correct 6 ms 344 KB Correct
31 Correct 304 ms 344 KB Correct
32 Correct 284 ms 344 KB Correct
33 Correct 257 ms 344 KB Correct
34 Correct 239 ms 344 KB Correct
35 Correct 25 ms 344 KB Correct
36 Correct 41 ms 432 KB Correct
37 Correct 21 ms 428 KB Correct
38 Correct 271 ms 344 KB Correct
39 Correct 263 ms 344 KB Correct
40 Correct 263 ms 344 KB Correct
41 Correct 305 ms 344 KB Correct
42 Correct 266 ms 344 KB Correct
43 Correct 272 ms 340 KB Correct
44 Correct 293 ms 340 KB Correct
45 Correct 252 ms 344 KB Correct
46 Correct 267 ms 344 KB Correct
47 Correct 303 ms 344 KB Correct
48 Correct 310 ms 344 KB Correct
49 Correct 322 ms 344 KB Correct
50 Correct 312 ms 344 KB Correct
51 Correct 229 ms 344 KB Correct
52 Correct 292 ms 344 KB Correct
53 Correct 304 ms 344 KB Correct
54 Correct 257 ms 344 KB Correct
55 Correct 283 ms 344 KB Correct
56 Correct 308 ms 344 KB Correct
57 Correct 281 ms 344 KB Correct
58 Correct 276 ms 340 KB Correct
59 Correct 305 ms 344 KB Correct
60 Correct 314 ms 344 KB Correct
61 Correct 360 ms 344 KB Correct
62 Correct 329 ms 344 KB Correct
63 Correct 276 ms 344 KB Correct
64 Correct 311 ms 344 KB Correct
65 Correct 323 ms 344 KB Correct
66 Correct 258 ms 344 KB Correct
67 Correct 275 ms 344 KB Correct
68 Correct 317 ms 344 KB Correct
69 Correct 260 ms 344 KB Correct
70 Correct 270 ms 416 KB Correct
71 Correct 552 ms 432 KB Correct
72 Execution timed out 1012 ms 600 KB Time limit exceeded
73 Halted 0 ms 0 KB -