답안 #185445

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
185445 2020-01-11T19:02:13 Z Akashi 항공 노선도 (JOI18_airline) C++14
100 / 100
984 ms 35016 KB
#include "Alicelib.h"
#include <bits/stdc++.h>
using namespace std;

struct usu{
    int pos, x, y;
};

const int LG = 9;
vector <usu> edgeS;
void add_edge(int pos, int x, int y){
    edgeS.push_back({pos, x, y});
}

void Alice( int n, int m, int a[], int b[] ){
    for(int i = 0; i < m ; ++i) add_edge(i, a[i], b[i]);

    int nr = m - 1;
    for(int i = n; i <= n + LG ; ++i){
        add_edge(++nr, i, n + 10);
        add_edge(++nr, i, n + 11);
        if(i != n + LG) add_edge(++nr, i, i + 1);
    }
    for(int i = 0; i < n ; ++i){
        add_edge(++nr, i, n + 11);
        for(int j = 0; j <= LG ; ++j){
            if((1 << j) & i) add_edge(++nr, i, n + j);
        }
    }

    InitG(n + 12, edgeS.size());
    for(auto it : edgeS) MakeG(it.pos, it.x, it.y);
}


#include "Boblib.h"
#include <bits/stdc++.h>
using namespace std;

const int LG = 9;
int real_n;
int gr[1025], exp_gr[1025];
int real_id[1025];
bool viz[1025], ap[1025];
vector <int> v[1025];
vector <pair <int, int> > edges;

void find_bits(int n, int wh, int p){
    for(auto it : v[wh]){
        ap[it] = 1;
        v[it].erase(find(v[it].begin(), v[it].end(), wh));
        v[it].erase(find(v[it].begin(), v[it].end(), p));
        gr[it] -= 2;
    }
    int nr = LG;
    int aux;
    for(auto nod : v[wh]){
        if(!ap[nod]) continue ;
        int cnt = 0;
        for(auto it : v[nod]) if(ap[it]) ++cnt;

        if(cnt == 1 && gr[nod] - cnt == exp_gr[nr]){
            while(nr >= 0){
                ap[nod] = 0;
                real_id[nod] = nr + real_n;
                int aux;
                for(auto it : v[nod]){
                    if(ap[it]){
                        aux = it;
                        v[it].erase(find(v[it].begin(), v[it].end(), nod));
                        v[nod].erase(find(v[nod].begin(), v[nod].end(), it));
                        --gr[nod]; --gr[it];
                        continue ;
                    }
                }
                --nr; nod = aux;
            }
            break ;
        }
    }
}

void Bob( int n, int m, int C[], int D[] ){
    real_n = n - 12;
    for(int i = 0; i < real_n ; ++i){
        for(int j = 0; j <= LG ; ++j)
            if((1 << j) & i) ++exp_gr[j];
    }

    for(int i = 0; i < m ; ++i){
        ++gr[C[i]];
        ++gr[D[i]];
        v[C[i]].push_back(D[i]);
        v[D[i]].push_back(C[i]);
    }

    int p, wh;
    for(int i = 0; i < n ; ++i) if(gr[i] == n - 2) {real_id[i] = n - 1; p = i; break ;}

    viz[p] = 1;
    for(auto it : v[p]) viz[it] = 1;
    for(int i = 0; i < n ; ++i) if(!viz[i]) {real_id[i] = n - 2; wh = i; break ;}

    memset(viz, 0, sizeof(viz));
    find_bits(n - 2, wh, p);

    for(auto nod : v[wh]){
        if(nod == p) continue ;
        int ad = real_id[nod] - real_n;
        int p = (1 << ad);
        for(auto it : v[nod]) real_id[it] += p;
    }

    for(int i = 0; i < n ; ++i){
        if(real_id[i] >= real_n) continue ;
        for(auto it : v[i]){
            if(real_id[i] < real_id[it] && real_id[it] < real_n)
                edges.push_back({real_id[i], real_id[it]});
        }
    }

    InitMap(real_n, edges.size());
    for(auto it : edges) MakeMap(it.first, it.second);
}













Compilation message

Bob.cpp: In function 'void find_bits(int, int, int)':
Bob.cpp:21:9: warning: unused variable 'aux' [-Wunused-variable]
     int aux;
         ^~~
Bob.cpp:31:21: warning: 'aux' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 int aux;
                     ^~~
Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:65:12: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
     viz[p] = 1;
     ~~~~~~~^~~
Bob.cpp:70:14: warning: 'wh' may be used uninitialized in this function [-Wmaybe-uninitialized]
     find_bits(n - 2, wh, p);
     ~~~~~~~~~^~~~~~~~~~~~~~
# 결과 실행 시간 메모리 Grader output
1 Correct 9 ms 6640 KB Output is correct
2 Correct 8 ms 6640 KB Output is correct
3 Correct 9 ms 6640 KB Output is correct
4 Correct 9 ms 6640 KB Output is correct
5 Correct 8 ms 6648 KB Output is correct
6 Correct 12 ms 6896 KB Output is correct
7 Correct 9 ms 6640 KB Output is correct
8 Correct 9 ms 6648 KB Output is correct
9 Correct 8 ms 6896 KB Output is correct
10 Correct 9 ms 6640 KB Output is correct
11 Correct 8 ms 6640 KB Output is correct
12 Correct 9 ms 6640 KB Output is correct
13 Correct 9 ms 6896 KB Output is correct
14 Correct 9 ms 6904 KB Output is correct
15 Correct 8 ms 6640 KB Output is correct
16 Correct 8 ms 6640 KB Output is correct
17 Correct 8 ms 6896 KB Output is correct
18 Correct 9 ms 6896 KB Output is correct
19 Correct 10 ms 6696 KB Output is correct
20 Correct 8 ms 6640 KB Output is correct
21 Correct 8 ms 6640 KB Output is correct
22 Correct 9 ms 6904 KB Output is correct
23 Correct 8 ms 6640 KB Output is correct
24 Correct 8 ms 6640 KB Output is correct
25 Correct 9 ms 6640 KB Output is correct
26 Correct 8 ms 6640 KB Output is correct
27 Correct 9 ms 6896 KB Output is correct
28 Correct 9 ms 6640 KB Output is correct
29 Correct 9 ms 6736 KB Output is correct
30 Correct 9 ms 6640 KB Output is correct
31 Correct 8 ms 6896 KB Output is correct
32 Correct 8 ms 6640 KB Output is correct
33 Correct 6 ms 6640 KB Output is correct
34 Correct 8 ms 6640 KB Output is correct
35 Correct 9 ms 6896 KB Output is correct
36 Correct 9 ms 6640 KB Output is correct
37 Correct 8 ms 6640 KB Output is correct
38 Correct 9 ms 6640 KB Output is correct
39 Correct 9 ms 6640 KB Output is correct
40 Correct 9 ms 6640 KB Output is correct
41 Correct 8 ms 6896 KB Output is correct
42 Correct 9 ms 6640 KB Output is correct
43 Correct 9 ms 6640 KB Output is correct
44 Correct 9 ms 6896 KB Output is correct
45 Correct 9 ms 6640 KB Output is correct
46 Correct 8 ms 6640 KB Output is correct
47 Correct 9 ms 6640 KB Output is correct
48 Correct 9 ms 6896 KB Output is correct
49 Correct 9 ms 6896 KB Output is correct
50 Correct 9 ms 6896 KB Output is correct
51 Correct 9 ms 6896 KB Output is correct
52 Correct 9 ms 6896 KB Output is correct
53 Correct 8 ms 6896 KB Output is correct
54 Correct 8 ms 6640 KB Output is correct
55 Correct 9 ms 6776 KB Output is correct
56 Correct 7 ms 6896 KB Output is correct
57 Correct 9 ms 6640 KB Output is correct
58 Correct 9 ms 6640 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 9 ms 6640 KB Output is correct
2 Correct 8 ms 6640 KB Output is correct
3 Correct 9 ms 6640 KB Output is correct
4 Correct 9 ms 6640 KB Output is correct
5 Correct 8 ms 6648 KB Output is correct
6 Correct 12 ms 6896 KB Output is correct
7 Correct 9 ms 6640 KB Output is correct
8 Correct 9 ms 6648 KB Output is correct
9 Correct 8 ms 6896 KB Output is correct
10 Correct 9 ms 6640 KB Output is correct
11 Correct 8 ms 6640 KB Output is correct
12 Correct 9 ms 6640 KB Output is correct
13 Correct 9 ms 6896 KB Output is correct
14 Correct 9 ms 6904 KB Output is correct
15 Correct 8 ms 6640 KB Output is correct
16 Correct 8 ms 6640 KB Output is correct
17 Correct 8 ms 6896 KB Output is correct
18 Correct 9 ms 6896 KB Output is correct
19 Correct 10 ms 6696 KB Output is correct
20 Correct 8 ms 6640 KB Output is correct
21 Correct 8 ms 6640 KB Output is correct
22 Correct 9 ms 6904 KB Output is correct
23 Correct 8 ms 6640 KB Output is correct
24 Correct 8 ms 6640 KB Output is correct
25 Correct 9 ms 6640 KB Output is correct
26 Correct 8 ms 6640 KB Output is correct
27 Correct 9 ms 6896 KB Output is correct
28 Correct 9 ms 6640 KB Output is correct
29 Correct 9 ms 6736 KB Output is correct
30 Correct 9 ms 6640 KB Output is correct
31 Correct 8 ms 6896 KB Output is correct
32 Correct 8 ms 6640 KB Output is correct
33 Correct 6 ms 6640 KB Output is correct
34 Correct 8 ms 6640 KB Output is correct
35 Correct 9 ms 6896 KB Output is correct
36 Correct 9 ms 6640 KB Output is correct
37 Correct 8 ms 6640 KB Output is correct
38 Correct 9 ms 6640 KB Output is correct
39 Correct 9 ms 6640 KB Output is correct
40 Correct 9 ms 6640 KB Output is correct
41 Correct 8 ms 6896 KB Output is correct
42 Correct 9 ms 6640 KB Output is correct
43 Correct 9 ms 6640 KB Output is correct
44 Correct 9 ms 6896 KB Output is correct
45 Correct 9 ms 6640 KB Output is correct
46 Correct 8 ms 6640 KB Output is correct
47 Correct 9 ms 6640 KB Output is correct
48 Correct 9 ms 6896 KB Output is correct
49 Correct 9 ms 6896 KB Output is correct
50 Correct 9 ms 6896 KB Output is correct
51 Correct 9 ms 6896 KB Output is correct
52 Correct 9 ms 6896 KB Output is correct
53 Correct 8 ms 6896 KB Output is correct
54 Correct 8 ms 6640 KB Output is correct
55 Correct 9 ms 6776 KB Output is correct
56 Correct 7 ms 6896 KB Output is correct
57 Correct 9 ms 6640 KB Output is correct
58 Correct 9 ms 6640 KB Output is correct
59 Correct 10 ms 6640 KB Output is correct
60 Correct 9 ms 6696 KB Output is correct
61 Correct 9 ms 6896 KB Output is correct
62 Correct 9 ms 6896 KB Output is correct
63 Correct 9 ms 6640 KB Output is correct
64 Correct 10 ms 6896 KB Output is correct
65 Correct 10 ms 6640 KB Output is correct
66 Correct 10 ms 6696 KB Output is correct
67 Correct 10 ms 6896 KB Output is correct
68 Correct 9 ms 6640 KB Output is correct
69 Correct 9 ms 6896 KB Output is correct
70 Correct 9 ms 6640 KB Output is correct
71 Correct 9 ms 6640 KB Output is correct
72 Correct 9 ms 6640 KB Output is correct
73 Correct 9 ms 6640 KB Output is correct
74 Correct 9 ms 6640 KB Output is correct
75 Correct 9 ms 6640 KB Output is correct
76 Correct 9 ms 6896 KB Output is correct
77 Correct 9 ms 6896 KB Output is correct
78 Correct 9 ms 6648 KB Output is correct
79 Correct 9 ms 6640 KB Output is correct
80 Correct 9 ms 6736 KB Output is correct
81 Correct 9 ms 6896 KB Output is correct
82 Correct 6 ms 6640 KB Output is correct
83 Correct 9 ms 6640 KB Output is correct
84 Correct 9 ms 6640 KB Output is correct
85 Correct 9 ms 6896 KB Output is correct
86 Correct 9 ms 6640 KB Output is correct
87 Correct 9 ms 6896 KB Output is correct
88 Correct 9 ms 6640 KB Output is correct
89 Correct 8 ms 6640 KB Output is correct
90 Correct 9 ms 6640 KB Output is correct
91 Correct 8 ms 6640 KB Output is correct
92 Correct 10 ms 6896 KB Output is correct
93 Correct 9 ms 6736 KB Output is correct
94 Correct 9 ms 6928 KB Output is correct
95 Correct 3 ms 6640 KB Output is correct
96 Correct 9 ms 6640 KB Output is correct
97 Correct 9 ms 6896 KB Output is correct
98 Correct 9 ms 6896 KB Output is correct
99 Correct 9 ms 6640 KB Output is correct
100 Correct 10 ms 6896 KB Output is correct
101 Correct 9 ms 6640 KB Output is correct
102 Correct 9 ms 6640 KB Output is correct
103 Correct 9 ms 6896 KB Output is correct
104 Correct 9 ms 6896 KB Output is correct
105 Correct 9 ms 6696 KB Output is correct
106 Correct 9 ms 6952 KB Output is correct
107 Correct 9 ms 6640 KB Output is correct
108 Correct 9 ms 6640 KB Output is correct
109 Correct 22 ms 6896 KB Output is correct
110 Correct 9 ms 6896 KB Output is correct
111 Correct 9 ms 6896 KB Output is correct
112 Correct 9 ms 6640 KB Output is correct
113 Correct 9 ms 7152 KB Output is correct
114 Correct 9 ms 6640 KB Output is correct
115 Correct 7 ms 6736 KB Output is correct
116 Correct 9 ms 6896 KB Output is correct
117 Correct 9 ms 6640 KB Output is correct
118 Correct 9 ms 6648 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 890 ms 34896 KB Output is correct : V - N = 12
2 Correct 732 ms 28976 KB Output is correct : V - N = 12
3 Correct 270 ms 15472 KB Output is correct : V - N = 12
4 Correct 24 ms 7544 KB Output is correct : V - N = 12
5 Correct 173 ms 12208 KB Output is correct : V - N = 12
6 Correct 611 ms 25380 KB Output is correct : V - N = 12
7 Correct 913 ms 34480 KB Output is correct : V - N = 12
8 Correct 878 ms 31432 KB Output is correct : V - N = 12
9 Correct 390 ms 19240 KB Output is correct : V - N = 12
10 Correct 60 ms 8608 KB Output is correct : V - N = 12
11 Correct 95 ms 9616 KB Output is correct : V - N = 12
12 Correct 471 ms 21392 KB Output is correct : V - N = 12
13 Correct 892 ms 33072 KB Output is correct : V - N = 12
14 Correct 859 ms 33560 KB Output is correct : V - N = 12
15 Correct 568 ms 24228 KB Output is correct : V - N = 12
16 Correct 114 ms 11280 KB Output is correct : V - N = 12
17 Correct 32 ms 7904 KB Output is correct : V - N = 12
18 Correct 319 ms 17384 KB Output is correct : V - N = 12
19 Correct 732 ms 30344 KB Output is correct : V - N = 12
20 Correct 942 ms 34656 KB Output is correct : V - N = 12
21 Correct 258 ms 15056 KB Output is correct : V - N = 12
22 Correct 198 ms 12808 KB Output is correct : V - N = 12
23 Correct 108 ms 9368 KB Output is correct : V - N = 12
24 Correct 11 ms 7152 KB Output is correct : V - N = 12
25 Correct 48 ms 8592 KB Output is correct : V - N = 12
26 Correct 155 ms 11896 KB Output is correct : V - N = 12
27 Correct 218 ms 14344 KB Output is correct : V - N = 12
28 Correct 232 ms 13600 KB Output is correct : V - N = 12
29 Correct 121 ms 10424 KB Output is correct : V - N = 12
30 Correct 16 ms 7456 KB Output is correct : V - N = 12
31 Correct 14 ms 7152 KB Output is correct : V - N = 12
32 Correct 14 ms 7248 KB Output is correct : V - N = 12
33 Correct 13 ms 7152 KB Output is correct : V - N = 12
34 Correct 15 ms 7152 KB Output is correct : V - N = 12
35 Correct 14 ms 7384 KB Output is correct : V - N = 12
36 Correct 827 ms 35016 KB Output is correct : V - N = 12
37 Correct 984 ms 34848 KB Output is correct : V - N = 12
38 Correct 982 ms 34912 KB Output is correct : V - N = 12
39 Correct 820 ms 34888 KB Output is correct : V - N = 12
40 Correct 925 ms 34896 KB Output is correct : V - N = 12
41 Correct 178 ms 11992 KB Output is correct : V - N = 12
42 Correct 145 ms 11232 KB Output is correct : V - N = 12
43 Correct 168 ms 11424 KB Output is correct : V - N = 12
44 Correct 15 ms 7408 KB Output is correct : V - N = 12
45 Correct 96 ms 9792 KB Output is correct : V - N = 12
46 Correct 302 ms 16192 KB Output is correct : V - N = 12
47 Correct 164 ms 11864 KB Output is correct : V - N = 12
48 Correct 374 ms 19824 KB Output is correct : V - N = 12
49 Correct 89 ms 9408 KB Output is correct : V - N = 12
50 Correct 33 ms 8008 KB Output is correct : V - N = 12
51 Correct 773 ms 28832 KB Output is correct : V - N = 12
52 Correct 17 ms 7536 KB Output is correct : V - N = 12
53 Correct 631 ms 25376 KB Output is correct : V - N = 12
54 Correct 797 ms 31216 KB Output is correct : V - N = 12
55 Correct 56 ms 8632 KB Output is correct : V - N = 12
56 Correct 463 ms 20896 KB Output is correct : V - N = 12
57 Correct 920 ms 33032 KB Output is correct : V - N = 12
58 Correct 129 ms 10712 KB Output is correct : V - N = 12
59 Correct 323 ms 17264 KB Output is correct : V - N = 12
60 Correct 912 ms 33824 KB Output is correct : V - N = 12
61 Correct 9 ms 6656 KB Output is correct : V - N = 12
62 Correct 9 ms 6640 KB Output is correct : V - N = 12
63 Correct 9 ms 6640 KB Output is correct : V - N = 12
64 Correct 9 ms 6640 KB Output is correct : V - N = 12
65 Correct 9 ms 6640 KB Output is correct : V - N = 12
66 Correct 13 ms 6896 KB Output is correct : V - N = 12
67 Correct 10 ms 6896 KB Output is correct : V - N = 12
68 Correct 9 ms 6640 KB Output is correct : V - N = 12
69 Correct 9 ms 6896 KB Output is correct : V - N = 12
70 Correct 9 ms 6896 KB Output is correct : V - N = 12
71 Correct 9 ms 6896 KB Output is correct : V - N = 12
72 Correct 11 ms 6640 KB Output is correct : V - N = 12
73 Correct 12 ms 6640 KB Output is correct : V - N = 12
74 Correct 9 ms 6896 KB Output is correct : V - N = 12
75 Correct 9 ms 6640 KB Output is correct : V - N = 12
76 Correct 7 ms 6896 KB Output is correct : V - N = 12
77 Correct 9 ms 6896 KB Output is correct : V - N = 12
78 Correct 9 ms 6640 KB Output is correct : V - N = 12
79 Correct 9 ms 6896 KB Output is correct : V - N = 12
80 Correct 11 ms 6640 KB Output is correct : V - N = 12
81 Correct 11 ms 6640 KB Output is correct : V - N = 12
82 Correct 10 ms 6640 KB Output is correct : V - N = 12
83 Correct 9 ms 6640 KB Output is correct : V - N = 12
84 Correct 9 ms 6640 KB Output is correct : V - N = 12
85 Correct 9 ms 6640 KB Output is correct : V - N = 12
86 Correct 9 ms 6904 KB Output is correct : V - N = 12
87 Correct 9 ms 6640 KB Output is correct : V - N = 12
88 Correct 9 ms 6896 KB Output is correct : V - N = 12
89 Correct 9 ms 6640 KB Output is correct : V - N = 12
90 Correct 9 ms 6736 KB Output is correct : V - N = 12
91 Correct 9 ms 6896 KB Output is correct : V - N = 12
92 Correct 9 ms 6896 KB Output is correct : V - N = 12
93 Correct 9 ms 6736 KB Output is correct : V - N = 12
94 Correct 9 ms 6640 KB Output is correct : V - N = 12
95 Correct 9 ms 6640 KB Output is correct : V - N = 12
96 Correct 9 ms 6640 KB Output is correct : V - N = 12
97 Correct 9 ms 6640 KB Output is correct : V - N = 12
98 Correct 9 ms 6984 KB Output is correct : V - N = 12
99 Correct 9 ms 6896 KB Output is correct : V - N = 12
100 Correct 9 ms 6640 KB Output is correct : V - N = 12
101 Correct 9 ms 6952 KB Output is correct : V - N = 12
102 Correct 9 ms 6896 KB Output is correct : V - N = 12
103 Correct 9 ms 6896 KB Output is correct : V - N = 12
104 Correct 10 ms 6640 KB Output is correct : V - N = 12
105 Correct 9 ms 6896 KB Output is correct : V - N = 12
106 Correct 9 ms 6640 KB Output is correct : V - N = 12
107 Correct 20 ms 6896 KB Output is correct : V - N = 12
108 Correct 9 ms 6640 KB Output is correct : V - N = 12
109 Correct 7 ms 6896 KB Output is correct : V - N = 12
110 Correct 9 ms 6640 KB Output is correct : V - N = 12
111 Correct 9 ms 6896 KB Output is correct : V - N = 12
112 Correct 9 ms 6640 KB Output is correct : V - N = 12
113 Correct 9 ms 6640 KB Output is correct : V - N = 12
114 Correct 9 ms 6648 KB Output is correct : V - N = 12
115 Correct 9 ms 6896 KB Output is correct : V - N = 12
116 Correct 9 ms 6640 KB Output is correct : V - N = 12
117 Correct 9 ms 6640 KB Output is correct : V - N = 12
118 Correct 9 ms 6640 KB Output is correct : V - N = 12
119 Correct 7 ms 6896 KB Output is correct : V - N = 12
120 Correct 9 ms 6640 KB Output is correct : V - N = 12
121 Correct 9 ms 6648 KB Output is correct : V - N = 12
122 Correct 9 ms 6752 KB Output is correct : V - N = 12
123 Correct 9 ms 6648 KB Output is correct : V - N = 12
124 Correct 9 ms 6640 KB Output is correct : V - N = 12
125 Correct 9 ms 6640 KB Output is correct : V - N = 12
126 Correct 9 ms 6640 KB Output is correct : V - N = 12
127 Correct 9 ms 6640 KB Output is correct : V - N = 12
128 Correct 9 ms 6984 KB Output is correct : V - N = 12
129 Correct 9 ms 6576 KB Output is correct : V - N = 12
130 Correct 9 ms 6696 KB Output is correct : V - N = 12
131 Correct 10 ms 6896 KB Output is correct : V - N = 12
132 Correct 9 ms 6896 KB Output is correct : V - N = 12
133 Correct 9 ms 6640 KB Output is correct : V - N = 12
134 Correct 9 ms 6896 KB Output is correct : V - N = 12
135 Correct 9 ms 6640 KB Output is correct : V - N = 12
136 Correct 8 ms 6896 KB Output is correct : V - N = 12
137 Correct 9 ms 6896 KB Output is correct : V - N = 12
138 Correct 9 ms 6640 KB Output is correct : V - N = 12
139 Correct 9 ms 6896 KB Output is correct : V - N = 12
140 Correct 9 ms 6640 KB Output is correct : V - N = 12
141 Correct 9 ms 6896 KB Output is correct : V - N = 12
142 Correct 9 ms 6896 KB Output is correct : V - N = 12
143 Correct 9 ms 6640 KB Output is correct : V - N = 12
144 Correct 9 ms 6640 KB Output is correct : V - N = 12
145 Correct 9 ms 6736 KB Output is correct : V - N = 12
146 Correct 9 ms 6640 KB Output is correct : V - N = 12
147 Correct 9 ms 6640 KB Output is correct : V - N = 12
148 Correct 9 ms 6896 KB Output is correct : V - N = 12
149 Correct 9 ms 6896 KB Output is correct : V - N = 12
150 Correct 9 ms 6640 KB Output is correct : V - N = 12
151 Correct 7 ms 6736 KB Output is correct : V - N = 12
152 Correct 9 ms 6896 KB Output is correct : V - N = 12
153 Correct 8 ms 6640 KB Output is correct : V - N = 12
154 Correct 9 ms 6896 KB Output is correct : V - N = 12
155 Correct 9 ms 6952 KB Output is correct : V - N = 12
156 Correct 9 ms 6640 KB Output is correct : V - N = 12
157 Correct 9 ms 6896 KB Output is correct : V - N = 12
158 Correct 9 ms 6640 KB Output is correct : V - N = 12
159 Correct 9 ms 6896 KB Output is correct : V - N = 12
160 Correct 7 ms 6896 KB Output is correct : V - N = 12
161 Correct 8 ms 6640 KB Output is correct : V - N = 12
162 Correct 9 ms 6896 KB Output is correct : V - N = 12
163 Correct 8 ms 6640 KB Output is correct : V - N = 12
164 Correct 9 ms 6640 KB Output is correct : V - N = 12
165 Correct 9 ms 6896 KB Output is correct : V - N = 12
166 Correct 9 ms 6952 KB Output is correct : V - N = 12
167 Correct 8 ms 6648 KB Output is correct : V - N = 12
168 Correct 9 ms 6896 KB Output is correct : V - N = 12
169 Correct 9 ms 6640 KB Output is correct : V - N = 12
170 Correct 9 ms 6640 KB Output is correct : V - N = 12
171 Correct 9 ms 6896 KB Output is correct : V - N = 12
172 Correct 9 ms 6640 KB Output is correct : V - N = 12
173 Correct 9 ms 6648 KB Output is correct : V - N = 12
174 Correct 9 ms 6896 KB Output is correct : V - N = 12
175 Correct 9 ms 6896 KB Output is correct : V - N = 12
176 Correct 8 ms 6640 KB Output is correct : V - N = 12
177 Correct 9 ms 6640 KB Output is correct : V - N = 12
178 Correct 9 ms 6640 KB Output is correct : V - N = 12