답안 #44595

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
44595 2018-04-03T15:38:46 Z aome 항공 노선도 (JOI18_airline) C++17
100 / 100
794 ms 30816 KB
#include "Alicelib.h"
#include <bits/stdc++.h>

using namespace std;

const int N = 1020;

int C[N * N], D[N * N];

void Alice(int N, int M, int A[], int B[]) {
	int V = N + 12, U = 0;
	for (int i = 0; i < M; ++i) {
		C[U] = A[i], D[U] = B[i], U++;
	}
	for (int i = 0; i < N + 10; ++i) {
		C[U] = i, D[U] = N + 10, U++;
	}
	for (int i = 0; i < 10; ++i) {
		C[U] = N + i, D[U] = N + 11, U++;
	}
	for (int i = 1; i < 10; ++i) {
		C[U] = N + i - 1, D[U] = N + i, U++;
	}
	for (int i = 1; i < 8; ++i) {
		C[U] = N + i, D[U] = N + 9, U++;
	}
	for (int i = 0; i < N; ++i) {
		for (int j = 0; j < 10; ++j) {
			if (i >> j & 1) {
				C[U] = i, D[U] = N + j, U++;
			}
		}
	}
	InitG(V, U);
	for (int i = 0; i < U; ++i) {
		MakeG(i, C[i], D[i]);
	}
}

#include "Boblib.h"
#include <bits/stdc++.h>

using namespace std;

const int N = 1020;

int A[N * N], B[N * N], deg[N];
int val_bit[N];
bool E[N][N], is_bit[N];
vector<int> vec;

void Bob(int V, int U, int C[], int D[]) {
	int N, M;
	N = V - 12, M = 0;
	for (int i = 0; i < U; ++i) {
		deg[C[i]]++, deg[D[i]]++;
		E[C[i]][D[i]] = E[D[i]][C[i]] = 1;
	}
	int _11th = -1, _12th = -1;
	for (int i = 0; i < V; ++i) {
		if (deg[i] == V - 2) _11th = i; 
	}
	assert(_11th != -1);
	for (int i = 0; i < V; ++i) {
		if (i != _11th && !E[i][_11th]) _12th = i;
	}
	assert(_12th != -1);
	for (int i = 0; i < V; ++i) {
		if (E[_12th][i]) {
			is_bit[i] = 1, vec.push_back(i);
		}
	}
	for (auto i : vec) {
		deg[i] = 0, val_bit[i] = -1;
		for (auto j : vec) deg[i] += E[i][j];
	}	
	int _1st = -1, _10th = -1;
	for (auto i : vec) {
		if (deg[i] == 1) _1st = i;
		if (deg[i] == 8) _10th = i;
	}
	assert(_1st != -1);
	assert(_10th != -1);
	val_bit[_1st] = 0, val_bit[_10th] = 9;
	int cur = _1st, val = 1;
	while (1) {
		bool found = 0;
		for (auto i : vec) {
			if (E[cur][i] && val_bit[i] == -1) {
				found = 1, cur = i; break;
			} 
		}
		if (!found) break;
		val_bit[cur] = val++;
	}
	for (int i = 0; i < U; ++i) {
		if (C[i] == _11th || C[i] == _12th || is_bit[C[i]]) continue;
		if (D[i] == _11th || D[i] == _12th || is_bit[D[i]]) continue;
		for (auto j : vec) {
			if (E[C[i]][j]) A[M] += 1 << val_bit[j];
			if (E[D[i]][j]) B[M] += 1 << val_bit[j];
		}
		M++;
	}
	InitMap(N, M);
	for (int i = 0; i < M; ++i) {
		MakeMap(A[i], B[i]);
	}
}

# 결과 실행 시간 메모리 Grader output
1 Correct 7 ms 6736 KB Output is correct
2 Correct 8 ms 6640 KB Output is correct
3 Correct 7 ms 6664 KB Output is correct
4 Correct 7 ms 6592 KB Output is correct
5 Correct 7 ms 6960 KB Output is correct
6 Correct 7 ms 6896 KB Output is correct
7 Correct 8 ms 6896 KB Output is correct
8 Correct 7 ms 6896 KB Output is correct
9 Correct 6 ms 6640 KB Output is correct
10 Correct 7 ms 6640 KB Output is correct
11 Correct 6 ms 6640 KB Output is correct
12 Correct 7 ms 6640 KB Output is correct
13 Correct 7 ms 6640 KB Output is correct
14 Correct 8 ms 6800 KB Output is correct
15 Correct 7 ms 6952 KB Output is correct
16 Correct 7 ms 6736 KB Output is correct
17 Correct 8 ms 6896 KB Output is correct
18 Correct 7 ms 6640 KB Output is correct
19 Correct 8 ms 6640 KB Output is correct
20 Correct 8 ms 6672 KB Output is correct
21 Correct 7 ms 6896 KB Output is correct
22 Correct 7 ms 6640 KB Output is correct
23 Correct 7 ms 6640 KB Output is correct
24 Correct 8 ms 6896 KB Output is correct
25 Correct 8 ms 6640 KB Output is correct
26 Correct 8 ms 6896 KB Output is correct
27 Correct 7 ms 6736 KB Output is correct
28 Correct 8 ms 6736 KB Output is correct
29 Correct 8 ms 6728 KB Output is correct
30 Correct 8 ms 6640 KB Output is correct
31 Correct 7 ms 6896 KB Output is correct
32 Correct 8 ms 6736 KB Output is correct
33 Correct 8 ms 6736 KB Output is correct
34 Correct 8 ms 6736 KB Output is correct
35 Correct 7 ms 6640 KB Output is correct
36 Correct 7 ms 6728 KB Output is correct
37 Correct 8 ms 6816 KB Output is correct
38 Correct 8 ms 6640 KB Output is correct
39 Correct 8 ms 6640 KB Output is correct
40 Correct 7 ms 6640 KB Output is correct
41 Correct 7 ms 6792 KB Output is correct
42 Correct 7 ms 6648 KB Output is correct
43 Correct 7 ms 6640 KB Output is correct
44 Correct 8 ms 6640 KB Output is correct
45 Correct 7 ms 6640 KB Output is correct
46 Correct 7 ms 6896 KB Output is correct
47 Correct 7 ms 6896 KB Output is correct
48 Correct 7 ms 6904 KB Output is correct
49 Correct 7 ms 6640 KB Output is correct
50 Correct 7 ms 6736 KB Output is correct
51 Correct 8 ms 6984 KB Output is correct
52 Correct 7 ms 6896 KB Output is correct
53 Correct 7 ms 6592 KB Output is correct
54 Correct 8 ms 6624 KB Output is correct
55 Correct 7 ms 6640 KB Output is correct
56 Correct 8 ms 6640 KB Output is correct
57 Correct 8 ms 6640 KB Output is correct
58 Correct 8 ms 6640 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 7 ms 6736 KB Output is correct
2 Correct 8 ms 6640 KB Output is correct
3 Correct 7 ms 6664 KB Output is correct
4 Correct 7 ms 6592 KB Output is correct
5 Correct 7 ms 6960 KB Output is correct
6 Correct 7 ms 6896 KB Output is correct
7 Correct 8 ms 6896 KB Output is correct
8 Correct 7 ms 6896 KB Output is correct
9 Correct 6 ms 6640 KB Output is correct
10 Correct 7 ms 6640 KB Output is correct
11 Correct 6 ms 6640 KB Output is correct
12 Correct 7 ms 6640 KB Output is correct
13 Correct 7 ms 6640 KB Output is correct
14 Correct 8 ms 6800 KB Output is correct
15 Correct 7 ms 6952 KB Output is correct
16 Correct 7 ms 6736 KB Output is correct
17 Correct 8 ms 6896 KB Output is correct
18 Correct 7 ms 6640 KB Output is correct
19 Correct 8 ms 6640 KB Output is correct
20 Correct 8 ms 6672 KB Output is correct
21 Correct 7 ms 6896 KB Output is correct
22 Correct 7 ms 6640 KB Output is correct
23 Correct 7 ms 6640 KB Output is correct
24 Correct 8 ms 6896 KB Output is correct
25 Correct 8 ms 6640 KB Output is correct
26 Correct 8 ms 6896 KB Output is correct
27 Correct 7 ms 6736 KB Output is correct
28 Correct 8 ms 6736 KB Output is correct
29 Correct 8 ms 6728 KB Output is correct
30 Correct 8 ms 6640 KB Output is correct
31 Correct 7 ms 6896 KB Output is correct
32 Correct 8 ms 6736 KB Output is correct
33 Correct 8 ms 6736 KB Output is correct
34 Correct 8 ms 6736 KB Output is correct
35 Correct 7 ms 6640 KB Output is correct
36 Correct 7 ms 6728 KB Output is correct
37 Correct 8 ms 6816 KB Output is correct
38 Correct 8 ms 6640 KB Output is correct
39 Correct 8 ms 6640 KB Output is correct
40 Correct 7 ms 6640 KB Output is correct
41 Correct 7 ms 6792 KB Output is correct
42 Correct 7 ms 6648 KB Output is correct
43 Correct 7 ms 6640 KB Output is correct
44 Correct 8 ms 6640 KB Output is correct
45 Correct 7 ms 6640 KB Output is correct
46 Correct 7 ms 6896 KB Output is correct
47 Correct 7 ms 6896 KB Output is correct
48 Correct 7 ms 6904 KB Output is correct
49 Correct 7 ms 6640 KB Output is correct
50 Correct 7 ms 6736 KB Output is correct
51 Correct 8 ms 6984 KB Output is correct
52 Correct 7 ms 6896 KB Output is correct
53 Correct 7 ms 6592 KB Output is correct
54 Correct 8 ms 6624 KB Output is correct
55 Correct 7 ms 6640 KB Output is correct
56 Correct 8 ms 6640 KB Output is correct
57 Correct 8 ms 6640 KB Output is correct
58 Correct 8 ms 6640 KB Output is correct
59 Correct 8 ms 6736 KB Output is correct
60 Correct 8 ms 6640 KB Output is correct
61 Correct 7 ms 6896 KB Output is correct
62 Correct 8 ms 6640 KB Output is correct
63 Correct 8 ms 6640 KB Output is correct
64 Correct 7 ms 6640 KB Output is correct
65 Correct 8 ms 6904 KB Output is correct
66 Correct 8 ms 6896 KB Output is correct
67 Correct 9 ms 6768 KB Output is correct
68 Correct 8 ms 6896 KB Output is correct
69 Correct 8 ms 6640 KB Output is correct
70 Correct 8 ms 6640 KB Output is correct
71 Correct 8 ms 6736 KB Output is correct
72 Correct 8 ms 6896 KB Output is correct
73 Correct 8 ms 6896 KB Output is correct
74 Correct 8 ms 6896 KB Output is correct
75 Correct 8 ms 6640 KB Output is correct
76 Correct 8 ms 6640 KB Output is correct
77 Correct 8 ms 6640 KB Output is correct
78 Correct 8 ms 6744 KB Output is correct
79 Correct 7 ms 6640 KB Output is correct
80 Correct 8 ms 6736 KB Output is correct
81 Correct 8 ms 6760 KB Output is correct
82 Correct 8 ms 6640 KB Output is correct
83 Correct 7 ms 6896 KB Output is correct
84 Correct 9 ms 6640 KB Output is correct
85 Correct 8 ms 6640 KB Output is correct
86 Correct 8 ms 6736 KB Output is correct
87 Correct 8 ms 6640 KB Output is correct
88 Correct 7 ms 6736 KB Output is correct
89 Correct 7 ms 6984 KB Output is correct
90 Correct 8 ms 6704 KB Output is correct
91 Correct 8 ms 6728 KB Output is correct
92 Correct 7 ms 6896 KB Output is correct
93 Correct 7 ms 6640 KB Output is correct
94 Correct 8 ms 6896 KB Output is correct
95 Correct 8 ms 6640 KB Output is correct
96 Correct 7 ms 6648 KB Output is correct
97 Correct 8 ms 6736 KB Output is correct
98 Correct 8 ms 6640 KB Output is correct
99 Correct 8 ms 6944 KB Output is correct
100 Correct 7 ms 6640 KB Output is correct
101 Correct 6 ms 6640 KB Output is correct
102 Correct 7 ms 6896 KB Output is correct
103 Correct 9 ms 6640 KB Output is correct
104 Correct 8 ms 6680 KB Output is correct
105 Correct 8 ms 6648 KB Output is correct
106 Correct 8 ms 6896 KB Output is correct
107 Correct 8 ms 6904 KB Output is correct
108 Correct 8 ms 6904 KB Output is correct
109 Correct 8 ms 6640 KB Output is correct
110 Correct 8 ms 6600 KB Output is correct
111 Correct 8 ms 6640 KB Output is correct
112 Correct 8 ms 6896 KB Output is correct
113 Correct 8 ms 6640 KB Output is correct
114 Correct 8 ms 6640 KB Output is correct
115 Correct 8 ms 6736 KB Output is correct
116 Correct 7 ms 6896 KB Output is correct
117 Correct 8 ms 6640 KB Output is correct
118 Correct 8 ms 6896 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 753 ms 30576 KB Output is correct : V - N = 12
2 Correct 607 ms 25368 KB Output is correct : V - N = 12
3 Correct 218 ms 13928 KB Output is correct : V - N = 12
4 Correct 7 ms 7096 KB Output is correct : V - N = 12
5 Correct 121 ms 11200 KB Output is correct : V - N = 12
6 Correct 499 ms 22208 KB Output is correct : V - N = 12
7 Correct 739 ms 30256 KB Output is correct : V - N = 12
8 Correct 659 ms 27832 KB Output is correct : V - N = 12
9 Correct 348 ms 17160 KB Output is correct : V - N = 12
10 Correct 44 ms 8320 KB Output is correct : V - N = 12
11 Correct 79 ms 9008 KB Output is correct : V - N = 12
12 Correct 382 ms 19152 KB Output is correct : V - N = 12
13 Correct 730 ms 28928 KB Output is correct : V - N = 12
14 Correct 650 ms 29528 KB Output is correct : V - N = 12
15 Correct 429 ms 20472 KB Output is correct : V - N = 12
16 Correct 106 ms 9952 KB Output is correct : V - N = 12
17 Correct 19 ms 7624 KB Output is correct : V - N = 12
18 Correct 296 ms 15600 KB Output is correct : V - N = 12
19 Correct 637 ms 26648 KB Output is correct : V - N = 12
20 Correct 766 ms 30704 KB Output is correct : V - N = 12
21 Correct 188 ms 13280 KB Output is correct : V - N = 12
22 Correct 156 ms 11720 KB Output is correct : V - N = 12
23 Correct 65 ms 8824 KB Output is correct : V - N = 12
24 Correct 10 ms 6960 KB Output is correct : V - N = 12
25 Correct 30 ms 8264 KB Output is correct : V - N = 12
26 Correct 116 ms 10944 KB Output is correct : V - N = 12
27 Correct 199 ms 13176 KB Output is correct : V - N = 12
28 Correct 168 ms 12432 KB Output is correct : V - N = 12
29 Correct 78 ms 9560 KB Output is correct : V - N = 12
30 Correct 12 ms 7248 KB Output is correct : V - N = 12
31 Correct 12 ms 6896 KB Output is correct : V - N = 12
32 Correct 12 ms 6896 KB Output is correct : V - N = 12
33 Correct 12 ms 6896 KB Output is correct : V - N = 12
34 Correct 12 ms 6896 KB Output is correct : V - N = 12
35 Correct 11 ms 6896 KB Output is correct : V - N = 12
36 Correct 794 ms 30576 KB Output is correct : V - N = 12
37 Correct 779 ms 30608 KB Output is correct : V - N = 12
38 Correct 766 ms 30568 KB Output is correct : V - N = 12
39 Correct 723 ms 30816 KB Output is correct : V - N = 12
40 Correct 752 ms 30568 KB Output is correct : V - N = 12
41 Correct 135 ms 11056 KB Output is correct : V - N = 12
42 Correct 103 ms 10144 KB Output is correct : V - N = 12
43 Correct 126 ms 10560 KB Output is correct : V - N = 12
44 Correct 12 ms 7152 KB Output is correct : V - N = 12
45 Correct 81 ms 9160 KB Output is correct : V - N = 12
46 Correct 254 ms 14680 KB Output is correct : V - N = 12
47 Correct 147 ms 10976 KB Output is correct : V - N = 12
48 Correct 361 ms 17400 KB Output is correct : V - N = 12
49 Correct 65 ms 8824 KB Output is correct : V - N = 12
50 Correct 27 ms 7656 KB Output is correct : V - N = 12
51 Correct 655 ms 25160 KB Output is correct : V - N = 12
52 Correct 14 ms 7152 KB Output is correct : V - N = 12
53 Correct 536 ms 21960 KB Output is correct : V - N = 12
54 Correct 669 ms 27304 KB Output is correct : V - N = 12
55 Correct 46 ms 8176 KB Output is correct : V - N = 12
56 Correct 417 ms 18624 KB Output is correct : V - N = 12
57 Correct 743 ms 28976 KB Output is correct : V - N = 12
58 Correct 106 ms 9920 KB Output is correct : V - N = 12
59 Correct 287 ms 15440 KB Output is correct : V - N = 12
60 Correct 744 ms 29744 KB Output is correct : V - N = 12
61 Correct 8 ms 6896 KB Output is correct : V - N = 12
62 Correct 7 ms 6640 KB Output is correct : V - N = 12
63 Correct 6 ms 6640 KB Output is correct : V - N = 12
64 Correct 8 ms 6640 KB Output is correct : V - N = 12
65 Correct 8 ms 6736 KB Output is correct : V - N = 12
66 Correct 8 ms 6640 KB Output is correct : V - N = 12
67 Correct 8 ms 6680 KB Output is correct : V - N = 12
68 Correct 8 ms 6640 KB Output is correct : V - N = 12
69 Correct 7 ms 6736 KB Output is correct : V - N = 12
70 Correct 7 ms 6640 KB Output is correct : V - N = 12
71 Correct 7 ms 6640 KB Output is correct : V - N = 12
72 Correct 12 ms 6648 KB Output is correct : V - N = 12
73 Correct 7 ms 6840 KB Output is correct : V - N = 12
74 Correct 8 ms 6640 KB Output is correct : V - N = 12
75 Correct 7 ms 6640 KB Output is correct : V - N = 12
76 Correct 7 ms 6736 KB Output is correct : V - N = 12
77 Correct 6 ms 6896 KB Output is correct : V - N = 12
78 Correct 8 ms 6896 KB Output is correct : V - N = 12
79 Correct 7 ms 6640 KB Output is correct : V - N = 12
80 Correct 11 ms 6640 KB Output is correct : V - N = 12
81 Correct 7 ms 6640 KB Output is correct : V - N = 12
82 Correct 6 ms 6896 KB Output is correct : V - N = 12
83 Correct 6 ms 6736 KB Output is correct : V - N = 12
84 Correct 8 ms 6736 KB Output is correct : V - N = 12
85 Correct 7 ms 6640 KB Output is correct : V - N = 12
86 Correct 6 ms 6896 KB Output is correct : V - N = 12
87 Correct 7 ms 6640 KB Output is correct : V - N = 12
88 Correct 7 ms 6640 KB Output is correct : V - N = 12
89 Correct 7 ms 6736 KB Output is correct : V - N = 12
90 Correct 6 ms 6896 KB Output is correct : V - N = 12
91 Correct 6 ms 6736 KB Output is correct : V - N = 12
92 Correct 8 ms 6640 KB Output is correct : V - N = 12
93 Correct 7 ms 6904 KB Output is correct : V - N = 12
94 Correct 7 ms 6904 KB Output is correct : V - N = 12
95 Correct 6 ms 6640 KB Output is correct : V - N = 12
96 Correct 8 ms 6752 KB Output is correct : V - N = 12
97 Correct 8 ms 6640 KB Output is correct : V - N = 12
98 Correct 8 ms 6624 KB Output is correct : V - N = 12
99 Correct 8 ms 6896 KB Output is correct : V - N = 12
100 Correct 7 ms 6896 KB Output is correct : V - N = 12
101 Correct 8 ms 6640 KB Output is correct : V - N = 12
102 Correct 8 ms 6640 KB Output is correct : V - N = 12
103 Correct 7 ms 6640 KB Output is correct : V - N = 12
104 Correct 7 ms 6696 KB Output is correct : V - N = 12
105 Correct 6 ms 6640 KB Output is correct : V - N = 12
106 Correct 8 ms 6896 KB Output is correct : V - N = 12
107 Correct 6 ms 6640 KB Output is correct : V - N = 12
108 Correct 8 ms 6736 KB Output is correct : V - N = 12
109 Correct 7 ms 6648 KB Output is correct : V - N = 12
110 Correct 8 ms 6640 KB Output is correct : V - N = 12
111 Correct 8 ms 6640 KB Output is correct : V - N = 12
112 Correct 8 ms 6640 KB Output is correct : V - N = 12
113 Correct 8 ms 6648 KB Output is correct : V - N = 12
114 Correct 8 ms 6640 KB Output is correct : V - N = 12
115 Correct 8 ms 6896 KB Output is correct : V - N = 12
116 Correct 8 ms 6648 KB Output is correct : V - N = 12
117 Correct 8 ms 6640 KB Output is correct : V - N = 12
118 Correct 8 ms 6640 KB Output is correct : V - N = 12
119 Correct 8 ms 6784 KB Output is correct : V - N = 12
120 Correct 8 ms 6640 KB Output is correct : V - N = 12
121 Correct 8 ms 6896 KB Output is correct : V - N = 12
122 Correct 8 ms 6640 KB Output is correct : V - N = 12
123 Correct 8 ms 6896 KB Output is correct : V - N = 12
124 Correct 7 ms 6640 KB Output is correct : V - N = 12
125 Correct 7 ms 6896 KB Output is correct : V - N = 12
126 Correct 7 ms 6640 KB Output is correct : V - N = 12
127 Correct 8 ms 6640 KB Output is correct : V - N = 12
128 Correct 7 ms 6896 KB Output is correct : V - N = 12
129 Correct 8 ms 6896 KB Output is correct : V - N = 12
130 Correct 7 ms 6640 KB Output is correct : V - N = 12
131 Correct 8 ms 6696 KB Output is correct : V - N = 12
132 Correct 7 ms 6640 KB Output is correct : V - N = 12
133 Correct 8 ms 6896 KB Output is correct : V - N = 12
134 Correct 7 ms 6640 KB Output is correct : V - N = 12
135 Correct 8 ms 6984 KB Output is correct : V - N = 12
136 Correct 8 ms 6896 KB Output is correct : V - N = 12
137 Correct 8 ms 6896 KB Output is correct : V - N = 12
138 Correct 7 ms 6640 KB Output is correct : V - N = 12
139 Correct 8 ms 6640 KB Output is correct : V - N = 12
140 Correct 7 ms 6896 KB Output is correct : V - N = 12
141 Correct 7 ms 6896 KB Output is correct : V - N = 12
142 Correct 8 ms 6640 KB Output is correct : V - N = 12
143 Correct 8 ms 6640 KB Output is correct : V - N = 12
144 Correct 8 ms 6640 KB Output is correct : V - N = 12
145 Correct 7 ms 6640 KB Output is correct : V - N = 12
146 Correct 8 ms 6640 KB Output is correct : V - N = 12
147 Correct 7 ms 6640 KB Output is correct : V - N = 12
148 Correct 8 ms 6640 KB Output is correct : V - N = 12
149 Correct 7 ms 6640 KB Output is correct : V - N = 12
150 Correct 7 ms 6640 KB Output is correct : V - N = 12
151 Correct 7 ms 6896 KB Output is correct : V - N = 12
152 Correct 7 ms 6896 KB Output is correct : V - N = 12
153 Correct 8 ms 6640 KB Output is correct : V - N = 12
154 Correct 8 ms 6640 KB Output is correct : V - N = 12
155 Correct 8 ms 6640 KB Output is correct : V - N = 12
156 Correct 8 ms 6872 KB Output is correct : V - N = 12
157 Correct 8 ms 6648 KB Output is correct : V - N = 12
158 Correct 7 ms 6640 KB Output is correct : V - N = 12
159 Correct 7 ms 6640 KB Output is correct : V - N = 12
160 Correct 7 ms 6896 KB Output is correct : V - N = 12
161 Correct 6 ms 6640 KB Output is correct : V - N = 12
162 Correct 7 ms 6736 KB Output is correct : V - N = 12
163 Correct 7 ms 6736 KB Output is correct : V - N = 12
164 Correct 8 ms 6640 KB Output is correct : V - N = 12
165 Correct 7 ms 6640 KB Output is correct : V - N = 12
166 Correct 8 ms 6640 KB Output is correct : V - N = 12
167 Correct 7 ms 6896 KB Output is correct : V - N = 12
168 Correct 7 ms 6736 KB Output is correct : V - N = 12
169 Correct 6 ms 6640 KB Output is correct : V - N = 12
170 Correct 6 ms 6640 KB Output is correct : V - N = 12
171 Correct 6 ms 6640 KB Output is correct : V - N = 12
172 Correct 7 ms 6640 KB Output is correct : V - N = 12
173 Correct 7 ms 6640 KB Output is correct : V - N = 12
174 Correct 6 ms 6640 KB Output is correct : V - N = 12
175 Correct 8 ms 6640 KB Output is correct : V - N = 12
176 Correct 8 ms 6640 KB Output is correct : V - N = 12
177 Correct 8 ms 6792 KB Output is correct : V - N = 12
178 Correct 7 ms 6896 KB Output is correct : V - N = 12