답안 #126182

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
126182 2019-07-07T08:21:14 Z tjd229 항공 노선도 (JOI18_airline) C++14
100 / 100
1022 ms 25708 KB
#include "Alicelib.h"
#include <cassert>
#include <cstdio>
#include <vector>
#define pii pair<int,int>
using namespace std;
void Alice( int N, int M, int A[], int B[] ){
	vector<pii > ex;
	int is = N + 10;
	int d1 = is + 1;
	for (int i = 0; i < N; ++i) {
		ex.push_back({ is,i });
		int ix = 1 + i;
		for (int k = 0; k < 10 && ix; ++k,ix>>=1) {
			if (ix & 1) ex.push_back({ N + k,i });
		}
	}
	for (int i = 1; i < 10; ++i) ex.push_back({N+i-1,N+i});
	ex.push_back({ is,d1 });
	InitG(N+12,M+ex.size());
	for (int i = 0; i < M; ++i) MakeG(i,A[i],B[i]);
	for (int i = 0; i < ex.size(); ++i) MakeG(M+i,ex[i].first,ex[i].second);
}

#include "Boblib.h"
#include <cassert>
#include <cstdio>
#include <vector>
#include <deque>
#define pii pair<int,int>
using namespace std;
vector<int> edge[1012];
int ix[1012];
void Bob( int V, int U, int C[], int D[] ){
	int N = V - 12;
	int d1, is;
	vector<pii > ans;
	vector<int> info;
	deque<int> dq;
	for (int i = 0; i < U; ++i) {
		edge[C[i]].push_back(D[i]);
		edge[D[i]].push_back(C[i]);
	}
	for (int i = 0; i < V; ++i) {
		if (edge[i].size() == 1) {
			int candi = edge[i][0];
			if (edge[candi].size() == N + 1) {
				d1 = i;
				is = candi;
			}
		}
	}
	ix[is] = 1;
	for (auto dst : edge[is]) 
		ix[dst] = 1;
	
	
	for (int i = 0; i < V && dq.empty(); ++i) {
		if (ix[i] == 0) dq.push_back(i),ix[i]=-1;
	}
	
	//return;
	while (dq.size() < 10) {
		int i = dq.front();
		for (auto to : edge[i]) {
			if (ix[to] == 0) {
				dq.push_front(to);
				ix[to] = -1;//in q
				break;
			}
		}
		i = dq.back();
		for (auto to : edge[i]) {
			if (ix[to] == 0) {
				dq.push_back(to);
				ix[to] = -1;
				break;
			}
		}
	}
	while (dq.size()) info.push_back(dq.front()),dq.pop_front();


	if (edge[info.back()].size() == (N >> 1) + (N & 1)+1) {
		for (int i = 0; i < 5; ++i)
			info[i] ^= info[9 - i]^= info[i] ^= info[9 - i];
	}
	ix[is] = ix[d1] = -1;
	for (int i = 0; i < V; ++i) if(ix[i]>=0) ix[i] = 0;	
	for (int i = 0; i < info.size(); ++i) {
		for (auto to : edge[info[i]]) {
			if(ix[to]>=0)
				ix[to] += (1 << i);
		}
	}
	for (int i = 0; i < U; ++i) {
		if (ix[C[i]] > 0 && ix[D[i]] > 0) {
			ans.push_back({ix[C[i]]-1, ix[D[i]]-1});
		}
	}

	InitMap(N,ans.size());
	for (auto e : ans)
		MakeMap(e.first,e.second);
}

Compilation message

Alice.cpp: In function 'void Alice(int, int, int*, int*)':
Alice.cpp:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < ex.size(); ++i) MakeG(M+i,ex[i].first,ex[i].second);
                  ~~^~~~~~~~~~~

Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:23:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (edge[candi].size() == N + 1) {
        ~~~~~~~~~~~~~~~~~~~^~~~~~~~
Bob.cpp:60:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (edge[info.back()].size() == (N >> 1) + (N & 1)+1) {
      ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Bob.cpp:66:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < info.size(); ++i) {
                  ~~^~~~~~~~~~~~~
Bob.cpp:29:9: warning: 'is' may be used uninitialized in this function [-Wmaybe-uninitialized]
  ix[is] = 1;
  ~~~~~~~^~~
Bob.cpp:64:18: warning: 'd1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  ix[is] = ix[d1] = -1;
           ~~~~~~~^~~~
# 결과 실행 시간 메모리 Grader output
1 Correct 9 ms 6640 KB Output is correct
2 Correct 9 ms 6640 KB Output is correct
3 Correct 9 ms 6640 KB Output is correct
4 Correct 8 ms 6640 KB Output is correct
5 Correct 9 ms 6896 KB Output is correct
6 Correct 10 ms 6896 KB Output is correct
7 Correct 9 ms 6640 KB Output is correct
8 Correct 11 ms 6648 KB Output is correct
9 Correct 9 ms 6896 KB Output is correct
10 Correct 9 ms 6640 KB Output is correct
11 Correct 9 ms 6640 KB Output is correct
12 Correct 9 ms 6640 KB Output is correct
13 Correct 9 ms 6640 KB Output is correct
14 Correct 9 ms 6896 KB Output is correct
15 Correct 8 ms 6640 KB Output is correct
16 Correct 8 ms 6640 KB Output is correct
17 Correct 8 ms 6640 KB Output is correct
18 Correct 8 ms 6896 KB Output is correct
19 Correct 9 ms 6640 KB Output is correct
20 Correct 9 ms 6904 KB Output is correct
21 Correct 9 ms 6896 KB Output is correct
22 Correct 9 ms 6896 KB Output is correct
23 Correct 9 ms 6896 KB Output is correct
24 Correct 8 ms 6640 KB Output is correct
25 Correct 9 ms 6640 KB Output is correct
26 Correct 9 ms 6640 KB Output is correct
27 Correct 9 ms 6896 KB Output is correct
28 Correct 8 ms 6640 KB Output is correct
29 Correct 9 ms 6896 KB Output is correct
30 Correct 8 ms 6896 KB Output is correct
31 Correct 9 ms 6896 KB Output is correct
32 Correct 8 ms 6640 KB Output is correct
33 Correct 8 ms 6640 KB Output is correct
34 Correct 9 ms 6896 KB Output is correct
35 Correct 8 ms 6648 KB Output is correct
36 Correct 8 ms 6640 KB Output is correct
37 Correct 8 ms 6640 KB Output is correct
38 Correct 8 ms 6640 KB Output is correct
39 Correct 9 ms 6896 KB Output is correct
40 Correct 9 ms 6896 KB Output is correct
41 Correct 9 ms 6896 KB Output is correct
42 Correct 9 ms 6640 KB Output is correct
43 Correct 10 ms 6736 KB Output is correct
44 Correct 9 ms 6896 KB Output is correct
45 Correct 8 ms 6640 KB Output is correct
46 Correct 9 ms 6736 KB Output is correct
47 Correct 9 ms 6896 KB Output is correct
48 Correct 9 ms 6960 KB Output is correct
49 Correct 8 ms 6640 KB Output is correct
50 Correct 9 ms 6640 KB Output is correct
51 Correct 8 ms 6640 KB Output is correct
52 Correct 8 ms 6640 KB Output is correct
53 Correct 8 ms 6640 KB Output is correct
54 Correct 9 ms 6640 KB Output is correct
55 Correct 8 ms 6640 KB Output is correct
56 Correct 8 ms 6640 KB Output is correct
57 Correct 9 ms 6896 KB Output is correct
58 Correct 8 ms 6640 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 9 ms 6640 KB Output is correct
2 Correct 9 ms 6640 KB Output is correct
3 Correct 9 ms 6640 KB Output is correct
4 Correct 8 ms 6640 KB Output is correct
5 Correct 9 ms 6896 KB Output is correct
6 Correct 10 ms 6896 KB Output is correct
7 Correct 9 ms 6640 KB Output is correct
8 Correct 11 ms 6648 KB Output is correct
9 Correct 9 ms 6896 KB Output is correct
10 Correct 9 ms 6640 KB Output is correct
11 Correct 9 ms 6640 KB Output is correct
12 Correct 9 ms 6640 KB Output is correct
13 Correct 9 ms 6640 KB Output is correct
14 Correct 9 ms 6896 KB Output is correct
15 Correct 8 ms 6640 KB Output is correct
16 Correct 8 ms 6640 KB Output is correct
17 Correct 8 ms 6640 KB Output is correct
18 Correct 8 ms 6896 KB Output is correct
19 Correct 9 ms 6640 KB Output is correct
20 Correct 9 ms 6904 KB Output is correct
21 Correct 9 ms 6896 KB Output is correct
22 Correct 9 ms 6896 KB Output is correct
23 Correct 9 ms 6896 KB Output is correct
24 Correct 8 ms 6640 KB Output is correct
25 Correct 9 ms 6640 KB Output is correct
26 Correct 9 ms 6640 KB Output is correct
27 Correct 9 ms 6896 KB Output is correct
28 Correct 8 ms 6640 KB Output is correct
29 Correct 9 ms 6896 KB Output is correct
30 Correct 8 ms 6896 KB Output is correct
31 Correct 9 ms 6896 KB Output is correct
32 Correct 8 ms 6640 KB Output is correct
33 Correct 8 ms 6640 KB Output is correct
34 Correct 9 ms 6896 KB Output is correct
35 Correct 8 ms 6648 KB Output is correct
36 Correct 8 ms 6640 KB Output is correct
37 Correct 8 ms 6640 KB Output is correct
38 Correct 8 ms 6640 KB Output is correct
39 Correct 9 ms 6896 KB Output is correct
40 Correct 9 ms 6896 KB Output is correct
41 Correct 9 ms 6896 KB Output is correct
42 Correct 9 ms 6640 KB Output is correct
43 Correct 10 ms 6736 KB Output is correct
44 Correct 9 ms 6896 KB Output is correct
45 Correct 8 ms 6640 KB Output is correct
46 Correct 9 ms 6736 KB Output is correct
47 Correct 9 ms 6896 KB Output is correct
48 Correct 9 ms 6960 KB Output is correct
49 Correct 8 ms 6640 KB Output is correct
50 Correct 9 ms 6640 KB Output is correct
51 Correct 8 ms 6640 KB Output is correct
52 Correct 8 ms 6640 KB Output is correct
53 Correct 8 ms 6640 KB Output is correct
54 Correct 9 ms 6640 KB Output is correct
55 Correct 8 ms 6640 KB Output is correct
56 Correct 8 ms 6640 KB Output is correct
57 Correct 9 ms 6896 KB Output is correct
58 Correct 8 ms 6640 KB Output is correct
59 Correct 9 ms 6640 KB Output is correct
60 Correct 9 ms 6640 KB Output is correct
61 Correct 9 ms 6896 KB Output is correct
62 Correct 9 ms 6640 KB Output is correct
63 Correct 9 ms 6640 KB Output is correct
64 Correct 9 ms 6640 KB Output is correct
65 Correct 9 ms 6640 KB Output is correct
66 Correct 10 ms 6736 KB Output is correct
67 Correct 9 ms 6896 KB Output is correct
68 Correct 9 ms 6640 KB Output is correct
69 Correct 9 ms 6896 KB Output is correct
70 Correct 9 ms 6640 KB Output is correct
71 Correct 9 ms 6896 KB Output is correct
72 Correct 9 ms 6640 KB Output is correct
73 Correct 9 ms 6896 KB Output is correct
74 Correct 9 ms 6640 KB Output is correct
75 Correct 9 ms 6640 KB Output is correct
76 Correct 9 ms 6640 KB Output is correct
77 Correct 9 ms 6896 KB Output is correct
78 Correct 10 ms 6904 KB Output is correct
79 Correct 9 ms 6896 KB Output is correct
80 Correct 13 ms 6904 KB Output is correct
81 Correct 10 ms 6640 KB Output is correct
82 Correct 9 ms 6640 KB Output is correct
83 Correct 9 ms 6640 KB Output is correct
84 Correct 8 ms 6640 KB Output is correct
85 Correct 9 ms 6896 KB Output is correct
86 Correct 9 ms 6736 KB Output is correct
87 Correct 9 ms 6896 KB Output is correct
88 Correct 8 ms 6896 KB Output is correct
89 Correct 9 ms 6896 KB Output is correct
90 Correct 9 ms 6696 KB Output is correct
91 Correct 9 ms 6896 KB Output is correct
92 Correct 9 ms 6640 KB Output is correct
93 Correct 8 ms 6640 KB Output is correct
94 Correct 9 ms 6640 KB Output is correct
95 Correct 9 ms 6640 KB Output is correct
96 Correct 9 ms 6640 KB Output is correct
97 Correct 9 ms 6648 KB Output is correct
98 Correct 9 ms 6800 KB Output is correct
99 Correct 9 ms 6896 KB Output is correct
100 Correct 9 ms 6896 KB Output is correct
101 Correct 8 ms 6640 KB Output is correct
102 Correct 9 ms 6640 KB Output is correct
103 Correct 9 ms 6640 KB Output is correct
104 Correct 10 ms 6640 KB Output is correct
105 Correct 11 ms 6896 KB Output is correct
106 Correct 9 ms 6640 KB Output is correct
107 Correct 8 ms 6640 KB Output is correct
108 Correct 9 ms 6736 KB Output is correct
109 Correct 9 ms 6640 KB Output is correct
110 Correct 8 ms 6640 KB Output is correct
111 Correct 9 ms 6640 KB Output is correct
112 Correct 9 ms 6640 KB Output is correct
113 Correct 9 ms 6896 KB Output is correct
114 Correct 9 ms 6952 KB Output is correct
115 Correct 9 ms 6896 KB Output is correct
116 Correct 9 ms 6904 KB Output is correct
117 Correct 9 ms 6640 KB Output is correct
118 Correct 10 ms 6752 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 929 ms 25684 KB Output is correct : V - N = 12
2 Correct 755 ms 22960 KB Output is correct : V - N = 12
3 Correct 287 ms 13040 KB Output is correct : V - N = 12
4 Correct 16 ms 7152 KB Output is correct : V - N = 12
5 Correct 183 ms 9960 KB Output is correct : V - N = 12
6 Correct 629 ms 21244 KB Output is correct : V - N = 12
7 Correct 974 ms 25072 KB Output is correct : V - N = 12
8 Correct 907 ms 24016 KB Output is correct : V - N = 12
9 Correct 357 ms 14492 KB Output is correct : V - N = 12
10 Correct 60 ms 7920 KB Output is correct : V - N = 12
11 Correct 86 ms 8504 KB Output is correct : V - N = 12
12 Correct 501 ms 16328 KB Output is correct : V - N = 12
13 Correct 876 ms 24588 KB Output is correct : V - N = 12
14 Correct 961 ms 25012 KB Output is correct : V - N = 12
15 Correct 564 ms 20388 KB Output is correct : V - N = 12
16 Correct 121 ms 9128 KB Output is correct : V - N = 12
17 Correct 34 ms 7408 KB Output is correct : V - N = 12
18 Correct 354 ms 13708 KB Output is correct : V - N = 12
19 Correct 854 ms 23508 KB Output is correct : V - N = 12
20 Correct 1006 ms 25708 KB Output is correct : V - N = 12
21 Correct 250 ms 11508 KB Output is correct : V - N = 12
22 Correct 199 ms 10408 KB Output is correct : V - N = 12
23 Correct 78 ms 8432 KB Output is correct : V - N = 12
24 Correct 11 ms 6984 KB Output is correct : V - N = 12
25 Correct 57 ms 7720 KB Output is correct : V - N = 12
26 Correct 217 ms 9880 KB Output is correct : V - N = 12
27 Correct 262 ms 11136 KB Output is correct : V - N = 12
28 Correct 227 ms 10912 KB Output is correct : V - N = 12
29 Correct 115 ms 8848 KB Output is correct : V - N = 12
30 Correct 16 ms 7152 KB Output is correct : V - N = 12
31 Correct 14 ms 7192 KB Output is correct : V - N = 12
32 Correct 14 ms 7152 KB Output is correct : V - N = 12
33 Correct 14 ms 7152 KB Output is correct : V - N = 12
34 Correct 14 ms 7112 KB Output is correct : V - N = 12
35 Correct 14 ms 7152 KB Output is correct : V - N = 12
36 Correct 980 ms 25576 KB Output is correct : V - N = 12
37 Correct 969 ms 25372 KB Output is correct : V - N = 12
38 Correct 991 ms 25616 KB Output is correct : V - N = 12
39 Correct 1022 ms 25444 KB Output is correct : V - N = 12
40 Correct 940 ms 25556 KB Output is correct : V - N = 12
41 Correct 176 ms 10032 KB Output is correct : V - N = 12
42 Correct 137 ms 9272 KB Output is correct : V - N = 12
43 Correct 158 ms 9600 KB Output is correct : V - N = 12
44 Correct 14 ms 7160 KB Output is correct : V - N = 12
45 Correct 96 ms 8824 KB Output is correct : V - N = 12
46 Correct 320 ms 13120 KB Output is correct : V - N = 12
47 Correct 180 ms 9904 KB Output is correct : V - N = 12
48 Correct 469 ms 14628 KB Output is correct : V - N = 12
49 Correct 87 ms 8528 KB Output is correct : V - N = 12
50 Correct 30 ms 7608 KB Output is correct : V - N = 12
51 Correct 784 ms 22848 KB Output is correct : V - N = 12
52 Correct 16 ms 7152 KB Output is correct : V - N = 12
53 Correct 618 ms 21148 KB Output is correct : V - N = 12
54 Correct 827 ms 23924 KB Output is correct : V - N = 12
55 Correct 59 ms 7912 KB Output is correct : V - N = 12
56 Correct 504 ms 16044 KB Output is correct : V - N = 12
57 Correct 894 ms 24736 KB Output is correct : V - N = 12
58 Correct 133 ms 9112 KB Output is correct : V - N = 12
59 Correct 353 ms 13812 KB Output is correct : V - N = 12
60 Correct 941 ms 25060 KB Output is correct : V - N = 12
61 Correct 9 ms 6896 KB Output is correct : V - N = 12
62 Correct 9 ms 6640 KB Output is correct : V - N = 12
63 Correct 8 ms 6640 KB Output is correct : V - N = 12
64 Correct 9 ms 6896 KB Output is correct : V - N = 12
65 Correct 8 ms 6640 KB Output is correct : V - N = 12
66 Correct 9 ms 6640 KB Output is correct : V - N = 12
67 Correct 9 ms 6640 KB Output is correct : V - N = 12
68 Correct 9 ms 6896 KB Output is correct : V - N = 12
69 Correct 9 ms 6896 KB Output is correct : V - N = 12
70 Correct 9 ms 6896 KB Output is correct : V - N = 12
71 Correct 8 ms 6640 KB Output is correct : V - N = 12
72 Correct 9 ms 6640 KB Output is correct : V - N = 12
73 Correct 9 ms 6992 KB Output is correct : V - N = 12
74 Correct 9 ms 7152 KB Output is correct : V - N = 12
75 Correct 9 ms 6896 KB Output is correct : V - N = 12
76 Correct 9 ms 6648 KB Output is correct : V - N = 12
77 Correct 9 ms 6896 KB Output is correct : V - N = 12
78 Correct 9 ms 6896 KB Output is correct : V - N = 12
79 Correct 9 ms 6640 KB Output is correct : V - N = 12
80 Correct 9 ms 6640 KB Output is correct : V - N = 12
81 Correct 9 ms 6640 KB Output is correct : V - N = 12
82 Correct 8 ms 6640 KB Output is correct : V - N = 12
83 Correct 8 ms 6640 KB Output is correct : V - N = 12
84 Correct 9 ms 6896 KB Output is correct : V - N = 12
85 Correct 9 ms 6896 KB Output is correct : V - N = 12
86 Correct 9 ms 6640 KB Output is correct : V - N = 12
87 Correct 9 ms 6896 KB Output is correct : V - N = 12
88 Correct 22 ms 6640 KB Output is correct : V - N = 12
89 Correct 11 ms 6640 KB Output is correct : V - N = 12
90 Correct 9 ms 6896 KB Output is correct : V - N = 12
91 Correct 9 ms 6640 KB Output is correct : V - N = 12
92 Correct 9 ms 6736 KB Output is correct : V - N = 12
93 Correct 9 ms 6640 KB Output is correct : V - N = 12
94 Correct 10 ms 6640 KB Output is correct : V - N = 12
95 Correct 8 ms 6896 KB Output is correct : V - N = 12
96 Correct 9 ms 6904 KB Output is correct : V - N = 12
97 Correct 4 ms 6896 KB Output is correct : V - N = 12
98 Correct 10 ms 6640 KB Output is correct : V - N = 12
99 Correct 9 ms 6904 KB Output is correct : V - N = 12
100 Correct 9 ms 6896 KB Output is correct : V - N = 12
101 Correct 9 ms 6896 KB Output is correct : V - N = 12
102 Correct 9 ms 6640 KB Output is correct : V - N = 12
103 Correct 9 ms 6896 KB Output is correct : V - N = 12
104 Correct 9 ms 6896 KB Output is correct : V - N = 12
105 Correct 9 ms 6640 KB Output is correct : V - N = 12
106 Correct 9 ms 6640 KB Output is correct : V - N = 12
107 Correct 8 ms 6640 KB Output is correct : V - N = 12
108 Correct 9 ms 6640 KB Output is correct : V - N = 12
109 Correct 8 ms 6640 KB Output is correct : V - N = 12
110 Correct 8 ms 6648 KB Output is correct : V - N = 12
111 Correct 9 ms 6896 KB Output is correct : V - N = 12
112 Correct 8 ms 6640 KB Output is correct : V - N = 12
113 Correct 8 ms 6640 KB Output is correct : V - N = 12
114 Correct 9 ms 6896 KB Output is correct : V - N = 12
115 Correct 8 ms 6640 KB Output is correct : V - N = 12
116 Correct 9 ms 6896 KB Output is correct : V - N = 12
117 Correct 9 ms 6896 KB Output is correct : V - N = 12
118 Correct 9 ms 6896 KB Output is correct : V - N = 12
119 Correct 9 ms 6640 KB Output is correct : V - N = 12
120 Correct 9 ms 6640 KB Output is correct : V - N = 12
121 Correct 9 ms 6896 KB Output is correct : V - N = 12
122 Correct 9 ms 6640 KB Output is correct : V - N = 12
123 Correct 9 ms 6640 KB Output is correct : V - N = 12
124 Correct 9 ms 6640 KB Output is correct : V - N = 12
125 Correct 9 ms 6896 KB Output is correct : V - N = 12
126 Correct 8 ms 6640 KB Output is correct : V - N = 12
127 Correct 9 ms 6904 KB Output is correct : V - N = 12
128 Correct 9 ms 6736 KB Output is correct : V - N = 12
129 Correct 9 ms 6952 KB Output is correct : V - N = 12
130 Correct 9 ms 6896 KB Output is correct : V - N = 12
131 Correct 9 ms 6640 KB Output is correct : V - N = 12
132 Correct 9 ms 6608 KB Output is correct : V - N = 12
133 Correct 10 ms 6640 KB Output is correct : V - N = 12
134 Correct 9 ms 6896 KB Output is correct : V - N = 12
135 Correct 10 ms 6640 KB Output is correct : V - N = 12
136 Correct 9 ms 6904 KB Output is correct : V - N = 12
137 Correct 9 ms 6640 KB Output is correct : V - N = 12
138 Correct 9 ms 6896 KB Output is correct : V - N = 12
139 Correct 8 ms 6896 KB Output is correct : V - N = 12
140 Correct 8 ms 6640 KB Output is correct : V - N = 12
141 Correct 8 ms 6640 KB Output is correct : V - N = 12
142 Correct 9 ms 6896 KB Output is correct : V - N = 12
143 Correct 9 ms 6896 KB Output is correct : V - N = 12
144 Correct 9 ms 6896 KB Output is correct : V - N = 12
145 Correct 9 ms 6896 KB Output is correct : V - N = 12
146 Correct 8 ms 6640 KB Output is correct : V - N = 12
147 Correct 9 ms 6640 KB Output is correct : V - N = 12
148 Correct 9 ms 6896 KB Output is correct : V - N = 12
149 Correct 9 ms 6896 KB Output is correct : V - N = 12
150 Correct 8 ms 6640 KB Output is correct : V - N = 12
151 Correct 8 ms 6736 KB Output is correct : V - N = 12
152 Correct 8 ms 6640 KB Output is correct : V - N = 12
153 Correct 9 ms 6896 KB Output is correct : V - N = 12
154 Correct 9 ms 6640 KB Output is correct : V - N = 12
155 Correct 9 ms 6640 KB Output is correct : V - N = 12
156 Correct 9 ms 6720 KB Output is correct : V - N = 12
157 Correct 10 ms 6896 KB Output is correct : V - N = 12
158 Correct 9 ms 6896 KB Output is correct : V - N = 12
159 Correct 9 ms 7152 KB Output is correct : V - N = 12
160 Correct 9 ms 6896 KB Output is correct : V - N = 12
161 Correct 9 ms 6896 KB Output is correct : V - N = 12
162 Correct 9 ms 6640 KB Output is correct : V - N = 12
163 Correct 8 ms 6640 KB Output is correct : V - N = 12
164 Correct 9 ms 6896 KB Output is correct : V - N = 12
165 Correct 9 ms 6936 KB Output is correct : V - N = 12
166 Correct 9 ms 6896 KB Output is correct : V - N = 12
167 Correct 9 ms 6736 KB Output is correct : V - N = 12
168 Correct 9 ms 6896 KB Output is correct : V - N = 12
169 Correct 8 ms 6640 KB Output is correct : V - N = 12
170 Correct 9 ms 6896 KB Output is correct : V - N = 12
171 Correct 9 ms 6896 KB Output is correct : V - N = 12
172 Correct 10 ms 6896 KB Output is correct : V - N = 12
173 Correct 10 ms 6896 KB Output is correct : V - N = 12
174 Correct 9 ms 6896 KB Output is correct : V - N = 12
175 Correct 9 ms 6640 KB Output is correct : V - N = 12
176 Correct 10 ms 6896 KB Output is correct : V - N = 12
177 Correct 8 ms 6640 KB Output is correct : V - N = 12
178 Correct 9 ms 6896 KB Output is correct : V - N = 12