Submission #313434

# Submission time Handle Problem Language Result Execution time Memory
313434 2020-10-16T00:57:11 Z CaroLinda Airline Route Map (JOI18_airline) C++14
91 / 100
913 ms 30920 KB
#include "Alicelib.h"
#include <cassert>
#include <cstdio>
#include <bits/stdc++.h>

#define sz(x) (int)(x.size())

using namespace std ;

bool isOn(int i, int m) { return ((1<<i)&m) != 0 ; }

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

	if(N == 1)
	{
		InitG(1,0) ;
		return ;
	}

	int _log = 10 ;

	vector< pair<int,int> > edge ;

	for(int i = 0 ; i< M ; i++ ) edge.push_back( make_pair(A[i] , B[i]) ) ;

	for(int i = 0 ; i <= _log ; i++ )
		for(int j = 0 ; j < N ; j++ )
			if(isOn(i,j+1)) edge.push_back( make_pair(i+N, j) ) ;

	for(int i = 0 ; i < _log ; i++ ) edge.push_back(make_pair(i+N, i+1+N)) ;

	for(int i = N ; i <= N+_log ; i++ ) edge.push_back( make_pair(N+_log+1, i) ) ;
	for(int i = 0 ; i < N+_log ; i++ ) edge.push_back( make_pair(N+_log+2 , i  ) ) ;

	//for(auto e : edge ) cout << e.first << " " << e.second << endl ;

	InitG(N+_log+3, sz(edge)) ;
	for(int i = 0 ; i < sz(edge) ; i++ ) MakeG( i, edge[i].first, edge[i].second ); 

}

#include "Boblib.h"
#include <cassert>
#include <cstdio>
#include <bits/stdc++.h>

#define debug printf
#define all(x) x.begin(),x.end()
#define sz(x) (int)(x.size())

using namespace std ;

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

	if(V == 1)
	{
		InitMap(1,0) ;
		return ;
	}

	int cnt = 0 ;

	vector<int> deg( V, 0 ) ;
	vector<vector<int> > adj(V, vector<int>()) ;

	for(int i = 0 ; i < U ; i++ ) 
	{
		deg[ C[i] ]++ ;
		deg[ D[i] ]++ ;

		adj[ C[i] ].push_back(D[i]) ;
		adj[ D[i] ].push_back(C[i]) ;

	}

	vector<int> idx(V) ; iota(all(idx), 0) ;
	sort(all(idx) ,[&](int i, int j) { return deg[i] < deg[j]; }) ;

	vector<bool> mark(V, false) ;
	mark[ idx[V-1] ] = true ;

	for(auto e : adj[ idx[V-1] ])
		mark[e] = true ;

	int indicador ;
	for(int i = V-1 ; i >= 0 ; i-- )
		if( !mark[ idx[i] ]  )
		{
			indicador = idx[i] ;
			mark[idx[i]] = true ;
			break ;
		}

	vector<bool> isBoring(V, true) ;
	vector<int> soma(V, 0) ;
	
	for(auto e : adj[indicador]) isBoring[e] = false ;
	isBoring[ idx[V-1] ] = isBoring[indicador] = false ;
	for(int i = 0 ; i < V ; i++ ) cnt += isBoring[i] ;

	//for(int i = 0 ; i < V ; i++ ) cout << idx[i] << " " << deg[idx[i]] << " " << isBoring[idx[i]] << endl ;

	int curLast ;
	for(int i = 0 ; i < V ; i++ )
		if(!mark[i]) curLast = i ;

	for(int i = 0 ; i < V ; i++ ) mark[i] = false ;
	mark[ idx[V-1] ] = mark[indicador] = true ;
	
	int curBit = V - cnt - 2 - 1 ;
	while(curLast != -1)
	{

		mark[curLast] = true ;

		int nxt = -1 ;

		for(auto e : adj[curLast])
		{
			if(isBoring[e])
				soma[e] += (1<<curBit) ;
			else if(!mark[e]) nxt = e ;
		}

		curBit--;
		curLast = nxt ;

	}

	vector< pair<int,int> > edge ;

	for(int i = 0 ; i < U ; i++ )
	{
		int a = C[i] ;
		int b = D[i] ;

		if( !isBoring[a] || !isBoring[b] ) continue ;

		edge.push_back( make_pair( soma[a]-1, soma[b]-1 ) ) ;

	}
	//cout <<"edges" << endl ;
	//for(auto e : edge ) cout << e.first << " " << e.second << endl ;

	InitMap(cnt, sz(edge)) ;
	for(auto e : edge ) MakeMap(e.first, e.second ) ;

}

Compilation message

Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:73:15: warning: 'curLast' may be used uninitialized in this function [-Wmaybe-uninitialized]
   73 |   mark[curLast] = true ;
      |               ^
Bob.cpp:56:28: warning: 'indicador' may be used uninitialized in this function [-Wmaybe-uninitialized]
   56 |  for(auto e : adj[indicador]) isBoring[e] = false ;
      |                            ^
# Verdict Execution time Memory Grader output
1 Correct 7 ms 6912 KB Output is correct
2 Correct 6 ms 6912 KB Output is correct
3 Correct 6 ms 6912 KB Output is correct
4 Correct 6 ms 6656 KB Output is correct
5 Correct 6 ms 6912 KB Output is correct
6 Correct 6 ms 6912 KB Output is correct
7 Correct 6 ms 6912 KB Output is correct
8 Correct 6 ms 6912 KB Output is correct
9 Correct 6 ms 6912 KB Output is correct
10 Correct 6 ms 6912 KB Output is correct
11 Correct 6 ms 6912 KB Output is correct
12 Correct 7 ms 6912 KB Output is correct
13 Correct 8 ms 6912 KB Output is correct
14 Correct 6 ms 6912 KB Output is correct
15 Correct 7 ms 6912 KB Output is correct
16 Correct 6 ms 6912 KB Output is correct
17 Correct 6 ms 6912 KB Output is correct
18 Correct 6 ms 6912 KB Output is correct
19 Correct 6 ms 6912 KB Output is correct
20 Correct 6 ms 6912 KB Output is correct
21 Correct 6 ms 6912 KB Output is correct
22 Correct 6 ms 6912 KB Output is correct
23 Correct 6 ms 6912 KB Output is correct
24 Correct 7 ms 6912 KB Output is correct
25 Correct 6 ms 6912 KB Output is correct
26 Correct 7 ms 6912 KB Output is correct
27 Correct 6 ms 6912 KB Output is correct
28 Correct 6 ms 6912 KB Output is correct
29 Correct 7 ms 6912 KB Output is correct
30 Correct 6 ms 6912 KB Output is correct
31 Correct 6 ms 6656 KB Output is correct
32 Correct 6 ms 6912 KB Output is correct
33 Correct 6 ms 6912 KB Output is correct
34 Correct 6 ms 6912 KB Output is correct
35 Correct 6 ms 6656 KB Output is correct
36 Correct 6 ms 6912 KB Output is correct
37 Correct 6 ms 6912 KB Output is correct
38 Correct 6 ms 6720 KB Output is correct
39 Correct 7 ms 6912 KB Output is correct
40 Correct 6 ms 6912 KB Output is correct
41 Correct 6 ms 6912 KB Output is correct
42 Correct 6 ms 6912 KB Output is correct
43 Correct 6 ms 6912 KB Output is correct
44 Correct 6 ms 6912 KB Output is correct
45 Correct 6 ms 6656 KB Output is correct
46 Correct 7 ms 6912 KB Output is correct
47 Correct 7 ms 6912 KB Output is correct
48 Correct 6 ms 6912 KB Output is correct
49 Correct 6 ms 6912 KB Output is correct
50 Correct 6 ms 6912 KB Output is correct
51 Correct 6 ms 6656 KB Output is correct
52 Correct 6 ms 6912 KB Output is correct
53 Correct 6 ms 6912 KB Output is correct
54 Correct 6 ms 6912 KB Output is correct
55 Correct 6 ms 6912 KB Output is correct
56 Correct 6 ms 6912 KB Output is correct
57 Correct 6 ms 6912 KB Output is correct
58 Correct 6 ms 7168 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 7 ms 6912 KB Output is correct
2 Correct 6 ms 6912 KB Output is correct
3 Correct 6 ms 6912 KB Output is correct
4 Correct 6 ms 6656 KB Output is correct
5 Correct 6 ms 6912 KB Output is correct
6 Correct 6 ms 6912 KB Output is correct
7 Correct 6 ms 6912 KB Output is correct
8 Correct 6 ms 6912 KB Output is correct
9 Correct 6 ms 6912 KB Output is correct
10 Correct 6 ms 6912 KB Output is correct
11 Correct 6 ms 6912 KB Output is correct
12 Correct 7 ms 6912 KB Output is correct
13 Correct 8 ms 6912 KB Output is correct
14 Correct 6 ms 6912 KB Output is correct
15 Correct 7 ms 6912 KB Output is correct
16 Correct 6 ms 6912 KB Output is correct
17 Correct 6 ms 6912 KB Output is correct
18 Correct 6 ms 6912 KB Output is correct
19 Correct 6 ms 6912 KB Output is correct
20 Correct 6 ms 6912 KB Output is correct
21 Correct 6 ms 6912 KB Output is correct
22 Correct 6 ms 6912 KB Output is correct
23 Correct 6 ms 6912 KB Output is correct
24 Correct 7 ms 6912 KB Output is correct
25 Correct 6 ms 6912 KB Output is correct
26 Correct 7 ms 6912 KB Output is correct
27 Correct 6 ms 6912 KB Output is correct
28 Correct 6 ms 6912 KB Output is correct
29 Correct 7 ms 6912 KB Output is correct
30 Correct 6 ms 6912 KB Output is correct
31 Correct 6 ms 6656 KB Output is correct
32 Correct 6 ms 6912 KB Output is correct
33 Correct 6 ms 6912 KB Output is correct
34 Correct 6 ms 6912 KB Output is correct
35 Correct 6 ms 6656 KB Output is correct
36 Correct 6 ms 6912 KB Output is correct
37 Correct 6 ms 6912 KB Output is correct
38 Correct 6 ms 6720 KB Output is correct
39 Correct 7 ms 6912 KB Output is correct
40 Correct 6 ms 6912 KB Output is correct
41 Correct 6 ms 6912 KB Output is correct
42 Correct 6 ms 6912 KB Output is correct
43 Correct 6 ms 6912 KB Output is correct
44 Correct 6 ms 6912 KB Output is correct
45 Correct 6 ms 6656 KB Output is correct
46 Correct 7 ms 6912 KB Output is correct
47 Correct 7 ms 6912 KB Output is correct
48 Correct 6 ms 6912 KB Output is correct
49 Correct 6 ms 6912 KB Output is correct
50 Correct 6 ms 6912 KB Output is correct
51 Correct 6 ms 6656 KB Output is correct
52 Correct 6 ms 6912 KB Output is correct
53 Correct 6 ms 6912 KB Output is correct
54 Correct 6 ms 6912 KB Output is correct
55 Correct 6 ms 6912 KB Output is correct
56 Correct 6 ms 6912 KB Output is correct
57 Correct 6 ms 6912 KB Output is correct
58 Correct 6 ms 7168 KB Output is correct
59 Correct 7 ms 6912 KB Output is correct
60 Correct 7 ms 6976 KB Output is correct
61 Correct 7 ms 6912 KB Output is correct
62 Correct 6 ms 6912 KB Output is correct
63 Correct 6 ms 6912 KB Output is correct
64 Correct 6 ms 6912 KB Output is correct
65 Correct 7 ms 6912 KB Output is correct
66 Correct 7 ms 6912 KB Output is correct
67 Correct 6 ms 6912 KB Output is correct
68 Correct 6 ms 6912 KB Output is correct
69 Correct 6 ms 6912 KB Output is correct
70 Correct 7 ms 6912 KB Output is correct
71 Correct 7 ms 6912 KB Output is correct
72 Correct 7 ms 6912 KB Output is correct
73 Correct 6 ms 6912 KB Output is correct
74 Correct 6 ms 6912 KB Output is correct
75 Correct 6 ms 6912 KB Output is correct
76 Correct 6 ms 6912 KB Output is correct
77 Correct 6 ms 6912 KB Output is correct
78 Correct 7 ms 6912 KB Output is correct
79 Correct 7 ms 6912 KB Output is correct
80 Correct 7 ms 6912 KB Output is correct
81 Correct 6 ms 6912 KB Output is correct
82 Correct 6 ms 6912 KB Output is correct
83 Correct 7 ms 6912 KB Output is correct
84 Correct 6 ms 6912 KB Output is correct
85 Correct 8 ms 6912 KB Output is correct
86 Correct 6 ms 6912 KB Output is correct
87 Correct 6 ms 6912 KB Output is correct
88 Correct 6 ms 6912 KB Output is correct
89 Correct 6 ms 6912 KB Output is correct
90 Correct 6 ms 6912 KB Output is correct
91 Correct 6 ms 6912 KB Output is correct
92 Correct 6 ms 6912 KB Output is correct
93 Correct 6 ms 6912 KB Output is correct
94 Correct 7 ms 6912 KB Output is correct
95 Correct 8 ms 6912 KB Output is correct
96 Correct 7 ms 6912 KB Output is correct
97 Correct 7 ms 6912 KB Output is correct
98 Correct 8 ms 6912 KB Output is correct
99 Correct 7 ms 6912 KB Output is correct
100 Correct 7 ms 6912 KB Output is correct
101 Correct 6 ms 6912 KB Output is correct
102 Correct 6 ms 6656 KB Output is correct
103 Correct 6 ms 6912 KB Output is correct
104 Correct 6 ms 6912 KB Output is correct
105 Correct 7 ms 6912 KB Output is correct
106 Correct 7 ms 6912 KB Output is correct
107 Correct 6 ms 6912 KB Output is correct
108 Correct 7 ms 6912 KB Output is correct
109 Correct 7 ms 6912 KB Output is correct
110 Correct 6 ms 6912 KB Output is correct
111 Correct 7 ms 6912 KB Output is correct
112 Correct 7 ms 6912 KB Output is correct
113 Correct 7 ms 6912 KB Output is correct
114 Correct 7 ms 6912 KB Output is correct
115 Correct 7 ms 6912 KB Output is correct
116 Correct 6 ms 6912 KB Output is correct
117 Correct 6 ms 6912 KB Output is correct
118 Correct 6 ms 6912 KB Output is correct
# Verdict Execution time Memory Grader output
1 Partially correct 700 ms 30920 KB Output is partially correct : V - N = 13
2 Partially correct 542 ms 26068 KB Output is partially correct : V - N = 13
3 Partially correct 221 ms 14032 KB Output is partially correct : V - N = 13
4 Partially correct 14 ms 7424 KB Output is partially correct : V - N = 13
5 Partially correct 135 ms 11480 KB Output is partially correct : V - N = 13
6 Partially correct 539 ms 23940 KB Output is partially correct : V - N = 13
7 Partially correct 790 ms 30408 KB Output is partially correct : V - N = 13
8 Partially correct 823 ms 27848 KB Output is partially correct : V - N = 13
9 Partially correct 300 ms 17360 KB Output is partially correct : V - N = 13
10 Partially correct 43 ms 8168 KB Output is partially correct : V - N = 13
11 Partially correct 60 ms 9184 KB Output is partially correct : V - N = 13
12 Partially correct 367 ms 19136 KB Output is partially correct : V - N = 13
13 Partially correct 655 ms 28872 KB Output is partially correct : V - N = 13
14 Partially correct 665 ms 29640 KB Output is partially correct : V - N = 13
15 Partially correct 401 ms 22604 KB Output is partially correct : V - N = 13
16 Partially correct 101 ms 9952 KB Output is partially correct : V - N = 13
17 Partially correct 23 ms 7896 KB Output is partially correct : V - N = 13
18 Partially correct 287 ms 15824 KB Output is partially correct : V - N = 13
19 Partially correct 650 ms 26836 KB Output is partially correct : V - N = 13
20 Partially correct 785 ms 30712 KB Output is partially correct : V - N = 13
21 Partially correct 245 ms 13272 KB Output is partially correct : V - N = 13
22 Partially correct 187 ms 11848 KB Output is partially correct : V - N = 13
23 Partially correct 76 ms 9184 KB Output is partially correct : V - N = 13
24 Partially correct 9 ms 6912 KB Output is partially correct : V - N = 13
25 Partially correct 35 ms 8168 KB Output is partially correct : V - N = 13
26 Partially correct 143 ms 11224 KB Output is partially correct : V - N = 13
27 Partially correct 183 ms 13272 KB Output is partially correct : V - N = 13
28 Partially correct 174 ms 12504 KB Output is partially correct : V - N = 13
29 Partially correct 80 ms 9696 KB Output is partially correct : V - N = 13
30 Partially correct 13 ms 7424 KB Output is partially correct : V - N = 13
31 Partially correct 12 ms 7168 KB Output is partially correct : V - N = 13
32 Partially correct 13 ms 7232 KB Output is partially correct : V - N = 13
33 Partially correct 13 ms 7168 KB Output is partially correct : V - N = 13
34 Partially correct 13 ms 7168 KB Output is partially correct : V - N = 13
35 Partially correct 12 ms 7168 KB Output is partially correct : V - N = 13
36 Partially correct 720 ms 30664 KB Output is partially correct : V - N = 13
37 Partially correct 695 ms 30672 KB Output is partially correct : V - N = 13
38 Partially correct 785 ms 30832 KB Output is partially correct : V - N = 13
39 Partially correct 913 ms 30904 KB Output is partially correct : V - N = 13
40 Partially correct 779 ms 30664 KB Output is partially correct : V - N = 13
41 Partially correct 145 ms 11224 KB Output is partially correct : V - N = 13
42 Partially correct 92 ms 10248 KB Output is partially correct : V - N = 13
43 Partially correct 142 ms 10640 KB Output is partially correct : V - N = 13
44 Partially correct 15 ms 7376 KB Output is partially correct : V - N = 13
45 Partially correct 79 ms 9144 KB Output is partially correct : V - N = 13
46 Partially correct 327 ms 14776 KB Output is partially correct : V - N = 13
47 Partially correct 167 ms 11192 KB Output is partially correct : V - N = 13
48 Partially correct 359 ms 17584 KB Output is partially correct : V - N = 13
49 Partially correct 57 ms 8944 KB Output is partially correct : V - N = 13
50 Partially correct 22 ms 7680 KB Output is partially correct : V - N = 13
51 Partially correct 648 ms 25684 KB Output is partially correct : V - N = 13
52 Partially correct 14 ms 7424 KB Output is partially correct : V - N = 13
53 Partially correct 510 ms 23620 KB Output is partially correct : V - N = 13
54 Partially correct 614 ms 27336 KB Output is partially correct : V - N = 13
55 Partially correct 38 ms 8184 KB Output is partially correct : V - N = 13
56 Partially correct 422 ms 19152 KB Output is partially correct : V - N = 13
57 Partially correct 769 ms 29128 KB Output is partially correct : V - N = 13
58 Partially correct 97 ms 9952 KB Output is partially correct : V - N = 13
59 Partially correct 288 ms 15568 KB Output is partially correct : V - N = 13
60 Partially correct 736 ms 30080 KB Output is partially correct : V - N = 13
61 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
62 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
63 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
64 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
65 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
66 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
67 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
68 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
69 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
70 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
71 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
72 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
73 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
74 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
75 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
76 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
77 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
78 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
79 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
80 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
81 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
82 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
83 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
84 Partially correct 6 ms 6720 KB Output is partially correct : V - N = 13
85 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
86 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
87 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
88 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
89 Partially correct 7 ms 7168 KB Output is partially correct : V - N = 13
90 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
91 Partially correct 6 ms 6656 KB Output is partially correct : V - N = 13
92 Partially correct 6 ms 6656 KB Output is partially correct : V - N = 13
93 Partially correct 6 ms 6656 KB Output is partially correct : V - N = 13
94 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
95 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
96 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
97 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
98 Partially correct 8 ms 6912 KB Output is partially correct : V - N = 13
99 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
100 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
101 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
102 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
103 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
104 Partially correct 6 ms 6656 KB Output is partially correct : V - N = 13
105 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
106 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
107 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
108 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
109 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
110 Partially correct 7 ms 6720 KB Output is partially correct : V - N = 13
111 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
112 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
113 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
114 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
115 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
116 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
117 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
118 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
119 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
120 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
121 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
122 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
123 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
124 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
125 Partially correct 6 ms 6720 KB Output is partially correct : V - N = 13
126 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
127 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
128 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
129 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
130 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
131 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
132 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
133 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
134 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
135 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
136 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
137 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
138 Partially correct 6 ms 7168 KB Output is partially correct : V - N = 13
139 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
140 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
141 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
142 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
143 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
144 Partially correct 6 ms 6656 KB Output is partially correct : V - N = 13
145 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
146 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
147 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
148 Partially correct 7 ms 6912 KB Output is partially correct : V - N = 13
149 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
150 Partially correct 6 ms 6656 KB Output is partially correct : V - N = 13
151 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
152 Partially correct 6 ms 6656 KB Output is partially correct : V - N = 13
153 Partially correct 6 ms 6656 KB Output is partially correct : V - N = 13
154 Partially correct 6 ms 6656 KB Output is partially correct : V - N = 13
155 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
156 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
157 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
158 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
159 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
160 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
161 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
162 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
163 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
164 Partially correct 6 ms 6656 KB Output is partially correct : V - N = 13
165 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
166 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
167 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
168 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
169 Partially correct 6 ms 7168 KB Output is partially correct : V - N = 13
170 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
171 Correct 6 ms 6656 KB Output is correct : V - N = 0
172 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
173 Partially correct 7 ms 6656 KB Output is partially correct : V - N = 13
174 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
175 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
176 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
177 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13
178 Partially correct 6 ms 6912 KB Output is partially correct : V - N = 13