답안 #933935

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
933935 2024-02-26T15:13:58 Z alexander707070 항공 노선도 (JOI18_airline) C++14
100 / 100
585 ms 54064 KB
#include<bits/stdc++.h>
#include "Alicelib.h"
#define MAXN 200007

using namespace std;

namespace{
	int n,m,num;
	vector< pair<int,int> > edges;
}

void Alice( int N, int M, int A[], int B[]){

	n=N; m=M;
	num=17;

	for(int i=0;i<n;i++){
		for(int f=10;f>=0;f--){
			if(((1<<f)&(i+num))>0)edges.push_back({i,n+f});
		}
	}

	for(int i=n;i<=n+10;i++){
		edges.push_back({i,n+11});
		if(i<n+10)edges.push_back({i,i+1});
	}

	for(int i=0;i<m;i++){
		edges.push_back({A[i],B[i]});
	}

	InitG( n+12, edges.size() );
	for(int i=0;i<edges.size();i++){
		MakeG(i,edges[i].first,edges[i].second);
	}
}

#include <bits/stdc++.h>
#include "Boblib.h"
#define MAXN 200007

using namespace std;

namespace{
	int v,u,e,cnt,root,curr;
	vector<int> g[MAXN],w,line[MAXN];
	int sp[MAXN],tim;
	vector<int> path;
	vector< pair<int,int> > ed;
	int used2[MAXN],tim2,pos[MAXN],to[MAXN];
	bool dali,yoy;

	void dfs(int x,int p){
		path.push_back(x);

		for(int i=0;i<line[x].size();i++){
			if(line[x][i]==p)continue;
			dfs(line[x][i],x);
		}
	}

	bool ok(int x){
		w.clear(); tim++; e=0;

		for(int i=0;i<g[x].size();i++){
			w.push_back(g[x][i]);
			sp[w.back()]=tim;

			line[w.back()].clear();
		}

		for(int i=0;i<w.size();i++){
			for(int f:g[w[i]]){
				if(sp[f]==tim and f>w[i]){
					e++;

					line[w[i]].push_back(f);
					line[f].push_back(w[i]);
				}
			}
		}

		if(e!=w.size()-1)return false;
		
		cnt=0;
		for(int i=0;i<w.size();i++){
			if(int(line[w[i]].size())!=1 and int(line[w[i]].size())!=2)return false;
			if(int(line[w[i]].size())==1){
				cnt++; root=w[i];
			}
		}

		if(cnt!=2)return false;
		path.clear(); dfs(root,-1);

		for(int i=0;i<path.size();i++){
			pos[path[i]]=i;
		}

		tim2++; dali=true;
		for(int f=0;f<v;f++){
			if(f==x or sp[f]==tim)continue;

			curr=0;
			for(int k:g[f]){
				if(sp[k]!=tim)continue;
				curr+=(1<<pos[k]);
			}
			to[f]=curr;

			if(used2[curr]==tim2 or curr<17 or curr>=v-12+17){dali=false;break;}
			used2[curr]=tim2;
		}

		if(dali)return true;

		reverse(path.begin(),path.end());

		for(int i=0;i<path.size();i++){
			pos[path[i]]=i;
		}

		tim2++; dali=true;
		for(int f=0;f<v;f++){
			if(f==x or sp[f]==tim)continue;

			curr=0;
			for(int k:g[f]){
				if(sp[k]!=tim)continue;
				curr+=(1<<pos[k]);
			}
			to[f]=curr;

			if(used2[curr]==tim2 or curr<17 or curr>=v-12+17){dali=false;break;}
			used2[curr]=tim2;
		}

		if(dali)return true;

		yoy=true;

		return false;
	}
}

void Bob( int V, int U, int C[], int D[] ){

	v=V; u=U;
	for(int i=0;i<u;i++){
		g[C[i]].push_back(D[i]);
		g[D[i]].push_back(C[i]);
	}

	for(int i=0;i<v;i++){
		if(g[i].size()==11 and ok(i)){
			e=0; ed.clear();

			for(int f=0;f<u;f++){
				if(sp[C[f]]==tim or sp[D[f]]==tim)continue;
				ed.push_back({to[C[f]]-17,to[D[f]]-17});
				e++;
			}
			InitMap(V-12,e);

			for(int f=0;f<ed.size();f++){
				MakeMap(ed[f].first,ed[f].second);
			}

			return;
		}
	}

	if(yoy)cout<<1/0;
}

Compilation message

Alice.cpp: In function 'void Alice(int, int, int*, int*)':
Alice.cpp:33:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   33 |  for(int i=0;i<edges.size();i++){
      |              ~^~~~~~~~~~~~~

Bob.cpp: In function 'void {anonymous}::dfs(int, int)':
Bob.cpp:19:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |   for(int i=0;i<line[x].size();i++){
      |               ~^~~~~~~~~~~~~~~
Bob.cpp: In function 'bool {anonymous}::ok(int)':
Bob.cpp:28:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |   for(int i=0;i<g[x].size();i++){
      |               ~^~~~~~~~~~~~
Bob.cpp:35:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   35 |   for(int i=0;i<w.size();i++){
      |               ~^~~~~~~~~
Bob.cpp:46:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   46 |   if(e!=w.size()-1)return false;
      |      ~^~~~~~~~~~~~
Bob.cpp:49:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   49 |   for(int i=0;i<w.size();i++){
      |               ~^~~~~~~~~
Bob.cpp:59:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   59 |   for(int i=0;i<path.size();i++){
      |               ~^~~~~~~~~~~~
Bob.cpp:82:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   82 |   for(int i=0;i<path.size();i++){
      |               ~^~~~~~~~~~~~
Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:128:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  128 |    for(int f=0;f<ed.size();f++){
      |                ~^~~~~~~~~~
Bob.cpp:136:16: warning: division by zero [-Wdiv-by-zero]
  136 |  if(yoy)cout<<1/0;
      |               ~^~
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 29444 KB Output is correct
2 Correct 5 ms 29444 KB Output is correct
3 Correct 6 ms 29444 KB Output is correct
4 Correct 5 ms 27392 KB Output is correct
5 Correct 6 ms 29440 KB Output is correct
6 Correct 6 ms 29444 KB Output is correct
7 Correct 6 ms 29444 KB Output is correct
8 Correct 6 ms 29444 KB Output is correct
9 Correct 7 ms 29440 KB Output is correct
10 Correct 5 ms 27396 KB Output is correct
11 Correct 5 ms 29444 KB Output is correct
12 Correct 6 ms 29444 KB Output is correct
13 Correct 7 ms 29444 KB Output is correct
14 Correct 6 ms 29440 KB Output is correct
15 Correct 5 ms 29444 KB Output is correct
16 Correct 5 ms 29448 KB Output is correct
17 Correct 6 ms 29552 KB Output is correct
18 Correct 6 ms 29444 KB Output is correct
19 Correct 5 ms 29440 KB Output is correct
20 Correct 7 ms 29416 KB Output is correct
21 Correct 6 ms 29444 KB Output is correct
22 Correct 6 ms 29440 KB Output is correct
23 Correct 7 ms 29444 KB Output is correct
24 Correct 5 ms 27392 KB Output is correct
25 Correct 5 ms 29440 KB Output is correct
26 Correct 5 ms 29444 KB Output is correct
27 Correct 6 ms 29444 KB Output is correct
28 Correct 7 ms 29444 KB Output is correct
29 Correct 6 ms 29444 KB Output is correct
30 Correct 5 ms 27400 KB Output is correct
31 Correct 5 ms 27392 KB Output is correct
32 Correct 6 ms 27388 KB Output is correct
33 Correct 5 ms 27396 KB Output is correct
34 Correct 5 ms 27392 KB Output is correct
35 Correct 5 ms 27396 KB Output is correct
36 Correct 6 ms 29352 KB Output is correct
37 Correct 6 ms 29444 KB Output is correct
38 Correct 7 ms 29348 KB Output is correct
39 Correct 7 ms 29440 KB Output is correct
40 Correct 6 ms 29440 KB Output is correct
41 Correct 6 ms 29436 KB Output is correct
42 Correct 6 ms 29448 KB Output is correct
43 Correct 6 ms 29440 KB Output is correct
44 Correct 5 ms 27396 KB Output is correct
45 Correct 6 ms 27396 KB Output is correct
46 Correct 6 ms 29548 KB Output is correct
47 Correct 6 ms 29444 KB Output is correct
48 Correct 6 ms 29440 KB Output is correct
49 Correct 6 ms 29636 KB Output is correct
50 Correct 6 ms 27396 KB Output is correct
51 Correct 7 ms 27392 KB Output is correct
52 Correct 5 ms 29444 KB Output is correct
53 Correct 5 ms 27396 KB Output is correct
54 Correct 5 ms 29440 KB Output is correct
55 Correct 7 ms 29444 KB Output is correct
56 Correct 5 ms 29364 KB Output is correct
57 Correct 6 ms 29444 KB Output is correct
58 Correct 5 ms 29440 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 29444 KB Output is correct
2 Correct 5 ms 29444 KB Output is correct
3 Correct 6 ms 29444 KB Output is correct
4 Correct 5 ms 27392 KB Output is correct
5 Correct 6 ms 29440 KB Output is correct
6 Correct 6 ms 29444 KB Output is correct
7 Correct 6 ms 29444 KB Output is correct
8 Correct 6 ms 29444 KB Output is correct
9 Correct 7 ms 29440 KB Output is correct
10 Correct 5 ms 27396 KB Output is correct
11 Correct 5 ms 29444 KB Output is correct
12 Correct 6 ms 29444 KB Output is correct
13 Correct 7 ms 29444 KB Output is correct
14 Correct 6 ms 29440 KB Output is correct
15 Correct 5 ms 29444 KB Output is correct
16 Correct 5 ms 29448 KB Output is correct
17 Correct 6 ms 29552 KB Output is correct
18 Correct 6 ms 29444 KB Output is correct
19 Correct 5 ms 29440 KB Output is correct
20 Correct 7 ms 29416 KB Output is correct
21 Correct 6 ms 29444 KB Output is correct
22 Correct 6 ms 29440 KB Output is correct
23 Correct 7 ms 29444 KB Output is correct
24 Correct 5 ms 27392 KB Output is correct
25 Correct 5 ms 29440 KB Output is correct
26 Correct 5 ms 29444 KB Output is correct
27 Correct 6 ms 29444 KB Output is correct
28 Correct 7 ms 29444 KB Output is correct
29 Correct 6 ms 29444 KB Output is correct
30 Correct 5 ms 27400 KB Output is correct
31 Correct 5 ms 27392 KB Output is correct
32 Correct 6 ms 27388 KB Output is correct
33 Correct 5 ms 27396 KB Output is correct
34 Correct 5 ms 27392 KB Output is correct
35 Correct 5 ms 27396 KB Output is correct
36 Correct 6 ms 29352 KB Output is correct
37 Correct 6 ms 29444 KB Output is correct
38 Correct 7 ms 29348 KB Output is correct
39 Correct 7 ms 29440 KB Output is correct
40 Correct 6 ms 29440 KB Output is correct
41 Correct 6 ms 29436 KB Output is correct
42 Correct 6 ms 29448 KB Output is correct
43 Correct 6 ms 29440 KB Output is correct
44 Correct 5 ms 27396 KB Output is correct
45 Correct 6 ms 27396 KB Output is correct
46 Correct 6 ms 29548 KB Output is correct
47 Correct 6 ms 29444 KB Output is correct
48 Correct 6 ms 29440 KB Output is correct
49 Correct 6 ms 29636 KB Output is correct
50 Correct 6 ms 27396 KB Output is correct
51 Correct 7 ms 27392 KB Output is correct
52 Correct 5 ms 29444 KB Output is correct
53 Correct 5 ms 27396 KB Output is correct
54 Correct 5 ms 29440 KB Output is correct
55 Correct 7 ms 29444 KB Output is correct
56 Correct 5 ms 29364 KB Output is correct
57 Correct 6 ms 29444 KB Output is correct
58 Correct 5 ms 29440 KB Output is correct
59 Correct 5 ms 29444 KB Output is correct
60 Correct 7 ms 29444 KB Output is correct
61 Correct 6 ms 29444 KB Output is correct
62 Correct 6 ms 29444 KB Output is correct
63 Correct 6 ms 29448 KB Output is correct
64 Correct 7 ms 29444 KB Output is correct
65 Correct 6 ms 29440 KB Output is correct
66 Correct 7 ms 29448 KB Output is correct
67 Correct 6 ms 29440 KB Output is correct
68 Correct 6 ms 29532 KB Output is correct
69 Correct 7 ms 29440 KB Output is correct
70 Correct 6 ms 29436 KB Output is correct
71 Correct 6 ms 29440 KB Output is correct
72 Correct 6 ms 29444 KB Output is correct
73 Correct 7 ms 29444 KB Output is correct
74 Correct 6 ms 29444 KB Output is correct
75 Correct 7 ms 29444 KB Output is correct
76 Correct 6 ms 29440 KB Output is correct
77 Correct 7 ms 29448 KB Output is correct
78 Correct 8 ms 29760 KB Output is correct
79 Correct 7 ms 29444 KB Output is correct
80 Correct 6 ms 29444 KB Output is correct
81 Correct 6 ms 29444 KB Output is correct
82 Correct 6 ms 29440 KB Output is correct
83 Correct 6 ms 29440 KB Output is correct
84 Correct 5 ms 29440 KB Output is correct
85 Correct 7 ms 29444 KB Output is correct
86 Correct 6 ms 29444 KB Output is correct
87 Correct 7 ms 29444 KB Output is correct
88 Correct 6 ms 29564 KB Output is correct
89 Correct 7 ms 27552 KB Output is correct
90 Correct 5 ms 27396 KB Output is correct
91 Correct 5 ms 27396 KB Output is correct
92 Correct 5 ms 27396 KB Output is correct
93 Correct 5 ms 27396 KB Output is correct
94 Correct 6 ms 29444 KB Output is correct
95 Correct 7 ms 29508 KB Output is correct
96 Correct 6 ms 29444 KB Output is correct
97 Correct 6 ms 29440 KB Output is correct
98 Correct 6 ms 29440 KB Output is correct
99 Correct 6 ms 29444 KB Output is correct
100 Correct 6 ms 29444 KB Output is correct
101 Correct 6 ms 29448 KB Output is correct
102 Correct 6 ms 27396 KB Output is correct
103 Correct 7 ms 29528 KB Output is correct
104 Correct 6 ms 29404 KB Output is correct
105 Correct 6 ms 29444 KB Output is correct
106 Correct 6 ms 29440 KB Output is correct
107 Correct 7 ms 29444 KB Output is correct
108 Correct 7 ms 29692 KB Output is correct
109 Correct 7 ms 29444 KB Output is correct
110 Correct 6 ms 29444 KB Output is correct
111 Correct 6 ms 29436 KB Output is correct
112 Correct 6 ms 29444 KB Output is correct
113 Correct 6 ms 29440 KB Output is correct
114 Correct 6 ms 29444 KB Output is correct
115 Correct 6 ms 29444 KB Output is correct
116 Correct 5 ms 29444 KB Output is correct
117 Correct 6 ms 29440 KB Output is correct
118 Correct 6 ms 29440 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 425 ms 54004 KB Output is correct : V - N = 12
2 Correct 376 ms 51828 KB Output is correct : V - N = 12
3 Correct 139 ms 35804 KB Output is correct : V - N = 12
4 Correct 10 ms 29664 KB Output is correct : V - N = 12
5 Correct 78 ms 33496 KB Output is correct : V - N = 12
6 Correct 281 ms 51352 KB Output is correct : V - N = 12
7 Correct 426 ms 54064 KB Output is correct : V - N = 12
8 Correct 347 ms 53136 KB Output is correct : V - N = 12
9 Correct 194 ms 36512 KB Output is correct : V - N = 12
10 Correct 24 ms 31068 KB Output is correct : V - N = 12
11 Correct 40 ms 31312 KB Output is correct : V - N = 12
12 Correct 197 ms 43180 KB Output is correct : V - N = 12
13 Correct 385 ms 52956 KB Output is correct : V - N = 12
14 Correct 422 ms 53348 KB Output is correct : V - N = 12
15 Correct 237 ms 49100 KB Output is correct : V - N = 12
16 Correct 54 ms 32340 KB Output is correct : V - N = 12
17 Correct 15 ms 30636 KB Output is correct : V - N = 12
18 Correct 191 ms 36264 KB Output is correct : V - N = 12
19 Correct 394 ms 53712 KB Output is correct : V - N = 12
20 Correct 427 ms 53680 KB Output is correct : V - N = 12
21 Correct 112 ms 34000 KB Output is correct : V - N = 12
22 Correct 105 ms 32956 KB Output is correct : V - N = 12
23 Correct 50 ms 31656 KB Output is correct : V - N = 12
24 Correct 7 ms 29444 KB Output is correct : V - N = 12
25 Correct 27 ms 30860 KB Output is correct : V - N = 12
26 Correct 59 ms 33328 KB Output is correct : V - N = 12
27 Correct 130 ms 33336 KB Output is correct : V - N = 12
28 Correct 105 ms 33132 KB Output is correct : V - N = 12
29 Correct 68 ms 31856 KB Output is correct : V - N = 12
30 Correct 10 ms 29944 KB Output is correct : V - N = 12
31 Correct 8 ms 27396 KB Output is correct : V - N = 12
32 Correct 9 ms 27328 KB Output is correct : V - N = 12
33 Correct 8 ms 27392 KB Output is correct : V - N = 12
34 Correct 9 ms 27352 KB Output is correct : V - N = 12
35 Correct 9 ms 27392 KB Output is correct : V - N = 12
36 Correct 506 ms 52740 KB Output is correct : V - N = 12
37 Correct 438 ms 53852 KB Output is correct : V - N = 12
38 Correct 491 ms 53968 KB Output is correct : V - N = 12
39 Correct 548 ms 53324 KB Output is correct : V - N = 12
40 Correct 585 ms 53504 KB Output is correct : V - N = 12
41 Correct 71 ms 32992 KB Output is correct : V - N = 12
42 Correct 62 ms 32396 KB Output is correct : V - N = 12
43 Correct 79 ms 32916 KB Output is correct : V - N = 12
44 Correct 10 ms 29628 KB Output is correct : V - N = 12
45 Correct 44 ms 31976 KB Output is correct : V - N = 12
46 Correct 175 ms 35628 KB Output is correct : V - N = 12
47 Correct 76 ms 33032 KB Output is correct : V - N = 12
48 Correct 199 ms 36928 KB Output is correct : V - N = 12
49 Correct 34 ms 31880 KB Output is correct : V - N = 12
50 Correct 15 ms 30596 KB Output is correct : V - N = 12
51 Correct 376 ms 51996 KB Output is correct : V - N = 12
52 Correct 11 ms 29700 KB Output is correct : V - N = 12
53 Correct 334 ms 52232 KB Output is correct : V - N = 12
54 Correct 447 ms 53908 KB Output is correct : V - N = 12
55 Correct 24 ms 31008 KB Output is correct : V - N = 12
56 Correct 299 ms 41468 KB Output is correct : V - N = 12
57 Correct 373 ms 53768 KB Output is correct : V - N = 12
58 Correct 54 ms 31872 KB Output is correct : V - N = 12
59 Correct 147 ms 36248 KB Output is correct : V - N = 12
60 Correct 390 ms 52944 KB Output is correct : V - N = 12
61 Correct 7 ms 29440 KB Output is correct : V - N = 12
62 Correct 6 ms 29448 KB Output is correct : V - N = 12
63 Correct 4 ms 29444 KB Output is correct : V - N = 12
64 Correct 6 ms 29440 KB Output is correct : V - N = 12
65 Correct 6 ms 29436 KB Output is correct : V - N = 12
66 Correct 6 ms 29448 KB Output is correct : V - N = 12
67 Correct 6 ms 29412 KB Output is correct : V - N = 12
68 Correct 5 ms 29444 KB Output is correct : V - N = 12
69 Correct 7 ms 29444 KB Output is correct : V - N = 12
70 Correct 6 ms 29444 KB Output is correct : V - N = 12
71 Correct 6 ms 29444 KB Output is correct : V - N = 12
72 Correct 6 ms 29444 KB Output is correct : V - N = 12
73 Correct 6 ms 29444 KB Output is correct : V - N = 12
74 Correct 6 ms 29448 KB Output is correct : V - N = 12
75 Correct 6 ms 29440 KB Output is correct : V - N = 12
76 Correct 6 ms 29444 KB Output is correct : V - N = 12
77 Correct 6 ms 29464 KB Output is correct : V - N = 12
78 Correct 6 ms 29440 KB Output is correct : V - N = 12
79 Correct 6 ms 29444 KB Output is correct : V - N = 12
80 Correct 6 ms 29444 KB Output is correct : V - N = 12
81 Correct 7 ms 29440 KB Output is correct : V - N = 12
82 Correct 6 ms 29448 KB Output is correct : V - N = 12
83 Correct 6 ms 29444 KB Output is correct : V - N = 12
84 Correct 6 ms 29444 KB Output is correct : V - N = 12
85 Correct 6 ms 29444 KB Output is correct : V - N = 12
86 Correct 6 ms 29440 KB Output is correct : V - N = 12
87 Correct 6 ms 29396 KB Output is correct : V - N = 12
88 Correct 6 ms 29440 KB Output is correct : V - N = 12
89 Correct 6 ms 29404 KB Output is correct : V - N = 12
90 Correct 4 ms 29444 KB Output is correct : V - N = 12
91 Correct 5 ms 27392 KB Output is correct : V - N = 12
92 Correct 7 ms 27392 KB Output is correct : V - N = 12
93 Correct 5 ms 27648 KB Output is correct : V - N = 12
94 Correct 5 ms 27400 KB Output is correct : V - N = 12
95 Correct 6 ms 27388 KB Output is correct : V - N = 12
96 Correct 6 ms 29540 KB Output is correct : V - N = 12
97 Correct 6 ms 29444 KB Output is correct : V - N = 12
98 Correct 6 ms 29440 KB Output is correct : V - N = 12
99 Correct 6 ms 29440 KB Output is correct : V - N = 12
100 Correct 6 ms 29440 KB Output is correct : V - N = 12
101 Correct 6 ms 29444 KB Output is correct : V - N = 12
102 Correct 6 ms 29440 KB Output is correct : V - N = 12
103 Correct 6 ms 29444 KB Output is correct : V - N = 12
104 Correct 5 ms 27396 KB Output is correct : V - N = 12
105 Correct 6 ms 29444 KB Output is correct : V - N = 12
106 Correct 5 ms 29444 KB Output is correct : V - N = 12
107 Correct 6 ms 29444 KB Output is correct : V - N = 12
108 Correct 7 ms 29440 KB Output is correct : V - N = 12
109 Correct 6 ms 29464 KB Output is correct : V - N = 12
110 Correct 5 ms 29444 KB Output is correct : V - N = 12
111 Correct 6 ms 29444 KB Output is correct : V - N = 12
112 Correct 4 ms 29436 KB Output is correct : V - N = 12
113 Correct 6 ms 29440 KB Output is correct : V - N = 12
114 Correct 4 ms 29440 KB Output is correct : V - N = 12
115 Correct 5 ms 29444 KB Output is correct : V - N = 12
116 Correct 5 ms 29444 KB Output is correct : V - N = 12
117 Correct 6 ms 29440 KB Output is correct : V - N = 12
118 Correct 6 ms 29440 KB Output is correct : V - N = 12
119 Correct 5 ms 29668 KB Output is correct : V - N = 12
120 Correct 6 ms 29436 KB Output is correct : V - N = 12
121 Correct 6 ms 29444 KB Output is correct : V - N = 12
122 Correct 5 ms 29444 KB Output is correct : V - N = 12
123 Correct 5 ms 29696 KB Output is correct : V - N = 12
124 Correct 5 ms 27388 KB Output is correct : V - N = 12
125 Correct 6 ms 29456 KB Output is correct : V - N = 12
126 Correct 6 ms 29444 KB Output is correct : V - N = 12
127 Correct 6 ms 29440 KB Output is correct : V - N = 12
128 Correct 6 ms 29444 KB Output is correct : V - N = 12
129 Correct 5 ms 29444 KB Output is correct : V - N = 12
130 Correct 5 ms 27392 KB Output is correct : V - N = 12
131 Correct 5 ms 29692 KB Output is correct : V - N = 12
132 Correct 5 ms 29440 KB Output is correct : V - N = 12
133 Correct 5 ms 29696 KB Output is correct : V - N = 12
134 Correct 6 ms 29444 KB Output is correct : V - N = 12
135 Correct 5 ms 29444 KB Output is correct : V - N = 12
136 Correct 5 ms 29440 KB Output is correct : V - N = 12
137 Correct 7 ms 29432 KB Output is correct : V - N = 12
138 Correct 6 ms 29440 KB Output is correct : V - N = 12
139 Correct 6 ms 29444 KB Output is correct : V - N = 12
140 Correct 6 ms 29440 KB Output is correct : V - N = 12
141 Correct 4 ms 29444 KB Output is correct : V - N = 12
142 Correct 7 ms 29416 KB Output is correct : V - N = 12
143 Correct 6 ms 29444 KB Output is correct : V - N = 12
144 Correct 4 ms 27340 KB Output is correct : V - N = 12
145 Correct 5 ms 29444 KB Output is correct : V - N = 12
146 Correct 5 ms 29440 KB Output is correct : V - N = 12
147 Correct 4 ms 29444 KB Output is correct : V - N = 12
148 Correct 5 ms 29440 KB Output is correct : V - N = 12
149 Correct 5 ms 29440 KB Output is correct : V - N = 12
150 Correct 5 ms 27396 KB Output is correct : V - N = 12
151 Correct 4 ms 27588 KB Output is correct : V - N = 12
152 Correct 5 ms 27392 KB Output is correct : V - N = 12
153 Correct 5 ms 27648 KB Output is correct : V - N = 12
154 Correct 5 ms 27400 KB Output is correct : V - N = 12
155 Correct 5 ms 27392 KB Output is correct : V - N = 12
156 Correct 6 ms 29444 KB Output is correct : V - N = 12
157 Correct 7 ms 29444 KB Output is correct : V - N = 12
158 Correct 6 ms 29356 KB Output is correct : V - N = 12
159 Correct 6 ms 29440 KB Output is correct : V - N = 12
160 Correct 6 ms 29432 KB Output is correct : V - N = 12
161 Correct 6 ms 29552 KB Output is correct : V - N = 12
162 Correct 6 ms 29440 KB Output is correct : V - N = 12
163 Correct 5 ms 29440 KB Output is correct : V - N = 12
164 Correct 5 ms 27396 KB Output is correct : V - N = 12
165 Correct 5 ms 27344 KB Output is correct : V - N = 12
166 Correct 5 ms 29444 KB Output is correct : V - N = 12
167 Correct 5 ms 29684 KB Output is correct : V - N = 12
168 Correct 5 ms 29444 KB Output is correct : V - N = 12
169 Correct 6 ms 29444 KB Output is correct : V - N = 12
170 Correct 5 ms 27644 KB Output is correct : V - N = 12
171 Correct 5 ms 27396 KB Output is correct : V - N = 12
172 Correct 5 ms 29444 KB Output is correct : V - N = 12
173 Correct 5 ms 27396 KB Output is correct : V - N = 12
174 Correct 6 ms 29444 KB Output is correct : V - N = 12
175 Correct 5 ms 29444 KB Output is correct : V - N = 12
176 Correct 5 ms 29440 KB Output is correct : V - N = 12
177 Correct 6 ms 29440 KB Output is correct : V - N = 12
178 Correct 5 ms 29440 KB Output is correct : V - N = 12