답안 #207066

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
207066 2020-03-06T09:42:22 Z PeppaPig 항공 노선도 (JOI18_airline) C++14
100 / 100
670 ms 30904 KB
#include "Alicelib.h"
#include <bits/stdc++.h>

#define pii pair<int, int>
#define x first
#define y second

using namespace std;


void Alice(int n, int m, int A[], int B[]){
	vector<pii> E;
	for(int i = 0; i < m; i++) E.emplace_back(A[i], B[i]);
	for(int i = 0; i <= 9; i++) {
		for(int j = 0; j < n; j++) if(j >> i & 1)
			E.emplace_back(n + i, j);
		if(i < 9) E.emplace_back(n + i, n + i + 1);
	}
	for(int i = 0; i < n; i++) E.emplace_back(n + 10, i);
	E.emplace_back(n + 10, n + 11);

	InitG(n + 12, (int)E.size());
	for(int i = 0; i < E.size(); i++)
		MakeG(i, E[i].x, E[i].y);
}

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

#define pii pair<int, int>
#define x first
#define y second

using namespace std;

const int N = 1e3+50;

static int n, rep;
static int is_node[N], id[N];
static vector<int> g[N];

void Bob(int n, int m, int A[], int B[]){
	for(int i = 0; i < m; i++) {
		g[A[i]].emplace_back(B[i]);
		g[B[i]].emplace_back(A[i]);
	}

	for(int i = 0; i < n; i++) if(g[i].size() == 1 && g[g[i][0]].size() == n - 11) {
		rep = g[i][0];
		for(int x : g[rep]) is_node[x] = 1;
		break;
	}
	int now = rep, pre = rep;
	for(int i = 0; i < n; i++) if(i != rep && !is_node[i] && g[i].size() <= g[now].size())
		now = i, pre = i;
	for(int i = 9; ~i; i--) {
		for(int x : g[now]) if(is_node[x])
			id[x] += 1 << i;
		for(int x : g[now]) if(!is_node[x] && x != pre) {
			pre = now, now = x;
			break;
		}
	}

	vector<pii> E;
	for(int i = 0; i < m; i++) if(is_node[A[i]] && is_node[B[i]])
		E.emplace_back(id[A[i]], id[B[i]]);
	InitMap(n - 12, (int)E.size());
	for(pii p : E) MakeMap(p.x, p.y);
}

Compilation message

Alice.cpp: In function 'void Alice(int, int, int*, int*)':
Alice.cpp:23:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0; i < E.size(); i++)
                 ~~^~~~~~~~~~

Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:22:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0; i < n; i++) if(g[i].size() == 1 && g[g[i][0]].size() == n - 11) {
                                                    ~~~~~~~~~~~~~~~~~~^~~~~~~~~
Bob.cpp: At global scope:
Bob.cpp:12:12: warning: 'n' defined but not used [-Wunused-variable]
 static int n, rep;
            ^
# 결과 실행 시간 메모리 Grader output
1 Correct 13 ms 6640 KB Output is correct
2 Correct 13 ms 6896 KB Output is correct
3 Correct 13 ms 6896 KB Output is correct
4 Correct 14 ms 6896 KB Output is correct
5 Correct 15 ms 6640 KB Output is correct
6 Correct 14 ms 6640 KB Output is correct
7 Correct 13 ms 6896 KB Output is correct
8 Correct 13 ms 6640 KB Output is correct
9 Correct 13 ms 6640 KB Output is correct
10 Correct 13 ms 6552 KB Output is correct
11 Correct 14 ms 6640 KB Output is correct
12 Correct 14 ms 6640 KB Output is correct
13 Correct 13 ms 6896 KB Output is correct
14 Correct 14 ms 6640 KB Output is correct
15 Correct 13 ms 6896 KB Output is correct
16 Correct 15 ms 6904 KB Output is correct
17 Correct 13 ms 6896 KB Output is correct
18 Correct 14 ms 6640 KB Output is correct
19 Correct 13 ms 6640 KB Output is correct
20 Correct 13 ms 6640 KB Output is correct
21 Correct 13 ms 6640 KB Output is correct
22 Correct 14 ms 6648 KB Output is correct
23 Correct 13 ms 6896 KB Output is correct
24 Correct 14 ms 6640 KB Output is correct
25 Correct 13 ms 6640 KB Output is correct
26 Correct 13 ms 6896 KB Output is correct
27 Correct 13 ms 6896 KB Output is correct
28 Correct 14 ms 6640 KB Output is correct
29 Correct 13 ms 6640 KB Output is correct
30 Correct 13 ms 6640 KB Output is correct
31 Correct 14 ms 6640 KB Output is correct
32 Correct 13 ms 6640 KB Output is correct
33 Correct 13 ms 6640 KB Output is correct
34 Correct 13 ms 6896 KB Output is correct
35 Correct 13 ms 6848 KB Output is correct
36 Correct 15 ms 6896 KB Output is correct
37 Correct 13 ms 6640 KB Output is correct
38 Correct 13 ms 6640 KB Output is correct
39 Correct 13 ms 6896 KB Output is correct
40 Correct 14 ms 6896 KB Output is correct
41 Correct 13 ms 6960 KB Output is correct
42 Correct 13 ms 6640 KB Output is correct
43 Correct 13 ms 6640 KB Output is correct
44 Correct 14 ms 6640 KB Output is correct
45 Correct 13 ms 6640 KB Output is correct
46 Correct 13 ms 6640 KB Output is correct
47 Correct 13 ms 6648 KB Output is correct
48 Correct 14 ms 6648 KB Output is correct
49 Correct 13 ms 6640 KB Output is correct
50 Correct 13 ms 6640 KB Output is correct
51 Correct 15 ms 6896 KB Output is correct
52 Correct 13 ms 6640 KB Output is correct
53 Correct 13 ms 6896 KB Output is correct
54 Correct 13 ms 6640 KB Output is correct
55 Correct 13 ms 6896 KB Output is correct
56 Correct 13 ms 6640 KB Output is correct
57 Correct 14 ms 6640 KB Output is correct
58 Correct 13 ms 6640 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 13 ms 6640 KB Output is correct
2 Correct 13 ms 6896 KB Output is correct
3 Correct 13 ms 6896 KB Output is correct
4 Correct 14 ms 6896 KB Output is correct
5 Correct 15 ms 6640 KB Output is correct
6 Correct 14 ms 6640 KB Output is correct
7 Correct 13 ms 6896 KB Output is correct
8 Correct 13 ms 6640 KB Output is correct
9 Correct 13 ms 6640 KB Output is correct
10 Correct 13 ms 6552 KB Output is correct
11 Correct 14 ms 6640 KB Output is correct
12 Correct 14 ms 6640 KB Output is correct
13 Correct 13 ms 6896 KB Output is correct
14 Correct 14 ms 6640 KB Output is correct
15 Correct 13 ms 6896 KB Output is correct
16 Correct 15 ms 6904 KB Output is correct
17 Correct 13 ms 6896 KB Output is correct
18 Correct 14 ms 6640 KB Output is correct
19 Correct 13 ms 6640 KB Output is correct
20 Correct 13 ms 6640 KB Output is correct
21 Correct 13 ms 6640 KB Output is correct
22 Correct 14 ms 6648 KB Output is correct
23 Correct 13 ms 6896 KB Output is correct
24 Correct 14 ms 6640 KB Output is correct
25 Correct 13 ms 6640 KB Output is correct
26 Correct 13 ms 6896 KB Output is correct
27 Correct 13 ms 6896 KB Output is correct
28 Correct 14 ms 6640 KB Output is correct
29 Correct 13 ms 6640 KB Output is correct
30 Correct 13 ms 6640 KB Output is correct
31 Correct 14 ms 6640 KB Output is correct
32 Correct 13 ms 6640 KB Output is correct
33 Correct 13 ms 6640 KB Output is correct
34 Correct 13 ms 6896 KB Output is correct
35 Correct 13 ms 6848 KB Output is correct
36 Correct 15 ms 6896 KB Output is correct
37 Correct 13 ms 6640 KB Output is correct
38 Correct 13 ms 6640 KB Output is correct
39 Correct 13 ms 6896 KB Output is correct
40 Correct 14 ms 6896 KB Output is correct
41 Correct 13 ms 6960 KB Output is correct
42 Correct 13 ms 6640 KB Output is correct
43 Correct 13 ms 6640 KB Output is correct
44 Correct 14 ms 6640 KB Output is correct
45 Correct 13 ms 6640 KB Output is correct
46 Correct 13 ms 6640 KB Output is correct
47 Correct 13 ms 6648 KB Output is correct
48 Correct 14 ms 6648 KB Output is correct
49 Correct 13 ms 6640 KB Output is correct
50 Correct 13 ms 6640 KB Output is correct
51 Correct 15 ms 6896 KB Output is correct
52 Correct 13 ms 6640 KB Output is correct
53 Correct 13 ms 6896 KB Output is correct
54 Correct 13 ms 6640 KB Output is correct
55 Correct 13 ms 6896 KB Output is correct
56 Correct 13 ms 6640 KB Output is correct
57 Correct 14 ms 6640 KB Output is correct
58 Correct 13 ms 6640 KB Output is correct
59 Correct 14 ms 6640 KB Output is correct
60 Correct 15 ms 6896 KB Output is correct
61 Correct 13 ms 6896 KB Output is correct
62 Correct 14 ms 6896 KB Output is correct
63 Correct 14 ms 6640 KB Output is correct
64 Correct 14 ms 6640 KB Output is correct
65 Correct 15 ms 6640 KB Output is correct
66 Correct 13 ms 6640 KB Output is correct
67 Correct 14 ms 6640 KB Output is correct
68 Correct 13 ms 6648 KB Output is correct
69 Correct 13 ms 6640 KB Output is correct
70 Correct 13 ms 6896 KB Output is correct
71 Correct 13 ms 6640 KB Output is correct
72 Correct 15 ms 6640 KB Output is correct
73 Correct 13 ms 6640 KB Output is correct
74 Correct 13 ms 6640 KB Output is correct
75 Correct 13 ms 6640 KB Output is correct
76 Correct 14 ms 6640 KB Output is correct
77 Correct 15 ms 6904 KB Output is correct
78 Correct 13 ms 6640 KB Output is correct
79 Correct 13 ms 6896 KB Output is correct
80 Correct 13 ms 6640 KB Output is correct
81 Correct 14 ms 6640 KB Output is correct
82 Correct 14 ms 6640 KB Output is correct
83 Correct 14 ms 7160 KB Output is correct
84 Correct 13 ms 6648 KB Output is correct
85 Correct 14 ms 6640 KB Output is correct
86 Correct 13 ms 6640 KB Output is correct
87 Correct 14 ms 6896 KB Output is correct
88 Correct 13 ms 6640 KB Output is correct
89 Correct 13 ms 6640 KB Output is correct
90 Correct 13 ms 6640 KB Output is correct
91 Correct 13 ms 6640 KB Output is correct
92 Correct 13 ms 6640 KB Output is correct
93 Correct 14 ms 6640 KB Output is correct
94 Correct 14 ms 6640 KB Output is correct
95 Correct 16 ms 6640 KB Output is correct
96 Correct 13 ms 6640 KB Output is correct
97 Correct 14 ms 6640 KB Output is correct
98 Correct 14 ms 6640 KB Output is correct
99 Correct 15 ms 6896 KB Output is correct
100 Correct 13 ms 6640 KB Output is correct
101 Correct 13 ms 6640 KB Output is correct
102 Correct 13 ms 6640 KB Output is correct
103 Correct 13 ms 6640 KB Output is correct
104 Correct 13 ms 6648 KB Output is correct
105 Correct 13 ms 6640 KB Output is correct
106 Correct 14 ms 6640 KB Output is correct
107 Correct 14 ms 6896 KB Output is correct
108 Correct 14 ms 6640 KB Output is correct
109 Correct 15 ms 6896 KB Output is correct
110 Correct 13 ms 6640 KB Output is correct
111 Correct 13 ms 6896 KB Output is correct
112 Correct 13 ms 6640 KB Output is correct
113 Correct 13 ms 6896 KB Output is correct
114 Correct 14 ms 6896 KB Output is correct
115 Correct 14 ms 6640 KB Output is correct
116 Correct 13 ms 6640 KB Output is correct
117 Correct 14 ms 6640 KB Output is correct
118 Correct 14 ms 6640 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 657 ms 30496 KB Output is correct : V - N = 12
2 Correct 512 ms 25856 KB Output is correct : V - N = 12
3 Correct 214 ms 14280 KB Output is correct : V - N = 12
4 Correct 20 ms 7408 KB Output is correct : V - N = 12
5 Correct 130 ms 11224 KB Output is correct : V - N = 12
6 Correct 441 ms 23828 KB Output is correct : V - N = 12
7 Correct 648 ms 30136 KB Output is correct : V - N = 12
8 Correct 576 ms 27680 KB Output is correct : V - N = 12
9 Correct 307 ms 17352 KB Output is correct : V - N = 12
10 Correct 43 ms 8176 KB Output is correct : V - N = 12
11 Correct 85 ms 9184 KB Output is correct : V - N = 12
12 Correct 343 ms 19360 KB Output is correct : V - N = 12
13 Correct 606 ms 29112 KB Output is correct : V - N = 12
14 Correct 621 ms 29880 KB Output is correct : V - N = 12
15 Correct 388 ms 22592 KB Output is correct : V - N = 12
16 Correct 104 ms 9952 KB Output is correct : V - N = 12
17 Correct 28 ms 7904 KB Output is correct : V - N = 12
18 Correct 268 ms 15664 KB Output is correct : V - N = 12
19 Correct 552 ms 26808 KB Output is correct : V - N = 12
20 Correct 636 ms 30576 KB Output is correct : V - N = 12
21 Correct 182 ms 13024 KB Output is correct : V - N = 12
22 Correct 169 ms 11624 KB Output is correct : V - N = 12
23 Correct 65 ms 8928 KB Output is correct : V - N = 12
24 Correct 16 ms 6896 KB Output is correct : V - N = 12
25 Correct 41 ms 8168 KB Output is correct : V - N = 12
26 Correct 119 ms 10968 KB Output is correct : V - N = 12
27 Correct 175 ms 13008 KB Output is correct : V - N = 12
28 Correct 156 ms 12504 KB Output is correct : V - N = 12
29 Correct 87 ms 9696 KB Output is correct : V - N = 12
30 Correct 19 ms 7408 KB Output is correct : V - N = 12
31 Correct 20 ms 7152 KB Output is correct : V - N = 12
32 Correct 18 ms 7152 KB Output is correct : V - N = 12
33 Correct 19 ms 7152 KB Output is correct : V - N = 12
34 Correct 19 ms 7152 KB Output is correct : V - N = 12
35 Correct 19 ms 7152 KB Output is correct : V - N = 12
36 Correct 650 ms 30584 KB Output is correct : V - N = 12
37 Correct 661 ms 30904 KB Output is correct : V - N = 12
38 Correct 670 ms 30656 KB Output is correct : V - N = 12
39 Correct 664 ms 30648 KB Output is correct : V - N = 12
40 Correct 652 ms 30648 KB Output is correct : V - N = 12
41 Correct 131 ms 10968 KB Output is correct : V - N = 12
42 Correct 104 ms 10208 KB Output is correct : V - N = 12
43 Correct 115 ms 10456 KB Output is correct : V - N = 12
44 Correct 20 ms 7152 KB Output is correct : V - N = 12
45 Correct 76 ms 9280 KB Output is correct : V - N = 12
46 Correct 221 ms 14792 KB Output is correct : V - N = 12
47 Correct 124 ms 10968 KB Output is correct : V - N = 12
48 Correct 297 ms 17360 KB Output is correct : V - N = 12
49 Correct 63 ms 8920 KB Output is correct : V - N = 12
50 Correct 27 ms 7672 KB Output is correct : V - N = 12
51 Correct 510 ms 25752 KB Output is correct : V - N = 12
52 Correct 20 ms 7248 KB Output is correct : V - N = 12
53 Correct 433 ms 23440 KB Output is correct : V - N = 12
54 Correct 566 ms 27320 KB Output is correct : V - N = 12
55 Correct 42 ms 8168 KB Output is correct : V - N = 12
56 Correct 329 ms 18888 KB Output is correct : V - N = 12
57 Correct 625 ms 29368 KB Output is correct : V - N = 12
58 Correct 98 ms 9952 KB Output is correct : V - N = 12
59 Correct 258 ms 15560 KB Output is correct : V - N = 12
60 Correct 641 ms 30136 KB Output is correct : V - N = 12
61 Correct 16 ms 6640 KB Output is correct : V - N = 12
62 Correct 15 ms 6896 KB Output is correct : V - N = 12
63 Correct 13 ms 6640 KB Output is correct : V - N = 12
64 Correct 13 ms 6640 KB Output is correct : V - N = 12
65 Correct 13 ms 6896 KB Output is correct : V - N = 12
66 Correct 14 ms 6896 KB Output is correct : V - N = 12
67 Correct 14 ms 6648 KB Output is correct : V - N = 12
68 Correct 14 ms 6640 KB Output is correct : V - N = 12
69 Correct 16 ms 6640 KB Output is correct : V - N = 12
70 Correct 14 ms 6640 KB Output is correct : V - N = 12
71 Correct 13 ms 6904 KB Output is correct : V - N = 12
72 Correct 14 ms 6640 KB Output is correct : V - N = 12
73 Correct 14 ms 6896 KB Output is correct : V - N = 12
74 Correct 14 ms 6896 KB Output is correct : V - N = 12
75 Correct 13 ms 6784 KB Output is correct : V - N = 12
76 Correct 15 ms 6896 KB Output is correct : V - N = 12
77 Correct 13 ms 6648 KB Output is correct : V - N = 12
78 Correct 14 ms 6640 KB Output is correct : V - N = 12
79 Correct 13 ms 6640 KB Output is correct : V - N = 12
80 Correct 13 ms 6640 KB Output is correct : V - N = 12
81 Correct 15 ms 6896 KB Output is correct : V - N = 12
82 Correct 13 ms 6640 KB Output is correct : V - N = 12
83 Correct 13 ms 6640 KB Output is correct : V - N = 12
84 Correct 13 ms 6640 KB Output is correct : V - N = 12
85 Correct 14 ms 6896 KB Output is correct : V - N = 12
86 Correct 13 ms 6640 KB Output is correct : V - N = 12
87 Correct 13 ms 6896 KB Output is correct : V - N = 12
88 Correct 14 ms 6896 KB Output is correct : V - N = 12
89 Correct 13 ms 6648 KB Output is correct : V - N = 12
90 Correct 13 ms 6896 KB Output is correct : V - N = 12
91 Correct 14 ms 6896 KB Output is correct : V - N = 12
92 Correct 14 ms 6640 KB Output is correct : V - N = 12
93 Correct 13 ms 6640 KB Output is correct : V - N = 12
94 Correct 13 ms 6640 KB Output is correct : V - N = 12
95 Correct 13 ms 6896 KB Output is correct : V - N = 12
96 Correct 14 ms 6640 KB Output is correct : V - N = 12
97 Correct 14 ms 6640 KB Output is correct : V - N = 12
98 Correct 14 ms 6648 KB Output is correct : V - N = 12
99 Correct 14 ms 6640 KB Output is correct : V - N = 12
100 Correct 15 ms 6640 KB Output is correct : V - N = 12
101 Correct 13 ms 6640 KB Output is correct : V - N = 12
102 Correct 14 ms 6640 KB Output is correct : V - N = 12
103 Correct 13 ms 6896 KB Output is correct : V - N = 12
104 Correct 13 ms 6640 KB Output is correct : V - N = 12
105 Correct 13 ms 6648 KB Output is correct : V - N = 12
106 Correct 14 ms 6640 KB Output is correct : V - N = 12
107 Correct 13 ms 6896 KB Output is correct : V - N = 12
108 Correct 15 ms 6640 KB Output is correct : V - N = 12
109 Correct 14 ms 6896 KB Output is correct : V - N = 12
110 Correct 13 ms 6896 KB Output is correct : V - N = 12
111 Correct 14 ms 6760 KB Output is correct : V - N = 12
112 Correct 14 ms 6640 KB Output is correct : V - N = 12
113 Correct 14 ms 6896 KB Output is correct : V - N = 12
114 Correct 15 ms 6640 KB Output is correct : V - N = 12
115 Correct 13 ms 6640 KB Output is correct : V - N = 12
116 Correct 13 ms 6640 KB Output is correct : V - N = 12
117 Correct 13 ms 6640 KB Output is correct : V - N = 12
118 Correct 13 ms 6640 KB Output is correct : V - N = 12
119 Correct 13 ms 6640 KB Output is correct : V - N = 12
120 Correct 13 ms 6640 KB Output is correct : V - N = 12
121 Correct 14 ms 6896 KB Output is correct : V - N = 12
122 Correct 13 ms 6896 KB Output is correct : V - N = 12
123 Correct 13 ms 6896 KB Output is correct : V - N = 12
124 Correct 13 ms 6640 KB Output is correct : V - N = 12
125 Correct 13 ms 6640 KB Output is correct : V - N = 12
126 Correct 14 ms 6640 KB Output is correct : V - N = 12
127 Correct 13 ms 6640 KB Output is correct : V - N = 12
128 Correct 14 ms 6760 KB Output is correct : V - N = 12
129 Correct 13 ms 6896 KB Output is correct : V - N = 12
130 Correct 13 ms 6640 KB Output is correct : V - N = 12
131 Correct 13 ms 6744 KB Output is correct : V - N = 12
132 Correct 13 ms 6896 KB Output is correct : V - N = 12
133 Correct 13 ms 6640 KB Output is correct : V - N = 12
134 Correct 13 ms 6896 KB Output is correct : V - N = 12
135 Correct 14 ms 6648 KB Output is correct : V - N = 12
136 Correct 14 ms 6640 KB Output is correct : V - N = 12
137 Correct 13 ms 6640 KB Output is correct : V - N = 12
138 Correct 13 ms 6640 KB Output is correct : V - N = 12
139 Correct 14 ms 6640 KB Output is correct : V - N = 12
140 Correct 13 ms 6896 KB Output is correct : V - N = 12
141 Correct 13 ms 6640 KB Output is correct : V - N = 12
142 Correct 14 ms 6896 KB Output is correct : V - N = 12
143 Correct 13 ms 6640 KB Output is correct : V - N = 12
144 Correct 13 ms 6904 KB Output is correct : V - N = 12
145 Correct 14 ms 6896 KB Output is correct : V - N = 12
146 Correct 14 ms 6648 KB Output is correct : V - N = 12
147 Correct 13 ms 6640 KB Output is correct : V - N = 12
148 Correct 13 ms 6640 KB Output is correct : V - N = 12
149 Correct 13 ms 6640 KB Output is correct : V - N = 12
150 Correct 13 ms 6640 KB Output is correct : V - N = 12
151 Correct 13 ms 6640 KB Output is correct : V - N = 12
152 Correct 13 ms 6640 KB Output is correct : V - N = 12
153 Correct 14 ms 6896 KB Output is correct : V - N = 12
154 Correct 13 ms 6896 KB Output is correct : V - N = 12
155 Correct 13 ms 6896 KB Output is correct : V - N = 12
156 Correct 14 ms 6640 KB Output is correct : V - N = 12
157 Correct 13 ms 6904 KB Output is correct : V - N = 12
158 Correct 13 ms 6640 KB Output is correct : V - N = 12
159 Correct 13 ms 6896 KB Output is correct : V - N = 12
160 Correct 13 ms 6640 KB Output is correct : V - N = 12
161 Correct 13 ms 6896 KB Output is correct : V - N = 12
162 Correct 13 ms 6640 KB Output is correct : V - N = 12
163 Correct 13 ms 6640 KB Output is correct : V - N = 12
164 Correct 14 ms 6640 KB Output is correct : V - N = 12
165 Correct 13 ms 6640 KB Output is correct : V - N = 12
166 Correct 13 ms 6896 KB Output is correct : V - N = 12
167 Correct 13 ms 6640 KB Output is correct : V - N = 12
168 Correct 13 ms 6648 KB Output is correct : V - N = 12
169 Correct 13 ms 6896 KB Output is correct : V - N = 12
170 Correct 13 ms 6640 KB Output is correct : V - N = 12
171 Correct 13 ms 6640 KB Output is correct : V - N = 12
172 Correct 13 ms 6640 KB Output is correct : V - N = 12
173 Correct 13 ms 6640 KB Output is correct : V - N = 12
174 Correct 13 ms 6896 KB Output is correct : V - N = 12
175 Correct 13 ms 6640 KB Output is correct : V - N = 12
176 Correct 13 ms 6896 KB Output is correct : V - N = 12
177 Correct 16 ms 6640 KB Output is correct : V - N = 12
178 Correct 13 ms 6640 KB Output is correct : V - N = 12