답안 #69039

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
69039 2018-08-19T14:42:59 Z IvanC 항공 노선도 (JOI18_airline) C++17
91 / 100
724 ms 31112 KB
#include "Alicelib.h"
#include <bits/stdc++.h>
using namespace std;

const int MAXN = 1020;

static vector<int> grafo[MAXN];

void Alice( int N, int M, int A[], int B[] ){
	
	if(N == 1){
		InitG(1,0);
		return;
	}

	// Padrao
	for(int i = 0;i<M;i++){
		int x = A[i];
		int y = B[i];
		x++;y++; // 1-indexado, se nao falha
		grafo[x].push_back(y);
		grafo[y].push_back(x);
	}

	int qtd_n = N + 13;
	int qtd_m = 0;

	// Bits
	for(int i = 0;i<10;i++){
		int pot = (1 << i);
		int idx = N + i + 1;
		for(int j = 1;j<=N;j++){
			if(pot & j){
				grafo[j].push_back(idx);
				grafo[idx].push_back(j);
			}
		}
	}

	// Ligacao bits
	for(int i = 0;i+1<10;i++){
		int idx1 = N + i + 1;
		int idx2 = N + i + 2;
		grafo[idx1].push_back(idx2);
		grafo[idx2].push_back(idx1);
	}

	// folha-1
	grafo[N+10].push_back(N+11);
	grafo[N+11].push_back(N+10);

	//folha-2
	grafo[N+12].push_back(N+13);
	grafo[N+13].push_back(N+12);

	// grau alto
	for(int i = 1;i<=N;i++){
		grafo[i].push_back(N+13);
		grafo[N+13].push_back(i);
	}

	for(int i = 1;i<=N+13;i++) qtd_m += grafo[i].size();
	qtd_m /=2;

	InitG(qtd_n,qtd_m);
	int ptr = 0;
	for(int i = 1;i<=N+13;i++){
		for(int j : grafo[i]){
			if(i >= j) continue;
			//printf("Ptr %d Alice I %d J %d\n",ptr,i,j);
			MakeG(ptr,i-1,j-1);
			ptr++;
		}
	}

}
#include "Boblib.h"
#include <bits/stdc++.h>
using namespace std;

const int MAXN = 1020;

static vector<int> grafo[MAXN];
static int ehValido[MAXN],somatorio[MAXN];

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

	//printf("##############################\n");
	memset(ehValido,0,sizeof(ehValido));
	memset(somatorio,0,sizeof(somatorio));

	// caso especial
	if(V == 1){
		InitMap(1,0);
		return;
	}
	
	int N = V - 13,M = 0,especial = 0,bit_davez = 0;

	// recuperando o grafo
	for(int i = 0;i<U;i++){
		int x = C[i];
		int y = D[i];
		x++;y++;
		grafo[x].push_back(y);
		grafo[y].push_back(x);
		//printf("G %d %d\n",x,y);
	}

	vector<int> candidatos;

	for(int i = 1;i<=N+13;i++){
		if(grafo[i].size() == 1) candidatos.push_back(i);
	}

	// Descobrindo o primeiro bit
	int primeiro_cand = candidatos[0];
	int outro_cara = grafo[primeiro_cand][0];
	//printf("C1 %d C2 %d O %d\n",candidatos[0],candidatos[1],outro_cara);
	if(grafo[outro_cara].size() == N + 1){
	//	printf("Caso 1\n");
		bit_davez = grafo[candidatos[1]][0];
		especial = outro_cara;
	}
	else{
	//	printf("Caso 2\n");
		bit_davez = outro_cara;
		especial = grafo[candidatos[1]][0];
	}

	for(int i : grafo[especial]){
		ehValido[i] = 1;
	}

	ehValido[candidatos[0]] = 0;
	ehValido[candidatos[1]] = 0;
 
 	for(int vez = 9;vez>=0;vez--){
 		
 		int nxt = 0,pot = (1 << vez);
 		//printf("Meu %d\n",bit_davez);

 		for(int i : grafo[bit_davez]){
 			if(grafo[i].size() <= 1){
 				continue;
 			}
 			if(!ehValido[i]){
 				nxt = i;
 			}
 			else{
 				//printf("Add %d AH %d\n",pot,i);
 				somatorio[i] += pot;
 			}
 		}

 		grafo[bit_davez].clear();

 		bit_davez = nxt;

 	}

 	for(int i = 1;i<=N+13;i++){
 		for(int j : grafo[i]){
 			if(!ehValido[i] || !ehValido[j]) continue;
 			if(i <= j){
 				M++;
 			}
 		}
 	}

 	InitMap(N,M);

 	for(int i = 1;i<=N+13;i++){
 		for(int j : grafo[i]){
 			if(!ehValido[i] || !ehValido[j]) continue;
 			if(i <= j){
 				//printf("Bob I %d J %d (%d %d)\n",i,j,somatorio[i]-1,somatorio[j]-1);
 				MakeMap(somatorio[i] - 1,somatorio[j] - 1);
 			}
 		}
 	}

}

Compilation message

Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:44:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(grafo[outro_cara].size() == N + 1){
     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# 결과 실행 시간 메모리 Grader output
1 Correct 7 ms 6952 KB Output is correct
2 Correct 8 ms 6896 KB Output is correct
3 Correct 8 ms 6736 KB Output is correct
4 Correct 8 ms 6640 KB Output is correct
5 Correct 7 ms 6640 KB Output is correct
6 Correct 8 ms 6896 KB Output is correct
7 Correct 6 ms 6896 KB Output is correct
8 Correct 7 ms 6640 KB Output is correct
9 Correct 7 ms 6896 KB Output is correct
10 Correct 6 ms 6640 KB Output is correct
11 Correct 7 ms 6736 KB Output is correct
12 Correct 8 ms 6896 KB Output is correct
13 Correct 8 ms 6736 KB Output is correct
14 Correct 6 ms 6640 KB Output is correct
15 Correct 7 ms 6896 KB Output is correct
16 Correct 7 ms 6640 KB Output is correct
17 Correct 7 ms 6872 KB Output is correct
18 Correct 8 ms 6808 KB Output is correct
19 Correct 8 ms 6736 KB Output is correct
20 Correct 8 ms 6896 KB Output is correct
21 Correct 7 ms 6608 KB Output is correct
22 Correct 6 ms 6640 KB Output is correct
23 Correct 8 ms 6640 KB Output is correct
24 Correct 8 ms 6896 KB Output is correct
25 Correct 7 ms 6640 KB Output is correct
26 Correct 8 ms 6896 KB Output is correct
27 Correct 7 ms 6736 KB Output is correct
28 Correct 7 ms 6624 KB Output is correct
29 Correct 8 ms 6640 KB Output is correct
30 Correct 8 ms 6640 KB Output is correct
31 Correct 8 ms 6696 KB Output is correct
32 Correct 8 ms 6640 KB Output is correct
33 Correct 8 ms 6720 KB Output is correct
34 Correct 8 ms 6640 KB Output is correct
35 Correct 7 ms 6896 KB Output is correct
36 Correct 7 ms 6648 KB Output is correct
37 Correct 8 ms 6896 KB Output is correct
38 Correct 8 ms 6736 KB Output is correct
39 Correct 8 ms 6640 KB Output is correct
40 Correct 8 ms 6640 KB Output is correct
41 Correct 8 ms 6640 KB Output is correct
42 Correct 7 ms 6640 KB Output is correct
43 Correct 8 ms 6736 KB Output is correct
44 Correct 8 ms 6640 KB Output is correct
45 Correct 8 ms 6600 KB Output is correct
46 Correct 8 ms 6896 KB Output is correct
47 Correct 8 ms 6632 KB Output is correct
48 Correct 7 ms 6640 KB Output is correct
49 Correct 8 ms 6736 KB Output is correct
50 Correct 8 ms 6896 KB Output is correct
51 Correct 8 ms 6640 KB Output is correct
52 Correct 8 ms 6640 KB Output is correct
53 Correct 7 ms 6640 KB Output is correct
54 Correct 8 ms 6640 KB Output is correct
55 Correct 7 ms 6896 KB Output is correct
56 Correct 8 ms 6896 KB Output is correct
57 Correct 8 ms 6640 KB Output is correct
58 Correct 7 ms 6896 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 7 ms 6952 KB Output is correct
2 Correct 8 ms 6896 KB Output is correct
3 Correct 8 ms 6736 KB Output is correct
4 Correct 8 ms 6640 KB Output is correct
5 Correct 7 ms 6640 KB Output is correct
6 Correct 8 ms 6896 KB Output is correct
7 Correct 6 ms 6896 KB Output is correct
8 Correct 7 ms 6640 KB Output is correct
9 Correct 7 ms 6896 KB Output is correct
10 Correct 6 ms 6640 KB Output is correct
11 Correct 7 ms 6736 KB Output is correct
12 Correct 8 ms 6896 KB Output is correct
13 Correct 8 ms 6736 KB Output is correct
14 Correct 6 ms 6640 KB Output is correct
15 Correct 7 ms 6896 KB Output is correct
16 Correct 7 ms 6640 KB Output is correct
17 Correct 7 ms 6872 KB Output is correct
18 Correct 8 ms 6808 KB Output is correct
19 Correct 8 ms 6736 KB Output is correct
20 Correct 8 ms 6896 KB Output is correct
21 Correct 7 ms 6608 KB Output is correct
22 Correct 6 ms 6640 KB Output is correct
23 Correct 8 ms 6640 KB Output is correct
24 Correct 8 ms 6896 KB Output is correct
25 Correct 7 ms 6640 KB Output is correct
26 Correct 8 ms 6896 KB Output is correct
27 Correct 7 ms 6736 KB Output is correct
28 Correct 7 ms 6624 KB Output is correct
29 Correct 8 ms 6640 KB Output is correct
30 Correct 8 ms 6640 KB Output is correct
31 Correct 8 ms 6696 KB Output is correct
32 Correct 8 ms 6640 KB Output is correct
33 Correct 8 ms 6720 KB Output is correct
34 Correct 8 ms 6640 KB Output is correct
35 Correct 7 ms 6896 KB Output is correct
36 Correct 7 ms 6648 KB Output is correct
37 Correct 8 ms 6896 KB Output is correct
38 Correct 8 ms 6736 KB Output is correct
39 Correct 8 ms 6640 KB Output is correct
40 Correct 8 ms 6640 KB Output is correct
41 Correct 8 ms 6640 KB Output is correct
42 Correct 7 ms 6640 KB Output is correct
43 Correct 8 ms 6736 KB Output is correct
44 Correct 8 ms 6640 KB Output is correct
45 Correct 8 ms 6600 KB Output is correct
46 Correct 8 ms 6896 KB Output is correct
47 Correct 8 ms 6632 KB Output is correct
48 Correct 7 ms 6640 KB Output is correct
49 Correct 8 ms 6736 KB Output is correct
50 Correct 8 ms 6896 KB Output is correct
51 Correct 8 ms 6640 KB Output is correct
52 Correct 8 ms 6640 KB Output is correct
53 Correct 7 ms 6640 KB Output is correct
54 Correct 8 ms 6640 KB Output is correct
55 Correct 7 ms 6896 KB Output is correct
56 Correct 8 ms 6896 KB Output is correct
57 Correct 8 ms 6640 KB Output is correct
58 Correct 7 ms 6896 KB Output is correct
59 Correct 8 ms 6904 KB Output is correct
60 Correct 8 ms 6896 KB Output is correct
61 Correct 8 ms 6640 KB Output is correct
62 Correct 8 ms 6896 KB Output is correct
63 Correct 8 ms 6640 KB Output is correct
64 Correct 8 ms 6736 KB Output is correct
65 Correct 8 ms 6736 KB Output is correct
66 Correct 8 ms 6896 KB Output is correct
67 Correct 7 ms 6640 KB Output is correct
68 Correct 6 ms 6640 KB Output is correct
69 Correct 8 ms 6896 KB Output is correct
70 Correct 16 ms 6960 KB Output is correct
71 Correct 8 ms 6736 KB Output is correct
72 Correct 8 ms 6896 KB Output is correct
73 Correct 8 ms 6896 KB Output is correct
74 Correct 8 ms 6640 KB Output is correct
75 Correct 8 ms 6640 KB Output is correct
76 Correct 8 ms 6896 KB Output is correct
77 Correct 8 ms 6736 KB Output is correct
78 Correct 8 ms 6896 KB Output is correct
79 Correct 8 ms 6896 KB Output is correct
80 Correct 8 ms 6896 KB Output is correct
81 Correct 8 ms 6728 KB Output is correct
82 Correct 8 ms 6736 KB Output is correct
83 Correct 8 ms 6640 KB Output is correct
84 Correct 8 ms 6896 KB Output is correct
85 Correct 8 ms 6896 KB Output is correct
86 Correct 8 ms 6736 KB Output is correct
87 Correct 8 ms 6896 KB Output is correct
88 Correct 8 ms 7152 KB Output is correct
89 Correct 7 ms 6640 KB Output is correct
90 Correct 8 ms 6896 KB Output is correct
91 Correct 8 ms 6640 KB Output is correct
92 Correct 7 ms 6960 KB Output is correct
93 Correct 8 ms 6640 KB Output is correct
94 Correct 8 ms 6736 KB Output is correct
95 Correct 8 ms 6896 KB Output is correct
96 Correct 8 ms 6896 KB Output is correct
97 Correct 8 ms 6896 KB Output is correct
98 Correct 9 ms 6736 KB Output is correct
99 Correct 8 ms 6904 KB Output is correct
100 Correct 8 ms 6640 KB Output is correct
101 Correct 8 ms 6896 KB Output is correct
102 Correct 8 ms 6640 KB Output is correct
103 Correct 7 ms 6904 KB Output is correct
104 Correct 8 ms 6640 KB Output is correct
105 Correct 8 ms 6736 KB Output is correct
106 Correct 8 ms 6640 KB Output is correct
107 Correct 8 ms 6640 KB Output is correct
108 Correct 8 ms 6664 KB Output is correct
109 Correct 8 ms 7024 KB Output is correct
110 Correct 8 ms 6896 KB Output is correct
111 Correct 8 ms 6640 KB Output is correct
112 Correct 8 ms 6736 KB Output is correct
113 Correct 8 ms 6896 KB Output is correct
114 Correct 8 ms 6896 KB Output is correct
115 Correct 8 ms 6896 KB Output is correct
116 Correct 8 ms 6896 KB Output is correct
117 Correct 8 ms 6896 KB Output is correct
118 Correct 9 ms 6664 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Partially correct 694 ms 30840 KB Output is partially correct : V - N = 13
2 Partially correct 554 ms 27880 KB Output is partially correct : V - N = 13
3 Partially correct 163 ms 16224 KB Output is partially correct : V - N = 13
4 Partially correct 14 ms 7248 KB Output is partially correct : V - N = 13
5 Partially correct 133 ms 12136 KB Output is partially correct : V - N = 13
6 Partially correct 427 ms 25920 KB Output is partially correct : V - N = 13
7 Partially correct 693 ms 30944 KB Output is partially correct : V - N = 13
8 Partially correct 602 ms 29496 KB Output is partially correct : V - N = 13
9 Partially correct 306 ms 18344 KB Output is partially correct : V - N = 13
10 Partially correct 41 ms 8448 KB Output is partially correct : V - N = 13
11 Partially correct 68 ms 9568 KB Output is partially correct : V - N = 13
12 Partially correct 342 ms 21480 KB Output is partially correct : V - N = 13
13 Partially correct 646 ms 30112 KB Output is partially correct : V - N = 13
14 Partially correct 666 ms 30648 KB Output is partially correct : V - N = 13
15 Partially correct 386 ms 24744 KB Output is partially correct : V - N = 13
16 Partially correct 93 ms 10744 KB Output is partially correct : V - N = 13
17 Partially correct 18 ms 7760 KB Output is partially correct : V - N = 13
18 Partially correct 301 ms 17280 KB Output is partially correct : V - N = 13
19 Partially correct 609 ms 28800 KB Output is partially correct : V - N = 13
20 Partially correct 698 ms 31112 KB Output is partially correct : V - N = 13
21 Partially correct 146 ms 15360 KB Output is partially correct : V - N = 13
22 Partially correct 123 ms 12440 KB Output is partially correct : V - N = 13
23 Partially correct 56 ms 9416 KB Output is partially correct : V - N = 13
24 Partially correct 9 ms 6896 KB Output is partially correct : V - N = 13
25 Partially correct 40 ms 8392 KB Output is partially correct : V - N = 13
26 Partially correct 105 ms 11952 KB Output is partially correct : V - N = 13
27 Partially correct 194 ms 13296 KB Output is partially correct : V - N = 13
28 Partially correct 140 ms 12904 KB Output is partially correct : V - N = 13
29 Partially correct 85 ms 10024 KB Output is partially correct : V - N = 13
30 Partially correct 12 ms 7328 KB Output is partially correct : V - N = 13
31 Partially correct 12 ms 7152 KB Output is partially correct : V - N = 13
32 Partially correct 12 ms 7040 KB Output is partially correct : V - N = 13
33 Partially correct 12 ms 6992 KB Output is partially correct : V - N = 13
34 Partially correct 12 ms 7152 KB Output is partially correct : V - N = 13
35 Partially correct 13 ms 6896 KB Output is partially correct : V - N = 13
36 Partially correct 709 ms 30824 KB Output is partially correct : V - N = 13
37 Partially correct 724 ms 30832 KB Output is partially correct : V - N = 13
38 Partially correct 662 ms 30832 KB Output is partially correct : V - N = 13
39 Partially correct 671 ms 30928 KB Output is partially correct : V - N = 13
40 Partially correct 656 ms 30832 KB Output is partially correct : V - N = 13
41 Partially correct 124 ms 11832 KB Output is partially correct : V - N = 13
42 Partially correct 100 ms 11072 KB Output is partially correct : V - N = 13
43 Partially correct 105 ms 11704 KB Output is partially correct : V - N = 13
44 Partially correct 13 ms 7408 KB Output is partially correct : V - N = 13
45 Partially correct 57 ms 9640 KB Output is partially correct : V - N = 13
46 Partially correct 214 ms 16624 KB Output is partially correct : V - N = 13
47 Partially correct 111 ms 11864 KB Output is partially correct : V - N = 13
48 Partially correct 303 ms 18352 KB Output is partially correct : V - N = 13
49 Partially correct 63 ms 9336 KB Output is partially correct : V - N = 13
50 Partially correct 22 ms 7704 KB Output is partially correct : V - N = 13
51 Partially correct 541 ms 27936 KB Output is partially correct : V - N = 13
52 Partially correct 13 ms 7536 KB Output is partially correct : V - N = 13
53 Partially correct 428 ms 25712 KB Output is partially correct : V - N = 13
54 Partially correct 603 ms 29096 KB Output is partially correct : V - N = 13
55 Partially correct 36 ms 8408 KB Output is partially correct : V - N = 13
56 Partially correct 321 ms 20536 KB Output is partially correct : V - N = 13
57 Partially correct 608 ms 30096 KB Output is partially correct : V - N = 13
58 Partially correct 93 ms 10560 KB Output is partially correct : V - N = 13
59 Partially correct 264 ms 17136 KB Output is partially correct : V - N = 13
60 Partially correct 649 ms 30624 KB Output is partially correct : V - N = 13
61 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
62 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
63 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
64 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
65 Partially correct 8 ms 6768 KB Output is partially correct : V - N = 13
66 Partially correct 8 ms 6728 KB Output is partially correct : V - N = 13
67 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
68 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
69 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
70 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 13
71 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
72 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
73 Partially correct 9 ms 6896 KB Output is partially correct : V - N = 13
74 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 13
75 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
76 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
77 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
78 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
79 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
80 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
81 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 13
82 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
83 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 13
84 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 13
85 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
86 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
87 Partially correct 9 ms 6896 KB Output is partially correct : V - N = 13
88 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
89 Partially correct 9 ms 6640 KB Output is partially correct : V - N = 13
90 Partially correct 8 ms 6864 KB Output is partially correct : V - N = 13
91 Partially correct 7 ms 6744 KB Output is partially correct : V - N = 13
92 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
93 Partially correct 8 ms 6776 KB Output is partially correct : V - N = 13
94 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 13
95 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 13
96 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
97 Partially correct 8 ms 6768 KB Output is partially correct : V - N = 13
98 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 13
99 Partially correct 8 ms 6880 KB Output is partially correct : V - N = 13
100 Partially correct 8 ms 6848 KB Output is partially correct : V - N = 13
101 Partially correct 7 ms 6984 KB Output is partially correct : V - N = 13
102 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
103 Partially correct 8 ms 6784 KB Output is partially correct : V - N = 13
104 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 13
105 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
106 Partially correct 4 ms 6896 KB Output is partially correct : V - N = 13
107 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
108 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
109 Partially correct 8 ms 6904 KB Output is partially correct : V - N = 13
110 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
111 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
112 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
113 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
114 Partially correct 8 ms 6752 KB Output is partially correct : V - N = 13
115 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 13
116 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
117 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
118 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
119 Partially correct 8 ms 6648 KB Output is partially correct : V - N = 13
120 Partially correct 8 ms 6904 KB Output is partially correct : V - N = 13
121 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
122 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
123 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 13
124 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 13
125 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 13
126 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
127 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
128 Partially correct 8 ms 6992 KB Output is partially correct : V - N = 13
129 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 13
130 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
131 Partially correct 8 ms 6776 KB Output is partially correct : V - N = 13
132 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
133 Partially correct 9 ms 6896 KB Output is partially correct : V - N = 13
134 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
135 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 13
136 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
137 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 13
138 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
139 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
140 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 13
141 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 13
142 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 13
143 Partially correct 7 ms 6752 KB Output is partially correct : V - N = 13
144 Partially correct 7 ms 6936 KB Output is partially correct : V - N = 13
145 Partially correct 6 ms 6712 KB Output is partially correct : V - N = 13
146 Partially correct 11 ms 6640 KB Output is partially correct : V - N = 13
147 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 13
148 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 13
149 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
150 Partially correct 8 ms 6632 KB Output is partially correct : V - N = 13
151 Partially correct 8 ms 6672 KB Output is partially correct : V - N = 13
152 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 13
153 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 13
154 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
155 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 13
156 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 13
157 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
158 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
159 Partially correct 6 ms 6736 KB Output is partially correct : V - N = 13
160 Partially correct 7 ms 6736 KB Output is partially correct : V - N = 13
161 Partially correct 6 ms 6672 KB Output is partially correct : V - N = 13
162 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 13
163 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 13
164 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 13
165 Partially correct 8 ms 6696 KB Output is partially correct : V - N = 13
166 Partially correct 8 ms 6648 KB Output is partially correct : V - N = 13
167 Partially correct 8 ms 6648 KB Output is partially correct : V - N = 13
168 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 13
169 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
170 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 13
171 Correct 7 ms 6896 KB Output is correct : V - N = 0
172 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
173 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 13
174 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 13
175 Partially correct 7 ms 6736 KB Output is partially correct : V - N = 13
176 Partially correct 6 ms 6848 KB Output is partially correct : V - N = 13
177 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 13
178 Partially correct 7 ms 6664 KB Output is partially correct : V - N = 13