Submission #694138

# Submission time Handle Problem Language Result Execution time Memory
694138 2023-02-03T23:46:41 Z jeroenodb Airline Route Map (JOI18_airline) C++14
100 / 100
775 ms 29372 KB
#include "Alicelib.h"
#include "bits/stdc++.h"
using namespace std;
#define all(x) begin(x),end(x)
template<typename A, typename B> ostream& operator<<(ostream &os, const pair<A, B> &p) { return os << '(' << p.first << ", " << p.second << ')'; }
template<typename T_container, typename T = typename enable_if<!is_same<T_container, string>::value, typename T_container::value_type>::type> ostream& operator<<(ostream &os, const T_container &v) { string sep; for (const T &x : v) os << sep << x, sep = " "; return os; }
#define debug(a) cerr << "(" << #a << ": " << a << ")\n";
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int,int> pi;
const int mxN = 1e5+1, oo = 1e9;
const static pi g[] = {{0,1},{1,2},{2,3},{3,4},{4,5},{5,6},{6,7},{7,8},{8,9},{1,3}};
void Alice( int N, int M, int A[], int B[] ){
	
	int lg = 10;
	int V = lg+N+2;
	vector<pi> es;
	for(int i=0;i<M;++i) {
		es.emplace_back(A[i],B[i]);
	}
	for(int i=0;i<V-2;++i) es.emplace_back(i,V-1);
	for(int i=N;i<N+lg;++i) es.emplace_back(i,V-2);
	for(auto& [u,v] : g) es.emplace_back(u+N,v+N);
	for(int i=0;i<lg;++i) {
		
		for(int j=0;j<N;++j) if(j & (1<<i)) {
			es.emplace_back(i+N,j);
		}
	}

	InitG(N+lg+2,es.size());
	int id=0;
	for(auto& [u,v] : es) {
		MakeG(id++,u,v);
	}
}

#include "Boblib.h"
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
#define all(x) begin(x),end(x)
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int,int> pi;
const static pi gg[] = {{0,1},{1,2},{2,3},{3,4},{4,5},{5,6},{6,7},{7,8},{8,9},{1,3}};
void Bob( int V, int U, int C[], int D[] ){
	int N=V-12;
	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 special = 0;
	for(int i=0;i<V;++i) if(adj[i].size()>adj[special].size()) special=i;
	int who=0;
	for(int i=0;i<V;++i) who^=i;
	who^=special;

	for(int to : adj[special]) who^=to;
	// have who, it should point exactly at the bits

	vector<bool> spec(V);
	spec[who]=spec[special]=1;
	vi bits;
	for(int to : adj[who]) {
		if(to!=special) bits.push_back(to);
		spec[to]=1;
	}
	// ok found the bits, recover order from non-isomorphic graph
	sort(all(bits));
	assert(bits.size()==10);
	vector<pi> bites;
	for(int i=0;i<10;++i) for(int to : adj[bits[i]]) {
		auto it = lower_bound(all(bits),to);
		if(it!=bits.end() and *it==to) {
			int v= it-bits.begin();
			if(i<v) bites.push_back({i,v});
		}
	}
	array<int,10> p; iota(all(p),0);
	sort(all(bites));
	do {
		bool bad=0;
		for(auto& [u,v] : gg) {
			pi want = minmax(p[u],p[v]);
			if(!binary_search(all(bites),want)) {
				bad=true;
				break;
			}
		}
		if(!bad) break;
	} while(next_permutation(all(p)));
	vi label(V);
	for(int i=0;i<10;++i) {
		for(int to : adj[bits[p[i]]]) if(!spec[to]) {
			label[to]|=1<<i;
		}
	}
	vector<pi> es;
	for(int i=0;i<U;++i) if(!spec[C[i]] and !spec[D[i]]) {
		es.emplace_back(label[C[i]],label[D[i]]);
	}
	InitMap(N,es.size());
	for(auto [u,v] : es) MakeMap(u,v);
}

Compilation message

Alice.cpp: In function 'void Alice(int, int, int*, int*)':
Alice.cpp:24:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
   24 |  for(auto& [u,v] : g) es.emplace_back(u+N,v+N);
      |            ^
Alice.cpp:34:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
   34 |  for(auto& [u,v] : es) {
      |            ^

Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:45:13: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
   45 |   for(auto& [u,v] : gg) {
      |             ^
Bob.cpp:65:11: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
   65 |  for(auto [u,v] : es) MakeMap(u,v);
      |           ^
# Verdict Execution time Memory Grader output
1 Correct 24 ms 4572 KB Output is correct
2 Correct 19 ms 4612 KB Output is correct
3 Correct 11 ms 4540 KB Output is correct
4 Correct 3 ms 4608 KB Output is correct
5 Correct 28 ms 4616 KB Output is correct
6 Correct 30 ms 4552 KB Output is correct
7 Correct 3 ms 4616 KB Output is correct
8 Correct 10 ms 4612 KB Output is correct
9 Correct 38 ms 4552 KB Output is correct
10 Correct 48 ms 4608 KB Output is correct
11 Correct 8 ms 4620 KB Output is correct
12 Correct 30 ms 4612 KB Output is correct
13 Correct 12 ms 4616 KB Output is correct
14 Correct 16 ms 4620 KB Output is correct
15 Correct 29 ms 4564 KB Output is correct
16 Correct 11 ms 4612 KB Output is correct
17 Correct 27 ms 4624 KB Output is correct
18 Correct 36 ms 4612 KB Output is correct
19 Correct 51 ms 4636 KB Output is correct
20 Correct 42 ms 4636 KB Output is correct
21 Correct 50 ms 4628 KB Output is correct
22 Correct 39 ms 4540 KB Output is correct
23 Correct 48 ms 4612 KB Output is correct
24 Correct 51 ms 4604 KB Output is correct
25 Correct 37 ms 4612 KB Output is correct
26 Correct 12 ms 4516 KB Output is correct
27 Correct 36 ms 4620 KB Output is correct
28 Correct 22 ms 4612 KB Output is correct
29 Correct 26 ms 4612 KB Output is correct
30 Correct 16 ms 4608 KB Output is correct
31 Correct 47 ms 4616 KB Output is correct
32 Correct 19 ms 4608 KB Output is correct
33 Correct 45 ms 4616 KB Output is correct
34 Correct 30 ms 4616 KB Output is correct
35 Correct 19 ms 4608 KB Output is correct
36 Correct 56 ms 4612 KB Output is correct
37 Correct 18 ms 4592 KB Output is correct
38 Correct 9 ms 4592 KB Output is correct
39 Correct 51 ms 4612 KB Output is correct
40 Correct 56 ms 4672 KB Output is correct
41 Correct 10 ms 4676 KB Output is correct
42 Correct 33 ms 4612 KB Output is correct
43 Correct 9 ms 4588 KB Output is correct
44 Correct 13 ms 4584 KB Output is correct
45 Correct 19 ms 4648 KB Output is correct
46 Correct 19 ms 4600 KB Output is correct
47 Correct 4 ms 4568 KB Output is correct
48 Correct 14 ms 4612 KB Output is correct
49 Correct 44 ms 4612 KB Output is correct
50 Correct 44 ms 4608 KB Output is correct
51 Correct 19 ms 4612 KB Output is correct
52 Correct 33 ms 4620 KB Output is correct
53 Correct 38 ms 4596 KB Output is correct
54 Correct 19 ms 4640 KB Output is correct
55 Correct 2 ms 4588 KB Output is correct
56 Correct 11 ms 4572 KB Output is correct
57 Correct 51 ms 4612 KB Output is correct
58 Correct 22 ms 4612 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 24 ms 4572 KB Output is correct
2 Correct 19 ms 4612 KB Output is correct
3 Correct 11 ms 4540 KB Output is correct
4 Correct 3 ms 4608 KB Output is correct
5 Correct 28 ms 4616 KB Output is correct
6 Correct 30 ms 4552 KB Output is correct
7 Correct 3 ms 4616 KB Output is correct
8 Correct 10 ms 4612 KB Output is correct
9 Correct 38 ms 4552 KB Output is correct
10 Correct 48 ms 4608 KB Output is correct
11 Correct 8 ms 4620 KB Output is correct
12 Correct 30 ms 4612 KB Output is correct
13 Correct 12 ms 4616 KB Output is correct
14 Correct 16 ms 4620 KB Output is correct
15 Correct 29 ms 4564 KB Output is correct
16 Correct 11 ms 4612 KB Output is correct
17 Correct 27 ms 4624 KB Output is correct
18 Correct 36 ms 4612 KB Output is correct
19 Correct 51 ms 4636 KB Output is correct
20 Correct 42 ms 4636 KB Output is correct
21 Correct 50 ms 4628 KB Output is correct
22 Correct 39 ms 4540 KB Output is correct
23 Correct 48 ms 4612 KB Output is correct
24 Correct 51 ms 4604 KB Output is correct
25 Correct 37 ms 4612 KB Output is correct
26 Correct 12 ms 4516 KB Output is correct
27 Correct 36 ms 4620 KB Output is correct
28 Correct 22 ms 4612 KB Output is correct
29 Correct 26 ms 4612 KB Output is correct
30 Correct 16 ms 4608 KB Output is correct
31 Correct 47 ms 4616 KB Output is correct
32 Correct 19 ms 4608 KB Output is correct
33 Correct 45 ms 4616 KB Output is correct
34 Correct 30 ms 4616 KB Output is correct
35 Correct 19 ms 4608 KB Output is correct
36 Correct 56 ms 4612 KB Output is correct
37 Correct 18 ms 4592 KB Output is correct
38 Correct 9 ms 4592 KB Output is correct
39 Correct 51 ms 4612 KB Output is correct
40 Correct 56 ms 4672 KB Output is correct
41 Correct 10 ms 4676 KB Output is correct
42 Correct 33 ms 4612 KB Output is correct
43 Correct 9 ms 4588 KB Output is correct
44 Correct 13 ms 4584 KB Output is correct
45 Correct 19 ms 4648 KB Output is correct
46 Correct 19 ms 4600 KB Output is correct
47 Correct 4 ms 4568 KB Output is correct
48 Correct 14 ms 4612 KB Output is correct
49 Correct 44 ms 4612 KB Output is correct
50 Correct 44 ms 4608 KB Output is correct
51 Correct 19 ms 4612 KB Output is correct
52 Correct 33 ms 4620 KB Output is correct
53 Correct 38 ms 4596 KB Output is correct
54 Correct 19 ms 4640 KB Output is correct
55 Correct 2 ms 4588 KB Output is correct
56 Correct 11 ms 4572 KB Output is correct
57 Correct 51 ms 4612 KB Output is correct
58 Correct 22 ms 4612 KB Output is correct
59 Correct 18 ms 4740 KB Output is correct
60 Correct 38 ms 4740 KB Output is correct
61 Correct 12 ms 4648 KB Output is correct
62 Correct 41 ms 4612 KB Output is correct
63 Correct 19 ms 4612 KB Output is correct
64 Correct 44 ms 4612 KB Output is correct
65 Correct 17 ms 4744 KB Output is correct
66 Correct 43 ms 4740 KB Output is correct
67 Correct 50 ms 4668 KB Output is correct
68 Correct 11 ms 4612 KB Output is correct
69 Correct 27 ms 4612 KB Output is correct
70 Correct 10 ms 4640 KB Output is correct
71 Correct 54 ms 4612 KB Output is correct
72 Correct 4 ms 4668 KB Output is correct
73 Correct 20 ms 4612 KB Output is correct
74 Correct 24 ms 4612 KB Output is correct
75 Correct 36 ms 4620 KB Output is correct
76 Correct 18 ms 4584 KB Output is correct
77 Correct 27 ms 4644 KB Output is correct
78 Correct 33 ms 4720 KB Output is correct
79 Correct 51 ms 4740 KB Output is correct
80 Correct 25 ms 4612 KB Output is correct
81 Correct 4 ms 4612 KB Output is correct
82 Correct 26 ms 4592 KB Output is correct
83 Correct 43 ms 4612 KB Output is correct
84 Correct 25 ms 4612 KB Output is correct
85 Correct 11 ms 4612 KB Output is correct
86 Correct 10 ms 4608 KB Output is correct
87 Correct 45 ms 4612 KB Output is correct
88 Correct 35 ms 4620 KB Output is correct
89 Correct 23 ms 4608 KB Output is correct
90 Correct 18 ms 4608 KB Output is correct
91 Correct 19 ms 4616 KB Output is correct
92 Correct 41 ms 4616 KB Output is correct
93 Correct 48 ms 4564 KB Output is correct
94 Correct 50 ms 4720 KB Output is correct
95 Correct 4 ms 4828 KB Output is correct
96 Correct 41 ms 4668 KB Output is correct
97 Correct 26 ms 4740 KB Output is correct
98 Correct 25 ms 4740 KB Output is correct
99 Correct 47 ms 4716 KB Output is correct
100 Correct 16 ms 4588 KB Output is correct
101 Correct 54 ms 4516 KB Output is correct
102 Correct 31 ms 4608 KB Output is correct
103 Correct 16 ms 4612 KB Output is correct
104 Correct 3 ms 4620 KB Output is correct
105 Correct 19 ms 4740 KB Output is correct
106 Correct 32 ms 4724 KB Output is correct
107 Correct 13 ms 4672 KB Output is correct
108 Correct 16 ms 4676 KB Output is correct
109 Correct 9 ms 4728 KB Output is correct
110 Correct 48 ms 4608 KB Output is correct
111 Correct 28 ms 4592 KB Output is correct
112 Correct 47 ms 4612 KB Output is correct
113 Correct 6 ms 4588 KB Output is correct
114 Correct 44 ms 4620 KB Output is correct
115 Correct 14 ms 4668 KB Output is correct
116 Correct 23 ms 4656 KB Output is correct
117 Correct 37 ms 4520 KB Output is correct
118 Correct 25 ms 4716 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 600 ms 29224 KB Output is correct : V - N = 12
2 Correct 448 ms 25672 KB Output is correct : V - N = 12
3 Correct 195 ms 13880 KB Output is correct : V - N = 12
4 Correct 37 ms 5264 KB Output is correct : V - N = 12
5 Correct 111 ms 9832 KB Output is correct : V - N = 12
6 Correct 347 ms 23648 KB Output is correct : V - N = 12
7 Correct 707 ms 28884 KB Output is correct : V - N = 12
8 Correct 561 ms 27360 KB Output is correct : V - N = 12
9 Correct 297 ms 16064 KB Output is correct : V - N = 12
10 Correct 78 ms 6308 KB Output is correct : V - N = 12
11 Correct 62 ms 7360 KB Output is correct : V - N = 12
12 Correct 334 ms 18164 KB Output is correct : V - N = 12
13 Correct 660 ms 28040 KB Output is correct : V - N = 12
14 Correct 661 ms 28628 KB Output is correct : V - N = 12
15 Correct 410 ms 22464 KB Output is correct : V - N = 12
16 Correct 130 ms 8252 KB Output is correct : V - N = 12
17 Correct 48 ms 5656 KB Output is correct : V - N = 12
18 Correct 302 ms 15056 KB Output is correct : V - N = 12
19 Correct 635 ms 26688 KB Output is correct : V - N = 12
20 Correct 775 ms 29072 KB Output is correct : V - N = 12
21 Correct 170 ms 12208 KB Output is correct : V - N = 12
22 Correct 129 ms 10288 KB Output is correct : V - N = 12
23 Correct 60 ms 7288 KB Output is correct : V - N = 12
24 Correct 34 ms 4868 KB Output is correct : V - N = 12
25 Correct 54 ms 6244 KB Output is correct : V - N = 12
26 Correct 162 ms 9744 KB Output is correct : V - N = 12
27 Correct 159 ms 11120 KB Output is correct : V - N = 12
28 Correct 135 ms 10728 KB Output is correct : V - N = 12
29 Correct 112 ms 7804 KB Output is correct : V - N = 12
30 Correct 22 ms 5316 KB Output is correct : V - N = 12
31 Correct 23 ms 5000 KB Output is correct : V - N = 12
32 Correct 56 ms 4996 KB Output is correct : V - N = 12
33 Correct 40 ms 4992 KB Output is correct : V - N = 12
34 Correct 24 ms 5016 KB Output is correct : V - N = 12
35 Correct 20 ms 5004 KB Output is correct : V - N = 12
36 Correct 630 ms 29372 KB Output is correct : V - N = 12
37 Correct 695 ms 29248 KB Output is correct : V - N = 12
38 Correct 677 ms 29176 KB Output is correct : V - N = 12
39 Correct 695 ms 29208 KB Output is correct : V - N = 12
40 Correct 638 ms 29292 KB Output is correct : V - N = 12
41 Correct 184 ms 9820 KB Output is correct : V - N = 12
42 Correct 126 ms 8460 KB Output is correct : V - N = 12
43 Correct 103 ms 9508 KB Output is correct : V - N = 12
44 Correct 30 ms 5028 KB Output is correct : V - N = 12
45 Correct 92 ms 7600 KB Output is correct : V - N = 12
46 Correct 185 ms 14460 KB Output is correct : V - N = 12
47 Correct 128 ms 9764 KB Output is correct : V - N = 12
48 Correct 354 ms 16120 KB Output is correct : V - N = 12
49 Correct 69 ms 7184 KB Output is correct : V - N = 12
50 Correct 55 ms 5616 KB Output is correct : V - N = 12
51 Correct 501 ms 25532 KB Output is correct : V - N = 12
52 Correct 26 ms 5184 KB Output is correct : V - N = 12
53 Correct 474 ms 23512 KB Output is correct : V - N = 12
54 Correct 585 ms 27212 KB Output is correct : V - N = 12
55 Correct 65 ms 6292 KB Output is correct : V - N = 12
56 Correct 311 ms 17736 KB Output is correct : V - N = 12
57 Correct 652 ms 28040 KB Output is correct : V - N = 12
58 Correct 83 ms 8280 KB Output is correct : V - N = 12
59 Correct 241 ms 15004 KB Output is correct : V - N = 12
60 Correct 717 ms 28676 KB Output is correct : V - N = 12
61 Correct 23 ms 4732 KB Output is correct : V - N = 12
62 Correct 25 ms 4720 KB Output is correct : V - N = 12
63 Correct 19 ms 4740 KB Output is correct : V - N = 12
64 Correct 31 ms 4572 KB Output is correct : V - N = 12
65 Correct 20 ms 4708 KB Output is correct : V - N = 12
66 Correct 12 ms 4828 KB Output is correct : V - N = 12
67 Correct 12 ms 4740 KB Output is correct : V - N = 12
68 Correct 49 ms 4720 KB Output is correct : V - N = 12
69 Correct 32 ms 4612 KB Output is correct : V - N = 12
70 Correct 4 ms 4608 KB Output is correct : V - N = 12
71 Correct 53 ms 4612 KB Output is correct : V - N = 12
72 Correct 45 ms 4736 KB Output is correct : V - N = 12
73 Correct 19 ms 4692 KB Output is correct : V - N = 12
74 Correct 4 ms 4720 KB Output is correct : V - N = 12
75 Correct 26 ms 4744 KB Output is correct : V - N = 12
76 Correct 19 ms 4516 KB Output is correct : V - N = 12
77 Correct 19 ms 4644 KB Output is correct : V - N = 12
78 Correct 52 ms 4612 KB Output is correct : V - N = 12
79 Correct 11 ms 4636 KB Output is correct : V - N = 12
80 Correct 3 ms 4768 KB Output is correct : V - N = 12
81 Correct 43 ms 4764 KB Output is correct : V - N = 12
82 Correct 39 ms 4588 KB Output is correct : V - N = 12
83 Correct 47 ms 4528 KB Output is correct : V - N = 12
84 Correct 13 ms 4644 KB Output is correct : V - N = 12
85 Correct 38 ms 4540 KB Output is correct : V - N = 12
86 Correct 55 ms 4588 KB Output is correct : V - N = 12
87 Correct 39 ms 4740 KB Output is correct : V - N = 12
88 Correct 31 ms 4624 KB Output is correct : V - N = 12
89 Correct 11 ms 4612 KB Output is correct : V - N = 12
90 Correct 56 ms 4612 KB Output is correct : V - N = 12
91 Correct 18 ms 4640 KB Output is correct : V - N = 12
92 Correct 22 ms 4608 KB Output is correct : V - N = 12
93 Correct 20 ms 4604 KB Output is correct : V - N = 12
94 Correct 4 ms 4616 KB Output is correct : V - N = 12
95 Correct 33 ms 4600 KB Output is correct : V - N = 12
96 Correct 23 ms 4736 KB Output is correct : V - N = 12
97 Correct 49 ms 4740 KB Output is correct : V - N = 12
98 Correct 53 ms 4760 KB Output is correct : V - N = 12
99 Correct 7 ms 4740 KB Output is correct : V - N = 12
100 Correct 32 ms 4748 KB Output is correct : V - N = 12
101 Correct 41 ms 4740 KB Output is correct : V - N = 12
102 Correct 9 ms 4628 KB Output is correct : V - N = 12
103 Correct 17 ms 4620 KB Output is correct : V - N = 12
104 Correct 14 ms 4608 KB Output is correct : V - N = 12
105 Correct 38 ms 4596 KB Output is correct : V - N = 12
106 Correct 7 ms 4612 KB Output is correct : V - N = 12
107 Correct 55 ms 4696 KB Output is correct : V - N = 12
108 Correct 59 ms 4728 KB Output is correct : V - N = 12
109 Correct 8 ms 4612 KB Output is correct : V - N = 12
110 Correct 30 ms 4512 KB Output is correct : V - N = 12
111 Correct 48 ms 4744 KB Output is correct : V - N = 12
112 Correct 10 ms 4620 KB Output is correct : V - N = 12
113 Correct 36 ms 4612 KB Output is correct : V - N = 12
114 Correct 26 ms 4612 KB Output is correct : V - N = 12
115 Correct 15 ms 4616 KB Output is correct : V - N = 12
116 Correct 45 ms 4784 KB Output is correct : V - N = 12
117 Correct 15 ms 4720 KB Output is correct : V - N = 12
118 Correct 31 ms 4616 KB Output is correct : V - N = 12
119 Correct 15 ms 4680 KB Output is correct : V - N = 12
120 Correct 56 ms 4612 KB Output is correct : V - N = 12
121 Correct 46 ms 4612 KB Output is correct : V - N = 12
122 Correct 22 ms 4568 KB Output is correct : V - N = 12
123 Correct 38 ms 4612 KB Output is correct : V - N = 12
124 Correct 24 ms 4608 KB Output is correct : V - N = 12
125 Correct 26 ms 4716 KB Output is correct : V - N = 12
126 Correct 28 ms 4616 KB Output is correct : V - N = 12
127 Correct 3 ms 4612 KB Output is correct : V - N = 12
128 Correct 19 ms 4620 KB Output is correct : V - N = 12
129 Correct 32 ms 4540 KB Output is correct : V - N = 12
130 Correct 11 ms 4608 KB Output is correct : V - N = 12
131 Correct 27 ms 4612 KB Output is correct : V - N = 12
132 Correct 33 ms 4576 KB Output is correct : V - N = 12
133 Correct 12 ms 4592 KB Output is correct : V - N = 12
134 Correct 30 ms 4636 KB Output is correct : V - N = 12
135 Correct 40 ms 4624 KB Output is correct : V - N = 12
136 Correct 5 ms 4588 KB Output is correct : V - N = 12
137 Correct 38 ms 4648 KB Output is correct : V - N = 12
138 Correct 16 ms 4592 KB Output is correct : V - N = 12
139 Correct 3 ms 4612 KB Output is correct : V - N = 12
140 Correct 27 ms 4620 KB Output is correct : V - N = 12
141 Correct 48 ms 4612 KB Output is correct : V - N = 12
142 Correct 54 ms 4612 KB Output is correct : V - N = 12
143 Correct 39 ms 4612 KB Output is correct : V - N = 12
144 Correct 13 ms 4648 KB Output is correct : V - N = 12
145 Correct 30 ms 4560 KB Output is correct : V - N = 12
146 Correct 3 ms 4612 KB Output is correct : V - N = 12
147 Correct 36 ms 4612 KB Output is correct : V - N = 12
148 Correct 53 ms 4636 KB Output is correct : V - N = 12
149 Correct 17 ms 4676 KB Output is correct : V - N = 12
150 Correct 40 ms 4516 KB Output is correct : V - N = 12
151 Correct 30 ms 4608 KB Output is correct : V - N = 12
152 Correct 30 ms 4612 KB Output is correct : V - N = 12
153 Correct 4 ms 4672 KB Output is correct : V - N = 12
154 Correct 44 ms 4548 KB Output is correct : V - N = 12
155 Correct 11 ms 4608 KB Output is correct : V - N = 12
156 Correct 45 ms 4612 KB Output is correct : V - N = 12
157 Correct 39 ms 4636 KB Output is correct : V - N = 12
158 Correct 14 ms 4612 KB Output is correct : V - N = 12
159 Correct 11 ms 4580 KB Output is correct : V - N = 12
160 Correct 52 ms 4612 KB Output is correct : V - N = 12
161 Correct 39 ms 4584 KB Output is correct : V - N = 12
162 Correct 10 ms 4608 KB Output is correct : V - N = 12
163 Correct 32 ms 4592 KB Output is correct : V - N = 12
164 Correct 17 ms 4608 KB Output is correct : V - N = 12
165 Correct 33 ms 4608 KB Output is correct : V - N = 12
166 Correct 50 ms 4620 KB Output is correct : V - N = 12
167 Correct 16 ms 4556 KB Output is correct : V - N = 12
168 Correct 54 ms 4612 KB Output is correct : V - N = 12
169 Correct 22 ms 4572 KB Output is correct : V - N = 12
170 Correct 6 ms 4608 KB Output is correct : V - N = 12
171 Correct 54 ms 4608 KB Output is correct : V - N = 12
172 Correct 51 ms 4616 KB Output is correct : V - N = 12
173 Correct 19 ms 4588 KB Output is correct : V - N = 12
174 Correct 51 ms 4552 KB Output is correct : V - N = 12
175 Correct 50 ms 4612 KB Output is correct : V - N = 12
176 Correct 35 ms 4552 KB Output is correct : V - N = 12
177 Correct 38 ms 4528 KB Output is correct : V - N = 12
178 Correct 49 ms 4612 KB Output is correct : V - N = 12