# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
933928 | 2024-02-26T15:10:11 Z | alexander707070 | 항공 노선도 (JOI18_airline) | C++14 | 591 ms | 54500 KB |
#include<bits/stdc++.h> #include "Alicelib.h" #define MAXN 200007 using namespace std; namespace{ int n,m,num; vector< pair<int,int> > edges; } void Alice( int N, int M, int A[], int B[]){ n=N; m=M; num=17; for(int i=0;i<n;i++){ for(int f=10;f>=0;f--){ if(((1<<f)&(i+num))>0)edges.push_back({i,n+f}); } } for(int i=n;i<=n+10;i++){ edges.push_back({i,n+11}); if(i<n+10)edges.push_back({i,i+1}); } for(int i=0;i<m;i++){ edges.push_back({A[i],B[i]}); } InitG( n+12, edges.size() ); for(int i=0;i<edges.size();i++){ MakeG(i,edges[i].first,edges[i].second); } }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 7 ms | 29436 KB | Output is correct |
2 | Correct | 5 ms | 29444 KB | Output is correct |
3 | Correct | 6 ms | 29444 KB | Output is correct |
4 | Correct | 6 ms | 27328 KB | Output is correct |
5 | Correct | 6 ms | 29440 KB | Output is correct |
6 | Correct | 7 ms | 29436 KB | Output is correct |
7 | Correct | 7 ms | 29444 KB | Output is correct |
8 | Correct | 6 ms | 29656 KB | Output is correct |
9 | Correct | 6 ms | 29440 KB | Output is correct |
10 | Correct | 4 ms | 27392 KB | Output is correct |
11 | Correct | 6 ms | 29444 KB | Output is correct |
12 | Correct | 6 ms | 29444 KB | Output is correct |
13 | Correct | 6 ms | 29444 KB | Output is correct |
14 | Correct | 6 ms | 29440 KB | Output is correct |
15 | Correct | 7 ms | 29440 KB | Output is correct |
16 | Correct | 6 ms | 29444 KB | Output is correct |
17 | Correct | 6 ms | 29440 KB | Output is correct |
18 | Correct | 6 ms | 29444 KB | Output is correct |
19 | Correct | 6 ms | 29440 KB | Output is correct |
20 | Correct | 6 ms | 29444 KB | Output is correct |
21 | Correct | 6 ms | 29440 KB | Output is correct |
22 | Correct | 7 ms | 29444 KB | Output is correct |
23 | Correct | 6 ms | 29444 KB | Output is correct |
24 | Correct | 6 ms | 27396 KB | Output is correct |
25 | Correct | 6 ms | 29536 KB | Output is correct |
26 | Correct | 6 ms | 29444 KB | Output is correct |
27 | Correct | 5 ms | 29440 KB | Output is correct |
28 | Correct | 7 ms | 29440 KB | Output is correct |
29 | Correct | 7 ms | 29440 KB | Output is correct |
30 | Correct | 5 ms | 27400 KB | Output is correct |
31 | Correct | 5 ms | 27328 KB | Output is correct |
32 | Correct | 5 ms | 27404 KB | Output is correct |
33 | Correct | 5 ms | 27392 KB | Output is correct |
34 | Correct | 6 ms | 27396 KB | Output is correct |
35 | Correct | 6 ms | 27396 KB | Output is correct |
36 | Correct | 6 ms | 29444 KB | Output is correct |
37 | Correct | 6 ms | 29444 KB | Output is correct |
38 | Correct | 6 ms | 29448 KB | Output is correct |
39 | Correct | 7 ms | 29444 KB | Output is correct |
40 | Correct | 6 ms | 29448 KB | Output is correct |
41 | Correct | 7 ms | 29436 KB | Output is correct |
42 | Correct | 7 ms | 29444 KB | Output is correct |
43 | Correct | 6 ms | 29444 KB | Output is correct |
44 | Correct | 5 ms | 27364 KB | Output is correct |
45 | Correct | 6 ms | 27392 KB | Output is correct |
46 | Correct | 5 ms | 29440 KB | Output is correct |
47 | Correct | 5 ms | 29444 KB | Output is correct |
48 | Correct | 6 ms | 29444 KB | Output is correct |
49 | Correct | 5 ms | 29440 KB | Output is correct |
50 | Runtime error | 18 ms | 46436 KB | Execution killed with signal 4 |
51 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 7 ms | 29436 KB | Output is correct |
2 | Correct | 5 ms | 29444 KB | Output is correct |
3 | Correct | 6 ms | 29444 KB | Output is correct |
4 | Correct | 6 ms | 27328 KB | Output is correct |
5 | Correct | 6 ms | 29440 KB | Output is correct |
6 | Correct | 7 ms | 29436 KB | Output is correct |
7 | Correct | 7 ms | 29444 KB | Output is correct |
8 | Correct | 6 ms | 29656 KB | Output is correct |
9 | Correct | 6 ms | 29440 KB | Output is correct |
10 | Correct | 4 ms | 27392 KB | Output is correct |
11 | Correct | 6 ms | 29444 KB | Output is correct |
12 | Correct | 6 ms | 29444 KB | Output is correct |
13 | Correct | 6 ms | 29444 KB | Output is correct |
14 | Correct | 6 ms | 29440 KB | Output is correct |
15 | Correct | 7 ms | 29440 KB | Output is correct |
16 | Correct | 6 ms | 29444 KB | Output is correct |
17 | Correct | 6 ms | 29440 KB | Output is correct |
18 | Correct | 6 ms | 29444 KB | Output is correct |
19 | Correct | 6 ms | 29440 KB | Output is correct |
20 | Correct | 6 ms | 29444 KB | Output is correct |
21 | Correct | 6 ms | 29440 KB | Output is correct |
22 | Correct | 7 ms | 29444 KB | Output is correct |
23 | Correct | 6 ms | 29444 KB | Output is correct |
24 | Correct | 6 ms | 27396 KB | Output is correct |
25 | Correct | 6 ms | 29536 KB | Output is correct |
26 | Correct | 6 ms | 29444 KB | Output is correct |
27 | Correct | 5 ms | 29440 KB | Output is correct |
28 | Correct | 7 ms | 29440 KB | Output is correct |
29 | Correct | 7 ms | 29440 KB | Output is correct |
30 | Correct | 5 ms | 27400 KB | Output is correct |
31 | Correct | 5 ms | 27328 KB | Output is correct |
32 | Correct | 5 ms | 27404 KB | Output is correct |
33 | Correct | 5 ms | 27392 KB | Output is correct |
34 | Correct | 6 ms | 27396 KB | Output is correct |
35 | Correct | 6 ms | 27396 KB | Output is correct |
36 | Correct | 6 ms | 29444 KB | Output is correct |
37 | Correct | 6 ms | 29444 KB | Output is correct |
38 | Correct | 6 ms | 29448 KB | Output is correct |
39 | Correct | 7 ms | 29444 KB | Output is correct |
40 | Correct | 6 ms | 29448 KB | Output is correct |
41 | Correct | 7 ms | 29436 KB | Output is correct |
42 | Correct | 7 ms | 29444 KB | Output is correct |
43 | Correct | 6 ms | 29444 KB | Output is correct |
44 | Correct | 5 ms | 27364 KB | Output is correct |
45 | Correct | 6 ms | 27392 KB | Output is correct |
46 | Correct | 5 ms | 29440 KB | Output is correct |
47 | Correct | 5 ms | 29444 KB | Output is correct |
48 | Correct | 6 ms | 29444 KB | Output is correct |
49 | Correct | 5 ms | 29440 KB | Output is correct |
50 | Runtime error | 18 ms | 46436 KB | Execution killed with signal 4 |
51 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 423 ms | 53640 KB | Output is correct : V - N = 12 |
2 | Correct | 327 ms | 51864 KB | Output is correct : V - N = 12 |
3 | Correct | 147 ms | 35712 KB | Output is correct : V - N = 12 |
4 | Correct | 10 ms | 29916 KB | Output is correct : V - N = 12 |
5 | Correct | 65 ms | 32776 KB | Output is correct : V - N = 12 |
6 | Correct | 307 ms | 52312 KB | Output is correct : V - N = 12 |
7 | Correct | 472 ms | 53440 KB | Output is correct : V - N = 12 |
8 | Correct | 359 ms | 52860 KB | Output is correct : V - N = 12 |
9 | Correct | 204 ms | 36464 KB | Output is correct : V - N = 12 |
10 | Correct | 31 ms | 31308 KB | Output is correct : V - N = 12 |
11 | Correct | 41 ms | 31484 KB | Output is correct : V - N = 12 |
12 | Correct | 221 ms | 42600 KB | Output is correct : V - N = 12 |
13 | Correct | 438 ms | 53016 KB | Output is correct : V - N = 12 |
14 | Correct | 493 ms | 53684 KB | Output is correct : V - N = 12 |
15 | Correct | 272 ms | 47516 KB | Output is correct : V - N = 12 |
16 | Correct | 69 ms | 32820 KB | Output is correct : V - N = 12 |
17 | Correct | 16 ms | 30308 KB | Output is correct : V - N = 12 |
18 | Correct | 194 ms | 35616 KB | Output is correct : V - N = 12 |
19 | Correct | 455 ms | 52716 KB | Output is correct : V - N = 12 |
20 | Correct | 447 ms | 53380 KB | Output is correct : V - N = 12 |
21 | Correct | 140 ms | 34320 KB | Output is correct : V - N = 12 |
22 | Correct | 97 ms | 33124 KB | Output is correct : V - N = 12 |
23 | Correct | 34 ms | 31436 KB | Output is correct : V - N = 12 |
24 | Correct | 7 ms | 29440 KB | Output is correct : V - N = 12 |
25 | Correct | 27 ms | 31084 KB | Output is correct : V - N = 12 |
26 | Correct | 97 ms | 33264 KB | Output is correct : V - N = 12 |
27 | Correct | 118 ms | 33252 KB | Output is correct : V - N = 12 |
28 | Correct | 96 ms | 33320 KB | Output is correct : V - N = 12 |
29 | Correct | 66 ms | 31516 KB | Output is correct : V - N = 12 |
30 | Correct | 9 ms | 30200 KB | Output is correct : V - N = 12 |
31 | Correct | 8 ms | 27396 KB | Output is correct : V - N = 12 |
32 | Correct | 9 ms | 27396 KB | Output is correct : V - N = 12 |
33 | Correct | 9 ms | 27396 KB | Output is correct : V - N = 12 |
34 | Correct | 8 ms | 27396 KB | Output is correct : V - N = 12 |
35 | Correct | 10 ms | 27568 KB | Output is correct : V - N = 12 |
36 | Correct | 422 ms | 52724 KB | Output is correct : V - N = 12 |
37 | Correct | 455 ms | 53088 KB | Output is correct : V - N = 12 |
38 | Correct | 433 ms | 54500 KB | Output is correct : V - N = 12 |
39 | Correct | 591 ms | 54396 KB | Output is correct : V - N = 12 |
40 | Correct | 405 ms | 53356 KB | Output is correct : V - N = 12 |
41 | Correct | 78 ms | 33380 KB | Output is correct : V - N = 12 |
42 | Correct | 55 ms | 32904 KB | Output is correct : V - N = 12 |
43 | Correct | 63 ms | 32928 KB | Output is correct : V - N = 12 |
44 | Correct | 9 ms | 29728 KB | Output is correct : V - N = 12 |
45 | Correct | 48 ms | 31892 KB | Output is correct : V - N = 12 |
46 | Correct | 184 ms | 35684 KB | Output is correct : V - N = 12 |
47 | Correct | 104 ms | 33500 KB | Output is correct : V - N = 12 |
48 | Correct | 186 ms | 37108 KB | Output is correct : V - N = 12 |
49 | Correct | 37 ms | 31388 KB | Output is correct : V - N = 12 |
50 | Correct | 15 ms | 30796 KB | Output is correct : V - N = 12 |
51 | Correct | 371 ms | 51656 KB | Output is correct : V - N = 12 |
52 | Correct | 10 ms | 29696 KB | Output is correct : V - N = 12 |
53 | Correct | 256 ms | 53224 KB | Output is correct : V - N = 12 |
54 | Correct | 395 ms | 52656 KB | Output is correct : V - N = 12 |
55 | Correct | 25 ms | 31612 KB | Output is correct : V - N = 12 |
56 | Correct | 208 ms | 42088 KB | Output is correct : V - N = 12 |
57 | Correct | 399 ms | 54264 KB | Output is correct : V - N = 12 |
58 | Correct | 58 ms | 32712 KB | Output is correct : V - N = 12 |
59 | Correct | 147 ms | 35916 KB | Output is correct : V - N = 12 |
60 | Correct | 408 ms | 53228 KB | Output is correct : V - N = 12 |
61 | Correct | 7 ms | 29444 KB | Output is correct : V - N = 12 |
62 | Correct | 7 ms | 29440 KB | Output is correct : V - N = 12 |
63 | Correct | 6 ms | 29444 KB | Output is correct : V - N = 12 |
64 | Correct | 6 ms | 29444 KB | Output is correct : V - N = 12 |
65 | Correct | 7 ms | 29444 KB | Output is correct : V - N = 12 |
66 | Correct | 6 ms | 29456 KB | Output is correct : V - N = 12 |
67 | Correct | 6 ms | 29444 KB | Output is correct : V - N = 12 |
68 | Correct | 6 ms | 29440 KB | Output is correct : V - N = 12 |
69 | Correct | 6 ms | 29444 KB | Output is correct : V - N = 12 |
70 | Correct | 6 ms | 29444 KB | Output is correct : V - N = 12 |
71 | Correct | 7 ms | 29444 KB | Output is correct : V - N = 12 |
72 | Runtime error | 19 ms | 48304 KB | Execution killed with signal 4 |
73 | Halted | 0 ms | 0 KB | - |