답안 #336493

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
336493 2020-12-15T12:33:28 Z amoo_safar 항공 노선도 (JOI18_airline) C++17
100 / 100
1464 ms 61340 KB
#include "Alicelib.h"
#include <bits/stdc++.h>
#define F first
#define S second
#define pb push_back

using namespace std;

const int Log = 10;

typedef pair<int, int> pii;

int bad[1 << Log];
vector<int> Good;

void FillBad(){
	memset(bad, 0, sizeof bad);
	bad[0] = 1;
	for(int i = 0; i < Log; i++)
		bad[1 << i] = 1;
	for(int i = 0; i + 1 < Log; i++)
		bad[3 << i] = 1;
	for(int i = 0; i < (1 << Log); i++)
		if(!bad[i])
			Good.pb(i);
}

vector<pii> E;
void Alice(int n, int m, int A[], int B[]){
	FillBad();
	E.clear();
	for(int i = 0; i < m; i++) E.pb({A[i], B[i]});
	///
	for(int i = n; i < n + 9; i++) E.pb({i, i + 1});
	for(int i = n; i <= n + 9; i++) E.pb({n + 10, i});
	E.pb({n + 11, n + 10}); E.pb({n + 11, n + 9});
	///
	assert((int) Good.size() >= n);
	for(int i = 0; i < n; i++){
		for(int j = 0; j < Log; j++){
			if(Good[i] >> j & 1)
				E.pb({n + j, i});
		}
	}

	m = E.size();
	InitG( n + 12, m);
	for(int i = 0; i < m; i++)
		MakeG(i, E[i].F, E[i].S);
	return ;
}

#include "Boblib.h"
#include <bits/stdc++.h>
#define F first
#define S second
#define pb push_back

using namespace std;

const int Log = 10;

typedef pair<int, int> pii;

const int N = 2e3;

int bad2[1 << Log];
vector<int> GD;

void FillBad2(){
	memset(bad2, 0, sizeof bad2);
	bad2[0] = 1;
	for(int i = 0; i < Log; i++)
		bad2[1 << i] = 1;
	for(int i = 0; i + 1 < Log; i++)
		bad2[3 << i] = 1;
	for(int i = 0; i < (1 << Log); i++)
		if(!bad2[i])
			GD.pb(i);
}



vector<int> G[N];
map<pii, int> mp;
void AddEdge(int u, int v){
	mp[{min(u, v), max(u, v)}] = 1;
	G[u].pb(v);
	G[v].pb(u);
}
bool IsEdge(int u, int v){
	return mp.count({min(u, v), max(u, v)}) > 0;
}


int deg[N];
int mk[N];
int n, m;
int FindCommon(int u, int v){
	for(int i = 0; i < n; i++){
		if(!mk[i] && IsEdge(u, i) && IsEdge(v, i))
			return i;
	}
	return -1;
}

int cntCommon(int u, int v){
	int res = 0;
	for(int i = 0; i < n; i++){
		if(!mk[i] && IsEdge(u, i) && IsEdge(v, i))
			res ++;
	}
	return res;
}

int ord[N];

int val[N];

void Bob(int V, int U, int C[], int D[] ){
	n = V; m = U;
	FillBad2();

	for(int i = 0; i < U; i++){
		AddEdge(C[i], D[i]);
		deg[C[i]] ++;
		deg[D[i]] ++;
	}
	int idx = -1;
	for(int i = 0; i < V; i++)
		if(deg[i] == 2 && IsEdge(G[i][0], G[i][1])){
			assert(idx == -1);
			idx = i;
		}
	assert(idx != -1);
	vector<int> adj;
	for(int i = 0; i < m; i++){
		if(C[i] == idx)
			adj.pb(D[i]);
		if(D[i] == idx)
			adj.pb(C[i]);
	}
	assert(adj.size() == 2);

	mk[idx] = 1;
	int X = FindCommon(adj[0], adj[1]);
	mk[adj[0]] = mk[adj[1]] = 1;

	int Y = -1;
	if(deg[adj[0]] != 11){
		Y = adj[1];
	} else if(deg[adj[1]] != 11){
		Y = adj[0];
	} else {
		if(cntCommon(X, adj[0]) != 1)
			Y = adj[1];
		if(cntCommon(X, adj[1]) != 1)
			Y = adj[0];
	}
	assert(Y != -1);
	// int Y = (FindCommon(adj[0], X) == -1 ? adj[1] : adj[0]);

	memset(mk, 0, sizeof mk);
	mk[idx] = 1; mk[Y] = 1;
	int la = idx;
	for(int i = 0; i < 10; i++){
		int com = FindCommon(la, Y);

		assert(com != -1);
		ord[com] = 9 - i;
		mk[com] = 1;
		la = com;
	}
	for(int i = 0; i < n; i++){
		if(mk[i]) continue;
		int res = 0;
		// cerr << "# ";
		for(auto nei : G[i]){
			if(mk[nei]){
				res += (1 << ord[nei]);
				// cerr << ord[nei] << ' ';
			}
		}
		// cerr << '\n';
		val[i] = lower_bound(GD.begin(), GD.end(), res) - GD.begin();
		// cerr << "! " << n << " " << res << '\n';
	}
	vector<pii> E;
	for(int i = 0; i < m; i++){
		if(mk[C[i]] || mk[D[i]]) continue;
		E.pb({val[C[i]], val[D[i]]});
	}
	InitMap( n - 12, E.size());
	for(auto [u, v] : E)

		MakeMap(u, v);
}

# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 5048 KB Output is correct
2 Correct 5 ms 4832 KB Output is correct
3 Correct 6 ms 5044 KB Output is correct
4 Correct 5 ms 5060 KB Output is correct
5 Correct 7 ms 5220 KB Output is correct
6 Correct 6 ms 4960 KB Output is correct
7 Correct 5 ms 5048 KB Output is correct
8 Correct 5 ms 5048 KB Output is correct
9 Correct 5 ms 4832 KB Output is correct
10 Correct 8 ms 5052 KB Output is correct
11 Correct 6 ms 5044 KB Output is correct
12 Correct 5 ms 4960 KB Output is correct
13 Correct 6 ms 4960 KB Output is correct
14 Correct 5 ms 4832 KB Output is correct
15 Correct 5 ms 5040 KB Output is correct
16 Correct 5 ms 4832 KB Output is correct
17 Correct 6 ms 5044 KB Output is correct
18 Correct 5 ms 4832 KB Output is correct
19 Correct 5 ms 5040 KB Output is correct
20 Correct 5 ms 4896 KB Output is correct
21 Correct 5 ms 4832 KB Output is correct
22 Correct 5 ms 5080 KB Output is correct
23 Correct 5 ms 4960 KB Output is correct
24 Correct 6 ms 5052 KB Output is correct
25 Correct 5 ms 4912 KB Output is correct
26 Correct 5 ms 5052 KB Output is correct
27 Correct 6 ms 4960 KB Output is correct
28 Correct 6 ms 4832 KB Output is correct
29 Correct 6 ms 4832 KB Output is correct
30 Correct 5 ms 4960 KB Output is correct
31 Correct 6 ms 4832 KB Output is correct
32 Correct 6 ms 5060 KB Output is correct
33 Correct 5 ms 4832 KB Output is correct
34 Correct 5 ms 4832 KB Output is correct
35 Correct 5 ms 4832 KB Output is correct
36 Correct 6 ms 5040 KB Output is correct
37 Correct 5 ms 4832 KB Output is correct
38 Correct 5 ms 5048 KB Output is correct
39 Correct 6 ms 4832 KB Output is correct
40 Correct 5 ms 4912 KB Output is correct
41 Correct 5 ms 4832 KB Output is correct
42 Correct 6 ms 4832 KB Output is correct
43 Correct 6 ms 4960 KB Output is correct
44 Correct 5 ms 4960 KB Output is correct
45 Correct 5 ms 5000 KB Output is correct
46 Correct 5 ms 4832 KB Output is correct
47 Correct 6 ms 5040 KB Output is correct
48 Correct 5 ms 4832 KB Output is correct
49 Correct 5 ms 4832 KB Output is correct
50 Correct 5 ms 4960 KB Output is correct
51 Correct 5 ms 4832 KB Output is correct
52 Correct 5 ms 4960 KB Output is correct
53 Correct 5 ms 4960 KB Output is correct
54 Correct 5 ms 4960 KB Output is correct
55 Correct 5 ms 4832 KB Output is correct
56 Correct 5 ms 5044 KB Output is correct
57 Correct 5 ms 4832 KB Output is correct
58 Correct 6 ms 4832 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 5048 KB Output is correct
2 Correct 5 ms 4832 KB Output is correct
3 Correct 6 ms 5044 KB Output is correct
4 Correct 5 ms 5060 KB Output is correct
5 Correct 7 ms 5220 KB Output is correct
6 Correct 6 ms 4960 KB Output is correct
7 Correct 5 ms 5048 KB Output is correct
8 Correct 5 ms 5048 KB Output is correct
9 Correct 5 ms 4832 KB Output is correct
10 Correct 8 ms 5052 KB Output is correct
11 Correct 6 ms 5044 KB Output is correct
12 Correct 5 ms 4960 KB Output is correct
13 Correct 6 ms 4960 KB Output is correct
14 Correct 5 ms 4832 KB Output is correct
15 Correct 5 ms 5040 KB Output is correct
16 Correct 5 ms 4832 KB Output is correct
17 Correct 6 ms 5044 KB Output is correct
18 Correct 5 ms 4832 KB Output is correct
19 Correct 5 ms 5040 KB Output is correct
20 Correct 5 ms 4896 KB Output is correct
21 Correct 5 ms 4832 KB Output is correct
22 Correct 5 ms 5080 KB Output is correct
23 Correct 5 ms 4960 KB Output is correct
24 Correct 6 ms 5052 KB Output is correct
25 Correct 5 ms 4912 KB Output is correct
26 Correct 5 ms 5052 KB Output is correct
27 Correct 6 ms 4960 KB Output is correct
28 Correct 6 ms 4832 KB Output is correct
29 Correct 6 ms 4832 KB Output is correct
30 Correct 5 ms 4960 KB Output is correct
31 Correct 6 ms 4832 KB Output is correct
32 Correct 6 ms 5060 KB Output is correct
33 Correct 5 ms 4832 KB Output is correct
34 Correct 5 ms 4832 KB Output is correct
35 Correct 5 ms 4832 KB Output is correct
36 Correct 6 ms 5040 KB Output is correct
37 Correct 5 ms 4832 KB Output is correct
38 Correct 5 ms 5048 KB Output is correct
39 Correct 6 ms 4832 KB Output is correct
40 Correct 5 ms 4912 KB Output is correct
41 Correct 5 ms 4832 KB Output is correct
42 Correct 6 ms 4832 KB Output is correct
43 Correct 6 ms 4960 KB Output is correct
44 Correct 5 ms 4960 KB Output is correct
45 Correct 5 ms 5000 KB Output is correct
46 Correct 5 ms 4832 KB Output is correct
47 Correct 6 ms 5040 KB Output is correct
48 Correct 5 ms 4832 KB Output is correct
49 Correct 5 ms 4832 KB Output is correct
50 Correct 5 ms 4960 KB Output is correct
51 Correct 5 ms 4832 KB Output is correct
52 Correct 5 ms 4960 KB Output is correct
53 Correct 5 ms 4960 KB Output is correct
54 Correct 5 ms 4960 KB Output is correct
55 Correct 5 ms 4832 KB Output is correct
56 Correct 5 ms 5044 KB Output is correct
57 Correct 5 ms 4832 KB Output is correct
58 Correct 6 ms 4832 KB Output is correct
59 Correct 7 ms 5024 KB Output is correct
60 Correct 6 ms 5028 KB Output is correct
61 Correct 6 ms 4832 KB Output is correct
62 Correct 6 ms 5044 KB Output is correct
63 Correct 6 ms 4960 KB Output is correct
64 Correct 6 ms 5108 KB Output is correct
65 Correct 7 ms 4948 KB Output is correct
66 Correct 7 ms 5036 KB Output is correct
67 Correct 6 ms 4960 KB Output is correct
68 Correct 6 ms 4960 KB Output is correct
69 Correct 6 ms 4960 KB Output is correct
70 Correct 7 ms 5036 KB Output is correct
71 Correct 7 ms 4960 KB Output is correct
72 Correct 6 ms 5032 KB Output is correct
73 Correct 6 ms 4960 KB Output is correct
74 Correct 6 ms 4960 KB Output is correct
75 Correct 5 ms 5044 KB Output is correct
76 Correct 6 ms 4916 KB Output is correct
77 Correct 7 ms 4960 KB Output is correct
78 Correct 7 ms 5032 KB Output is correct
79 Correct 6 ms 5036 KB Output is correct
80 Correct 6 ms 4960 KB Output is correct
81 Correct 6 ms 4832 KB Output is correct
82 Correct 6 ms 5044 KB Output is correct
83 Correct 5 ms 5048 KB Output is correct
84 Correct 6 ms 4960 KB Output is correct
85 Correct 6 ms 4960 KB Output is correct
86 Correct 7 ms 5120 KB Output is correct
87 Correct 6 ms 5036 KB Output is correct
88 Correct 5 ms 4960 KB Output is correct
89 Correct 6 ms 4832 KB Output is correct
90 Correct 5 ms 5020 KB Output is correct
91 Correct 6 ms 5052 KB Output is correct
92 Correct 5 ms 4960 KB Output is correct
93 Correct 6 ms 4832 KB Output is correct
94 Correct 7 ms 4960 KB Output is correct
95 Correct 7 ms 5028 KB Output is correct
96 Correct 7 ms 4960 KB Output is correct
97 Correct 7 ms 5344 KB Output is correct
98 Correct 6 ms 4960 KB Output is correct
99 Correct 6 ms 4960 KB Output is correct
100 Correct 6 ms 5040 KB Output is correct
101 Correct 6 ms 5048 KB Output is correct
102 Correct 5 ms 4832 KB Output is correct
103 Correct 6 ms 5048 KB Output is correct
104 Correct 6 ms 4960 KB Output is correct
105 Correct 7 ms 4960 KB Output is correct
106 Correct 7 ms 4960 KB Output is correct
107 Correct 5 ms 5040 KB Output is correct
108 Correct 6 ms 4832 KB Output is correct
109 Correct 6 ms 4960 KB Output is correct
110 Correct 6 ms 5052 KB Output is correct
111 Correct 6 ms 4960 KB Output is correct
112 Correct 6 ms 4960 KB Output is correct
113 Correct 5 ms 4960 KB Output is correct
114 Correct 6 ms 5044 KB Output is correct
115 Correct 7 ms 4960 KB Output is correct
116 Correct 5 ms 4832 KB Output is correct
117 Correct 6 ms 4960 KB Output is correct
118 Correct 6 ms 5040 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1355 ms 61008 KB Output is correct : V - N = 12
2 Correct 980 ms 50268 KB Output is correct : V - N = 12
3 Correct 374 ms 23956 KB Output is correct : V - N = 12
4 Correct 18 ms 6096 KB Output is correct : V - N = 12
5 Correct 222 ms 15988 KB Output is correct : V - N = 12
6 Correct 939 ms 44392 KB Output is correct : V - N = 12
7 Correct 1464 ms 60504 KB Output is correct : V - N = 12
8 Correct 1244 ms 55264 KB Output is correct : V - N = 12
9 Correct 522 ms 30284 KB Output is correct : V - N = 12
10 Correct 60 ms 8568 KB Output is correct : V - N = 12
11 Correct 107 ms 10612 KB Output is correct : V - N = 12
12 Correct 700 ms 34588 KB Output is correct : V - N = 12
13 Correct 1287 ms 57368 KB Output is correct : V - N = 12
14 Correct 1363 ms 58848 KB Output is correct : V - N = 12
15 Correct 855 ms 40836 KB Output is correct : V - N = 12
16 Correct 136 ms 12808 KB Output is correct : V - N = 12
17 Correct 30 ms 7136 KB Output is correct : V - N = 12
18 Correct 441 ms 26900 KB Output is correct : V - N = 12
19 Correct 1068 ms 53108 KB Output is correct : V - N = 12
20 Correct 1361 ms 60740 KB Output is correct : V - N = 12
21 Correct 288 ms 20996 KB Output is correct : V - N = 12
22 Correct 217 ms 17264 KB Output is correct : V - N = 12
23 Correct 71 ms 10600 KB Output is correct : V - N = 12
24 Correct 9 ms 5472 KB Output is correct : V - N = 12
25 Correct 49 ms 8020 KB Output is correct : V - N = 12
26 Correct 174 ms 15492 KB Output is correct : V - N = 12
27 Correct 300 ms 19808 KB Output is correct : V - N = 12
28 Correct 254 ms 18612 KB Output is correct : V - N = 12
29 Correct 111 ms 11984 KB Output is correct : V - N = 12
30 Correct 16 ms 6056 KB Output is correct : V - N = 12
31 Correct 14 ms 5472 KB Output is correct : V - N = 12
32 Correct 15 ms 5600 KB Output is correct : V - N = 12
33 Correct 14 ms 5472 KB Output is correct : V - N = 12
34 Correct 14 ms 5528 KB Output is correct : V - N = 12
35 Correct 15 ms 5472 KB Output is correct : V - N = 12
36 Correct 1353 ms 60900 KB Output is correct : V - N = 12
37 Correct 1351 ms 60956 KB Output is correct : V - N = 12
38 Correct 1321 ms 60976 KB Output is correct : V - N = 12
39 Correct 1377 ms 60872 KB Output is correct : V - N = 12
40 Correct 1444 ms 61340 KB Output is correct : V - N = 12
41 Correct 217 ms 15884 KB Output is correct : V - N = 12
42 Correct 143 ms 13164 KB Output is correct : V - N = 12
43 Correct 173 ms 14784 KB Output is correct : V - N = 12
44 Correct 15 ms 5600 KB Output is correct : V - N = 12
45 Correct 112 ms 10876 KB Output is correct : V - N = 12
46 Correct 445 ms 25124 KB Output is correct : V - N = 12
47 Correct 185 ms 15632 KB Output is correct : V - N = 12
48 Correct 586 ms 30544 KB Output is correct : V - N = 12
49 Correct 72 ms 10316 KB Output is correct : V - N = 12
50 Correct 33 ms 7008 KB Output is correct : V - N = 12
51 Correct 1189 ms 50108 KB Output is correct : V - N = 12
52 Correct 16 ms 6080 KB Output is correct : V - N = 12
53 Correct 804 ms 43644 KB Output is correct : V - N = 12
54 Correct 1144 ms 54328 KB Output is correct : V - N = 12
55 Correct 51 ms 8284 KB Output is correct : V - N = 12
56 Correct 607 ms 33404 KB Output is correct : V - N = 12
57 Correct 1367 ms 57972 KB Output is correct : V - N = 12
58 Correct 142 ms 12528 KB Output is correct : V - N = 12
59 Correct 415 ms 26800 KB Output is correct : V - N = 12
60 Correct 1222 ms 59188 KB Output is correct : V - N = 12
61 Correct 6 ms 4960 KB Output is correct : V - N = 12
62 Correct 6 ms 4960 KB Output is correct : V - N = 12
63 Correct 6 ms 5044 KB Output is correct : V - N = 12
64 Correct 6 ms 5044 KB Output is correct : V - N = 12
65 Correct 6 ms 4960 KB Output is correct : V - N = 12
66 Correct 7 ms 4960 KB Output is correct : V - N = 12
67 Correct 6 ms 5024 KB Output is correct : V - N = 12
68 Correct 6 ms 4960 KB Output is correct : V - N = 12
69 Correct 6 ms 4960 KB Output is correct : V - N = 12
70 Correct 5 ms 4960 KB Output is correct : V - N = 12
71 Correct 6 ms 4960 KB Output is correct : V - N = 12
72 Correct 6 ms 4960 KB Output is correct : V - N = 12
73 Correct 7 ms 5032 KB Output is correct : V - N = 12
74 Correct 7 ms 5032 KB Output is correct : V - N = 12
75 Correct 6 ms 4960 KB Output is correct : V - N = 12
76 Correct 6 ms 4960 KB Output is correct : V - N = 12
77 Correct 5 ms 5044 KB Output is correct : V - N = 12
78 Correct 6 ms 4960 KB Output is correct : V - N = 12
79 Correct 6 ms 5100 KB Output is correct : V - N = 12
80 Correct 7 ms 5088 KB Output is correct : V - N = 12
81 Correct 6 ms 4960 KB Output is correct : V - N = 12
82 Correct 7 ms 5040 KB Output is correct : V - N = 12
83 Correct 6 ms 5036 KB Output is correct : V - N = 12
84 Correct 6 ms 4960 KB Output is correct : V - N = 12
85 Correct 5 ms 4832 KB Output is correct : V - N = 12
86 Correct 6 ms 4960 KB Output is correct : V - N = 12
87 Correct 7 ms 4976 KB Output is correct : V - N = 12
88 Correct 6 ms 5028 KB Output is correct : V - N = 12
89 Correct 6 ms 4960 KB Output is correct : V - N = 12
90 Correct 5 ms 4960 KB Output is correct : V - N = 12
91 Correct 6 ms 5060 KB Output is correct : V - N = 12
92 Correct 5 ms 5052 KB Output is correct : V - N = 12
93 Correct 6 ms 4960 KB Output is correct : V - N = 12
94 Correct 6 ms 4832 KB Output is correct : V - N = 12
95 Correct 6 ms 4832 KB Output is correct : V - N = 12
96 Correct 7 ms 4960 KB Output is correct : V - N = 12
97 Correct 7 ms 5032 KB Output is correct : V - N = 12
98 Correct 6 ms 4960 KB Output is correct : V - N = 12
99 Correct 7 ms 5160 KB Output is correct : V - N = 12
100 Correct 6 ms 4960 KB Output is correct : V - N = 12
101 Correct 6 ms 5036 KB Output is correct : V - N = 12
102 Correct 6 ms 5088 KB Output is correct : V - N = 12
103 Correct 5 ms 5048 KB Output is correct : V - N = 12
104 Correct 5 ms 4832 KB Output is correct : V - N = 12
105 Correct 6 ms 5088 KB Output is correct : V - N = 12
106 Correct 6 ms 5088 KB Output is correct : V - N = 12
107 Correct 7 ms 5036 KB Output is correct : V - N = 12
108 Correct 6 ms 4960 KB Output is correct : V - N = 12
109 Correct 6 ms 4960 KB Output is correct : V - N = 12
110 Correct 6 ms 5048 KB Output is correct : V - N = 12
111 Correct 6 ms 4960 KB Output is correct : V - N = 12
112 Correct 5 ms 4832 KB Output is correct : V - N = 12
113 Correct 6 ms 4960 KB Output is correct : V - N = 12
114 Correct 6 ms 4960 KB Output is correct : V - N = 12
115 Correct 5 ms 5040 KB Output is correct : V - N = 12
116 Correct 5 ms 4960 KB Output is correct : V - N = 12
117 Correct 6 ms 4960 KB Output is correct : V - N = 12
118 Correct 5 ms 5024 KB Output is correct : V - N = 12
119 Correct 6 ms 4960 KB Output is correct : V - N = 12
120 Correct 6 ms 4960 KB Output is correct : V - N = 12
121 Correct 5 ms 5048 KB Output is correct : V - N = 12
122 Correct 5 ms 4960 KB Output is correct : V - N = 12
123 Correct 5 ms 4832 KB Output is correct : V - N = 12
124 Correct 5 ms 5060 KB Output is correct : V - N = 12
125 Correct 5 ms 4960 KB Output is correct : V - N = 12
126 Correct 6 ms 4832 KB Output is correct : V - N = 12
127 Correct 5 ms 5048 KB Output is correct : V - N = 12
128 Correct 5 ms 5088 KB Output is correct : V - N = 12
129 Correct 5 ms 4960 KB Output is correct : V - N = 12
130 Correct 5 ms 5060 KB Output is correct : V - N = 12
131 Correct 5 ms 5116 KB Output is correct : V - N = 12
132 Correct 5 ms 4960 KB Output is correct : V - N = 12
133 Correct 6 ms 5048 KB Output is correct : V - N = 12
134 Correct 6 ms 5040 KB Output is correct : V - N = 12
135 Correct 5 ms 5048 KB Output is correct : V - N = 12
136 Correct 5 ms 4832 KB Output is correct : V - N = 12
137 Correct 5 ms 4960 KB Output is correct : V - N = 12
138 Correct 6 ms 4832 KB Output is correct : V - N = 12
139 Correct 5 ms 4960 KB Output is correct : V - N = 12
140 Correct 5 ms 5040 KB Output is correct : V - N = 12
141 Correct 5 ms 4832 KB Output is correct : V - N = 12
142 Correct 5 ms 4960 KB Output is correct : V - N = 12
143 Correct 5 ms 5044 KB Output is correct : V - N = 12
144 Correct 5 ms 4832 KB Output is correct : V - N = 12
145 Correct 5 ms 4960 KB Output is correct : V - N = 12
146 Correct 5 ms 5116 KB Output is correct : V - N = 12
147 Correct 5 ms 4960 KB Output is correct : V - N = 12
148 Correct 5 ms 4960 KB Output is correct : V - N = 12
149 Correct 5 ms 4832 KB Output is correct : V - N = 12
150 Correct 5 ms 4960 KB Output is correct : V - N = 12
151 Correct 5 ms 4832 KB Output is correct : V - N = 12
152 Correct 5 ms 4832 KB Output is correct : V - N = 12
153 Correct 6 ms 5088 KB Output is correct : V - N = 12
154 Correct 5 ms 5052 KB Output is correct : V - N = 12
155 Correct 6 ms 4832 KB Output is correct : V - N = 12
156 Correct 5 ms 4832 KB Output is correct : V - N = 12
157 Correct 6 ms 5048 KB Output is correct : V - N = 12
158 Correct 6 ms 5040 KB Output is correct : V - N = 12
159 Correct 5 ms 4960 KB Output is correct : V - N = 12
160 Correct 6 ms 5040 KB Output is correct : V - N = 12
161 Correct 5 ms 4960 KB Output is correct : V - N = 12
162 Correct 6 ms 4936 KB Output is correct : V - N = 12
163 Correct 5 ms 5044 KB Output is correct : V - N = 12
164 Correct 5 ms 5060 KB Output is correct : V - N = 12
165 Correct 5 ms 4832 KB Output is correct : V - N = 12
166 Correct 5 ms 4832 KB Output is correct : V - N = 12
167 Correct 5 ms 5040 KB Output is correct : V - N = 12
168 Correct 5 ms 4832 KB Output is correct : V - N = 12
169 Correct 5 ms 4960 KB Output is correct : V - N = 12
170 Correct 5 ms 4960 KB Output is correct : V - N = 12
171 Correct 5 ms 5060 KB Output is correct : V - N = 12
172 Correct 5 ms 5172 KB Output is correct : V - N = 12
173 Correct 5 ms 5092 KB Output is correct : V - N = 12
174 Correct 5 ms 5052 KB Output is correct : V - N = 12
175 Correct 6 ms 4832 KB Output is correct : V - N = 12
176 Correct 6 ms 5052 KB Output is correct : V - N = 12
177 Correct 5 ms 4960 KB Output is correct : V - N = 12
178 Correct 5 ms 4960 KB Output is correct : V - N = 12