Submission #648793

# Submission time Handle Problem Language Result Execution time Memory
648793 2022-10-08T10:30:35 Z Johann Airline Route Map (JOI18_airline) C++14
100 / 100
735 ms 21392 KB
#include "Alicelib.h"
#include <cassert>
#include <cstdio>

#include "bits/stdc++.h"
using namespace std;

typedef pair<int, int> pii;
typedef vector<pii> vpii;
#define sz(x) (int)(x).size()

void Alice(int N, int M, int A[], int B[])
{
	vpii edges;
	// Knoten sind 1 Indiziert...
	// von Z := 0 zu allen Knoten von G
	for (int i = 1; i <= N; ++i)
		edges.push_back({0, i});
	// Zwischen den Count Bits
	for (int b = 0; b + 1 < 10; ++b)
		edges.push_back({N + b + 1, N + b + 2});
	// Kontrollbit K = N+11 zu Z = 0
	edges.push_back({0, N + 11});
	// für alle anderen Knoten im Graph:
	for (int v = 1; v <= N; ++v)
		for (int b = 0; b < 10; ++b)
			if (v & (1 << b))
				edges.push_back({v, N + b + 1});
	// Ausfüllen
	InitG(N + 12, M + sz(edges));
	int idx = 0;
	for (int i = 0; i < M; ++i)
		MakeG(idx++, A[i] + 1, B[i] + 1);
	for (pii e : edges)
		MakeG(idx++, e.first, e.second);
}
#include "Boblib.h"
#include <cassert>
#include <cstdio>

#include "bits/stdc++.h"
using namespace std;

typedef pair<int, int> pii;
typedef vector<pii> vpii;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<bool> vb;
#define sz(x) (int)(x).size()

void dfs(vvi &adj, int v, vi &countBits, vi &rename)
{
	rename[v] = -2;
	countBits.push_back(v);
	for (int u : adj[v])
	{
		if (rename[u] == -1)
			dfs(adj, u, countBits, rename);
	}
}

void Bob(int V, int U, int C[], int D[])
{
	vvi adj(V);
	for (int i = 0; i < U; ++i)
		adj[C[i]].push_back(D[i]), adj[D[i]].push_back(C[i]);

	int k = -1;
	for (int v = 0; v < V; ++v)
		if (sz(adj[v]) == 1 && sz(adj[adj[v][0]]) == V - 11)
			// es kann maximal zwei Kandidaten sz(adj[v]) == 1 geben (k und cnt_9)
			k = v;
	int z = adj[k][0];

	vi rename(V, -1);
	for (int x : adj[z])
		rename[x] = 0;			// alle Normalen Knoten und k werden mit 0 bennant
	rename[k] = rename[z] = -2; // k wieder extra Rolle

	pii cnt0 = {-1, -1}; // { degree , node }
	for (int v = 0; v < V; ++v)
		if (rename[v] == -1) // alle Count Bits
		{
			int neighbors = 0;
			for (int x : adj[v])
				if (rename[x] == -1)
					++neighbors;
			if (neighbors == 1)
				cnt0 = max(cnt0, {sz(adj[v]), v});
		}
	vi countBits;
	dfs(adj, cnt0.second, countBits, rename);

	for (int b = 0; b < 10; ++b)
	{
		for (int v : adj[countBits[b]])
			if (rename[v] >= 0)
				rename[v] += (1 << b);
	}

	int M = 0;
	for (int v = 0; v < V; ++v)
		// Alle Kanten zwischen den Kontrollknoten und den Normalen werden enternt
		M += sz(adj[v]) * ((rename[v] >= 0) ? 1 : -1);
	M /= 2;
	M += 1 + 9; // Kanten zwischen den Knotrollknoten, müssen noch addiert werden.
	InitMap(V - 12, M);
	for (int v = 0; v < V; ++v)
	{
		if (rename[v] < 0)
			continue;
		for (int u : adj[v])
			if (rename[u] >= 0 && rename[v] > rename[u])
				MakeMap(rename[v] - 1, rename[u] - 1);
	}
}
# Verdict Execution time Memory Grader output
1 Correct 3 ms 4612 KB Output is correct
2 Correct 3 ms 4620 KB Output is correct
3 Correct 3 ms 4676 KB Output is correct
4 Correct 3 ms 4512 KB Output is correct
5 Correct 3 ms 4516 KB Output is correct
6 Correct 3 ms 4612 KB Output is correct
7 Correct 3 ms 4608 KB Output is correct
8 Correct 3 ms 4612 KB Output is correct
9 Correct 3 ms 4608 KB Output is correct
10 Correct 3 ms 4608 KB Output is correct
11 Correct 2 ms 4612 KB Output is correct
12 Correct 3 ms 4540 KB Output is correct
13 Correct 3 ms 4608 KB Output is correct
14 Correct 3 ms 4516 KB Output is correct
15 Correct 3 ms 4516 KB Output is correct
16 Correct 3 ms 4612 KB Output is correct
17 Correct 3 ms 4612 KB Output is correct
18 Correct 2 ms 4612 KB Output is correct
19 Correct 3 ms 4612 KB Output is correct
20 Correct 3 ms 4612 KB Output is correct
21 Correct 3 ms 4592 KB Output is correct
22 Correct 3 ms 4612 KB Output is correct
23 Correct 3 ms 4612 KB Output is correct
24 Correct 3 ms 4608 KB Output is correct
25 Correct 3 ms 4588 KB Output is correct
26 Correct 3 ms 4512 KB Output is correct
27 Correct 3 ms 4612 KB Output is correct
28 Correct 3 ms 4620 KB Output is correct
29 Correct 3 ms 4608 KB Output is correct
30 Correct 3 ms 4608 KB Output is correct
31 Correct 3 ms 4608 KB Output is correct
32 Correct 4 ms 4608 KB Output is correct
33 Correct 4 ms 4588 KB Output is correct
34 Correct 3 ms 4608 KB Output is correct
35 Correct 3 ms 4516 KB Output is correct
36 Correct 3 ms 4512 KB Output is correct
37 Correct 3 ms 4624 KB Output is correct
38 Correct 3 ms 4516 KB Output is correct
39 Correct 3 ms 4612 KB Output is correct
40 Correct 3 ms 4604 KB Output is correct
41 Correct 3 ms 4516 KB Output is correct
42 Correct 4 ms 4612 KB Output is correct
43 Correct 3 ms 4592 KB Output is correct
44 Correct 3 ms 4584 KB Output is correct
45 Correct 3 ms 4604 KB Output is correct
46 Correct 3 ms 4588 KB Output is correct
47 Correct 3 ms 4540 KB Output is correct
48 Correct 3 ms 4612 KB Output is correct
49 Correct 3 ms 4528 KB Output is correct
50 Correct 4 ms 4552 KB Output is correct
51 Correct 3 ms 4528 KB Output is correct
52 Correct 3 ms 4612 KB Output is correct
53 Correct 3 ms 4604 KB Output is correct
54 Correct 3 ms 4528 KB Output is correct
55 Correct 3 ms 4608 KB Output is correct
56 Correct 3 ms 4620 KB Output is correct
57 Correct 3 ms 4516 KB Output is correct
58 Correct 3 ms 4612 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 3 ms 4612 KB Output is correct
2 Correct 3 ms 4620 KB Output is correct
3 Correct 3 ms 4676 KB Output is correct
4 Correct 3 ms 4512 KB Output is correct
5 Correct 3 ms 4516 KB Output is correct
6 Correct 3 ms 4612 KB Output is correct
7 Correct 3 ms 4608 KB Output is correct
8 Correct 3 ms 4612 KB Output is correct
9 Correct 3 ms 4608 KB Output is correct
10 Correct 3 ms 4608 KB Output is correct
11 Correct 2 ms 4612 KB Output is correct
12 Correct 3 ms 4540 KB Output is correct
13 Correct 3 ms 4608 KB Output is correct
14 Correct 3 ms 4516 KB Output is correct
15 Correct 3 ms 4516 KB Output is correct
16 Correct 3 ms 4612 KB Output is correct
17 Correct 3 ms 4612 KB Output is correct
18 Correct 2 ms 4612 KB Output is correct
19 Correct 3 ms 4612 KB Output is correct
20 Correct 3 ms 4612 KB Output is correct
21 Correct 3 ms 4592 KB Output is correct
22 Correct 3 ms 4612 KB Output is correct
23 Correct 3 ms 4612 KB Output is correct
24 Correct 3 ms 4608 KB Output is correct
25 Correct 3 ms 4588 KB Output is correct
26 Correct 3 ms 4512 KB Output is correct
27 Correct 3 ms 4612 KB Output is correct
28 Correct 3 ms 4620 KB Output is correct
29 Correct 3 ms 4608 KB Output is correct
30 Correct 3 ms 4608 KB Output is correct
31 Correct 3 ms 4608 KB Output is correct
32 Correct 4 ms 4608 KB Output is correct
33 Correct 4 ms 4588 KB Output is correct
34 Correct 3 ms 4608 KB Output is correct
35 Correct 3 ms 4516 KB Output is correct
36 Correct 3 ms 4512 KB Output is correct
37 Correct 3 ms 4624 KB Output is correct
38 Correct 3 ms 4516 KB Output is correct
39 Correct 3 ms 4612 KB Output is correct
40 Correct 3 ms 4604 KB Output is correct
41 Correct 3 ms 4516 KB Output is correct
42 Correct 4 ms 4612 KB Output is correct
43 Correct 3 ms 4592 KB Output is correct
44 Correct 3 ms 4584 KB Output is correct
45 Correct 3 ms 4604 KB Output is correct
46 Correct 3 ms 4588 KB Output is correct
47 Correct 3 ms 4540 KB Output is correct
48 Correct 3 ms 4612 KB Output is correct
49 Correct 3 ms 4528 KB Output is correct
50 Correct 4 ms 4552 KB Output is correct
51 Correct 3 ms 4528 KB Output is correct
52 Correct 3 ms 4612 KB Output is correct
53 Correct 3 ms 4604 KB Output is correct
54 Correct 3 ms 4528 KB Output is correct
55 Correct 3 ms 4608 KB Output is correct
56 Correct 3 ms 4620 KB Output is correct
57 Correct 3 ms 4516 KB Output is correct
58 Correct 3 ms 4612 KB Output is correct
59 Correct 4 ms 4584 KB Output is correct
60 Correct 4 ms 4560 KB Output is correct
61 Correct 4 ms 4536 KB Output is correct
62 Correct 3 ms 4620 KB Output is correct
63 Correct 3 ms 4516 KB Output is correct
64 Correct 3 ms 4684 KB Output is correct
65 Correct 3 ms 4612 KB Output is correct
66 Correct 5 ms 4568 KB Output is correct
67 Correct 3 ms 4540 KB Output is correct
68 Correct 4 ms 4612 KB Output is correct
69 Correct 3 ms 4608 KB Output is correct
70 Correct 3 ms 4740 KB Output is correct
71 Correct 3 ms 4612 KB Output is correct
72 Correct 3 ms 4612 KB Output is correct
73 Correct 3 ms 4612 KB Output is correct
74 Correct 3 ms 4612 KB Output is correct
75 Correct 3 ms 4612 KB Output is correct
76 Correct 4 ms 4620 KB Output is correct
77 Correct 3 ms 4624 KB Output is correct
78 Correct 4 ms 4512 KB Output is correct
79 Correct 3 ms 4716 KB Output is correct
80 Correct 3 ms 4512 KB Output is correct
81 Correct 3 ms 4512 KB Output is correct
82 Correct 3 ms 4612 KB Output is correct
83 Correct 3 ms 4620 KB Output is correct
84 Correct 3 ms 4600 KB Output is correct
85 Correct 3 ms 4612 KB Output is correct
86 Correct 3 ms 4616 KB Output is correct
87 Correct 3 ms 4612 KB Output is correct
88 Correct 3 ms 4620 KB Output is correct
89 Correct 3 ms 4616 KB Output is correct
90 Correct 3 ms 4540 KB Output is correct
91 Correct 3 ms 4616 KB Output is correct
92 Correct 3 ms 4616 KB Output is correct
93 Correct 3 ms 4604 KB Output is correct
94 Correct 3 ms 4680 KB Output is correct
95 Correct 3 ms 4560 KB Output is correct
96 Correct 3 ms 4748 KB Output is correct
97 Correct 3 ms 4600 KB Output is correct
98 Correct 3 ms 4740 KB Output is correct
99 Correct 3 ms 4632 KB Output is correct
100 Correct 3 ms 4540 KB Output is correct
101 Correct 3 ms 4612 KB Output is correct
102 Correct 4 ms 4672 KB Output is correct
103 Correct 3 ms 4612 KB Output is correct
104 Correct 3 ms 4612 KB Output is correct
105 Correct 3 ms 4624 KB Output is correct
106 Correct 3 ms 4540 KB Output is correct
107 Correct 3 ms 4540 KB Output is correct
108 Correct 3 ms 4620 KB Output is correct
109 Correct 3 ms 4612 KB Output is correct
110 Correct 3 ms 4592 KB Output is correct
111 Correct 3 ms 4684 KB Output is correct
112 Correct 3 ms 4620 KB Output is correct
113 Correct 3 ms 4608 KB Output is correct
114 Correct 3 ms 4612 KB Output is correct
115 Correct 3 ms 4620 KB Output is correct
116 Correct 3 ms 4620 KB Output is correct
117 Correct 3 ms 4592 KB Output is correct
118 Correct 3 ms 4612 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 670 ms 21116 KB Output is correct : V - N = 12
2 Correct 553 ms 18564 KB Output is correct : V - N = 12
3 Correct 227 ms 10532 KB Output is correct : V - N = 12
4 Correct 8 ms 5124 KB Output is correct : V - N = 12
5 Correct 97 ms 8168 KB Output is correct : V - N = 12
6 Correct 468 ms 16880 KB Output is correct : V - N = 12
7 Correct 636 ms 21008 KB Output is correct : V - N = 12
8 Correct 614 ms 19596 KB Output is correct : V - N = 12
9 Correct 220 ms 12120 KB Output is correct : V - N = 12
10 Correct 33 ms 5780 KB Output is correct : V - N = 12
11 Correct 48 ms 6468 KB Output is correct : V - N = 12
12 Correct 311 ms 14096 KB Output is correct : V - N = 12
13 Correct 610 ms 20208 KB Output is correct : V - N = 12
14 Correct 717 ms 20708 KB Output is correct : V - N = 12
15 Correct 473 ms 16004 KB Output is correct : V - N = 12
16 Correct 78 ms 7292 KB Output is correct : V - N = 12
17 Correct 15 ms 5448 KB Output is correct : V - N = 12
18 Correct 190 ms 11472 KB Output is correct : V - N = 12
19 Correct 698 ms 19040 KB Output is correct : V - N = 12
20 Correct 585 ms 21096 KB Output is correct : V - N = 12
21 Correct 160 ms 10092 KB Output is correct : V - N = 12
22 Correct 104 ms 8348 KB Output is correct : V - N = 12
23 Correct 50 ms 6256 KB Output is correct : V - N = 12
24 Correct 4 ms 4868 KB Output is correct : V - N = 12
25 Correct 37 ms 5704 KB Output is correct : V - N = 12
26 Correct 85 ms 7964 KB Output is correct : V - N = 12
27 Correct 158 ms 9028 KB Output is correct : V - N = 12
28 Correct 121 ms 8720 KB Output is correct : V - N = 12
29 Correct 87 ms 6760 KB Output is correct : V - N = 12
30 Correct 7 ms 5144 KB Output is correct : V - N = 12
31 Correct 6 ms 5048 KB Output is correct : V - N = 12
32 Correct 7 ms 5024 KB Output is correct : V - N = 12
33 Correct 8 ms 4992 KB Output is correct : V - N = 12
34 Correct 7 ms 5052 KB Output is correct : V - N = 12
35 Correct 7 ms 5120 KB Output is correct : V - N = 12
36 Correct 627 ms 21076 KB Output is correct : V - N = 12
37 Correct 704 ms 21176 KB Output is correct : V - N = 12
38 Correct 735 ms 21176 KB Output is correct : V - N = 12
39 Correct 589 ms 21340 KB Output is correct : V - N = 12
40 Correct 628 ms 21392 KB Output is correct : V - N = 12
41 Correct 138 ms 8096 KB Output is correct : V - N = 12
42 Correct 107 ms 7500 KB Output is correct : V - N = 12
43 Correct 81 ms 7876 KB Output is correct : V - N = 12
44 Correct 7 ms 5124 KB Output is correct : V - N = 12
45 Correct 70 ms 6624 KB Output is correct : V - N = 12
46 Correct 199 ms 10904 KB Output is correct : V - N = 12
47 Correct 100 ms 8072 KB Output is correct : V - N = 12
48 Correct 295 ms 12428 KB Output is correct : V - N = 12
49 Correct 45 ms 6432 KB Output is correct : V - N = 12
50 Correct 20 ms 5524 KB Output is correct : V - N = 12
51 Correct 432 ms 18532 KB Output is correct : V - N = 12
52 Correct 8 ms 5132 KB Output is correct : V - N = 12
53 Correct 342 ms 16848 KB Output is correct : V - N = 12
54 Correct 458 ms 19528 KB Output is correct : V - N = 12
55 Correct 34 ms 5808 KB Output is correct : V - N = 12
56 Correct 385 ms 13584 KB Output is correct : V - N = 12
57 Correct 719 ms 20176 KB Output is correct : V - N = 12
58 Correct 82 ms 7152 KB Output is correct : V - N = 12
59 Correct 215 ms 11296 KB Output is correct : V - N = 12
60 Correct 547 ms 20760 KB Output is correct : V - N = 12
61 Correct 3 ms 4608 KB Output is correct : V - N = 12
62 Correct 3 ms 4612 KB Output is correct : V - N = 12
63 Correct 3 ms 4612 KB Output is correct : V - N = 12
64 Correct 3 ms 4608 KB Output is correct : V - N = 12
65 Correct 3 ms 4616 KB Output is correct : V - N = 12
66 Correct 3 ms 4620 KB Output is correct : V - N = 12
67 Correct 3 ms 4636 KB Output is correct : V - N = 12
68 Correct 4 ms 4840 KB Output is correct : V - N = 12
69 Correct 3 ms 4644 KB Output is correct : V - N = 12
70 Correct 3 ms 4536 KB Output is correct : V - N = 12
71 Correct 3 ms 4644 KB Output is correct : V - N = 12
72 Correct 3 ms 4540 KB Output is correct : V - N = 12
73 Correct 3 ms 4636 KB Output is correct : V - N = 12
74 Correct 3 ms 4600 KB Output is correct : V - N = 12
75 Correct 3 ms 4516 KB Output is correct : V - N = 12
76 Correct 3 ms 4540 KB Output is correct : V - N = 12
77 Correct 3 ms 4620 KB Output is correct : V - N = 12
78 Correct 3 ms 4612 KB Output is correct : V - N = 12
79 Correct 3 ms 4612 KB Output is correct : V - N = 12
80 Correct 3 ms 4740 KB Output is correct : V - N = 12
81 Correct 3 ms 4612 KB Output is correct : V - N = 12
82 Correct 3 ms 4624 KB Output is correct : V - N = 12
83 Correct 2 ms 4620 KB Output is correct : V - N = 12
84 Correct 2 ms 4612 KB Output is correct : V - N = 12
85 Correct 2 ms 4620 KB Output is correct : V - N = 12
86 Correct 2 ms 4612 KB Output is correct : V - N = 12
87 Correct 2 ms 4612 KB Output is correct : V - N = 12
88 Correct 3 ms 4612 KB Output is correct : V - N = 12
89 Correct 3 ms 4620 KB Output is correct : V - N = 12
90 Correct 2 ms 4592 KB Output is correct : V - N = 12
91 Correct 2 ms 4608 KB Output is correct : V - N = 12
92 Correct 3 ms 4608 KB Output is correct : V - N = 12
93 Correct 3 ms 4604 KB Output is correct : V - N = 12
94 Correct 3 ms 4552 KB Output is correct : V - N = 12
95 Correct 3 ms 4608 KB Output is correct : V - N = 12
96 Correct 3 ms 4620 KB Output is correct : V - N = 12
97 Correct 3 ms 4620 KB Output is correct : V - N = 12
98 Correct 3 ms 4620 KB Output is correct : V - N = 12
99 Correct 4 ms 4724 KB Output is correct : V - N = 12
100 Correct 3 ms 4608 KB Output is correct : V - N = 12
101 Correct 4 ms 4640 KB Output is correct : V - N = 12
102 Correct 2 ms 4636 KB Output is correct : V - N = 12
103 Correct 3 ms 4628 KB Output is correct : V - N = 12
104 Correct 3 ms 4616 KB Output is correct : V - N = 12
105 Correct 2 ms 4592 KB Output is correct : V - N = 12
106 Correct 3 ms 4636 KB Output is correct : V - N = 12
107 Correct 3 ms 4636 KB Output is correct : V - N = 12
108 Correct 3 ms 4636 KB Output is correct : V - N = 12
109 Correct 3 ms 4636 KB Output is correct : V - N = 12
110 Correct 3 ms 4732 KB Output is correct : V - N = 12
111 Correct 3 ms 4540 KB Output is correct : V - N = 12
112 Correct 3 ms 4636 KB Output is correct : V - N = 12
113 Correct 3 ms 4636 KB Output is correct : V - N = 12
114 Correct 3 ms 4620 KB Output is correct : V - N = 12
115 Correct 3 ms 4552 KB Output is correct : V - N = 12
116 Correct 3 ms 4644 KB Output is correct : V - N = 12
117 Correct 3 ms 4620 KB Output is correct : V - N = 12
118 Correct 3 ms 4612 KB Output is correct : V - N = 12
119 Correct 3 ms 4540 KB Output is correct : V - N = 12
120 Correct 3 ms 4612 KB Output is correct : V - N = 12
121 Correct 3 ms 4612 KB Output is correct : V - N = 12
122 Correct 2 ms 4612 KB Output is correct : V - N = 12
123 Correct 5 ms 4612 KB Output is correct : V - N = 12
124 Correct 3 ms 4552 KB Output is correct : V - N = 12
125 Correct 3 ms 4612 KB Output is correct : V - N = 12
126 Correct 3 ms 4584 KB Output is correct : V - N = 12
127 Correct 3 ms 4588 KB Output is correct : V - N = 12
128 Correct 3 ms 4588 KB Output is correct : V - N = 12
129 Correct 3 ms 4612 KB Output is correct : V - N = 12
130 Correct 3 ms 4540 KB Output is correct : V - N = 12
131 Correct 3 ms 4612 KB Output is correct : V - N = 12
132 Correct 3 ms 4612 KB Output is correct : V - N = 12
133 Correct 3 ms 4612 KB Output is correct : V - N = 12
134 Correct 3 ms 4604 KB Output is correct : V - N = 12
135 Correct 3 ms 4620 KB Output is correct : V - N = 12
136 Correct 3 ms 4620 KB Output is correct : V - N = 12
137 Correct 3 ms 4612 KB Output is correct : V - N = 12
138 Correct 3 ms 4512 KB Output is correct : V - N = 12
139 Correct 3 ms 4612 KB Output is correct : V - N = 12
140 Correct 3 ms 4552 KB Output is correct : V - N = 12
141 Correct 3 ms 4612 KB Output is correct : V - N = 12
142 Correct 3 ms 4612 KB Output is correct : V - N = 12
143 Correct 3 ms 4480 KB Output is correct : V - N = 12
144 Correct 3 ms 4628 KB Output is correct : V - N = 12
145 Correct 2 ms 4612 KB Output is correct : V - N = 12
146 Correct 3 ms 4612 KB Output is correct : V - N = 12
147 Correct 3 ms 4632 KB Output is correct : V - N = 12
148 Correct 3 ms 4620 KB Output is correct : V - N = 12
149 Correct 2 ms 4616 KB Output is correct : V - N = 12
150 Correct 3 ms 4524 KB Output is correct : V - N = 12
151 Correct 2 ms 4608 KB Output is correct : V - N = 12
152 Correct 3 ms 4584 KB Output is correct : V - N = 12
153 Correct 3 ms 4588 KB Output is correct : V - N = 12
154 Correct 2 ms 4608 KB Output is correct : V - N = 12
155 Correct 3 ms 4608 KB Output is correct : V - N = 12
156 Correct 3 ms 4612 KB Output is correct : V - N = 12
157 Correct 3 ms 4616 KB Output is correct : V - N = 12
158 Correct 3 ms 4540 KB Output is correct : V - N = 12
159 Correct 3 ms 4608 KB Output is correct : V - N = 12
160 Correct 2 ms 4620 KB Output is correct : V - N = 12
161 Correct 3 ms 4620 KB Output is correct : V - N = 12
162 Correct 3 ms 4624 KB Output is correct : V - N = 12
163 Correct 3 ms 4612 KB Output is correct : V - N = 12
164 Correct 3 ms 4608 KB Output is correct : V - N = 12
165 Correct 3 ms 4620 KB Output is correct : V - N = 12
166 Correct 3 ms 4612 KB Output is correct : V - N = 12
167 Correct 3 ms 4612 KB Output is correct : V - N = 12
168 Correct 3 ms 4620 KB Output is correct : V - N = 12
169 Correct 3 ms 4612 KB Output is correct : V - N = 12
170 Correct 3 ms 4612 KB Output is correct : V - N = 12
171 Correct 3 ms 4608 KB Output is correct : V - N = 12
172 Correct 3 ms 4620 KB Output is correct : V - N = 12
173 Correct 3 ms 4608 KB Output is correct : V - N = 12
174 Correct 3 ms 4600 KB Output is correct : V - N = 12
175 Correct 3 ms 4612 KB Output is correct : V - N = 12
176 Correct 3 ms 4612 KB Output is correct : V - N = 12
177 Correct 3 ms 4620 KB Output is correct : V - N = 12
178 Correct 3 ms 4612 KB Output is correct : V - N = 12