답안 #44906

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
44906 2018-04-09T08:45:42 Z RayaBurong25_1 항공 노선도 (JOI18_airline) C++17
82 / 100
804 ms 25160 KB
#include "Alicelib.h"
#include <cassert>
#include <cstdio>
#include <vector>
#include <stdio.h>
std::vector<std::pair<int, int> > New;
void Alice( int N, int M, int A[], int B[] ){
	//0 - N - 1: normal
	//deg <= 2 + (N - 1)
	//N - N + 9: special 1
	//deg <= N + {1, 1, 2, 1, 2, 2, 3, 1, 2, 2}
	//N + 10, N + 11: special 2
	//deg = N + 10, N
	//N + 12 - N + 15: special 3
	//deg = 9, 8, 7, 6
	int i, j;
	for (i = 0; i < 10; i++)
	{
		for (j = 0; j < N; j++)
		{
			if (j&(1 << i))
			{
				New.push_back({j, N + i});
			}
		}
	}
	for (j = 0; j < N + 10; j++)
		New.push_back({j, N + 10});
	for (j = N; j < N + 10; j++)
		New.push_back({j, N + 11});
	int Lottery[10] = {0, 1, 2, 3, 4, 5, 7, 10, 11, 13};
	for (i = 0; i < 4; i++)
	{
		for (j = 0; j < 10; j++)
		{
			if (Lottery[j]&(1 << i))
			{
				New.push_back({N + j, N + 12 + i});
			}
		}
	}
	for (i = 0; i < 4; i++)
	{
		for (j = i + 1; j < 4; j++)
			New.push_back({N + 12 + i, N + 12 + j});
	}
	InitG(N + 16, M + New.size());
	for (i = 0; i < M; i++)
		MakeG(i, A[i], B[i]);
	for (i = 0; i < New.size(); i++)
	{
		// printf("New %d %d\n", New[i].first, New[i].second);
		MakeG(M + i, New[i].first, New[i].second);
	}
}
#include "Boblib.h"
#include <cassert>
#include <cstdio>
#include <vector>
#include <stdio.h>
#include <algorithm>
std::vector<std::pair<int, int> > E;
int AdjMat[1025][1025];
int Deg[1025];
int ID[1025];
int Old[1025];
int compare(std::pair<int, int> a, std::pair<int, int> b)
{
	return a.second < b.second;
}
void Bob( int V, int U, int C[], int D[] ){
	//0 - N - 1: normal
	//deg <= 2 + (N - 1)
	//N - N + 9: special 1
	//deg <= N + {1, 1, 2, 1, 2, 2, 3, 1, 2, 2}
	//N + 10, N + 11: special 2
	//deg = N + 10, N
	//N + 12 - N + 15: special 3
	//deg = 9, 8, 7, 6
	// printf("V%d U%d\n", V, U);
	int i, mxDeg = 0;
	for (i = 0; i < U; i++)
	{
		// printf("%d %d\n", C[i], D[i]);
		AdjMat[C[i]][D[i]] = 1;
		AdjMat[D[i]][C[i]] = 1;
		Deg[C[i]]++;
		Deg[D[i]]++;
	}
	for (i = 0; i < V; i++)
	{
		ID[i] = -1;
		if (Deg[i] > Deg[mxDeg])
			mxDeg = i;
	}
	// printf("mxDeg %d (%d)\n", mxDeg, Deg[mxDeg]);
	// assert(Deg[mxDeg] == (V - 16) + 10);
	int N = V - 16;
	ID[mxDeg] = N + 10;
	Old[N + 10] = mxDeg;
	std::vector<std::pair<int, int> > Special3;
	for (i = 0; i < V; i++)
	{
		if (!AdjMat[mxDeg][i] && i != mxDeg)
		{
			Special3.push_back({i, 0});
		}
	}
	int j;
	for (i = 0; i < Special3.size(); i++)
	{
		for (j = 0; j < Special3.size(); j++)
		{
			if (AdjMat[Special3[i].first][Special3[j].first])
			{
				Special3[i].second++;
				Special3[j].second++;
			}
		}
	}
	for (i = 0; i < Special3.size(); i++)
	{
		// printf("Special3 %d %d\n", Special3[i].first, Special3[i].second);
		if (Special3[i].second == 0)
		{
			ID[Special3[i].first] = N + 11;
			Old[N + 11] = Special3[i].first;
			// printf("N + 11 = %d\n", Special3[i].first);
		}
		else
		{
			switch (Deg[Special3[i].first])
			{
			case 9:
				ID[Special3[i].first] = N + 12;
				Old[N + 12] = Special3[i].first;
				// printf("N + 12 = %d\n", Special3[i].first);
				break;
			case 8:
				ID[Special3[i].first] = N + 13;
				Old[N + 13] = Special3[i].first;
				// printf("N + 13 = %d\n", Special3[i].first);
				break;
			case 7:
				ID[Special3[i].first] = N + 14;
				Old[N + 14] = Special3[i].first;
				// printf("N + 14 = %d\n", Special3[i].first);
				break;
			case 6:
				ID[Special3[i].first] = N + 15;
				Old[N + 15] = Special3[i].first;
				// printf("N + 15 = %d\n", Special3[i].first);
				break;
			// default:
				// assert(1 == 0);
			}
		}
	}
	std::vector<std::pair<int, int> > Special1;
	for (i = 0; i < V; i++)
	{
		if (ID[i] != -1) continue;
		if (AdjMat[i][Old[N + 11]])
			Special1.push_back({i, 0});
	}
	for (i = 0; i < Special1.size(); i++)
	{
		if (AdjMat[Special1[i].first][Old[N + 12]])
			Special1[i].second += 1;
		if (AdjMat[Special1[i].first][Old[N + 13]])
			Special1[i].second += 2;
		if (AdjMat[Special1[i].first][Old[N + 14]])
			Special1[i].second += 4;
		if (AdjMat[Special1[i].first][Old[N + 15]])
			Special1[i].second += 8;
	}
	std::sort(Special1.begin(), Special1.end(), compare);
	for (i = 0; i < Special1.size(); i++)
	{
		// printf("Special1 %d %d\n", Special1[i].first, Special1[i].second);
		ID[Special1[i].first] = N + i;
		Old[N + i] = Special1[i].first;
	}
	for (i = 0; i < V; i++)
	{
		if (ID[i] != -1) continue;
		ID[i] = 0;
		for (j = 0; j < Special1.size(); j++)
		{
			if (AdjMat[i][Special1[j].first])
				ID[i] += (1 << j);
		}
		assert(ID[i] >= 0 && ID[i] < N);
		// printf("ID %d = %d\n", i, ID[i]);
	}
	for (i = 0; i < U; i++)
	{
		if (ID[C[i]] < N && ID[D[i]] < N)
		{
			E.push_back({ID[C[i]], ID[D[i]]});
			// printf("%d %d\n", E.back().first, E.back().second);
		}
	}
	// printf("U%d E%d\n", U, E.size());
	std::sort(E.begin(), E.end());
	// for (i = 0; i < E.size(); i++)
		// printf("E%d %d\n", E[i].first, E[i].second);
	InitMap(N, E.size());
	for (i = 0; i < E.size(); i++)
	{
		// printf("E%d %d\n", E[i].first, E[i].second);
		MakeMap(E[i].first, E[i].second);
	}
}

Compilation message

Alice.cpp: In function 'void Alice(int, int, int*, int*)':
Alice.cpp:50:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < New.size(); i++)
              ~~^~~~~~~~~~~~

Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:55:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < Special3.size(); i++)
              ~~^~~~~~~~~~~~~~~~~
Bob.cpp:57:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (j = 0; j < Special3.size(); j++)
               ~~^~~~~~~~~~~~~~~~~
Bob.cpp:66:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < Special3.size(); i++)
              ~~^~~~~~~~~~~~~~~~~
Bob.cpp:111:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < Special1.size(); i++)
              ~~^~~~~~~~~~~~~~~~~
Bob.cpp:123:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < Special1.size(); i++)
              ~~^~~~~~~~~~~~~~~~~
Bob.cpp:133:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (j = 0; j < Special1.size(); j++)
               ~~^~~~~~~~~~~~~~~~~
Bob.cpp:154:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < E.size(); i++)
              ~~^~~~~~~~~~
# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 6896 KB Output is correct
2 Correct 8 ms 6640 KB Output is correct
3 Correct 8 ms 6896 KB Output is correct
4 Correct 8 ms 6736 KB Output is correct
5 Correct 7 ms 6896 KB Output is correct
6 Correct 6 ms 6688 KB Output is correct
7 Correct 6 ms 6896 KB Output is correct
8 Correct 8 ms 6744 KB Output is correct
9 Correct 7 ms 6640 KB Output is correct
10 Correct 8 ms 6896 KB Output is correct
11 Correct 6 ms 6896 KB Output is correct
12 Correct 8 ms 6640 KB Output is correct
13 Correct 7 ms 6736 KB Output is correct
14 Correct 8 ms 6904 KB Output is correct
15 Correct 8 ms 6952 KB Output is correct
16 Correct 8 ms 6640 KB Output is correct
17 Correct 7 ms 6640 KB Output is correct
18 Correct 8 ms 6640 KB Output is correct
19 Correct 8 ms 6640 KB Output is correct
20 Correct 8 ms 6640 KB Output is correct
21 Correct 8 ms 6896 KB Output is correct
22 Correct 7 ms 6640 KB Output is correct
23 Correct 8 ms 6640 KB Output is correct
24 Correct 8 ms 6640 KB Output is correct
25 Correct 8 ms 6616 KB Output is correct
26 Correct 7 ms 6896 KB Output is correct
27 Correct 8 ms 6640 KB Output is correct
28 Correct 8 ms 6744 KB Output is correct
29 Correct 8 ms 6640 KB Output is correct
30 Correct 8 ms 6736 KB Output is correct
31 Correct 8 ms 6640 KB Output is correct
32 Correct 8 ms 6640 KB Output is correct
33 Correct 8 ms 6640 KB Output is correct
34 Correct 7 ms 6896 KB Output is correct
35 Correct 8 ms 6736 KB Output is correct
36 Correct 8 ms 6896 KB Output is correct
37 Correct 8 ms 6896 KB Output is correct
38 Correct 8 ms 6952 KB Output is correct
39 Correct 8 ms 6640 KB Output is correct
40 Correct 8 ms 6896 KB Output is correct
41 Correct 7 ms 6640 KB Output is correct
42 Correct 8 ms 6896 KB Output is correct
43 Correct 8 ms 6648 KB Output is correct
44 Correct 7 ms 6896 KB Output is correct
45 Correct 8 ms 6640 KB Output is correct
46 Correct 8 ms 6592 KB Output is correct
47 Correct 8 ms 6640 KB Output is correct
48 Correct 7 ms 6936 KB Output is correct
49 Correct 7 ms 6648 KB Output is correct
50 Correct 6 ms 6896 KB Output is correct
51 Correct 6 ms 6648 KB Output is correct
52 Correct 7 ms 6896 KB Output is correct
53 Correct 6 ms 6736 KB Output is correct
54 Correct 7 ms 6904 KB Output is correct
55 Correct 6 ms 6640 KB Output is correct
56 Correct 6 ms 6896 KB Output is correct
57 Correct 7 ms 6640 KB Output is correct
58 Correct 7 ms 6896 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 6896 KB Output is correct
2 Correct 8 ms 6640 KB Output is correct
3 Correct 8 ms 6896 KB Output is correct
4 Correct 8 ms 6736 KB Output is correct
5 Correct 7 ms 6896 KB Output is correct
6 Correct 6 ms 6688 KB Output is correct
7 Correct 6 ms 6896 KB Output is correct
8 Correct 8 ms 6744 KB Output is correct
9 Correct 7 ms 6640 KB Output is correct
10 Correct 8 ms 6896 KB Output is correct
11 Correct 6 ms 6896 KB Output is correct
12 Correct 8 ms 6640 KB Output is correct
13 Correct 7 ms 6736 KB Output is correct
14 Correct 8 ms 6904 KB Output is correct
15 Correct 8 ms 6952 KB Output is correct
16 Correct 8 ms 6640 KB Output is correct
17 Correct 7 ms 6640 KB Output is correct
18 Correct 8 ms 6640 KB Output is correct
19 Correct 8 ms 6640 KB Output is correct
20 Correct 8 ms 6640 KB Output is correct
21 Correct 8 ms 6896 KB Output is correct
22 Correct 7 ms 6640 KB Output is correct
23 Correct 8 ms 6640 KB Output is correct
24 Correct 8 ms 6640 KB Output is correct
25 Correct 8 ms 6616 KB Output is correct
26 Correct 7 ms 6896 KB Output is correct
27 Correct 8 ms 6640 KB Output is correct
28 Correct 8 ms 6744 KB Output is correct
29 Correct 8 ms 6640 KB Output is correct
30 Correct 8 ms 6736 KB Output is correct
31 Correct 8 ms 6640 KB Output is correct
32 Correct 8 ms 6640 KB Output is correct
33 Correct 8 ms 6640 KB Output is correct
34 Correct 7 ms 6896 KB Output is correct
35 Correct 8 ms 6736 KB Output is correct
36 Correct 8 ms 6896 KB Output is correct
37 Correct 8 ms 6896 KB Output is correct
38 Correct 8 ms 6952 KB Output is correct
39 Correct 8 ms 6640 KB Output is correct
40 Correct 8 ms 6896 KB Output is correct
41 Correct 7 ms 6640 KB Output is correct
42 Correct 8 ms 6896 KB Output is correct
43 Correct 8 ms 6648 KB Output is correct
44 Correct 7 ms 6896 KB Output is correct
45 Correct 8 ms 6640 KB Output is correct
46 Correct 8 ms 6592 KB Output is correct
47 Correct 8 ms 6640 KB Output is correct
48 Correct 7 ms 6936 KB Output is correct
49 Correct 7 ms 6648 KB Output is correct
50 Correct 6 ms 6896 KB Output is correct
51 Correct 6 ms 6648 KB Output is correct
52 Correct 7 ms 6896 KB Output is correct
53 Correct 6 ms 6736 KB Output is correct
54 Correct 7 ms 6904 KB Output is correct
55 Correct 6 ms 6640 KB Output is correct
56 Correct 6 ms 6896 KB Output is correct
57 Correct 7 ms 6640 KB Output is correct
58 Correct 7 ms 6896 KB Output is correct
59 Correct 8 ms 6728 KB Output is correct
60 Correct 8 ms 6736 KB Output is correct
61 Correct 8 ms 6640 KB Output is correct
62 Correct 7 ms 6896 KB Output is correct
63 Correct 8 ms 6640 KB Output is correct
64 Correct 8 ms 6640 KB Output is correct
65 Correct 8 ms 6640 KB Output is correct
66 Correct 8 ms 6640 KB Output is correct
67 Correct 8 ms 6896 KB Output is correct
68 Correct 8 ms 6640 KB Output is correct
69 Correct 8 ms 6896 KB Output is correct
70 Correct 8 ms 6640 KB Output is correct
71 Correct 8 ms 6640 KB Output is correct
72 Correct 8 ms 6784 KB Output is correct
73 Correct 8 ms 6640 KB Output is correct
74 Correct 8 ms 6760 KB Output is correct
75 Correct 6 ms 6640 KB Output is correct
76 Correct 8 ms 6640 KB Output is correct
77 Correct 8 ms 6640 KB Output is correct
78 Correct 8 ms 6896 KB Output is correct
79 Correct 6 ms 6736 KB Output is correct
80 Correct 8 ms 6800 KB Output is correct
81 Correct 8 ms 6640 KB Output is correct
82 Correct 6 ms 6640 KB Output is correct
83 Correct 8 ms 6776 KB Output is correct
84 Correct 8 ms 6720 KB Output is correct
85 Correct 8 ms 6648 KB Output is correct
86 Correct 8 ms 6896 KB Output is correct
87 Correct 8 ms 6896 KB Output is correct
88 Correct 6 ms 6776 KB Output is correct
89 Correct 6 ms 6736 KB Output is correct
90 Correct 8 ms 6568 KB Output is correct
91 Correct 8 ms 6640 KB Output is correct
92 Correct 7 ms 6728 KB Output is correct
93 Correct 8 ms 6640 KB Output is correct
94 Correct 8 ms 6640 KB Output is correct
95 Correct 8 ms 6776 KB Output is correct
96 Correct 8 ms 6640 KB Output is correct
97 Correct 8 ms 6640 KB Output is correct
98 Correct 8 ms 6640 KB Output is correct
99 Correct 8 ms 6640 KB Output is correct
100 Correct 8 ms 6640 KB Output is correct
101 Correct 8 ms 6904 KB Output is correct
102 Correct 8 ms 6640 KB Output is correct
103 Correct 8 ms 6896 KB Output is correct
104 Correct 8 ms 6736 KB Output is correct
105 Correct 8 ms 6616 KB Output is correct
106 Correct 8 ms 6952 KB Output is correct
107 Correct 8 ms 6640 KB Output is correct
108 Correct 8 ms 6736 KB Output is correct
109 Correct 8 ms 6640 KB Output is correct
110 Correct 7 ms 6640 KB Output is correct
111 Correct 8 ms 6736 KB Output is correct
112 Correct 8 ms 6736 KB Output is correct
113 Correct 9 ms 6736 KB Output is correct
114 Correct 8 ms 6640 KB Output is correct
115 Correct 8 ms 6640 KB Output is correct
116 Correct 8 ms 6736 KB Output is correct
117 Correct 8 ms 6640 KB Output is correct
118 Correct 8 ms 6896 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Partially correct 790 ms 25068 KB Output is partially correct : V - N = 16
2 Partially correct 574 ms 22388 KB Output is partially correct : V - N = 16
3 Partially correct 223 ms 14704 KB Output is partially correct : V - N = 16
4 Partially correct 16 ms 9056 KB Output is partially correct : V - N = 16
5 Partially correct 126 ms 12368 KB Output is partially correct : V - N = 16
6 Partially correct 454 ms 20988 KB Output is partially correct : V - N = 16
7 Partially correct 686 ms 24820 KB Output is partially correct : V - N = 16
8 Partially correct 658 ms 23704 KB Output is partially correct : V - N = 16
9 Partially correct 365 ms 16328 KB Output is partially correct : V - N = 16
10 Partially correct 60 ms 10024 KB Output is partially correct : V - N = 16
11 Partially correct 89 ms 10664 KB Output is partially correct : V - N = 16
12 Partially correct 399 ms 17196 KB Output is partially correct : V - N = 16
13 Partially correct 681 ms 24232 KB Output is partially correct : V - N = 16
14 Partially correct 691 ms 24496 KB Output is partially correct : V - N = 16
15 Partially correct 421 ms 20008 KB Output is partially correct : V - N = 16
16 Partially correct 94 ms 11156 KB Output is partially correct : V - N = 16
17 Partially correct 22 ms 9672 KB Output is partially correct : V - N = 16
18 Partially correct 287 ms 15448 KB Output is partially correct : V - N = 16
19 Partially correct 627 ms 23184 KB Output is partially correct : V - N = 16
20 Partially correct 731 ms 24896 KB Output is partially correct : V - N = 16
21 Partially correct 181 ms 11296 KB Output is partially correct : V - N = 16
22 Partially correct 169 ms 10540 KB Output is partially correct : V - N = 16
23 Partially correct 66 ms 8572 KB Output is partially correct : V - N = 16
24 Partially correct 11 ms 7152 KB Output is partially correct : V - N = 16
25 Partially correct 37 ms 7964 KB Output is partially correct : V - N = 16
26 Partially correct 130 ms 10184 KB Output is partially correct : V - N = 16
27 Partially correct 180 ms 11292 KB Output is partially correct : V - N = 16
28 Partially correct 151 ms 10976 KB Output is partially correct : V - N = 16
29 Partially correct 97 ms 9052 KB Output is partially correct : V - N = 16
30 Partially correct 15 ms 7232 KB Output is partially correct : V - N = 16
31 Partially correct 14 ms 9092 KB Output is partially correct : V - N = 16
32 Partially correct 13 ms 9060 KB Output is partially correct : V - N = 16
33 Partially correct 13 ms 9148 KB Output is partially correct : V - N = 16
34 Partially correct 13 ms 9000 KB Output is partially correct : V - N = 16
35 Partially correct 14 ms 9024 KB Output is partially correct : V - N = 16
36 Partially correct 718 ms 25160 KB Output is partially correct : V - N = 16
37 Partially correct 730 ms 25072 KB Output is partially correct : V - N = 16
38 Partially correct 804 ms 25092 KB Output is partially correct : V - N = 16
39 Partially correct 724 ms 25104 KB Output is partially correct : V - N = 16
40 Partially correct 722 ms 25124 KB Output is partially correct : V - N = 16
41 Partially correct 143 ms 12216 KB Output is partially correct : V - N = 16
42 Partially correct 120 ms 11364 KB Output is partially correct : V - N = 16
43 Partially correct 124 ms 12000 KB Output is partially correct : V - N = 16
44 Partially correct 16 ms 9152 KB Output is partially correct : V - N = 16
45 Partially correct 80 ms 10796 KB Output is partially correct : V - N = 16
46 Partially correct 207 ms 15048 KB Output is partially correct : V - N = 16
47 Partially correct 125 ms 12384 KB Output is partially correct : V - N = 16
48 Partially correct 356 ms 16468 KB Output is partially correct : V - N = 16
49 Partially correct 71 ms 10484 KB Output is partially correct : V - N = 16
50 Partially correct 22 ms 9532 KB Output is partially correct : V - N = 16
51 Partially correct 580 ms 22304 KB Output is partially correct : V - N = 16
52 Partially correct 15 ms 9228 KB Output is partially correct : V - N = 16
53 Partially correct 494 ms 20632 KB Output is partially correct : V - N = 16
54 Partially correct 598 ms 23480 KB Output is partially correct : V - N = 16
55 Partially correct 41 ms 10020 KB Output is partially correct : V - N = 16
56 Partially correct 349 ms 16936 KB Output is partially correct : V - N = 16
57 Partially correct 769 ms 24276 KB Output is partially correct : V - N = 16
58 Partially correct 104 ms 11096 KB Output is partially correct : V - N = 16
59 Partially correct 264 ms 15416 KB Output is partially correct : V - N = 16
60 Partially correct 765 ms 24784 KB Output is partially correct : V - N = 16
61 Partially correct 9 ms 6896 KB Output is partially correct : V - N = 16
62 Partially correct 9 ms 6776 KB Output is partially correct : V - N = 16
63 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
64 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
65 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
66 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
67 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
68 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
69 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
70 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
71 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
72 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
73 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
74 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
75 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
76 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 16
77 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 16
78 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
79 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
80 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
81 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
82 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
83 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
84 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 16
85 Partially correct 9 ms 6736 KB Output is partially correct : V - N = 16
86 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
87 Partially correct 8 ms 6680 KB Output is partially correct : V - N = 16
88 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
89 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
90 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 16
91 Partially correct 9 ms 6640 KB Output is partially correct : V - N = 16
92 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
93 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
94 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
95 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
96 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
97 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
98 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
99 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
100 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
101 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
102 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
103 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
104 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
105 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
106 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 16
107 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 16
108 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
109 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 16
110 Partially correct 7 ms 6784 KB Output is partially correct : V - N = 16
111 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 16
112 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 16
113 Partially correct 6 ms 6648 KB Output is partially correct : V - N = 16
114 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
115 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 16
116 Partially correct 7 ms 6784 KB Output is partially correct : V - N = 16
117 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
118 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
119 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
120 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
121 Partially correct 6 ms 6648 KB Output is partially correct : V - N = 16
122 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 16
123 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 16
124 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 16
125 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
126 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 16
127 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 16
128 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 16
129 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
130 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 16
131 Partially correct 6 ms 6896 KB Output is partially correct : V - N = 16
132 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
133 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 16
134 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 16
135 Partially correct 7 ms 6648 KB Output is partially correct : V - N = 16
136 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 16
137 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
138 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
139 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
140 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
141 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
142 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
143 Partially correct 8 ms 6904 KB Output is partially correct : V - N = 16
144 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
145 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 16
146 Partially correct 7 ms 6648 KB Output is partially correct : V - N = 16
147 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
148 Partially correct 8 ms 6736 KB Output is partially correct : V - N = 16
149 Partially correct 8 ms 6648 KB Output is partially correct : V - N = 16
150 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
151 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
152 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
153 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
154 Partially correct 7 ms 6648 KB Output is partially correct : V - N = 16
155 Partially correct 6 ms 6896 KB Output is partially correct : V - N = 16
156 Partially correct 7 ms 6736 KB Output is partially correct : V - N = 16
157 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 16
158 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 16
159 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
160 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
161 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
162 Partially correct 6 ms 6640 KB Output is partially correct : V - N = 16
163 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
164 Partially correct 8 ms 6688 KB Output is partially correct : V - N = 16
165 Partially correct 6 ms 6896 KB Output is partially correct : V - N = 16
166 Partially correct 7 ms 6640 KB Output is partially correct : V - N = 16
167 Partially correct 7 ms 6896 KB Output is partially correct : V - N = 16
168 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
169 Partially correct 8 ms 6648 KB Output is partially correct : V - N = 16
170 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
171 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
172 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
173 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
174 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
175 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
176 Partially correct 8 ms 6640 KB Output is partially correct : V - N = 16
177 Partially correct 8 ms 6896 KB Output is partially correct : V - N = 16
178 Partially correct 8 ms 6648 KB Output is partially correct : V - N = 16