답안 #220963

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
220963 2020-04-09T10:57:48 Z patrikpavic2 항공 노선도 (JOI18_airline) C++17
100 / 100
791 ms 75096 KB
#include "Alicelib.h"
#include <cassert>
#include <cstdio>
#include <algorithm>
#include <vector>

#define X first
#define Y second
#define PB push_back

using namespace std;

const int N = 1055;
const int M = N * N;

typedef pair < int, int > pii;

int nnn, imaa[M], uk = 0, encode[N][N], koliko = 0;
int decodeA[M], decodeB[M];
vector < pii > bezveze;
int glp[N][N];
vector < int > v2;

void jako_glupo(){
	srand(123);
	for(int i = 0;i < 12;i++)
		for(int j = i + 1;j < 12;j++){
			glp[i][j] = glp[j][i] = rand() % 2;
			//if(glp[i][j]) printf("%d --- %d\n", i, j);
		}
}

void precompute(){
	for(int i = 0;i < nnn;i++){
		for(int j = i + 1;j < nnn;j++){
			encode[i][j] = koliko;
			encode[j][i] = koliko;
			decodeA[koliko] = i;
			decodeB[koliko] = j;
			koliko++;
		}
	}
}	

void zakompliciraj(){
	srand(69);
	for(int i = 0;i < 2 * koliko;i++){
		v2.PB(rand() % koliko); v2.PB(rand() % koliko);
	}
	for(int i = 0;i < 4 * koliko;i += 2){
		swap(imaa[v2[i]], imaa[v2[i + 1]]);
	}
	v2.clear();
}

void Alice( int nn, int mm, int A[], int B[] ){
	nnn = nn; precompute(); jako_glupo();
	for(int i = 0;i < mm;i++)
		imaa[encode[A[i]][B[i]]] = 1;
	zakompliciraj();
	for(int i = 0;i < nn * nn;i++){
		if(imaa[i]) bezveze.PB({decodeA[i], decodeB[i]});
	}
	for(int i = nn;i < nn + 12;i++){
		for(int j = 0;j < nn;j++){
			if((j & (1 << (i - nn))))
				bezveze.PB({i, j});
		}
		for(int j = 0;j < i - nn;j++){
			if(glp[i - nn][j])
				bezveze.PB({i, j + nn});
		}
	}
	InitG(nn + 12, (int)bezveze.size());
	for(int i = 0;i < (int)bezveze.size();i++){
		//printf("%d --- %d\n", bezveze[i].X, bezveze[i].Y);
		MakeG(i, bezveze[i].X, bezveze[i].Y);
	}
}
















#include "Boblib.h"
#include <cassert>
#include <cstdio>
#include <vector>
#include <algorithm>

#define X first
#define Y second
#define PB push_back

using namespace std;

typedef pair < int, int > pii;

const int N = 1055;
const int M = N * N;

int n2, m2, n, m, ima[M], spj[N][N], glp2[N][N];
int trb[N], poseban[N], prav[N];
int cur[N], tko[N], gotov = 0, poten[N], deg[N];
int encode2[N][N], koliko2;
int decodeA2[M], decodeB2[M];

vector < int > kand[N], v;

void jako_glupo2(){
	srand(123);
	for(int i = 0;i < 12;i++)
		for(int j = i + 1;j < 12;j++){
			glp2[i][j] = glp2[j][i] = rand() % 2;
			//if(glp2[i][j]) printf("%d --- %d\n", i, j);
		}
}

void precompute2(){
	for(int i = 0;i < n;i++){
		for(int j = i + 1;j < n;j++){
			encode2[i][j] = koliko2;
			encode2[j][i] = koliko2;
			decodeA2[koliko2] = i;
			decodeB2[koliko2] = j;
			koliko2++;
		}
	}
}	

void zakompliciraj_obrnuto(){
	srand(69);
	for(int i = 0;i < 2 * koliko2;i++){
		v.PB(rand() % koliko2); v.PB(rand() % koliko2);
	}
	reverse(v.begin(), v.end());
	for(int i = 0;i < 4 * koliko2;i += 2){
		swap(ima[v[i]], ima[v[i + 1]]);
	}
	v.clear();
}

void probaj(int i){
	if(i == 12){
		gotov = 1; return;
	}
	for(int x : kand[i]){
		if(poseban[x]) continue;
		int mogu = 1;
		for(int j = 0;j < i;j++)
			if(spj[x][tko[j]] != glp2[i][j])
				mogu = 0;
		if(!mogu) continue;
		tko[i] = x; poseban[x] = 1; poten[x] = i;
		probaj(i + 1);
		if(gotov) return;
		poseban[x] = 0;
	}
}

void Bob( int nn, int mm, int C[], int D[] ){
	n2 = nn; n = nn - 12; precompute2(); jako_glupo2();
	for(int i = 0;i < 12;i++){
		for(int j = 0;j < n;j++)
			trb[i] += !!(j & (1 << i));
		for(int j = 0;j < 12;j++)
			trb[i] += glp2[i][j];
	}
	for(int i = 0;i < mm;i++){
		deg[C[i]]++, deg[D[i]]++;
		//printf("%d --- %d\n", C[i], D[i]);
		spj[C[i]][D[i]] = 1; spj[D[i]][C[i]] = 1;
	}
	for(int i = 0;i < n2;i++){
		for(int j = 0;j < 12;j++){
			if(deg[i] == trb[j])
				kand[j].PB(i);// printf("%d kandidat za %d\n", i, j);
		}
	}
	probaj(0); //printf("gotov = %d\n", gotov);
	for(int i = 0;i < 12;i++)
		kand[i].clear();
	for(int i = 0;i < n2;i++){
		if(!poseban[i]) continue;
		//printf("POSEBAN : %d je %d\n", i, poten[i]);
		for(int j = 0;j < n2;j++){
			if(spj[i][j]) 
				prav[j] += (1 << poten[i]);
		}
	}
	for(int j = 0;j < n2;j++){
		if(poseban[j]) continue;
		//printf("%d ---> %d\n", j, prav[j]);
	}
	int uk = 0;
	for(int i = 0;i < mm;i++){
		if(poseban[C[i]]) continue;
		if(poseban[D[i]]) continue;
		ima[encode2[prav[C[i]]][prav[D[i]]]] = 1;
		//printf("%d --- %d tj. %d --- %d\n",C[i], D[i],prav[C[i]], prav[D[i]]);
		uk++;
	}
	zakompliciraj_obrnuto();
	InitMap(n, uk);
	for(int i = 0;i < M;i++){
		if(ima[i]) {
			//printf("spajam %d i %d\n", decodeA2[i], decodeB2[i]);
			MakeMap(decodeA2[i], decodeB2[i]); 
		}
	}
}




# 결과 실행 시간 메모리 Grader output
1 Correct 14 ms 7168 KB Output is correct
2 Correct 14 ms 7168 KB Output is correct
3 Correct 15 ms 7168 KB Output is correct
4 Correct 14 ms 7168 KB Output is correct
5 Correct 15 ms 7168 KB Output is correct
6 Correct 16 ms 7168 KB Output is correct
7 Correct 15 ms 7168 KB Output is correct
8 Correct 14 ms 7168 KB Output is correct
9 Correct 15 ms 7168 KB Output is correct
10 Correct 15 ms 6912 KB Output is correct
11 Correct 15 ms 7168 KB Output is correct
12 Correct 15 ms 7168 KB Output is correct
13 Correct 15 ms 7168 KB Output is correct
14 Correct 15 ms 7168 KB Output is correct
15 Correct 15 ms 7168 KB Output is correct
16 Correct 15 ms 7168 KB Output is correct
17 Correct 14 ms 7168 KB Output is correct
18 Correct 15 ms 7168 KB Output is correct
19 Correct 14 ms 7168 KB Output is correct
20 Correct 14 ms 7168 KB Output is correct
21 Correct 14 ms 7168 KB Output is correct
22 Correct 14 ms 7168 KB Output is correct
23 Correct 14 ms 7168 KB Output is correct
24 Correct 16 ms 6912 KB Output is correct
25 Correct 15 ms 6912 KB Output is correct
26 Correct 15 ms 7168 KB Output is correct
27 Correct 14 ms 7168 KB Output is correct
28 Correct 14 ms 7168 KB Output is correct
29 Correct 14 ms 7168 KB Output is correct
30 Correct 15 ms 6912 KB Output is correct
31 Correct 14 ms 7168 KB Output is correct
32 Correct 15 ms 6912 KB Output is correct
33 Correct 14 ms 7168 KB Output is correct
34 Correct 15 ms 7168 KB Output is correct
35 Correct 16 ms 7168 KB Output is correct
36 Correct 14 ms 7168 KB Output is correct
37 Correct 15 ms 7168 KB Output is correct
38 Correct 15 ms 7168 KB Output is correct
39 Correct 15 ms 7016 KB Output is correct
40 Correct 14 ms 7168 KB Output is correct
41 Correct 14 ms 7168 KB Output is correct
42 Correct 15 ms 7168 KB Output is correct
43 Correct 14 ms 7168 KB Output is correct
44 Correct 14 ms 7168 KB Output is correct
45 Correct 15 ms 7168 KB Output is correct
46 Correct 15 ms 7168 KB Output is correct
47 Correct 15 ms 7168 KB Output is correct
48 Correct 15 ms 7168 KB Output is correct
49 Correct 15 ms 7168 KB Output is correct
50 Correct 15 ms 7168 KB Output is correct
51 Correct 14 ms 6912 KB Output is correct
52 Correct 15 ms 6912 KB Output is correct
53 Correct 14 ms 6912 KB Output is correct
54 Correct 15 ms 7168 KB Output is correct
55 Correct 14 ms 7168 KB Output is correct
56 Correct 14 ms 6912 KB Output is correct
57 Correct 15 ms 6912 KB Output is correct
58 Correct 15 ms 6912 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 14 ms 7168 KB Output is correct
2 Correct 14 ms 7168 KB Output is correct
3 Correct 15 ms 7168 KB Output is correct
4 Correct 14 ms 7168 KB Output is correct
5 Correct 15 ms 7168 KB Output is correct
6 Correct 16 ms 7168 KB Output is correct
7 Correct 15 ms 7168 KB Output is correct
8 Correct 14 ms 7168 KB Output is correct
9 Correct 15 ms 7168 KB Output is correct
10 Correct 15 ms 6912 KB Output is correct
11 Correct 15 ms 7168 KB Output is correct
12 Correct 15 ms 7168 KB Output is correct
13 Correct 15 ms 7168 KB Output is correct
14 Correct 15 ms 7168 KB Output is correct
15 Correct 15 ms 7168 KB Output is correct
16 Correct 15 ms 7168 KB Output is correct
17 Correct 14 ms 7168 KB Output is correct
18 Correct 15 ms 7168 KB Output is correct
19 Correct 14 ms 7168 KB Output is correct
20 Correct 14 ms 7168 KB Output is correct
21 Correct 14 ms 7168 KB Output is correct
22 Correct 14 ms 7168 KB Output is correct
23 Correct 14 ms 7168 KB Output is correct
24 Correct 16 ms 6912 KB Output is correct
25 Correct 15 ms 6912 KB Output is correct
26 Correct 15 ms 7168 KB Output is correct
27 Correct 14 ms 7168 KB Output is correct
28 Correct 14 ms 7168 KB Output is correct
29 Correct 14 ms 7168 KB Output is correct
30 Correct 15 ms 6912 KB Output is correct
31 Correct 14 ms 7168 KB Output is correct
32 Correct 15 ms 6912 KB Output is correct
33 Correct 14 ms 7168 KB Output is correct
34 Correct 15 ms 7168 KB Output is correct
35 Correct 16 ms 7168 KB Output is correct
36 Correct 14 ms 7168 KB Output is correct
37 Correct 15 ms 7168 KB Output is correct
38 Correct 15 ms 7168 KB Output is correct
39 Correct 15 ms 7016 KB Output is correct
40 Correct 14 ms 7168 KB Output is correct
41 Correct 14 ms 7168 KB Output is correct
42 Correct 15 ms 7168 KB Output is correct
43 Correct 14 ms 7168 KB Output is correct
44 Correct 14 ms 7168 KB Output is correct
45 Correct 15 ms 7168 KB Output is correct
46 Correct 15 ms 7168 KB Output is correct
47 Correct 15 ms 7168 KB Output is correct
48 Correct 15 ms 7168 KB Output is correct
49 Correct 15 ms 7168 KB Output is correct
50 Correct 15 ms 7168 KB Output is correct
51 Correct 14 ms 6912 KB Output is correct
52 Correct 15 ms 6912 KB Output is correct
53 Correct 14 ms 6912 KB Output is correct
54 Correct 15 ms 7168 KB Output is correct
55 Correct 14 ms 7168 KB Output is correct
56 Correct 14 ms 6912 KB Output is correct
57 Correct 15 ms 6912 KB Output is correct
58 Correct 15 ms 6912 KB Output is correct
59 Correct 15 ms 7424 KB Output is correct
60 Correct 18 ms 7424 KB Output is correct
61 Correct 15 ms 7520 KB Output is correct
62 Correct 16 ms 7424 KB Output is correct
63 Correct 17 ms 7424 KB Output is correct
64 Correct 15 ms 7424 KB Output is correct
65 Correct 15 ms 7424 KB Output is correct
66 Correct 15 ms 7424 KB Output is correct
67 Correct 16 ms 7424 KB Output is correct
68 Correct 15 ms 7424 KB Output is correct
69 Correct 15 ms 7424 KB Output is correct
70 Correct 15 ms 7424 KB Output is correct
71 Correct 15 ms 7424 KB Output is correct
72 Correct 15 ms 7424 KB Output is correct
73 Correct 15 ms 7424 KB Output is correct
74 Correct 15 ms 7424 KB Output is correct
75 Correct 15 ms 7424 KB Output is correct
76 Correct 15 ms 7424 KB Output is correct
77 Correct 15 ms 7424 KB Output is correct
78 Correct 16 ms 7424 KB Output is correct
79 Correct 15 ms 7424 KB Output is correct
80 Correct 15 ms 7424 KB Output is correct
81 Correct 15 ms 7424 KB Output is correct
82 Correct 15 ms 7168 KB Output is correct
83 Correct 15 ms 7168 KB Output is correct
84 Correct 17 ms 7424 KB Output is correct
85 Correct 15 ms 7424 KB Output is correct
86 Correct 15 ms 7424 KB Output is correct
87 Correct 15 ms 7168 KB Output is correct
88 Correct 15 ms 7424 KB Output is correct
89 Correct 15 ms 7424 KB Output is correct
90 Correct 15 ms 7424 KB Output is correct
91 Correct 15 ms 7424 KB Output is correct
92 Correct 15 ms 7424 KB Output is correct
93 Correct 15 ms 7424 KB Output is correct
94 Correct 15 ms 7424 KB Output is correct
95 Correct 16 ms 7424 KB Output is correct
96 Correct 15 ms 7424 KB Output is correct
97 Correct 18 ms 7424 KB Output is correct
98 Correct 15 ms 7424 KB Output is correct
99 Correct 15 ms 7424 KB Output is correct
100 Correct 15 ms 7424 KB Output is correct
101 Correct 15 ms 7424 KB Output is correct
102 Correct 15 ms 7424 KB Output is correct
103 Correct 15 ms 7424 KB Output is correct
104 Correct 15 ms 7424 KB Output is correct
105 Correct 15 ms 7424 KB Output is correct
106 Correct 15 ms 7424 KB Output is correct
107 Correct 15 ms 7424 KB Output is correct
108 Correct 15 ms 7424 KB Output is correct
109 Correct 15 ms 7424 KB Output is correct
110 Correct 15 ms 7168 KB Output is correct
111 Correct 16 ms 7344 KB Output is correct
112 Correct 16 ms 7168 KB Output is correct
113 Correct 15 ms 7168 KB Output is correct
114 Correct 15 ms 7168 KB Output is correct
115 Correct 15 ms 7424 KB Output is correct
116 Correct 15 ms 7168 KB Output is correct
117 Correct 19 ms 7424 KB Output is correct
118 Correct 16 ms 7168 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 781 ms 74672 KB Output is correct : V - N = 12
2 Correct 643 ms 69280 KB Output is correct : V - N = 12
3 Correct 303 ms 53944 KB Output is correct : V - N = 12
4 Correct 109 ms 46132 KB Output is correct : V - N = 12
5 Correct 225 ms 49520 KB Output is correct : V - N = 12
6 Correct 536 ms 66296 KB Output is correct : V - N = 12
7 Correct 772 ms 74496 KB Output is correct : V - N = 12
8 Correct 696 ms 71776 KB Output is correct : V - N = 12
9 Correct 397 ms 57224 KB Output is correct : V - N = 12
10 Correct 142 ms 46600 KB Output is correct : V - N = 12
11 Correct 176 ms 47628 KB Output is correct : V - N = 12
12 Correct 451 ms 58904 KB Output is correct : V - N = 12
13 Correct 719 ms 73056 KB Output is correct : V - N = 12
14 Correct 744 ms 73656 KB Output is correct : V - N = 12
15 Correct 494 ms 64920 KB Output is correct : V - N = 12
16 Correct 197 ms 48040 KB Output is correct : V - N = 12
17 Correct 121 ms 46032 KB Output is correct : V - N = 12
18 Correct 366 ms 55600 KB Output is correct : V - N = 12
19 Correct 665 ms 70960 KB Output is correct : V - N = 12
20 Correct 770 ms 75096 KB Output is correct : V - N = 12
21 Correct 205 ms 26576 KB Output is correct : V - N = 12
22 Correct 177 ms 25368 KB Output is correct : V - N = 12
23 Correct 93 ms 21448 KB Output is correct : V - N = 12
24 Correct 46 ms 23136 KB Output is correct : V - N = 12
25 Correct 71 ms 23620 KB Output is correct : V - N = 12
26 Correct 147 ms 24680 KB Output is correct : V - N = 12
27 Correct 204 ms 26832 KB Output is correct : V - N = 12
28 Correct 186 ms 26208 KB Output is correct : V - N = 12
29 Correct 119 ms 24064 KB Output is correct : V - N = 12
30 Correct 43 ms 19060 KB Output is correct : V - N = 12
31 Correct 111 ms 45260 KB Output is correct : V - N = 12
32 Correct 119 ms 45272 KB Output is correct : V - N = 12
33 Correct 110 ms 45236 KB Output is correct : V - N = 12
34 Correct 109 ms 45252 KB Output is correct : V - N = 12
35 Correct 110 ms 45224 KB Output is correct : V - N = 12
36 Correct 791 ms 74664 KB Output is correct : V - N = 12
37 Correct 742 ms 74784 KB Output is correct : V - N = 12
38 Correct 762 ms 74856 KB Output is correct : V - N = 12
39 Correct 776 ms 75088 KB Output is correct : V - N = 12
40 Correct 765 ms 74712 KB Output is correct : V - N = 12
41 Correct 221 ms 49748 KB Output is correct : V - N = 12
42 Correct 203 ms 48668 KB Output is correct : V - N = 12
43 Correct 212 ms 49212 KB Output is correct : V - N = 12
44 Correct 105 ms 45756 KB Output is correct : V - N = 12
45 Correct 170 ms 47588 KB Output is correct : V - N = 12
46 Correct 334 ms 54640 KB Output is correct : V - N = 12
47 Correct 223 ms 49336 KB Output is correct : V - N = 12
48 Correct 421 ms 57400 KB Output is correct : V - N = 12
49 Correct 158 ms 47312 KB Output is correct : V - N = 12
50 Correct 125 ms 46024 KB Output is correct : V - N = 12
51 Correct 638 ms 69184 KB Output is correct : V - N = 12
52 Correct 111 ms 45920 KB Output is correct : V - N = 12
53 Correct 521 ms 65784 KB Output is correct : V - N = 12
54 Correct 679 ms 70816 KB Output is correct : V - N = 12
55 Correct 135 ms 46264 KB Output is correct : V - N = 12
56 Correct 412 ms 57912 KB Output is correct : V - N = 12
57 Correct 732 ms 72312 KB Output is correct : V - N = 12
58 Correct 192 ms 47660 KB Output is correct : V - N = 12
59 Correct 373 ms 55096 KB Output is correct : V - N = 12
60 Correct 748 ms 72912 KB Output is correct : V - N = 12
61 Correct 15 ms 7424 KB Output is correct : V - N = 12
62 Correct 15 ms 7424 KB Output is correct : V - N = 12
63 Correct 15 ms 7424 KB Output is correct : V - N = 12
64 Correct 16 ms 7424 KB Output is correct : V - N = 12
65 Correct 15 ms 7424 KB Output is correct : V - N = 12
66 Correct 15 ms 7424 KB Output is correct : V - N = 12
67 Correct 15 ms 7424 KB Output is correct : V - N = 12
68 Correct 15 ms 7424 KB Output is correct : V - N = 12
69 Correct 14 ms 7424 KB Output is correct : V - N = 12
70 Correct 15 ms 7424 KB Output is correct : V - N = 12
71 Correct 15 ms 7280 KB Output is correct : V - N = 12
72 Correct 15 ms 7424 KB Output is correct : V - N = 12
73 Correct 15 ms 7424 KB Output is correct : V - N = 12
74 Correct 16 ms 7680 KB Output is correct : V - N = 12
75 Correct 15 ms 7424 KB Output is correct : V - N = 12
76 Correct 15 ms 7424 KB Output is correct : V - N = 12
77 Correct 15 ms 7424 KB Output is correct : V - N = 12
78 Correct 16 ms 7424 KB Output is correct : V - N = 12
79 Correct 15 ms 7424 KB Output is correct : V - N = 12
80 Correct 15 ms 7424 KB Output is correct : V - N = 12
81 Correct 15 ms 7424 KB Output is correct : V - N = 12
82 Correct 15 ms 7168 KB Output is correct : V - N = 12
83 Correct 16 ms 7168 KB Output is correct : V - N = 12
84 Correct 15 ms 7168 KB Output is correct : V - N = 12
85 Correct 15 ms 7680 KB Output is correct : V - N = 12
86 Correct 15 ms 7424 KB Output is correct : V - N = 12
87 Correct 16 ms 7424 KB Output is correct : V - N = 12
88 Correct 15 ms 7424 KB Output is correct : V - N = 12
89 Correct 15 ms 7424 KB Output is correct : V - N = 12
90 Correct 14 ms 7424 KB Output is correct : V - N = 12
91 Correct 15 ms 7424 KB Output is correct : V - N = 12
92 Correct 15 ms 7424 KB Output is correct : V - N = 12
93 Correct 16 ms 7424 KB Output is correct : V - N = 12
94 Correct 15 ms 7424 KB Output is correct : V - N = 12
95 Correct 16 ms 7424 KB Output is correct : V - N = 12
96 Correct 15 ms 7424 KB Output is correct : V - N = 12
97 Correct 15 ms 7424 KB Output is correct : V - N = 12
98 Correct 15 ms 7424 KB Output is correct : V - N = 12
99 Correct 16 ms 7424 KB Output is correct : V - N = 12
100 Correct 15 ms 7424 KB Output is correct : V - N = 12
101 Correct 15 ms 7424 KB Output is correct : V - N = 12
102 Correct 15 ms 7424 KB Output is correct : V - N = 12
103 Correct 16 ms 7424 KB Output is correct : V - N = 12
104 Correct 15 ms 7424 KB Output is correct : V - N = 12
105 Correct 15 ms 7424 KB Output is correct : V - N = 12
106 Correct 14 ms 7424 KB Output is correct : V - N = 12
107 Correct 15 ms 7424 KB Output is correct : V - N = 12
108 Correct 16 ms 7424 KB Output is correct : V - N = 12
109 Correct 15 ms 7424 KB Output is correct : V - N = 12
110 Correct 15 ms 7424 KB Output is correct : V - N = 12
111 Correct 16 ms 7424 KB Output is correct : V - N = 12
112 Correct 16 ms 7424 KB Output is correct : V - N = 12
113 Correct 15 ms 7168 KB Output is correct : V - N = 12
114 Correct 14 ms 7168 KB Output is correct : V - N = 12
115 Correct 15 ms 7168 KB Output is correct : V - N = 12
116 Correct 15 ms 7168 KB Output is correct : V - N = 12
117 Correct 15 ms 7424 KB Output is correct : V - N = 12
118 Correct 15 ms 7168 KB Output is correct : V - N = 12
119 Correct 15 ms 7424 KB Output is correct : V - N = 12
120 Correct 15 ms 7424 KB Output is correct : V - N = 12
121 Correct 14 ms 7168 KB Output is correct : V - N = 12
122 Correct 14 ms 7168 KB Output is correct : V - N = 12
123 Correct 14 ms 7168 KB Output is correct : V - N = 12
124 Correct 15 ms 7168 KB Output is correct : V - N = 12
125 Correct 15 ms 7168 KB Output is correct : V - N = 12
126 Correct 15 ms 7168 KB Output is correct : V - N = 12
127 Correct 14 ms 7168 KB Output is correct : V - N = 12
128 Correct 14 ms 7168 KB Output is correct : V - N = 12
129 Correct 14 ms 7168 KB Output is correct : V - N = 12
130 Correct 15 ms 7168 KB Output is correct : V - N = 12
131 Correct 14 ms 7168 KB Output is correct : V - N = 12
132 Correct 14 ms 7168 KB Output is correct : V - N = 12
133 Correct 15 ms 7168 KB Output is correct : V - N = 12
134 Correct 15 ms 7168 KB Output is correct : V - N = 12
135 Correct 15 ms 7168 KB Output is correct : V - N = 12
136 Correct 15 ms 7168 KB Output is correct : V - N = 12
137 Correct 15 ms 7168 KB Output is correct : V - N = 12
138 Correct 14 ms 7168 KB Output is correct : V - N = 12
139 Correct 15 ms 7168 KB Output is correct : V - N = 12
140 Correct 14 ms 7168 KB Output is correct : V - N = 12
141 Correct 14 ms 7168 KB Output is correct : V - N = 12
142 Correct 14 ms 7168 KB Output is correct : V - N = 12
143 Correct 14 ms 7168 KB Output is correct : V - N = 12
144 Correct 14 ms 6912 KB Output is correct : V - N = 12
145 Correct 14 ms 6912 KB Output is correct : V - N = 12
146 Correct 16 ms 6912 KB Output is correct : V - N = 12
147 Correct 15 ms 6912 KB Output is correct : V - N = 12
148 Correct 14 ms 7168 KB Output is correct : V - N = 12
149 Correct 14 ms 7168 KB Output is correct : V - N = 12
150 Correct 14 ms 6912 KB Output is correct : V - N = 12
151 Correct 14 ms 7168 KB Output is correct : V - N = 12
152 Correct 15 ms 7168 KB Output is correct : V - N = 12
153 Correct 14 ms 6912 KB Output is correct : V - N = 12
154 Correct 14 ms 6912 KB Output is correct : V - N = 12
155 Correct 14 ms 6912 KB Output is correct : V - N = 12
156 Correct 15 ms 7168 KB Output is correct : V - N = 12
157 Correct 14 ms 7168 KB Output is correct : V - N = 12
158 Correct 14 ms 7168 KB Output is correct : V - N = 12
159 Correct 15 ms 7168 KB Output is correct : V - N = 12
160 Correct 15 ms 7168 KB Output is correct : V - N = 12
161 Correct 14 ms 7168 KB Output is correct : V - N = 12
162 Correct 14 ms 7168 KB Output is correct : V - N = 12
163 Correct 15 ms 7168 KB Output is correct : V - N = 12
164 Correct 15 ms 7168 KB Output is correct : V - N = 12
165 Correct 14 ms 7168 KB Output is correct : V - N = 12
166 Correct 14 ms 7168 KB Output is correct : V - N = 12
167 Correct 14 ms 6976 KB Output is correct : V - N = 12
168 Correct 14 ms 7168 KB Output is correct : V - N = 12
169 Correct 14 ms 7168 KB Output is correct : V - N = 12
170 Correct 14 ms 7168 KB Output is correct : V - N = 12
171 Correct 14 ms 6912 KB Output is correct : V - N = 12
172 Correct 14 ms 6912 KB Output is correct : V - N = 12
173 Correct 14 ms 6912 KB Output is correct : V - N = 12
174 Correct 14 ms 6912 KB Output is correct : V - N = 12
175 Correct 15 ms 6912 KB Output is correct : V - N = 12
176 Correct 14 ms 6912 KB Output is correct : V - N = 12
177 Correct 15 ms 6912 KB Output is correct : V - N = 12
178 Correct 14 ms 6912 KB Output is correct : V - N = 12