답안 #482064

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
482064 2021-10-22T22:14:06 Z leaked 항공 노선도 (JOI18_airline) C++14
100 / 100
735 ms 21124 KB
#include "Alicelib.h"
#include <cassert>
#include <cstdio>
void Alice( int N, int M, int A[], int B[] );
void InitG( int V, int U );
void MakeG( int pos, int C, int D );
void Alice( int N, int M, int A[], int B[] ){
	int V=N+12,U=M;
	for(int i=0;i<N;i++){
        for(int j=0;j<10;j++){
            if(i&(1<<j))
                U++;
        }
//        U++;
	}
	for(int j=0;j<9;j++) U++,U++,U++;
	U++;U++;
    InitG(V,U);
    U=0;
    for(int i=0;i<N;i++){
        for(int j=0;j<10;j++){
            if(i&(1<<j))
                MakeG(U++,i,N+j);
        }
//        MakeG(U++,i,N+10);
	}
	for(int i=0;i<M;i++) MakeG(U++,A[i],B[i]);

    for(int j=0;j<10;j++) MakeG(U++,N+j,N+10);
    MakeG(U++,N+10,N+11);
	for(int j=0;j<9;j++)
        MakeG(U++,N+j,N+j+1);
    for(int j=1;j<10;j++) MakeG(U++,N+j,N+11);
}

#include "Boblib.h"
#include <cassert>
#include <cstdio>
#include <bits/stdc++.h>
#define vec vector
#define pb push_back
#define all(x) (x).begin(),(x).end()
#define sz(x) (int)(x).size()

using namespace std;
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename \
  enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) {
sim > struct rge { c b, e; };
sim > rge<c> range(c i, c j) { return rge<c>{i, j}; }
sim > auto dud(c* x) -> decltype(cerr << *x, 0);
sim > char dud(...);
struct debug {
#ifndef LOCAL
~debug() { cerr << endl; }
eni(!=) cerr << boolalpha << i; ris; }
eni(==) ris << range(begin(i), end(i)); }
sim, class b dor(pair < b, c > d) {
  ris << "(" << d.first << ", " << d.second << ")";
}
sim dor(rge<c> d) {
  *this << "[";
  for (auto it = d.b; it != d.e; ++it)
	*this << ", " + 2 * (it == d.b) << *it;
  ris << "]";
}
#else
sim dor(const c&) { ris; }
#endif
};
#define imie(...) " [" << #__VA_ARGS__ ": " << (__VA_ARGS__) << "] "

void Bob( int V, int U, int C[], int D[] ){
	int N=V-12;
	int M=U;
	for(int i=0;i<N;i++){
        for(int j=0;j<10;j++){
            if(i&(1<<j)) M--;
        }
//        M--;
	}
//	debug()<<imie(N);
//	for(int i=0;i<M;i++) debug()<<imie(C[i])imie(D[i]);
	for(int j=0;j<9;j++) M--,M--,M--;
	M--;M--;
    InitMap(N,M);
//    vec<bool> bad(V,1);
    vec<vec<int>>g(V,vec<int>());
    for(int i=0;i<U;i++)
        g[C[i]].pb(D[i]),g[D[i]].pb(C[i]);
    int cnt=0;
    vec<int>obr(V,0);
//    debug()<<imie(N);
    vec<bool>rbad;
    for(int i=0;i<V;i++){
//        deb
        if(sz(g[i])==11){
//            debug()<<imie(i)imie(g[i]);
            /// should be the main
            vec<bool> bad(V,0);
            for(auto &u : g[i]) bad[u]=1;
            bad[i]=0;
            vec<int>path;vec<int>they;
            vec<vec<int>>how(12,vec<int>());

            for(int v=0;v<V;v++){
                if(bad[v]){
                    they.pb(v);
                    for(auto &u : g[v]){
                        if(bad[u]) how[sz(they)-1].pb(u);
                    }
                }
            }
//            debug()<<imie(i)imie(sz(they));
            if(sz(they)!=11) continue;
            cnt++;///i'm sure that it's main
            vec<bool>start(11,1);
//            debug()<<imie(i)imie(they);
            int kk=0;
            int sh=-1;
            int root=i;
            for(int i=0;i<sz(they);i++){
                int v=they[i];
//                debug()<<imie(meimie(how[i]);
                sort(all(g[v]));sort(all(how[i]));
                vec<int> me=g[v];me.erase(find(all(me),root),find(all(me),root)+1);
//                debug()<<imie(me)imie(how[i]);
                if(how[i]==me && sz(me)==9){
                    if(kk){
                        kk=0;
                        break;
                    }
                    for(auto &u : g[v]){
                        start[find(all(they),u)-they.begin()]=0;
                    }
//                    for(auto &u : g[v]){
//                        g[u].erase(find(all(g[u]),v),find(all(g[u]),v)+1);
//                    }
                    sh=v;
                    start[i]=0;
                    kk=1;
//                    if(kk)
//                    debug()<<imie(kk);
//                    break;
                }
            }
            if(!kk) continue;
//            debug()<<imie(they)imie(start);
            for(int i=0;i<sz(they);i++){
                if(start[i]){
                    path.pb(they[i]);
                    for(int j=0;j<10;j++){
                        int v=path.back();
//                        debug()<<imie(v)imie(bad[15])imie(g[v]);
                        for(auto &u : g[v]){
                            if(u==sh) continue;
                            if(bad[u] && (sz(path)==1 || path[sz(path)-2]!=u)){
                                path.pb(u);
                                break;
                            }
                        }
                    }
//                    debug()<<imie(path);
                }
            }
            vec<bool>u(V,0);
            for(auto &z : path){
                if(u[z]) kk=0;
                u[z]=1;
//                if(u[z])
            }
            if(!kk || sz(path)!=10) continue;
//            debug()<<imie(path);
            for(int j=0;j<10;j++){
//                debug()<<imie(j)imie(path[j])imie(g[path[j]]);
                for(auto &u : g[path[j]]){
                    if(!bad[u]){
//                        debug()<<imie(path[j])imie(g[path[j]]);
                        obr[u]+=(1<<j);
                    }
                }
            }
            rbad=bad;
            rbad[i]=1;
            break;
        }
    }
//    debug()<<imie(obr);
    for(int i=0;i<U;i++){
        if(rbad[C[i]] || rbad[D[i]]) continue;
        MakeMap(obr[C[i]],obr[D[i]]);
    }
}

# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 4588 KB Output is correct
2 Correct 3 ms 4588 KB Output is correct
3 Correct 3 ms 4596 KB Output is correct
4 Correct 3 ms 4584 KB Output is correct
5 Correct 3 ms 4588 KB Output is correct
6 Correct 3 ms 4588 KB Output is correct
7 Correct 3 ms 4588 KB Output is correct
8 Correct 3 ms 4580 KB Output is correct
9 Correct 3 ms 4592 KB Output is correct
10 Correct 3 ms 4592 KB Output is correct
11 Correct 3 ms 4588 KB Output is correct
12 Correct 3 ms 4588 KB Output is correct
13 Correct 3 ms 4572 KB Output is correct
14 Correct 3 ms 4588 KB Output is correct
15 Correct 2 ms 4588 KB Output is correct
16 Correct 3 ms 4588 KB Output is correct
17 Correct 3 ms 4588 KB Output is correct
18 Correct 2 ms 4572 KB Output is correct
19 Correct 3 ms 4588 KB Output is correct
20 Correct 4 ms 4512 KB Output is correct
21 Correct 3 ms 4588 KB Output is correct
22 Correct 3 ms 4588 KB Output is correct
23 Correct 2 ms 4652 KB Output is correct
24 Correct 2 ms 4584 KB Output is correct
25 Correct 2 ms 4584 KB Output is correct
26 Correct 2 ms 4588 KB Output is correct
27 Correct 3 ms 4588 KB Output is correct
28 Correct 2 ms 4588 KB Output is correct
29 Correct 4 ms 4588 KB Output is correct
30 Correct 3 ms 4584 KB Output is correct
31 Correct 1 ms 4592 KB Output is correct
32 Correct 3 ms 4584 KB Output is correct
33 Correct 3 ms 4584 KB Output is correct
34 Correct 3 ms 4584 KB Output is correct
35 Correct 3 ms 4584 KB Output is correct
36 Correct 3 ms 4588 KB Output is correct
37 Correct 3 ms 4588 KB Output is correct
38 Correct 3 ms 4588 KB Output is correct
39 Correct 2 ms 4588 KB Output is correct
40 Correct 3 ms 4588 KB Output is correct
41 Correct 2 ms 4588 KB Output is correct
42 Correct 3 ms 4588 KB Output is correct
43 Correct 2 ms 4592 KB Output is correct
44 Correct 2 ms 4584 KB Output is correct
45 Correct 3 ms 4688 KB Output is correct
46 Correct 3 ms 4588 KB Output is correct
47 Correct 2 ms 4584 KB Output is correct
48 Correct 4 ms 4588 KB Output is correct
49 Correct 3 ms 4588 KB Output is correct
50 Correct 3 ms 4584 KB Output is correct
51 Correct 2 ms 4584 KB Output is correct
52 Correct 3 ms 4584 KB Output is correct
53 Correct 3 ms 4580 KB Output is correct
54 Correct 4 ms 4672 KB Output is correct
55 Correct 3 ms 4744 KB Output is correct
56 Correct 2 ms 4600 KB Output is correct
57 Correct 1 ms 4596 KB Output is correct
58 Correct 2 ms 4588 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 4588 KB Output is correct
2 Correct 3 ms 4588 KB Output is correct
3 Correct 3 ms 4596 KB Output is correct
4 Correct 3 ms 4584 KB Output is correct
5 Correct 3 ms 4588 KB Output is correct
6 Correct 3 ms 4588 KB Output is correct
7 Correct 3 ms 4588 KB Output is correct
8 Correct 3 ms 4580 KB Output is correct
9 Correct 3 ms 4592 KB Output is correct
10 Correct 3 ms 4592 KB Output is correct
11 Correct 3 ms 4588 KB Output is correct
12 Correct 3 ms 4588 KB Output is correct
13 Correct 3 ms 4572 KB Output is correct
14 Correct 3 ms 4588 KB Output is correct
15 Correct 2 ms 4588 KB Output is correct
16 Correct 3 ms 4588 KB Output is correct
17 Correct 3 ms 4588 KB Output is correct
18 Correct 2 ms 4572 KB Output is correct
19 Correct 3 ms 4588 KB Output is correct
20 Correct 4 ms 4512 KB Output is correct
21 Correct 3 ms 4588 KB Output is correct
22 Correct 3 ms 4588 KB Output is correct
23 Correct 2 ms 4652 KB Output is correct
24 Correct 2 ms 4584 KB Output is correct
25 Correct 2 ms 4584 KB Output is correct
26 Correct 2 ms 4588 KB Output is correct
27 Correct 3 ms 4588 KB Output is correct
28 Correct 2 ms 4588 KB Output is correct
29 Correct 4 ms 4588 KB Output is correct
30 Correct 3 ms 4584 KB Output is correct
31 Correct 1 ms 4592 KB Output is correct
32 Correct 3 ms 4584 KB Output is correct
33 Correct 3 ms 4584 KB Output is correct
34 Correct 3 ms 4584 KB Output is correct
35 Correct 3 ms 4584 KB Output is correct
36 Correct 3 ms 4588 KB Output is correct
37 Correct 3 ms 4588 KB Output is correct
38 Correct 3 ms 4588 KB Output is correct
39 Correct 2 ms 4588 KB Output is correct
40 Correct 3 ms 4588 KB Output is correct
41 Correct 2 ms 4588 KB Output is correct
42 Correct 3 ms 4588 KB Output is correct
43 Correct 2 ms 4592 KB Output is correct
44 Correct 2 ms 4584 KB Output is correct
45 Correct 3 ms 4688 KB Output is correct
46 Correct 3 ms 4588 KB Output is correct
47 Correct 2 ms 4584 KB Output is correct
48 Correct 4 ms 4588 KB Output is correct
49 Correct 3 ms 4588 KB Output is correct
50 Correct 3 ms 4584 KB Output is correct
51 Correct 2 ms 4584 KB Output is correct
52 Correct 3 ms 4584 KB Output is correct
53 Correct 3 ms 4580 KB Output is correct
54 Correct 4 ms 4672 KB Output is correct
55 Correct 3 ms 4744 KB Output is correct
56 Correct 2 ms 4600 KB Output is correct
57 Correct 1 ms 4596 KB Output is correct
58 Correct 2 ms 4588 KB Output is correct
59 Correct 3 ms 4588 KB Output is correct
60 Correct 3 ms 4588 KB Output is correct
61 Correct 3 ms 4588 KB Output is correct
62 Correct 3 ms 4588 KB Output is correct
63 Correct 3 ms 4588 KB Output is correct
64 Correct 3 ms 4516 KB Output is correct
65 Correct 3 ms 4596 KB Output is correct
66 Correct 3 ms 4624 KB Output is correct
67 Correct 3 ms 4588 KB Output is correct
68 Correct 3 ms 4584 KB Output is correct
69 Correct 3 ms 4588 KB Output is correct
70 Correct 3 ms 4580 KB Output is correct
71 Correct 4 ms 4496 KB Output is correct
72 Correct 3 ms 4588 KB Output is correct
73 Correct 3 ms 4588 KB Output is correct
74 Correct 3 ms 4588 KB Output is correct
75 Correct 3 ms 4588 KB Output is correct
76 Correct 3 ms 4588 KB Output is correct
77 Correct 3 ms 4516 KB Output is correct
78 Correct 3 ms 4584 KB Output is correct
79 Correct 3 ms 4588 KB Output is correct
80 Correct 3 ms 4588 KB Output is correct
81 Correct 2 ms 4588 KB Output is correct
82 Correct 3 ms 4588 KB Output is correct
83 Correct 3 ms 4596 KB Output is correct
84 Correct 3 ms 4572 KB Output is correct
85 Correct 3 ms 4600 KB Output is correct
86 Correct 3 ms 4588 KB Output is correct
87 Correct 3 ms 4588 KB Output is correct
88 Correct 3 ms 4596 KB Output is correct
89 Correct 3 ms 4564 KB Output is correct
90 Correct 3 ms 4496 KB Output is correct
91 Correct 3 ms 4608 KB Output is correct
92 Correct 3 ms 4592 KB Output is correct
93 Correct 3 ms 4584 KB Output is correct
94 Correct 3 ms 4596 KB Output is correct
95 Correct 3 ms 4588 KB Output is correct
96 Correct 3 ms 4596 KB Output is correct
97 Correct 3 ms 4588 KB Output is correct
98 Correct 3 ms 4588 KB Output is correct
99 Correct 3 ms 4568 KB Output is correct
100 Correct 3 ms 4596 KB Output is correct
101 Correct 2 ms 4600 KB Output is correct
102 Correct 3 ms 4584 KB Output is correct
103 Correct 3 ms 4568 KB Output is correct
104 Correct 3 ms 4588 KB Output is correct
105 Correct 3 ms 4588 KB Output is correct
106 Correct 3 ms 4496 KB Output is correct
107 Correct 3 ms 4588 KB Output is correct
108 Correct 3 ms 4588 KB Output is correct
109 Correct 3 ms 4588 KB Output is correct
110 Correct 2 ms 4576 KB Output is correct
111 Correct 3 ms 4588 KB Output is correct
112 Correct 3 ms 4588 KB Output is correct
113 Correct 3 ms 4588 KB Output is correct
114 Correct 3 ms 4532 KB Output is correct
115 Correct 5 ms 4516 KB Output is correct
116 Correct 3 ms 4512 KB Output is correct
117 Correct 3 ms 4516 KB Output is correct
118 Correct 2 ms 4588 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 561 ms 21124 KB Output is correct : V - N = 12
2 Correct 461 ms 18452 KB Output is correct : V - N = 12
3 Correct 227 ms 10392 KB Output is correct : V - N = 12
4 Correct 11 ms 4880 KB Output is correct : V - N = 12
5 Correct 99 ms 8064 KB Output is correct : V - N = 12
6 Correct 401 ms 16800 KB Output is correct : V - N = 12
7 Correct 435 ms 20784 KB Output is correct : V - N = 12
8 Correct 653 ms 19720 KB Output is correct : V - N = 12
9 Correct 274 ms 12120 KB Output is correct : V - N = 12
10 Correct 27 ms 5652 KB Output is correct : V - N = 12
11 Correct 70 ms 6332 KB Output is correct : V - N = 12
12 Correct 288 ms 13904 KB Output is correct : V - N = 12
13 Correct 451 ms 20084 KB Output is correct : V - N = 12
14 Correct 667 ms 20492 KB Output is correct : V - N = 12
15 Correct 320 ms 15924 KB Output is correct : V - N = 12
16 Correct 89 ms 7136 KB Output is correct : V - N = 12
17 Correct 18 ms 5392 KB Output is correct : V - N = 12
18 Correct 222 ms 11208 KB Output is correct : V - N = 12
19 Correct 468 ms 19016 KB Output is correct : V - N = 12
20 Correct 647 ms 20904 KB Output is correct : V - N = 12
21 Correct 203 ms 9996 KB Output is correct : V - N = 12
22 Correct 94 ms 8268 KB Output is correct : V - N = 12
23 Correct 51 ms 6228 KB Output is correct : V - N = 12
24 Correct 5 ms 4744 KB Output is correct : V - N = 12
25 Correct 23 ms 5676 KB Output is correct : V - N = 12
26 Correct 117 ms 7892 KB Output is correct : V - N = 12
27 Correct 125 ms 8968 KB Output is correct : V - N = 12
28 Correct 125 ms 8640 KB Output is correct : V - N = 12
29 Correct 60 ms 6692 KB Output is correct : V - N = 12
30 Correct 9 ms 5076 KB Output is correct : V - N = 12
31 Correct 7 ms 4772 KB Output is correct : V - N = 12
32 Correct 7 ms 4852 KB Output is correct : V - N = 12
33 Correct 8 ms 4836 KB Output is correct : V - N = 12
34 Correct 7 ms 4840 KB Output is correct : V - N = 12
35 Correct 7 ms 4768 KB Output is correct : V - N = 12
36 Correct 479 ms 20948 KB Output is correct : V - N = 12
37 Correct 580 ms 20924 KB Output is correct : V - N = 12
38 Correct 550 ms 21004 KB Output is correct : V - N = 12
39 Correct 735 ms 21012 KB Output is correct : V - N = 12
40 Correct 488 ms 20960 KB Output is correct : V - N = 12
41 Correct 89 ms 7984 KB Output is correct : V - N = 12
42 Correct 90 ms 7344 KB Output is correct : V - N = 12
43 Correct 106 ms 7648 KB Output is correct : V - N = 12
44 Correct 7 ms 4972 KB Output is correct : V - N = 12
45 Correct 59 ms 6484 KB Output is correct : V - N = 12
46 Correct 235 ms 10752 KB Output is correct : V - N = 12
47 Correct 88 ms 8076 KB Output is correct : V - N = 12
48 Correct 330 ms 12156 KB Output is correct : V - N = 12
49 Correct 45 ms 6240 KB Output is correct : V - N = 12
50 Correct 13 ms 5376 KB Output is correct : V - N = 12
51 Correct 520 ms 18416 KB Output is correct : V - N = 12
52 Correct 9 ms 4952 KB Output is correct : V - N = 12
53 Correct 414 ms 16664 KB Output is correct : V - N = 12
54 Correct 412 ms 19432 KB Output is correct : V - N = 12
55 Correct 26 ms 5656 KB Output is correct : V - N = 12
56 Correct 292 ms 13404 KB Output is correct : V - N = 12
57 Correct 626 ms 20176 KB Output is correct : V - N = 12
58 Correct 54 ms 7136 KB Output is correct : V - N = 12
59 Correct 261 ms 11156 KB Output is correct : V - N = 12
60 Correct 627 ms 20508 KB Output is correct : V - N = 12
61 Correct 4 ms 4596 KB Output is correct : V - N = 12
62 Correct 3 ms 4596 KB Output is correct : V - N = 12
63 Correct 5 ms 4588 KB Output is correct : V - N = 12
64 Correct 3 ms 4516 KB Output is correct : V - N = 12
65 Correct 2 ms 4588 KB Output is correct : V - N = 12
66 Correct 3 ms 4596 KB Output is correct : V - N = 12
67 Correct 3 ms 4572 KB Output is correct : V - N = 12
68 Correct 3 ms 4588 KB Output is correct : V - N = 12
69 Correct 3 ms 4532 KB Output is correct : V - N = 12
70 Correct 3 ms 4596 KB Output is correct : V - N = 12
71 Correct 3 ms 4588 KB Output is correct : V - N = 12
72 Correct 3 ms 4588 KB Output is correct : V - N = 12
73 Correct 3 ms 4596 KB Output is correct : V - N = 12
74 Correct 3 ms 4588 KB Output is correct : V - N = 12
75 Correct 3 ms 4592 KB Output is correct : V - N = 12
76 Correct 3 ms 4588 KB Output is correct : V - N = 12
77 Correct 2 ms 4588 KB Output is correct : V - N = 12
78 Correct 3 ms 4588 KB Output is correct : V - N = 12
79 Correct 3 ms 4588 KB Output is correct : V - N = 12
80 Correct 3 ms 4588 KB Output is correct : V - N = 12
81 Correct 3 ms 4588 KB Output is correct : V - N = 12
82 Correct 3 ms 4584 KB Output is correct : V - N = 12
83 Correct 2 ms 4588 KB Output is correct : V - N = 12
84 Correct 2 ms 4588 KB Output is correct : V - N = 12
85 Correct 3 ms 4572 KB Output is correct : V - N = 12
86 Correct 2 ms 4588 KB Output is correct : V - N = 12
87 Correct 3 ms 4588 KB Output is correct : V - N = 12
88 Correct 3 ms 4588 KB Output is correct : V - N = 12
89 Correct 3 ms 4588 KB Output is correct : V - N = 12
90 Correct 2 ms 4588 KB Output is correct : V - N = 12
91 Correct 2 ms 4592 KB Output is correct : V - N = 12
92 Correct 2 ms 4584 KB Output is correct : V - N = 12
93 Correct 3 ms 4516 KB Output is correct : V - N = 12
94 Correct 3 ms 4588 KB Output is correct : V - N = 12
95 Correct 2 ms 4584 KB Output is correct : V - N = 12
96 Correct 3 ms 4584 KB Output is correct : V - N = 12
97 Correct 3 ms 4596 KB Output is correct : V - N = 12
98 Correct 3 ms 4588 KB Output is correct : V - N = 12
99 Correct 3 ms 4592 KB Output is correct : V - N = 12
100 Correct 3 ms 4588 KB Output is correct : V - N = 12
101 Correct 2 ms 4588 KB Output is correct : V - N = 12
102 Correct 2 ms 4588 KB Output is correct : V - N = 12
103 Correct 3 ms 4588 KB Output is correct : V - N = 12
104 Correct 3 ms 4580 KB Output is correct : V - N = 12
105 Correct 3 ms 4588 KB Output is correct : V - N = 12
106 Correct 2 ms 4588 KB Output is correct : V - N = 12
107 Correct 2 ms 4588 KB Output is correct : V - N = 12
108 Correct 3 ms 4532 KB Output is correct : V - N = 12
109 Correct 3 ms 4572 KB Output is correct : V - N = 12
110 Correct 3 ms 4588 KB Output is correct : V - N = 12
111 Correct 3 ms 4584 KB Output is correct : V - N = 12
112 Correct 2 ms 4580 KB Output is correct : V - N = 12
113 Correct 3 ms 4588 KB Output is correct : V - N = 12
114 Correct 3 ms 4596 KB Output is correct : V - N = 12
115 Correct 2 ms 4588 KB Output is correct : V - N = 12
116 Correct 3 ms 4588 KB Output is correct : V - N = 12
117 Correct 3 ms 4512 KB Output is correct : V - N = 12
118 Correct 3 ms 4592 KB Output is correct : V - N = 12
119 Correct 3 ms 4588 KB Output is correct : V - N = 12
120 Correct 3 ms 4588 KB Output is correct : V - N = 12
121 Correct 3 ms 4588 KB Output is correct : V - N = 12
122 Correct 3 ms 4588 KB Output is correct : V - N = 12
123 Correct 3 ms 4588 KB Output is correct : V - N = 12
124 Correct 3 ms 4584 KB Output is correct : V - N = 12
125 Correct 2 ms 4496 KB Output is correct : V - N = 12
126 Correct 2 ms 4512 KB Output is correct : V - N = 12
127 Correct 2 ms 4532 KB Output is correct : V - N = 12
128 Correct 5 ms 4500 KB Output is correct : V - N = 12
129 Correct 2 ms 4624 KB Output is correct : V - N = 12
130 Correct 2 ms 4584 KB Output is correct : V - N = 12
131 Correct 3 ms 4516 KB Output is correct : V - N = 12
132 Correct 4 ms 4496 KB Output is correct : V - N = 12
133 Correct 3 ms 4588 KB Output is correct : V - N = 12
134 Correct 3 ms 4516 KB Output is correct : V - N = 12
135 Correct 3 ms 4596 KB Output is correct : V - N = 12
136 Correct 2 ms 4572 KB Output is correct : V - N = 12
137 Correct 3 ms 4516 KB Output is correct : V - N = 12
138 Correct 2 ms 4588 KB Output is correct : V - N = 12
139 Correct 3 ms 4496 KB Output is correct : V - N = 12
140 Correct 4 ms 4528 KB Output is correct : V - N = 12
141 Correct 3 ms 4588 KB Output is correct : V - N = 12
142 Correct 3 ms 4596 KB Output is correct : V - N = 12
143 Correct 3 ms 4512 KB Output is correct : V - N = 12
144 Correct 4 ms 4584 KB Output is correct : V - N = 12
145 Correct 4 ms 4532 KB Output is correct : V - N = 12
146 Correct 3 ms 4516 KB Output is correct : V - N = 12
147 Correct 3 ms 4700 KB Output is correct : V - N = 12
148 Correct 2 ms 4512 KB Output is correct : V - N = 12
149 Correct 3 ms 4500 KB Output is correct : V - N = 12
150 Correct 3 ms 4528 KB Output is correct : V - N = 12
151 Correct 4 ms 4580 KB Output is correct : V - N = 12
152 Correct 3 ms 4580 KB Output is correct : V - N = 12
153 Correct 2 ms 4584 KB Output is correct : V - N = 12
154 Correct 2 ms 4584 KB Output is correct : V - N = 12
155 Correct 2 ms 4532 KB Output is correct : V - N = 12
156 Correct 3 ms 4516 KB Output is correct : V - N = 12
157 Correct 3 ms 4532 KB Output is correct : V - N = 12
158 Correct 3 ms 4512 KB Output is correct : V - N = 12
159 Correct 2 ms 4588 KB Output is correct : V - N = 12
160 Correct 3 ms 4576 KB Output is correct : V - N = 12
161 Correct 1 ms 4588 KB Output is correct : V - N = 12
162 Correct 2 ms 4588 KB Output is correct : V - N = 12
163 Correct 3 ms 4596 KB Output is correct : V - N = 12
164 Correct 2 ms 4564 KB Output is correct : V - N = 12
165 Correct 3 ms 4564 KB Output is correct : V - N = 12
166 Correct 2 ms 4588 KB Output is correct : V - N = 12
167 Correct 3 ms 4588 KB Output is correct : V - N = 12
168 Correct 2 ms 4516 KB Output is correct : V - N = 12
169 Correct 3 ms 4588 KB Output is correct : V - N = 12
170 Correct 2 ms 4628 KB Output is correct : V - N = 12
171 Correct 1 ms 4584 KB Output is correct : V - N = 12
172 Correct 3 ms 4572 KB Output is correct : V - N = 12
173 Correct 3 ms 4532 KB Output is correct : V - N = 12
174 Correct 3 ms 4532 KB Output is correct : V - N = 12
175 Correct 2 ms 4592 KB Output is correct : V - N = 12
176 Correct 1 ms 4512 KB Output is correct : V - N = 12
177 Correct 3 ms 4584 KB Output is correct : V - N = 12
178 Correct 3 ms 4588 KB Output is correct : V - N = 12