Submission #943860

# Submission time Handle Problem Language Result Execution time Memory
943860 2024-03-12T02:50:29 Z beepbeepsheep Airline Route Map (JOI18_airline) C++17
100 / 100
531 ms 47708 KB
#include "Alicelib.h"
#include <cassert>
#include <cstdio>
#define ll long long
#include <bits/stdc++.h>
using namespace std;
static vector<ll> adj[1012];
void Alice( int N, int M, int A[], int B[] ){
    if (N==1){
        InitG(1,0);
        return;
    }
    ll cnt=0;
    for (int i=0;i<M;i++){
        adj[A[i]].emplace_back(B[i]);
        cnt++;
    }
    for (int i=0;i<N;i++){
        for (int j=0;j<10;j++){
            if (i & (1<<j)){
                adj[N+j].emplace_back(i);
                cnt++;
            }
        }
    }
    cnt+=N+10+10+9;
    InitG(N+12,cnt);
    for (int i=0;i<N+10;i++){
        --cnt;
        MakeG(cnt,i,N+10);
    }
    for (int i=N;i<N+10;i++){
        --cnt;
        MakeG(cnt,i,N+11);
    }
    for (int i=N;i<N+9;i++){
        --cnt;
        MakeG(cnt,i,i+1);
    }
    for (int i=0;i<1012;i++){
        for (auto u:adj[i]){
            --cnt;
            MakeG(cnt,i,u);
        }
    }
}

#include "Boblib.h"
#include <cassert>
#include <cstdio>
#define ll long long
#include <bits/stdc++.h>
using namespace std;
vector<ll> bits;
static ll adj[1012][1012];
ll deg[1012];
ll bitsDeg[1012];
ll vis[1012];
ll idx[1012];
map<ll,ll> m;
vector<ll> out[1012];
void Bob( int V, int U, int C[], int D[] ){
    if (V==1){
        InitMap(1,0);
        return;
    }
    for (int i=0;i<U;i++){
        adj[C[i]][D[i]]=true;
        adj[D[i]][C[i]]=true;
        deg[C[i]]++,deg[D[i]]++;
    }
    ll md=0;
    for (int i=1;i<V;i++){
        if (deg[i]>deg[md]) md=i;
    }
    ll hub=0;
    for (int i=0;i<V;i++){
        if (md==i) continue;
        if (adj[md][i]==0){
            hub=i;
            break;
        }
    }
    for (int i=0;i<V;i++){
        if (adj[hub][i]) bits.emplace_back(i);
    }
    for (int i=0;i<10;i++){
        for (int j=i+1;j<10;j++){
            if (adj[bits[i]][bits[j]]){
                bitsDeg[bits[i]]++;
                bitsDeg[bits[j]]++;
            }
        }
    }
    ll s=-1,e=-1;
    for (int i=0;i<V;i++){
        if (bitsDeg[i]==1 && s==-1) s=i;
        else if (bitsDeg[i]==1) e=i;
    } //find the start and ends of the chains
    if (deg[s]<deg[e]) swap(s,e);
    //start at 2^0 to 2^9
    ll ptr=s,cnt=0;
    m[s]=0,m[e]=9;
    vis[s]=true;
    while (ptr!=e){
        for (int i=0;i<V;i++){
            if (i==ptr) continue;
            if (bitsDeg[i] && !vis[i] && adj[ptr][i]){
                //if is special node and not visited before
                //and is adjacents
                ptr=i;
                break;
            }
        }
        cnt++;
        m[ptr]=cnt;
        vis[ptr]=true;
    }
    vis[e]=true;
    vis[hub]=true;
    vis[md]=true;
    for (int i=0;i<V;i++){
        if (vis[i]) continue;
        if (i==hub || i==md) continue;
        //special node
        for (int j=0;j<V;j++){
            if (i==j) continue;
            if (j==hub || j==md) continue;
            //same guy
            if (adj[i][j]==0) continue;
            //no edge
            if (vis[j]==0) continue;
            //is not a special node
            idx[i]+=(1<<m[j]);
        }
    }
    ll ed=0;
    for (int i=0;i<U;i++){
        if (vis[C[i]] ||vis[D[i]]) continue;
        out[idx[C[i]]].emplace_back(idx[D[i]]);
        ed++;
    }
    InitMap(V-12,ed);
    for (int i=0;i<1012;i++){
        for (auto u:out[i]){
            MakeMap(i,u);
        }
    }
}

# Verdict Execution time Memory Grader output
1 Correct 3 ms 17668 KB Output is correct
2 Correct 3 ms 17612 KB Output is correct
3 Correct 3 ms 17660 KB Output is correct
4 Correct 2 ms 15620 KB Output is correct
5 Correct 2 ms 17660 KB Output is correct
6 Correct 3 ms 17664 KB Output is correct
7 Correct 3 ms 17668 KB Output is correct
8 Correct 3 ms 17672 KB Output is correct
9 Correct 3 ms 17668 KB Output is correct
10 Correct 2 ms 15620 KB Output is correct
11 Correct 2 ms 17668 KB Output is correct
12 Correct 3 ms 17664 KB Output is correct
13 Correct 3 ms 17668 KB Output is correct
14 Correct 6 ms 17660 KB Output is correct
15 Correct 3 ms 17664 KB Output is correct
16 Correct 3 ms 17668 KB Output is correct
17 Correct 5 ms 17668 KB Output is correct
18 Correct 2 ms 17916 KB Output is correct
19 Correct 2 ms 17668 KB Output is correct
20 Correct 3 ms 17668 KB Output is correct
21 Correct 3 ms 17868 KB Output is correct
22 Correct 3 ms 17668 KB Output is correct
23 Correct 2 ms 17668 KB Output is correct
24 Correct 2 ms 15336 KB Output is correct
25 Correct 2 ms 17664 KB Output is correct
26 Correct 3 ms 17664 KB Output is correct
27 Correct 2 ms 17668 KB Output is correct
28 Correct 2 ms 17668 KB Output is correct
29 Correct 3 ms 17672 KB Output is correct
30 Correct 2 ms 15620 KB Output is correct
31 Correct 2 ms 15616 KB Output is correct
32 Correct 2 ms 15620 KB Output is correct
33 Correct 2 ms 15616 KB Output is correct
34 Correct 2 ms 15616 KB Output is correct
35 Correct 2 ms 15620 KB Output is correct
36 Correct 2 ms 17660 KB Output is correct
37 Correct 3 ms 17668 KB Output is correct
38 Correct 3 ms 17668 KB Output is correct
39 Correct 3 ms 17668 KB Output is correct
40 Correct 3 ms 17668 KB Output is correct
41 Correct 3 ms 17664 KB Output is correct
42 Correct 3 ms 17672 KB Output is correct
43 Correct 2 ms 17668 KB Output is correct
44 Correct 3 ms 15616 KB Output is correct
45 Correct 2 ms 15620 KB Output is correct
46 Correct 3 ms 17556 KB Output is correct
47 Correct 4 ms 17668 KB Output is correct
48 Correct 2 ms 17668 KB Output is correct
49 Correct 3 ms 17668 KB Output is correct
50 Correct 2 ms 15620 KB Output is correct
51 Correct 2 ms 11520 KB Output is correct
52 Correct 3 ms 17668 KB Output is correct
53 Correct 3 ms 15620 KB Output is correct
54 Correct 3 ms 17664 KB Output is correct
55 Correct 3 ms 17668 KB Output is correct
56 Correct 3 ms 17668 KB Output is correct
57 Correct 2 ms 17664 KB Output is correct
58 Correct 3 ms 17664 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 3 ms 17668 KB Output is correct
2 Correct 3 ms 17612 KB Output is correct
3 Correct 3 ms 17660 KB Output is correct
4 Correct 2 ms 15620 KB Output is correct
5 Correct 2 ms 17660 KB Output is correct
6 Correct 3 ms 17664 KB Output is correct
7 Correct 3 ms 17668 KB Output is correct
8 Correct 3 ms 17672 KB Output is correct
9 Correct 3 ms 17668 KB Output is correct
10 Correct 2 ms 15620 KB Output is correct
11 Correct 2 ms 17668 KB Output is correct
12 Correct 3 ms 17664 KB Output is correct
13 Correct 3 ms 17668 KB Output is correct
14 Correct 6 ms 17660 KB Output is correct
15 Correct 3 ms 17664 KB Output is correct
16 Correct 3 ms 17668 KB Output is correct
17 Correct 5 ms 17668 KB Output is correct
18 Correct 2 ms 17916 KB Output is correct
19 Correct 2 ms 17668 KB Output is correct
20 Correct 3 ms 17668 KB Output is correct
21 Correct 3 ms 17868 KB Output is correct
22 Correct 3 ms 17668 KB Output is correct
23 Correct 2 ms 17668 KB Output is correct
24 Correct 2 ms 15336 KB Output is correct
25 Correct 2 ms 17664 KB Output is correct
26 Correct 3 ms 17664 KB Output is correct
27 Correct 2 ms 17668 KB Output is correct
28 Correct 2 ms 17668 KB Output is correct
29 Correct 3 ms 17672 KB Output is correct
30 Correct 2 ms 15620 KB Output is correct
31 Correct 2 ms 15616 KB Output is correct
32 Correct 2 ms 15620 KB Output is correct
33 Correct 2 ms 15616 KB Output is correct
34 Correct 2 ms 15616 KB Output is correct
35 Correct 2 ms 15620 KB Output is correct
36 Correct 2 ms 17660 KB Output is correct
37 Correct 3 ms 17668 KB Output is correct
38 Correct 3 ms 17668 KB Output is correct
39 Correct 3 ms 17668 KB Output is correct
40 Correct 3 ms 17668 KB Output is correct
41 Correct 3 ms 17664 KB Output is correct
42 Correct 3 ms 17672 KB Output is correct
43 Correct 2 ms 17668 KB Output is correct
44 Correct 3 ms 15616 KB Output is correct
45 Correct 2 ms 15620 KB Output is correct
46 Correct 3 ms 17556 KB Output is correct
47 Correct 4 ms 17668 KB Output is correct
48 Correct 2 ms 17668 KB Output is correct
49 Correct 3 ms 17668 KB Output is correct
50 Correct 2 ms 15620 KB Output is correct
51 Correct 2 ms 11520 KB Output is correct
52 Correct 3 ms 17668 KB Output is correct
53 Correct 3 ms 15620 KB Output is correct
54 Correct 3 ms 17664 KB Output is correct
55 Correct 3 ms 17668 KB Output is correct
56 Correct 3 ms 17668 KB Output is correct
57 Correct 2 ms 17664 KB Output is correct
58 Correct 3 ms 17664 KB Output is correct
59 Correct 3 ms 17668 KB Output is correct
60 Correct 3 ms 17668 KB Output is correct
61 Correct 3 ms 17668 KB Output is correct
62 Correct 3 ms 17668 KB Output is correct
63 Correct 3 ms 17916 KB Output is correct
64 Correct 3 ms 17664 KB Output is correct
65 Correct 3 ms 17668 KB Output is correct
66 Correct 3 ms 17664 KB Output is correct
67 Correct 3 ms 17664 KB Output is correct
68 Correct 3 ms 17668 KB Output is correct
69 Correct 2 ms 17668 KB Output is correct
70 Correct 3 ms 17668 KB Output is correct
71 Correct 4 ms 17668 KB Output is correct
72 Correct 3 ms 17664 KB Output is correct
73 Correct 3 ms 17664 KB Output is correct
74 Correct 3 ms 17664 KB Output is correct
75 Correct 3 ms 17668 KB Output is correct
76 Correct 3 ms 17664 KB Output is correct
77 Correct 3 ms 17668 KB Output is correct
78 Correct 3 ms 17664 KB Output is correct
79 Correct 3 ms 17668 KB Output is correct
80 Correct 3 ms 17664 KB Output is correct
81 Correct 3 ms 17668 KB Output is correct
82 Correct 2 ms 17668 KB Output is correct
83 Correct 2 ms 17920 KB Output is correct
84 Correct 3 ms 17668 KB Output is correct
85 Correct 3 ms 17916 KB Output is correct
86 Correct 3 ms 17668 KB Output is correct
87 Correct 3 ms 17668 KB Output is correct
88 Correct 3 ms 17668 KB Output is correct
89 Correct 3 ms 15620 KB Output is correct
90 Correct 2 ms 15620 KB Output is correct
91 Correct 3 ms 15616 KB Output is correct
92 Correct 2 ms 15620 KB Output is correct
93 Correct 3 ms 15620 KB Output is correct
94 Correct 3 ms 17668 KB Output is correct
95 Correct 3 ms 18172 KB Output is correct
96 Correct 3 ms 17668 KB Output is correct
97 Correct 3 ms 17664 KB Output is correct
98 Correct 3 ms 17668 KB Output is correct
99 Correct 3 ms 17668 KB Output is correct
100 Correct 3 ms 17668 KB Output is correct
101 Correct 3 ms 17668 KB Output is correct
102 Correct 2 ms 15620 KB Output is correct
103 Correct 2 ms 17668 KB Output is correct
104 Correct 2 ms 17668 KB Output is correct
105 Correct 3 ms 17668 KB Output is correct
106 Correct 3 ms 17924 KB Output is correct
107 Correct 3 ms 17664 KB Output is correct
108 Correct 3 ms 17660 KB Output is correct
109 Correct 2 ms 17668 KB Output is correct
110 Correct 2 ms 17668 KB Output is correct
111 Correct 2 ms 17668 KB Output is correct
112 Correct 3 ms 17668 KB Output is correct
113 Correct 2 ms 17664 KB Output is correct
114 Correct 3 ms 17672 KB Output is correct
115 Correct 3 ms 17664 KB Output is correct
116 Correct 2 ms 17668 KB Output is correct
117 Correct 3 ms 17668 KB Output is correct
118 Correct 3 ms 17664 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 434 ms 46472 KB Output is correct : V - N = 12
2 Correct 297 ms 44308 KB Output is correct : V - N = 12
3 Correct 132 ms 30212 KB Output is correct : V - N = 12
4 Correct 9 ms 25244 KB Output is correct : V - N = 12
5 Correct 78 ms 27988 KB Output is correct : V - N = 12
6 Correct 302 ms 43124 KB Output is correct : V - N = 12
7 Correct 469 ms 46244 KB Output is correct : V - N = 12
8 Correct 398 ms 44832 KB Output is correct : V - N = 12
9 Correct 221 ms 30920 KB Output is correct : V - N = 12
10 Correct 24 ms 27028 KB Output is correct : V - N = 12
11 Correct 30 ms 26568 KB Output is correct : V - N = 12
12 Correct 207 ms 35956 KB Output is correct : V - N = 12
13 Correct 339 ms 44672 KB Output is correct : V - N = 12
14 Correct 429 ms 45652 KB Output is correct : V - N = 12
15 Correct 252 ms 38360 KB Output is correct : V - N = 12
16 Correct 50 ms 27736 KB Output is correct : V - N = 12
17 Correct 14 ms 26032 KB Output is correct : V - N = 12
18 Correct 204 ms 30060 KB Output is correct : V - N = 12
19 Correct 340 ms 44896 KB Output is correct : V - N = 12
20 Correct 497 ms 46628 KB Output is correct : V - N = 12
21 Correct 96 ms 25616 KB Output is correct : V - N = 12
22 Correct 101 ms 24240 KB Output is correct : V - N = 12
23 Correct 36 ms 22960 KB Output is correct : V - N = 12
24 Correct 5 ms 21764 KB Output is correct : V - N = 12
25 Correct 26 ms 22712 KB Output is correct : V - N = 12
26 Correct 83 ms 24304 KB Output is correct : V - N = 12
27 Correct 101 ms 25672 KB Output is correct : V - N = 12
28 Correct 105 ms 24252 KB Output is correct : V - N = 12
29 Correct 51 ms 23344 KB Output is correct : V - N = 12
30 Correct 7 ms 22016 KB Output is correct : V - N = 12
31 Correct 8 ms 23000 KB Output is correct : V - N = 12
32 Correct 8 ms 22784 KB Output is correct : V - N = 12
33 Correct 8 ms 23040 KB Output is correct : V - N = 12
34 Correct 8 ms 23044 KB Output is correct : V - N = 12
35 Correct 8 ms 23000 KB Output is correct : V - N = 12
36 Correct 531 ms 46424 KB Output is correct : V - N = 12
37 Correct 421 ms 47708 KB Output is correct : V - N = 12
38 Correct 416 ms 46560 KB Output is correct : V - N = 12
39 Correct 476 ms 47208 KB Output is correct : V - N = 12
40 Correct 440 ms 47144 KB Output is correct : V - N = 12
41 Correct 102 ms 27772 KB Output is correct : V - N = 12
42 Correct 58 ms 27144 KB Output is correct : V - N = 12
43 Correct 65 ms 27580 KB Output is correct : V - N = 12
44 Correct 9 ms 25092 KB Output is correct : V - N = 12
45 Correct 57 ms 27340 KB Output is correct : V - N = 12
46 Correct 147 ms 30048 KB Output is correct : V - N = 12
47 Correct 81 ms 27608 KB Output is correct : V - N = 12
48 Correct 221 ms 30800 KB Output is correct : V - N = 12
49 Correct 33 ms 26800 KB Output is correct : V - N = 12
50 Correct 15 ms 25860 KB Output is correct : V - N = 12
51 Correct 301 ms 44292 KB Output is correct : V - N = 12
52 Correct 9 ms 25072 KB Output is correct : V - N = 12
53 Correct 287 ms 43112 KB Output is correct : V - N = 12
54 Correct 365 ms 44816 KB Output is correct : V - N = 12
55 Correct 26 ms 26160 KB Output is correct : V - N = 12
56 Correct 256 ms 35940 KB Output is correct : V - N = 12
57 Correct 470 ms 45840 KB Output is correct : V - N = 12
58 Correct 78 ms 27072 KB Output is correct : V - N = 12
59 Correct 187 ms 30424 KB Output is correct : V - N = 12
60 Correct 495 ms 45624 KB Output is correct : V - N = 12
61 Correct 3 ms 17664 KB Output is correct : V - N = 12
62 Correct 3 ms 17668 KB Output is correct : V - N = 12
63 Correct 3 ms 17664 KB Output is correct : V - N = 12
64 Correct 3 ms 17664 KB Output is correct : V - N = 12
65 Correct 3 ms 17668 KB Output is correct : V - N = 12
66 Correct 3 ms 17664 KB Output is correct : V - N = 12
67 Correct 4 ms 17668 KB Output is correct : V - N = 12
68 Correct 3 ms 17668 KB Output is correct : V - N = 12
69 Correct 3 ms 17668 KB Output is correct : V - N = 12
70 Correct 2 ms 17668 KB Output is correct : V - N = 12
71 Correct 2 ms 17668 KB Output is correct : V - N = 12
72 Correct 3 ms 17668 KB Output is correct : V - N = 12
73 Correct 3 ms 17672 KB Output is correct : V - N = 12
74 Correct 3 ms 17664 KB Output is correct : V - N = 12
75 Correct 3 ms 17664 KB Output is correct : V - N = 12
76 Correct 2 ms 17668 KB Output is correct : V - N = 12
77 Correct 2 ms 17668 KB Output is correct : V - N = 12
78 Correct 3 ms 17664 KB Output is correct : V - N = 12
79 Correct 3 ms 17668 KB Output is correct : V - N = 12
80 Correct 3 ms 17668 KB Output is correct : V - N = 12
81 Correct 3 ms 17656 KB Output is correct : V - N = 12
82 Correct 3 ms 17664 KB Output is correct : V - N = 12
83 Correct 3 ms 17668 KB Output is correct : V - N = 12
84 Correct 3 ms 17668 KB Output is correct : V - N = 12
85 Correct 3 ms 17668 KB Output is correct : V - N = 12
86 Correct 3 ms 17668 KB Output is correct : V - N = 12
87 Correct 3 ms 17668 KB Output is correct : V - N = 12
88 Correct 3 ms 17668 KB Output is correct : V - N = 12
89 Correct 3 ms 17888 KB Output is correct : V - N = 12
90 Correct 3 ms 17668 KB Output is correct : V - N = 12
91 Correct 2 ms 15620 KB Output is correct : V - N = 12
92 Correct 2 ms 15456 KB Output is correct : V - N = 12
93 Correct 2 ms 15620 KB Output is correct : V - N = 12
94 Correct 2 ms 15620 KB Output is correct : V - N = 12
95 Correct 2 ms 15612 KB Output is correct : V - N = 12
96 Correct 3 ms 17672 KB Output is correct : V - N = 12
97 Correct 3 ms 17668 KB Output is correct : V - N = 12
98 Correct 3 ms 17664 KB Output is correct : V - N = 12
99 Correct 3 ms 17668 KB Output is correct : V - N = 12
100 Correct 3 ms 17668 KB Output is correct : V - N = 12
101 Correct 3 ms 17664 KB Output is correct : V - N = 12
102 Correct 3 ms 17668 KB Output is correct : V - N = 12
103 Correct 3 ms 17668 KB Output is correct : V - N = 12
104 Correct 2 ms 15620 KB Output is correct : V - N = 12
105 Correct 2 ms 17668 KB Output is correct : V - N = 12
106 Correct 3 ms 17664 KB Output is correct : V - N = 12
107 Correct 3 ms 17668 KB Output is correct : V - N = 12
108 Correct 3 ms 17664 KB Output is correct : V - N = 12
109 Correct 2 ms 17668 KB Output is correct : V - N = 12
110 Correct 3 ms 17672 KB Output is correct : V - N = 12
111 Correct 3 ms 17668 KB Output is correct : V - N = 12
112 Correct 2 ms 17692 KB Output is correct : V - N = 12
113 Correct 3 ms 17668 KB Output is correct : V - N = 12
114 Correct 3 ms 17668 KB Output is correct : V - N = 12
115 Correct 2 ms 17668 KB Output is correct : V - N = 12
116 Correct 3 ms 17664 KB Output is correct : V - N = 12
117 Correct 3 ms 17668 KB Output is correct : V - N = 12
118 Correct 2 ms 17664 KB Output is correct : V - N = 12
119 Correct 3 ms 17668 KB Output is correct : V - N = 12
120 Correct 3 ms 17668 KB Output is correct : V - N = 12
121 Correct 3 ms 17668 KB Output is correct : V - N = 12
122 Correct 3 ms 17668 KB Output is correct : V - N = 12
123 Correct 2 ms 17664 KB Output is correct : V - N = 12
124 Correct 2 ms 15620 KB Output is correct : V - N = 12
125 Correct 2 ms 17668 KB Output is correct : V - N = 12
126 Correct 2 ms 17672 KB Output is correct : V - N = 12
127 Correct 3 ms 17660 KB Output is correct : V - N = 12
128 Correct 3 ms 17668 KB Output is correct : V - N = 12
129 Correct 3 ms 17668 KB Output is correct : V - N = 12
130 Correct 2 ms 15616 KB Output is correct : V - N = 12
131 Correct 3 ms 17664 KB Output is correct : V - N = 12
132 Correct 3 ms 17664 KB Output is correct : V - N = 12
133 Correct 3 ms 17668 KB Output is correct : V - N = 12
134 Correct 2 ms 17668 KB Output is correct : V - N = 12
135 Correct 3 ms 17668 KB Output is correct : V - N = 12
136 Correct 2 ms 17668 KB Output is correct : V - N = 12
137 Correct 3 ms 17664 KB Output is correct : V - N = 12
138 Correct 2 ms 17668 KB Output is correct : V - N = 12
139 Correct 2 ms 17668 KB Output is correct : V - N = 12
140 Correct 3 ms 17668 KB Output is correct : V - N = 12
141 Correct 3 ms 17672 KB Output is correct : V - N = 12
142 Correct 2 ms 17664 KB Output is correct : V - N = 12
143 Correct 3 ms 17668 KB Output is correct : V - N = 12
144 Correct 2 ms 15620 KB Output is correct : V - N = 12
145 Correct 2 ms 17672 KB Output is correct : V - N = 12
146 Correct 2 ms 17668 KB Output is correct : V - N = 12
147 Correct 2 ms 17500 KB Output is correct : V - N = 12
148 Correct 2 ms 17668 KB Output is correct : V - N = 12
149 Correct 3 ms 17668 KB Output is correct : V - N = 12
150 Correct 2 ms 15620 KB Output is correct : V - N = 12
151 Correct 2 ms 15620 KB Output is correct : V - N = 12
152 Correct 2 ms 15620 KB Output is correct : V - N = 12
153 Correct 2 ms 15620 KB Output is correct : V - N = 12
154 Correct 2 ms 15620 KB Output is correct : V - N = 12
155 Correct 2 ms 15644 KB Output is correct : V - N = 12
156 Correct 3 ms 17668 KB Output is correct : V - N = 12
157 Correct 2 ms 17660 KB Output is correct : V - N = 12
158 Correct 3 ms 17672 KB Output is correct : V - N = 12
159 Correct 2 ms 17668 KB Output is correct : V - N = 12
160 Correct 3 ms 17668 KB Output is correct : V - N = 12
161 Correct 3 ms 18172 KB Output is correct : V - N = 12
162 Correct 3 ms 17668 KB Output is correct : V - N = 12
163 Correct 3 ms 17668 KB Output is correct : V - N = 12
164 Correct 2 ms 15448 KB Output is correct : V - N = 12
165 Correct 2 ms 15620 KB Output is correct : V - N = 12
166 Correct 2 ms 17668 KB Output is correct : V - N = 12
167 Correct 3 ms 17664 KB Output is correct : V - N = 12
168 Correct 3 ms 17664 KB Output is correct : V - N = 12
169 Correct 2 ms 17916 KB Output is correct : V - N = 12
170 Correct 2 ms 15620 KB Output is correct : V - N = 12
171 Correct 2 ms 11524 KB Output is correct : V - N = 0
172 Correct 3 ms 17668 KB Output is correct : V - N = 12
173 Correct 3 ms 15620 KB Output is correct : V - N = 12
174 Correct 2 ms 17668 KB Output is correct : V - N = 12
175 Correct 2 ms 17664 KB Output is correct : V - N = 12
176 Correct 3 ms 17668 KB Output is correct : V - N = 12
177 Correct 2 ms 17668 KB Output is correct : V - N = 12
178 Correct 3 ms 17476 KB Output is correct : V - N = 12