답안 #1071468

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
1071468 2024-08-23T07:35:42 Z abczz 항공 노선도 (JOI18_airline) C++17
91 / 100
449 ms 52344 KB
#include "Alicelib.h"
#include <cassert>
#include <cstdio>
#include <iostream>
#include <array>
#include <vector>
#define ll long long

using namespace std;

void Alice( int N, int M, int A[], int B[] ){
	vector <array<ll, 2>> V;
	ll k = N, tot = 0, cnt = N;
	while (k) {
		k /= 2;
		++tot;
	}
	for (int i=0; i<M; ++i) {
		V.push_back({A[i], B[i]});
	}
	k = 1;
	V.push_back({cnt, cnt+1});
	++cnt;
	for (int i=0; i<tot; ++i) {
		for (int j=0; j<N; ++j) {
			if ((j+1) & k) V.push_back({cnt, j});
		}
		if (i != tot-1) V.push_back({cnt, cnt+1});
		++cnt, k *= 2;
	}
	for (int i=0; i<cnt; ++i) {
		V.push_back({i, cnt});
	}
	if (N < 10) {
		for (int i=1; i<5; ++i) {
			++cnt;
			V.push_back({cnt-i, cnt});
		}
	}
	++cnt;
	for (int j=N; j<N+tot+1; ++j) {
		V.push_back({j, cnt});
	}
	++cnt;
	InitG(cnt, V.size());
	int i = 0;
	for (auto [a, b] : V) {
		//cout << a << " " << b << endl;
		MakeG(i++, a, b);
	}
}

#include "Boblib.h"
#include <cassert>
#include <cstdio>
#include <iostream>
#include <vector>
#include <algorithm>
#include <array>
#define ll long long

using namespace std;

ll in[2000], F[2000];
bool B[2000], G[2000];
vector <ll> adj[2000];
vector <array<ll, 2> > V, X;
ll n, x, z, rt = 0;

void dfs(ll u, ll p, ll k) {
	for (auto v : adj[u]) {
		if (!G[v] && v != rt && v != z) {
			F[v] += k;
		}
	}
	for (auto v : adj[u]) {
		if (G[v] && v != p) dfs(v, u, (!k ? 1 : k*2));
	}
}
void Bob( int Z, int U, int C[], int D[] ){
	n = Z;
	V.clear();
	X.clear();
	for (int i=0; i<n; ++i) in[i] = B[i] = F[i] = G[i] = 0, adj[i].clear();
	for (int i=0; i<U; ++i) {
		++in[C[i]], ++in[D[i]];
		adj[C[i]].push_back(D[i]);
		adj[D[i]].push_back(C[i]);
	}
	x = 0;
	for (int i=0; i<n; ++i) {
		if (in[i] == 1) --x;
		if (in[i] == n-2) {
			rt = i;
		}
	}
	B[rt] = 1;
	for (auto v : adj[rt]) {
		B[v] = 1;
	}
	z = rt;
	for (int i=0; i<n; ++i) {
		if (!B[i]) {
			rt = i;
			break;
		}
	}
	x += Z-2-adj[rt].size();
	for (auto v : adj[rt]) {
		in[v] -= 2;
		//cout << v << " " << in[v] << endl;
		G[v] = 1;
	}
	for (auto v : adj[rt]) {
		if (in[v] == 1) {
			dfs(v, -1, 0);
			break;
		}
	}
	/*for (int i=0; i<n; ++i) {
		cout << F[i] << " ";
	}
	cout << endl;*/
	for (int i=0; i<U; ++i) {
		if (F[C[i]] && F[D[i]]) {
			//cout << F[C[i]]-1 << " " << F[D[i]]-1 << endl;
			V.push_back({F[C[i]]-1, F[D[i]]-1});
		}
	}
	InitMap(x, V.size());
	for (auto [a, b] : V) {
		MakeMap(a, b);
	}
}

Compilation message

Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:32:46: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   32 |  for (int i=0; i<n; ++i) in[i] = B[i] = F[i] = G[i] = 0, adj[i].clear();
      |                                         ~~~~~^~~~~~~~~~
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 15620 KB Output is correct
2 Correct 3 ms 15620 KB Output is correct
3 Correct 2 ms 15620 KB Output is correct
4 Correct 2 ms 13572 KB Output is correct
5 Correct 2 ms 15616 KB Output is correct
6 Correct 1 ms 15620 KB Output is correct
7 Correct 3 ms 15620 KB Output is correct
8 Correct 2 ms 15620 KB Output is correct
9 Correct 1 ms 15616 KB Output is correct
10 Correct 2 ms 13572 KB Output is correct
11 Correct 1 ms 15620 KB Output is correct
12 Correct 2 ms 15616 KB Output is correct
13 Correct 2 ms 15616 KB Output is correct
14 Correct 3 ms 15620 KB Output is correct
15 Correct 2 ms 15620 KB Output is correct
16 Correct 1 ms 15620 KB Output is correct
17 Correct 2 ms 15620 KB Output is correct
18 Correct 2 ms 15620 KB Output is correct
19 Correct 2 ms 15620 KB Output is correct
20 Correct 2 ms 15628 KB Output is correct
21 Correct 3 ms 15620 KB Output is correct
22 Correct 2 ms 15628 KB Output is correct
23 Correct 3 ms 15616 KB Output is correct
24 Correct 3 ms 13568 KB Output is correct
25 Correct 3 ms 15628 KB Output is correct
26 Correct 3 ms 15632 KB Output is correct
27 Correct 2 ms 15628 KB Output is correct
28 Correct 1 ms 15620 KB Output is correct
29 Correct 2 ms 15620 KB Output is correct
30 Correct 3 ms 13572 KB Output is correct
31 Correct 1 ms 13584 KB Output is correct
32 Correct 2 ms 13580 KB Output is correct
33 Correct 2 ms 13572 KB Output is correct
34 Correct 3 ms 13568 KB Output is correct
35 Correct 2 ms 13576 KB Output is correct
36 Correct 3 ms 15628 KB Output is correct
37 Correct 1 ms 15632 KB Output is correct
38 Correct 3 ms 15620 KB Output is correct
39 Correct 2 ms 15624 KB Output is correct
40 Correct 3 ms 15624 KB Output is correct
41 Correct 3 ms 15620 KB Output is correct
42 Correct 2 ms 15624 KB Output is correct
43 Correct 1 ms 15628 KB Output is correct
44 Correct 2 ms 13572 KB Output is correct
45 Correct 1 ms 13572 KB Output is correct
46 Correct 2 ms 15504 KB Output is correct
47 Correct 3 ms 15616 KB Output is correct
48 Correct 2 ms 15620 KB Output is correct
49 Correct 2 ms 15620 KB Output is correct
50 Correct 2 ms 13572 KB Output is correct
51 Correct 2 ms 13572 KB Output is correct
52 Correct 2 ms 15620 KB Output is correct
53 Correct 1 ms 13580 KB Output is correct
54 Correct 3 ms 15628 KB Output is correct
55 Correct 2 ms 15620 KB Output is correct
56 Correct 3 ms 15628 KB Output is correct
57 Correct 2 ms 15620 KB Output is correct
58 Correct 3 ms 15628 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 15620 KB Output is correct
2 Correct 3 ms 15620 KB Output is correct
3 Correct 2 ms 15620 KB Output is correct
4 Correct 2 ms 13572 KB Output is correct
5 Correct 2 ms 15616 KB Output is correct
6 Correct 1 ms 15620 KB Output is correct
7 Correct 3 ms 15620 KB Output is correct
8 Correct 2 ms 15620 KB Output is correct
9 Correct 1 ms 15616 KB Output is correct
10 Correct 2 ms 13572 KB Output is correct
11 Correct 1 ms 15620 KB Output is correct
12 Correct 2 ms 15616 KB Output is correct
13 Correct 2 ms 15616 KB Output is correct
14 Correct 3 ms 15620 KB Output is correct
15 Correct 2 ms 15620 KB Output is correct
16 Correct 1 ms 15620 KB Output is correct
17 Correct 2 ms 15620 KB Output is correct
18 Correct 2 ms 15620 KB Output is correct
19 Correct 2 ms 15620 KB Output is correct
20 Correct 2 ms 15628 KB Output is correct
21 Correct 3 ms 15620 KB Output is correct
22 Correct 2 ms 15628 KB Output is correct
23 Correct 3 ms 15616 KB Output is correct
24 Correct 3 ms 13568 KB Output is correct
25 Correct 3 ms 15628 KB Output is correct
26 Correct 3 ms 15632 KB Output is correct
27 Correct 2 ms 15628 KB Output is correct
28 Correct 1 ms 15620 KB Output is correct
29 Correct 2 ms 15620 KB Output is correct
30 Correct 3 ms 13572 KB Output is correct
31 Correct 1 ms 13584 KB Output is correct
32 Correct 2 ms 13580 KB Output is correct
33 Correct 2 ms 13572 KB Output is correct
34 Correct 3 ms 13568 KB Output is correct
35 Correct 2 ms 13576 KB Output is correct
36 Correct 3 ms 15628 KB Output is correct
37 Correct 1 ms 15632 KB Output is correct
38 Correct 3 ms 15620 KB Output is correct
39 Correct 2 ms 15624 KB Output is correct
40 Correct 3 ms 15624 KB Output is correct
41 Correct 3 ms 15620 KB Output is correct
42 Correct 2 ms 15624 KB Output is correct
43 Correct 1 ms 15628 KB Output is correct
44 Correct 2 ms 13572 KB Output is correct
45 Correct 1 ms 13572 KB Output is correct
46 Correct 2 ms 15504 KB Output is correct
47 Correct 3 ms 15616 KB Output is correct
48 Correct 2 ms 15620 KB Output is correct
49 Correct 2 ms 15620 KB Output is correct
50 Correct 2 ms 13572 KB Output is correct
51 Correct 2 ms 13572 KB Output is correct
52 Correct 2 ms 15620 KB Output is correct
53 Correct 1 ms 13580 KB Output is correct
54 Correct 3 ms 15628 KB Output is correct
55 Correct 2 ms 15620 KB Output is correct
56 Correct 3 ms 15628 KB Output is correct
57 Correct 2 ms 15620 KB Output is correct
58 Correct 3 ms 15628 KB Output is correct
59 Correct 3 ms 15616 KB Output is correct
60 Correct 3 ms 15620 KB Output is correct
61 Correct 3 ms 15620 KB Output is correct
62 Correct 3 ms 15628 KB Output is correct
63 Correct 2 ms 15616 KB Output is correct
64 Correct 3 ms 15628 KB Output is correct
65 Correct 3 ms 15624 KB Output is correct
66 Correct 2 ms 15620 KB Output is correct
67 Correct 3 ms 15628 KB Output is correct
68 Correct 3 ms 15628 KB Output is correct
69 Correct 3 ms 15612 KB Output is correct
70 Correct 3 ms 15620 KB Output is correct
71 Correct 3 ms 15608 KB Output is correct
72 Correct 3 ms 15620 KB Output is correct
73 Correct 2 ms 15616 KB Output is correct
74 Correct 2 ms 15620 KB Output is correct
75 Correct 2 ms 15620 KB Output is correct
76 Correct 2 ms 15616 KB Output is correct
77 Correct 2 ms 15620 KB Output is correct
78 Correct 2 ms 15620 KB Output is correct
79 Correct 3 ms 15620 KB Output is correct
80 Correct 3 ms 15620 KB Output is correct
81 Correct 2 ms 15508 KB Output is correct
82 Correct 2 ms 15620 KB Output is correct
83 Correct 2 ms 15632 KB Output is correct
84 Correct 3 ms 15616 KB Output is correct
85 Correct 2 ms 15620 KB Output is correct
86 Correct 3 ms 15620 KB Output is correct
87 Correct 2 ms 15620 KB Output is correct
88 Correct 3 ms 15620 KB Output is correct
89 Correct 2 ms 13572 KB Output is correct
90 Correct 2 ms 13572 KB Output is correct
91 Correct 2 ms 13568 KB Output is correct
92 Correct 2 ms 13576 KB Output is correct
93 Correct 2 ms 13572 KB Output is correct
94 Correct 3 ms 15628 KB Output is correct
95 Correct 3 ms 15620 KB Output is correct
96 Correct 3 ms 15632 KB Output is correct
97 Correct 3 ms 15620 KB Output is correct
98 Correct 3 ms 15620 KB Output is correct
99 Correct 3 ms 15620 KB Output is correct
100 Correct 2 ms 15620 KB Output is correct
101 Correct 3 ms 15620 KB Output is correct
102 Correct 3 ms 13572 KB Output is correct
103 Correct 2 ms 15620 KB Output is correct
104 Correct 3 ms 15616 KB Output is correct
105 Correct 2 ms 15620 KB Output is correct
106 Correct 3 ms 15620 KB Output is correct
107 Correct 1 ms 15620 KB Output is correct
108 Correct 2 ms 15620 KB Output is correct
109 Correct 3 ms 15500 KB Output is correct
110 Correct 2 ms 15620 KB Output is correct
111 Correct 3 ms 15624 KB Output is correct
112 Correct 2 ms 15596 KB Output is correct
113 Correct 2 ms 15620 KB Output is correct
114 Correct 3 ms 15592 KB Output is correct
115 Correct 2 ms 15620 KB Output is correct
116 Correct 1 ms 15616 KB Output is correct
117 Correct 2 ms 15620 KB Output is correct
118 Correct 2 ms 15620 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Partially correct 361 ms 51136 KB Output is partially correct : V - N = 13
2 Partially correct 308 ms 49812 KB Output is partially correct : V - N = 13
3 Partially correct 133 ms 28608 KB Output is partially correct : V - N = 13
4 Partially correct 7 ms 16020 KB Output is partially correct : V - N = 13
5 Partially correct 79 ms 21412 KB Output is partially correct : V - N = 13
6 Partially correct 277 ms 49956 KB Output is partially correct : V - N = 13
7 Partially correct 411 ms 50736 KB Output is partially correct : V - N = 13
8 Partially correct 323 ms 50576 KB Output is partially correct : V - N = 13
9 Partially correct 163 ms 28552 KB Output is partially correct : V - N = 13
10 Partially correct 17 ms 17412 KB Output is partially correct : V - N = 13
11 Partially correct 31 ms 18840 KB Output is partially correct : V - N = 13
12 Partially correct 194 ms 35768 KB Output is partially correct : V - N = 13
13 Partially correct 349 ms 49500 KB Output is partially correct : V - N = 13
14 Partially correct 364 ms 51472 KB Output is partially correct : V - N = 13
15 Partially correct 220 ms 44548 KB Output is partially correct : V - N = 13
16 Partially correct 49 ms 19604 KB Output is partially correct : V - N = 13
17 Partially correct 11 ms 16756 KB Output is partially correct : V - N = 13
18 Partially correct 138 ms 28796 KB Output is partially correct : V - N = 13
19 Partially correct 360 ms 50820 KB Output is partially correct : V - N = 13
20 Partially correct 382 ms 50800 KB Output is partially correct : V - N = 13
21 Correct 102 ms 24480 KB Output is correct : V - N = 12
22 Correct 89 ms 21648 KB Output is correct : V - N = 12
23 Partially correct 29 ms 18612 KB Output is partially correct : V - N = 13
24 Partially correct 4 ms 15616 KB Output is partially correct : V - N = 13
25 Partially correct 20 ms 17128 KB Output is partially correct : V - N = 13
26 Correct 60 ms 21592 KB Output is correct : V - N = 12
27 Correct 97 ms 22164 KB Output is correct : V - N = 12
28 Partially correct 88 ms 22164 KB Output is partially correct : V - N = 13
29 Partially correct 45 ms 18848 KB Output is partially correct : V - N = 13
30 Correct 6 ms 16388 KB Output is correct : V - N = 12
31 Partially correct 5 ms 14108 KB Output is partially correct : V - N = 13
32 Partially correct 4 ms 14108 KB Output is partially correct : V - N = 13
33 Partially correct 6 ms 14096 KB Output is partially correct : V - N = 13
34 Partially correct 6 ms 14096 KB Output is partially correct : V - N = 13
35 Partially correct 5 ms 13824 KB Output is partially correct : V - N = 13
36 Partially correct 449 ms 50968 KB Output is partially correct : V - N = 13
37 Partially correct 411 ms 51664 KB Output is partially correct : V - N = 13
38 Partially correct 343 ms 51320 KB Output is partially correct : V - N = 13
39 Partially correct 338 ms 51276 KB Output is partially correct : V - N = 13
40 Partially correct 427 ms 52344 KB Output is partially correct : V - N = 13
41 Partially correct 72 ms 21396 KB Output is partially correct : V - N = 13
42 Partially correct 54 ms 19936 KB Output is partially correct : V - N = 13
43 Partially correct 81 ms 21388 KB Output is partially correct : V - N = 13
44 Partially correct 6 ms 16144 KB Output is partially correct : V - N = 13
45 Partially correct 50 ms 18836 KB Output is partially correct : V - N = 13
46 Partially correct 158 ms 29076 KB Output is partially correct : V - N = 13
47 Partially correct 65 ms 21392 KB Output is partially correct : V - N = 13
48 Partially correct 157 ms 29280 KB Output is partially correct : V - N = 13
49 Partially correct 31 ms 18352 KB Output is partially correct : V - N = 13
50 Partially correct 10 ms 16780 KB Output is partially correct : V - N = 13
51 Partially correct 310 ms 51136 KB Output is partially correct : V - N = 13
52 Partially correct 9 ms 16128 KB Output is partially correct : V - N = 13
53 Partially correct 229 ms 49440 KB Output is partially correct : V - N = 13
54 Partially correct 276 ms 50012 KB Output is partially correct : V - N = 13
55 Partially correct 18 ms 17064 KB Output is partially correct : V - N = 13
56 Partially correct 193 ms 34992 KB Output is partially correct : V - N = 13
57 Partially correct 332 ms 49864 KB Output is partially correct : V - N = 13
58 Partially correct 51 ms 19404 KB Output is partially correct : V - N = 13
59 Partially correct 146 ms 27284 KB Output is partially correct : V - N = 13
60 Partially correct 383 ms 50788 KB Output is partially correct : V - N = 13
61 Correct 2 ms 15620 KB Output is correct : V - N = 9
62 Correct 3 ms 15620 KB Output is correct : V - N = 9
63 Correct 2 ms 15616 KB Output is correct : V - N = 9
64 Correct 2 ms 15616 KB Output is correct : V - N = 9
65 Correct 2 ms 15620 KB Output is correct : V - N = 9
66 Correct 3 ms 15616 KB Output is correct : V - N = 9
67 Correct 3 ms 15628 KB Output is correct : V - N = 9
68 Correct 3 ms 15620 KB Output is correct : V - N = 9
69 Correct 2 ms 15616 KB Output is correct : V - N = 9
70 Correct 3 ms 15616 KB Output is correct : V - N = 9
71 Correct 2 ms 15616 KB Output is correct : V - N = 9
72 Correct 2 ms 15620 KB Output is correct : V - N = 9
73 Correct 2 ms 15620 KB Output is correct : V - N = 9
74 Correct 3 ms 15456 KB Output is correct : V - N = 9
75 Correct 3 ms 15616 KB Output is correct : V - N = 9
76 Correct 2 ms 15616 KB Output is correct : V - N = 9
77 Correct 3 ms 15620 KB Output is correct : V - N = 9
78 Correct 3 ms 15628 KB Output is correct : V - N = 9
79 Correct 2 ms 15616 KB Output is correct : V - N = 9
80 Correct 3 ms 15620 KB Output is correct : V - N = 9
81 Correct 2 ms 15620 KB Output is correct : V - N = 8
82 Correct 2 ms 15612 KB Output is correct : V - N = 8
83 Correct 3 ms 15620 KB Output is correct : V - N = 9
84 Correct 3 ms 15620 KB Output is correct : V - N = 9
85 Correct 2 ms 15616 KB Output is correct : V - N = 9
86 Correct 3 ms 15620 KB Output is correct : V - N = 9
87 Correct 3 ms 15620 KB Output is correct : V - N = 9
88 Correct 3 ms 15616 KB Output is correct : V - N = 9
89 Correct 3 ms 15868 KB Output is correct : V - N = 9
90 Correct 2 ms 15620 KB Output is correct : V - N = 9
91 Correct 2 ms 13568 KB Output is correct : V - N = 9
92 Correct 2 ms 13572 KB Output is correct : V - N = 9
93 Correct 2 ms 13568 KB Output is correct : V - N = 9
94 Correct 3 ms 13820 KB Output is correct : V - N = 9
95 Correct 1 ms 13568 KB Output is correct : V - N = 9
96 Correct 3 ms 15624 KB Output is correct : V - N = 9
97 Correct 3 ms 15620 KB Output is correct : V - N = 9
98 Correct 3 ms 15616 KB Output is correct : V - N = 9
99 Correct 3 ms 15616 KB Output is correct : V - N = 9
100 Correct 3 ms 15616 KB Output is correct : V - N = 9
101 Correct 2 ms 15620 KB Output is correct : V - N = 9
102 Correct 2 ms 15620 KB Output is correct : V - N = 9
103 Correct 2 ms 15620 KB Output is correct : V - N = 9
104 Correct 2 ms 13572 KB Output is correct : V - N = 9
105 Correct 2 ms 15616 KB Output is correct : V - N = 9
106 Correct 2 ms 15616 KB Output is correct : V - N = 9
107 Correct 2 ms 15616 KB Output is correct : V - N = 9
108 Correct 2 ms 15616 KB Output is correct : V - N = 9
109 Correct 3 ms 15616 KB Output is correct : V - N = 9
110 Correct 3 ms 15616 KB Output is correct : V - N = 9
111 Correct 2 ms 15620 KB Output is correct : V - N = 9
112 Correct 2 ms 15472 KB Output is correct : V - N = 8
113 Correct 3 ms 15620 KB Output is correct : V - N = 8
114 Correct 2 ms 15620 KB Output is correct : V - N = 8
115 Correct 3 ms 15624 KB Output is correct : V - N = 8
116 Correct 2 ms 15620 KB Output is correct : V - N = 8
117 Correct 3 ms 15620 KB Output is correct : V - N = 9
118 Correct 2 ms 15620 KB Output is correct : V - N = 8
119 Correct 3 ms 15616 KB Output is correct : V - N = 9
120 Correct 3 ms 15620 KB Output is correct : V - N = 8
121 Correct 3 ms 15620 KB Output is correct : V - N = 7
122 Correct 2 ms 15612 KB Output is correct : V - N = 7
123 Correct 2 ms 15612 KB Output is correct : V - N = 7
124 Correct 1 ms 13580 KB Output is correct : V - N = 7
125 Correct 2 ms 15616 KB Output is correct : V - N = 7
126 Correct 3 ms 15620 KB Output is correct : V - N = 7
127 Correct 2 ms 15620 KB Output is correct : V - N = 7
128 Correct 3 ms 15616 KB Output is correct : V - N = 7
129 Correct 2 ms 15620 KB Output is correct : V - N = 7
130 Correct 2 ms 13572 KB Output is correct : V - N = 7
131 Correct 3 ms 15628 KB Output is correct : V - N = 7
132 Correct 3 ms 15620 KB Output is correct : V - N = 7
133 Correct 2 ms 15620 KB Output is correct : V - N = 7
134 Correct 2 ms 15620 KB Output is correct : V - N = 7
135 Correct 2 ms 15616 KB Output is correct : V - N = 7
136 Correct 2 ms 15620 KB Output is correct : V - N = 7
137 Correct 2 ms 15620 KB Output is correct : V - N = 7
138 Correct 2 ms 15616 KB Output is correct : V - N = 7
139 Correct 2 ms 15616 KB Output is correct : V - N = 7
140 Correct 3 ms 15620 KB Output is correct : V - N = 7
141 Correct 3 ms 15628 KB Output is correct : V - N = 11
142 Correct 3 ms 15620 KB Output is correct : V - N = 11
143 Correct 2 ms 15620 KB Output is correct : V - N = 11
144 Correct 3 ms 13568 KB Output is correct : V - N = 10
145 Correct 2 ms 15620 KB Output is correct : V - N = 10
146 Correct 3 ms 15616 KB Output is correct : V - N = 10
147 Correct 2 ms 15616 KB Output is correct : V - N = 10
148 Correct 1 ms 15616 KB Output is correct : V - N = 11
149 Correct 2 ms 15616 KB Output is correct : V - N = 11
150 Correct 3 ms 13580 KB Output is correct : V - N = 11
151 Correct 3 ms 13572 KB Output is correct : V - N = 7
152 Correct 3 ms 13568 KB Output is correct : V - N = 7
153 Correct 2 ms 13576 KB Output is correct : V - N = 7
154 Correct 1 ms 13568 KB Output is correct : V - N = 7
155 Correct 3 ms 13572 KB Output is correct : V - N = 7
156 Correct 3 ms 15620 KB Output is correct : V - N = 7
157 Correct 3 ms 15616 KB Output is correct : V - N = 7
158 Correct 1 ms 15620 KB Output is correct : V - N = 7
159 Correct 3 ms 15620 KB Output is correct : V - N = 7
160 Correct 2 ms 15616 KB Output is correct : V - N = 7
161 Correct 2 ms 15616 KB Output is correct : V - N = 7
162 Correct 3 ms 15620 KB Output is correct : V - N = 7
163 Correct 2 ms 15804 KB Output is correct : V - N = 7
164 Correct 2 ms 13568 KB Output is correct : V - N = 7
165 Correct 3 ms 13572 KB Output is correct : V - N = 7
166 Correct 3 ms 15580 KB Output is correct : V - N = 7
167 Correct 3 ms 15620 KB Output is correct : V - N = 7
168 Correct 2 ms 15620 KB Output is correct : V - N = 7
169 Correct 3 ms 15620 KB Output is correct : V - N = 7
170 Correct 2 ms 13568 KB Output is correct : V - N = 7
171 Correct 2 ms 13568 KB Output is correct : V - N = 8
172 Correct 2 ms 15612 KB Output is correct : V - N = 9
173 Correct 3 ms 13572 KB Output is correct : V - N = 9
174 Correct 2 ms 15628 KB Output is correct : V - N = 9
175 Correct 3 ms 15620 KB Output is correct : V - N = 9
176 Correct 2 ms 15684 KB Output is correct : V - N = 10
177 Correct 3 ms 15620 KB Output is correct : V - N = 10
178 Correct 3 ms 15616 KB Output is correct : V - N = 10