Submission #420379

# Submission time Handle Problem Language Result Execution time Memory
420379 2021-06-08T10:19:18 Z ACmachine Airline Route Map (JOI18_airline) C++17
88 / 100
910 ms 33372 KB
#include <bits/stdc++.h>
#include "Alicelib.h"
#include <cassert>
#include <cstdio>
using namespace std;
#define pb push_back
#define FOR(i, j, k, l) for(int i = (j); i < (k); i+=(l))
#define FORD(i, j, k, l) for(int i = (j); i >= (k); i -= (l))
#define REP(i, n) FOR(i, 0, n, 1)
#define REPD(i, n) FORD(i, n, 0, 1)


void Alice( int N, int M, int A[], int B[] ){ 
    vector<array<int, 2>> edges;
    REP(i, M){
        edges.pb({A[i], B[i]});
    }
    int curr = N;
    REP(i, 10){
        REP(j, N){
            if((j & (1 << i))){ // degrees of indicators will be non_increasing;       
                edges.pb({curr + i, j});
            }
        }
        if(i > 0){
            edges.pb({curr + i - 1, curr + i});
        }
    }
    // when I add 2 that go to all realgraph edges, it means that those that have deg 1 vertices hold some information; 
    curr += 10;
    REP(i, N){
        edges.pb({curr, i});
    }
    curr++;
    REP(i, N){
        edges.pb({curr, i});
    }
    edges.pb({curr, curr - 1});
    curr++;
    edges.pb({curr - 2, curr});
    curr++;
    edges.pb({curr - 2, curr}); 
    curr++;
    InitG(N + 14, (int)edges.size());
	REP(i, edges.size()){
        MakeG(i, edges[i][0], edges[i][1]);
    }
}
#include <bits/stdc++.h>
#include "Boblib.h"
#include <cassert>
#include <cstdio>
using namespace std;
#define pb push_back
#define FOR(i, j, k, l) for(int i = (j); i < (k); i+=(l))
#define FORD(i, j, k, l) for(int i = (j); i >= (k); i -= (l))
#define REP(i, n) FOR(i, 0, n, 1)
#define REPD(i, n) FORD(i, n, 0, 1)
void Bob( int V, int U, int C[], int D[] ){
    vector<array<int, 2>> edges;
    vector<vector<int>> g(V);
    vector<int> deg(V, 0);
    vector<vector<int>> mat(V, vector<int>(V, 0));
    REP(i, U){
        deg[C[i]]++;
        deg[D[i]]++;
        g[C[i]].pb(D[i]);
        g[D[i]].pb(C[i]);
        mat[C[i]][D[i]] = mat[D[i]][C[i]] = 1;
    }
    vector<int> ones;
    REP(i, V){
        if(deg[i] == 1)
            ones.pb(i);
    }
    int f = -1, s = -1;
    REP(i, ones.size()){
        REP(j, i){
            if(mat[g[ones[i]][0]][g[ones[j]][0]]){
                f = g[ones[i]][0];
                s = g[ones[j]][0];
            }
        }
    }
    vector<bool> ograph(V, false);
    vector<bool> indicator(V, true);
    indicator[f] = indicator[s] = false; 
    for(int x : g[f]){
        indicator[x] = false;  
        ograph[x] = true;
    }
    for(int x : g[s]){
        indicator[x] = false;
        ograph[x] = true;
    }
    for(int x : ones) 
        ograph[x] = false;
    ograph[s] = ograph[f] = false;
    vector<int> indicators;
    REP(i, V){
        if(indicator[i])
            indicators.pb(i);
    } 
    
    int start = indicators[0];
    vector<int> new_indicators; // in a chain order
    int pv = -1;
    int nstart = -1;
    REP(i, 9){
        nstart = -1;
        for(int x : g[start]){
            if(indicator[x] && x != pv){
                nstart = x;
                break;
            }
        }
        if(nstart != -1){
            pv = start;
            start = nstart; 
        }
        else
            break;
    }
    pv = -1;
    REP(i, 9){
        nstart = -1;
        new_indicators.pb(start);
        for(int x : g[start]){
            if(indicator[x] && x != pv){
                nstart = x;
                break;
            }
        }
        pv = start; 
        start = nstart; 
    }
    new_indicators.pb(start);
    indicators.swap(new_indicators);
    if(deg[indicators[0]] < deg[indicators.back()]){
        reverse(indicators.begin(), indicators.end()); 
    }  
    vector<int> mark(V, 0);
    REP(i, 10){
        int v = indicators[i];
        for(int x : g[v]){
            mark[x] |= (1 << i);
        }
    }
    REP(i, U){
        if(ograph[C[i]] && ograph[D[i]]){
            edges.pb({mark[C[i]], mark[D[i]]});
        }
    }
	InitMap( V - 14, (int)edges.size() );
    REP(i, edges.size()){
        MakeMap(edges[i][0], edges[i][1]);
    }	
}

Compilation message

Alice.cpp: In function 'void Alice(int, int, int*, int*)':
Alice.cpp:7:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::array<int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    7 | #define FOR(i, j, k, l) for(int i = (j); i < (k); i+=(l))
      |                                            ^
Alice.cpp:9:19: note: in expansion of macro 'FOR'
    9 | #define REP(i, n) FOR(i, 0, n, 1)
      |                   ^~~
Alice.cpp:45:2: note: in expansion of macro 'REP'
   45 |  REP(i, edges.size()){
      |  ^~~

Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:7:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    7 | #define FOR(i, j, k, l) for(int i = (j); i < (k); i+=(l))
      |                                            ^
Bob.cpp:9:19: note: in expansion of macro 'FOR'
    9 | #define REP(i, n) FOR(i, 0, n, 1)
      |                   ^~~
Bob.cpp:29:5: note: in expansion of macro 'REP'
   29 |     REP(i, ones.size()){
      |     ^~~
Bob.cpp:7:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::array<int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    7 | #define FOR(i, j, k, l) for(int i = (j); i < (k); i+=(l))
      |                                            ^
Bob.cpp:9:19: note: in expansion of macro 'FOR'
    9 | #define REP(i, n) FOR(i, 0, n, 1)
      |                   ^~~
Bob.cpp:107:5: note: in expansion of macro 'REP'
  107 |     REP(i, edges.size()){
      |     ^~~
# Verdict Execution time Memory Grader output
1 Correct 3 ms 4568 KB Output is correct
2 Correct 3 ms 4640 KB Output is correct
3 Correct 3 ms 4580 KB Output is correct
4 Correct 3 ms 4580 KB Output is correct
5 Correct 4 ms 4672 KB Output is correct
6 Correct 3 ms 4588 KB Output is correct
7 Correct 3 ms 4584 KB Output is correct
8 Correct 3 ms 4588 KB Output is correct
9 Correct 3 ms 4528 KB Output is correct
10 Correct 3 ms 4584 KB Output is correct
11 Correct 3 ms 4588 KB Output is correct
12 Correct 3 ms 4588 KB Output is correct
13 Correct 3 ms 4584 KB Output is correct
14 Correct 4 ms 4588 KB Output is correct
15 Correct 3 ms 4584 KB Output is correct
16 Correct 3 ms 4568 KB Output is correct
17 Correct 3 ms 4588 KB Output is correct
18 Correct 3 ms 4588 KB Output is correct
19 Correct 3 ms 4584 KB Output is correct
20 Correct 3 ms 4588 KB Output is correct
21 Correct 3 ms 4500 KB Output is correct
22 Correct 3 ms 4596 KB Output is correct
23 Correct 3 ms 4588 KB Output is correct
24 Correct 3 ms 4560 KB Output is correct
25 Correct 3 ms 4588 KB Output is correct
26 Correct 3 ms 4592 KB Output is correct
27 Correct 3 ms 4624 KB Output is correct
28 Correct 3 ms 4588 KB Output is correct
29 Correct 4 ms 4588 KB Output is correct
30 Correct 3 ms 4516 KB Output is correct
31 Correct 3 ms 4564 KB Output is correct
32 Correct 3 ms 4584 KB Output is correct
33 Correct 3 ms 4584 KB Output is correct
34 Correct 3 ms 4516 KB Output is correct
35 Correct 3 ms 4720 KB Output is correct
36 Correct 3 ms 4584 KB Output is correct
37 Correct 3 ms 4496 KB Output is correct
38 Correct 3 ms 4516 KB Output is correct
39 Correct 3 ms 4496 KB Output is correct
40 Correct 3 ms 4588 KB Output is correct
41 Correct 3 ms 4588 KB Output is correct
42 Correct 3 ms 4520 KB Output is correct
43 Correct 3 ms 4516 KB Output is correct
44 Correct 3 ms 4528 KB Output is correct
45 Correct 3 ms 4584 KB Output is correct
46 Correct 3 ms 4568 KB Output is correct
47 Correct 3 ms 4572 KB Output is correct
48 Correct 3 ms 4568 KB Output is correct
49 Correct 3 ms 4528 KB Output is correct
50 Correct 3 ms 4584 KB Output is correct
51 Correct 3 ms 4612 KB Output is correct
52 Correct 3 ms 4580 KB Output is correct
53 Correct 3 ms 4580 KB Output is correct
54 Correct 3 ms 4580 KB Output is correct
55 Correct 3 ms 4592 KB Output is correct
56 Correct 3 ms 4588 KB Output is correct
57 Correct 3 ms 4588 KB Output is correct
58 Correct 3 ms 4548 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 3 ms 4568 KB Output is correct
2 Correct 3 ms 4640 KB Output is correct
3 Correct 3 ms 4580 KB Output is correct
4 Correct 3 ms 4580 KB Output is correct
5 Correct 4 ms 4672 KB Output is correct
6 Correct 3 ms 4588 KB Output is correct
7 Correct 3 ms 4584 KB Output is correct
8 Correct 3 ms 4588 KB Output is correct
9 Correct 3 ms 4528 KB Output is correct
10 Correct 3 ms 4584 KB Output is correct
11 Correct 3 ms 4588 KB Output is correct
12 Correct 3 ms 4588 KB Output is correct
13 Correct 3 ms 4584 KB Output is correct
14 Correct 4 ms 4588 KB Output is correct
15 Correct 3 ms 4584 KB Output is correct
16 Correct 3 ms 4568 KB Output is correct
17 Correct 3 ms 4588 KB Output is correct
18 Correct 3 ms 4588 KB Output is correct
19 Correct 3 ms 4584 KB Output is correct
20 Correct 3 ms 4588 KB Output is correct
21 Correct 3 ms 4500 KB Output is correct
22 Correct 3 ms 4596 KB Output is correct
23 Correct 3 ms 4588 KB Output is correct
24 Correct 3 ms 4560 KB Output is correct
25 Correct 3 ms 4588 KB Output is correct
26 Correct 3 ms 4592 KB Output is correct
27 Correct 3 ms 4624 KB Output is correct
28 Correct 3 ms 4588 KB Output is correct
29 Correct 4 ms 4588 KB Output is correct
30 Correct 3 ms 4516 KB Output is correct
31 Correct 3 ms 4564 KB Output is correct
32 Correct 3 ms 4584 KB Output is correct
33 Correct 3 ms 4584 KB Output is correct
34 Correct 3 ms 4516 KB Output is correct
35 Correct 3 ms 4720 KB Output is correct
36 Correct 3 ms 4584 KB Output is correct
37 Correct 3 ms 4496 KB Output is correct
38 Correct 3 ms 4516 KB Output is correct
39 Correct 3 ms 4496 KB Output is correct
40 Correct 3 ms 4588 KB Output is correct
41 Correct 3 ms 4588 KB Output is correct
42 Correct 3 ms 4520 KB Output is correct
43 Correct 3 ms 4516 KB Output is correct
44 Correct 3 ms 4528 KB Output is correct
45 Correct 3 ms 4584 KB Output is correct
46 Correct 3 ms 4568 KB Output is correct
47 Correct 3 ms 4572 KB Output is correct
48 Correct 3 ms 4568 KB Output is correct
49 Correct 3 ms 4528 KB Output is correct
50 Correct 3 ms 4584 KB Output is correct
51 Correct 3 ms 4612 KB Output is correct
52 Correct 3 ms 4580 KB Output is correct
53 Correct 3 ms 4580 KB Output is correct
54 Correct 3 ms 4580 KB Output is correct
55 Correct 3 ms 4592 KB Output is correct
56 Correct 3 ms 4588 KB Output is correct
57 Correct 3 ms 4588 KB Output is correct
58 Correct 3 ms 4548 KB Output is correct
59 Correct 3 ms 4624 KB Output is correct
60 Correct 3 ms 4644 KB Output is correct
61 Correct 3 ms 4580 KB Output is correct
62 Correct 3 ms 4668 KB Output is correct
63 Correct 3 ms 4568 KB Output is correct
64 Correct 3 ms 4644 KB Output is correct
65 Correct 4 ms 4664 KB Output is correct
66 Correct 4 ms 4716 KB Output is correct
67 Correct 4 ms 4588 KB Output is correct
68 Correct 4 ms 4516 KB Output is correct
69 Correct 3 ms 4580 KB Output is correct
70 Correct 3 ms 4588 KB Output is correct
71 Correct 3 ms 4720 KB Output is correct
72 Correct 4 ms 4624 KB Output is correct
73 Correct 3 ms 4644 KB Output is correct
74 Correct 3 ms 4580 KB Output is correct
75 Correct 3 ms 4496 KB Output is correct
76 Correct 3 ms 4516 KB Output is correct
77 Correct 3 ms 4624 KB Output is correct
78 Correct 4 ms 4644 KB Output is correct
79 Correct 4 ms 4496 KB Output is correct
80 Correct 4 ms 4580 KB Output is correct
81 Correct 3 ms 4568 KB Output is correct
82 Correct 3 ms 4496 KB Output is correct
83 Correct 3 ms 4588 KB Output is correct
84 Correct 3 ms 4704 KB Output is correct
85 Correct 3 ms 4696 KB Output is correct
86 Correct 3 ms 4496 KB Output is correct
87 Correct 3 ms 4568 KB Output is correct
88 Correct 3 ms 4592 KB Output is correct
89 Correct 4 ms 4584 KB Output is correct
90 Correct 4 ms 4584 KB Output is correct
91 Correct 3 ms 4516 KB Output is correct
92 Correct 4 ms 4560 KB Output is correct
93 Correct 3 ms 4588 KB Output is correct
94 Correct 3 ms 4716 KB Output is correct
95 Correct 3 ms 4644 KB Output is correct
96 Correct 4 ms 4716 KB Output is correct
97 Correct 4 ms 4716 KB Output is correct
98 Correct 3 ms 4696 KB Output is correct
99 Correct 4 ms 4716 KB Output is correct
100 Correct 3 ms 4588 KB Output is correct
101 Correct 3 ms 4516 KB Output is correct
102 Correct 3 ms 4500 KB Output is correct
103 Correct 3 ms 4516 KB Output is correct
104 Correct 3 ms 4568 KB Output is correct
105 Correct 3 ms 4516 KB Output is correct
106 Correct 3 ms 4624 KB Output is correct
107 Correct 3 ms 4496 KB Output is correct
108 Correct 3 ms 4596 KB Output is correct
109 Correct 5 ms 4548 KB Output is correct
110 Correct 3 ms 4516 KB Output is correct
111 Correct 4 ms 4588 KB Output is correct
112 Correct 4 ms 4588 KB Output is correct
113 Correct 3 ms 4496 KB Output is correct
114 Correct 3 ms 4512 KB Output is correct
115 Correct 4 ms 4584 KB Output is correct
116 Correct 3 ms 4592 KB Output is correct
117 Correct 3 ms 4588 KB Output is correct
118 Correct 3 ms 4588 KB Output is correct
# Verdict Execution time Memory Grader output
1 Partially correct 864 ms 33300 KB Output is partially correct : V - N = 14
2 Partially correct 653 ms 29628 KB Output is partially correct : V - N = 14
3 Partially correct 233 ms 17896 KB Output is partially correct : V - N = 14
4 Partially correct 16 ms 9232 KB Output is partially correct : V - N = 14
5 Partially correct 175 ms 13968 KB Output is partially correct : V - N = 14
6 Partially correct 510 ms 27680 KB Output is partially correct : V - N = 14
7 Partially correct 592 ms 33028 KB Output is partially correct : V - N = 14
8 Partially correct 640 ms 31244 KB Output is partially correct : V - N = 14
9 Partially correct 311 ms 20036 KB Output is partially correct : V - N = 14
10 Partially correct 39 ms 10460 KB Output is partially correct : V - N = 14
11 Partially correct 75 ms 11440 KB Output is partially correct : V - N = 14
12 Partially correct 341 ms 22304 KB Output is partially correct : V - N = 14
13 Partially correct 725 ms 32092 KB Output is partially correct : V - N = 14
14 Partially correct 819 ms 32548 KB Output is partially correct : V - N = 14
15 Partially correct 427 ms 26664 KB Output is partially correct : V - N = 14
16 Partially correct 106 ms 12264 KB Output is partially correct : V - N = 14
17 Partially correct 27 ms 9744 KB Output is partially correct : V - N = 14
18 Partially correct 235 ms 19012 KB Output is partially correct : V - N = 14
19 Partially correct 674 ms 30636 KB Output is partially correct : V - N = 14
20 Partially correct 724 ms 33124 KB Output is partially correct : V - N = 14
21 Partially correct 231 ms 13524 KB Output is partially correct : V - N = 14
22 Partially correct 201 ms 11376 KB Output is partially correct : V - N = 14
23 Partially correct 59 ms 8356 KB Output is partially correct : V - N = 14
24 Partially correct 6 ms 5916 KB Output is partially correct : V - N = 14
25 Partially correct 34 ms 7304 KB Output is partially correct : V - N = 14
26 Partially correct 115 ms 10804 KB Output is partially correct : V - N = 14
27 Partially correct 229 ms 12332 KB Output is partially correct : V - N = 14
28 Partially correct 197 ms 11956 KB Output is partially correct : V - N = 14
29 Partially correct 103 ms 8920 KB Output is partially correct : V - N = 14
30 Partially correct 12 ms 6308 KB Output is partially correct : V - N = 14
31 Partially correct 11 ms 8988 KB Output is partially correct : V - N = 14
32 Partially correct 11 ms 8976 KB Output is partially correct : V - N = 14
33 Partially correct 13 ms 9028 KB Output is partially correct : V - N = 14
34 Partially correct 13 ms 9020 KB Output is partially correct : V - N = 14
35 Partially correct 12 ms 8996 KB Output is partially correct : V - N = 14
36 Partially correct 910 ms 33372 KB Output is partially correct : V - N = 14
37 Partially correct 701 ms 33340 KB Output is partially correct : V - N = 14
38 Partially correct 837 ms 33348 KB Output is partially correct : V - N = 14
39 Partially correct 885 ms 33240 KB Output is partially correct : V - N = 14
40 Partially correct 774 ms 33236 KB Output is partially correct : V - N = 14
41 Partially correct 159 ms 13920 KB Output is partially correct : V - N = 14
42 Partially correct 94 ms 12504 KB Output is partially correct : V - N = 14
43 Partially correct 125 ms 13552 KB Output is partially correct : V - N = 14
44 Partially correct 12 ms 9252 KB Output is partially correct : V - N = 14
45 Partially correct 61 ms 11520 KB Output is partially correct : V - N = 14
46 Partially correct 252 ms 18408 KB Output is partially correct : V - N = 14
47 Partially correct 113 ms 13900 KB Output is partially correct : V - N = 14
48 Partially correct 277 ms 20288 KB Output is partially correct : V - N = 14
49 Partially correct 57 ms 11212 KB Output is partially correct : V - N = 14
50 Partially correct 25 ms 9764 KB Output is partially correct : V - N = 14
51 Partially correct 593 ms 29704 KB Output is partially correct : V - N = 14
52 Partially correct 15 ms 9352 KB Output is partially correct : V - N = 14
53 Partially correct 522 ms 27688 KB Output is partially correct : V - N = 14
54 Partially correct 572 ms 30972 KB Output is partially correct : V - N = 14
55 Partially correct 41 ms 10296 KB Output is partially correct : V - N = 14
56 Partially correct 387 ms 21776 KB Output is partially correct : V - N = 14
57 Partially correct 819 ms 32040 KB Output is partially correct : V - N = 14
58 Partially correct 115 ms 12156 KB Output is partially correct : V - N = 14
59 Partially correct 268 ms 18736 KB Output is partially correct : V - N = 14
60 Partially correct 776 ms 32576 KB Output is partially correct : V - N = 14
61 Partially correct 3 ms 4708 KB Output is partially correct : V - N = 14
62 Partially correct 3 ms 4716 KB Output is partially correct : V - N = 14
63 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
64 Partially correct 3 ms 4572 KB Output is partially correct : V - N = 14
65 Partially correct 4 ms 4680 KB Output is partially correct : V - N = 14
66 Partially correct 3 ms 4708 KB Output is partially correct : V - N = 14
67 Partially correct 3 ms 4716 KB Output is partially correct : V - N = 14
68 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
69 Partially correct 3 ms 4696 KB Output is partially correct : V - N = 14
70 Partially correct 3 ms 4508 KB Output is partially correct : V - N = 14
71 Partially correct 4 ms 4568 KB Output is partially correct : V - N = 14
72 Partially correct 3 ms 4716 KB Output is partially correct : V - N = 14
73 Partially correct 3 ms 4716 KB Output is partially correct : V - N = 14
74 Partially correct 3 ms 4696 KB Output is partially correct : V - N = 14
75 Partially correct 3 ms 4596 KB Output is partially correct : V - N = 14
76 Partially correct 3 ms 4524 KB Output is partially correct : V - N = 14
77 Partially correct 3 ms 4592 KB Output is partially correct : V - N = 14
78 Partially correct 3 ms 4500 KB Output is partially correct : V - N = 14
79 Partially correct 3 ms 4716 KB Output is partially correct : V - N = 14
80 Partially correct 4 ms 4716 KB Output is partially correct : V - N = 14
81 Partially correct 3 ms 4584 KB Output is partially correct : V - N = 14
82 Partially correct 3 ms 4596 KB Output is partially correct : V - N = 14
83 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
84 Partially correct 3 ms 4568 KB Output is partially correct : V - N = 14
85 Partially correct 3 ms 4596 KB Output is partially correct : V - N = 14
86 Partially correct 4 ms 4712 KB Output is partially correct : V - N = 14
87 Partially correct 3 ms 4716 KB Output is partially correct : V - N = 14
88 Partially correct 4 ms 4588 KB Output is partially correct : V - N = 14
89 Partially correct 3 ms 4496 KB Output is partially correct : V - N = 14
90 Partially correct 3 ms 4496 KB Output is partially correct : V - N = 14
91 Partially correct 3 ms 4540 KB Output is partially correct : V - N = 14
92 Partially correct 3 ms 4584 KB Output is partially correct : V - N = 14
93 Partially correct 3 ms 4584 KB Output is partially correct : V - N = 14
94 Partially correct 3 ms 4564 KB Output is partially correct : V - N = 14
95 Partially correct 3 ms 4568 KB Output is partially correct : V - N = 14
96 Partially correct 5 ms 4716 KB Output is partially correct : V - N = 14
97 Partially correct 4 ms 4644 KB Output is partially correct : V - N = 14
98 Partially correct 5 ms 4644 KB Output is partially correct : V - N = 14
99 Partially correct 4 ms 4716 KB Output is partially correct : V - N = 14
100 Partially correct 3 ms 4716 KB Output is partially correct : V - N = 14
101 Partially correct 4 ms 4716 KB Output is partially correct : V - N = 14
102 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
103 Partially correct 3 ms 4580 KB Output is partially correct : V - N = 14
104 Partially correct 3 ms 4528 KB Output is partially correct : V - N = 14
105 Partially correct 3 ms 4600 KB Output is partially correct : V - N = 14
106 Partially correct 3 ms 4496 KB Output is partially correct : V - N = 14
107 Partially correct 4 ms 4512 KB Output is partially correct : V - N = 14
108 Partially correct 3 ms 4644 KB Output is partially correct : V - N = 14
109 Partially correct 3 ms 4512 KB Output is partially correct : V - N = 14
110 Partially correct 3 ms 4516 KB Output is partially correct : V - N = 14
111 Partially correct 4 ms 4588 KB Output is partially correct : V - N = 14
112 Partially correct 3 ms 4580 KB Output is partially correct : V - N = 14
113 Partially correct 3 ms 4540 KB Output is partially correct : V - N = 14
114 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
115 Partially correct 3 ms 4580 KB Output is partially correct : V - N = 14
116 Partially correct 3 ms 4596 KB Output is partially correct : V - N = 14
117 Partially correct 3 ms 4708 KB Output is partially correct : V - N = 14
118 Partially correct 4 ms 4660 KB Output is partially correct : V - N = 14
119 Partially correct 4 ms 4568 KB Output is partially correct : V - N = 14
120 Partially correct 4 ms 4680 KB Output is partially correct : V - N = 14
121 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
122 Partially correct 3 ms 4584 KB Output is partially correct : V - N = 14
123 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
124 Partially correct 3 ms 4528 KB Output is partially correct : V - N = 14
125 Partially correct 3 ms 4568 KB Output is partially correct : V - N = 14
126 Partially correct 3 ms 4496 KB Output is partially correct : V - N = 14
127 Partially correct 3 ms 4556 KB Output is partially correct : V - N = 14
128 Partially correct 3 ms 4516 KB Output is partially correct : V - N = 14
129 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
130 Partially correct 3 ms 4528 KB Output is partially correct : V - N = 14
131 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
132 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
133 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
134 Partially correct 3 ms 4540 KB Output is partially correct : V - N = 14
135 Partially correct 3 ms 4568 KB Output is partially correct : V - N = 14
136 Partially correct 3 ms 4516 KB Output is partially correct : V - N = 14
137 Partially correct 3 ms 4516 KB Output is partially correct : V - N = 14
138 Partially correct 3 ms 4512 KB Output is partially correct : V - N = 14
139 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
140 Partially correct 3 ms 4592 KB Output is partially correct : V - N = 14
141 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
142 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
143 Partially correct 3 ms 4584 KB Output is partially correct : V - N = 14
144 Partially correct 3 ms 4584 KB Output is partially correct : V - N = 14
145 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
146 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
147 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
148 Partially correct 3 ms 4496 KB Output is partially correct : V - N = 14
149 Partially correct 3 ms 4712 KB Output is partially correct : V - N = 14
150 Partially correct 3 ms 4496 KB Output is partially correct : V - N = 14
151 Partially correct 3 ms 4516 KB Output is partially correct : V - N = 14
152 Partially correct 3 ms 4528 KB Output is partially correct : V - N = 14
153 Partially correct 3 ms 4588 KB Output is partially correct : V - N = 14
154 Partially correct 3 ms 4496 KB Output is partially correct : V - N = 14
155 Partially correct 3 ms 4496 KB Output is partially correct : V - N = 14
156 Partially correct 3 ms 4564 KB Output is partially correct : V - N = 14
157 Partially correct 3 ms 4676 KB Output is partially correct : V - N = 14
158 Partially correct 3 ms 4568 KB Output is partially correct : V - N = 14
159 Partially correct 4 ms 4584 KB Output is partially correct : V - N = 14
160 Partially correct 4 ms 4496 KB Output is partially correct : V - N = 14
161 Partially correct 3 ms 4516 KB Output is partially correct : V - N = 14
162 Partially correct 4 ms 4496 KB Output is partially correct : V - N = 14
163 Partially correct 4 ms 4516 KB Output is partially correct : V - N = 14
164 Partially correct 3 ms 4568 KB Output is partially correct : V - N = 14
165 Partially correct 4 ms 4496 KB Output is partially correct : V - N = 14
166 Partially correct 3 ms 4528 KB Output is partially correct : V - N = 14
167 Partially correct 4 ms 4496 KB Output is partially correct : V - N = 14
168 Partially correct 4 ms 4496 KB Output is partially correct : V - N = 14
169 Partially correct 3 ms 4528 KB Output is partially correct : V - N = 14
170 Partially correct 4 ms 4496 KB Output is partially correct : V - N = 14
171 Partially correct 4 ms 4516 KB Output is partially correct : V - N = 14
172 Partially correct 3 ms 4496 KB Output is partially correct : V - N = 14
173 Partially correct 3 ms 4516 KB Output is partially correct : V - N = 14
174 Partially correct 4 ms 4496 KB Output is partially correct : V - N = 14
175 Partially correct 3 ms 4496 KB Output is partially correct : V - N = 14
176 Partially correct 3 ms 4516 KB Output is partially correct : V - N = 14
177 Partially correct 3 ms 4580 KB Output is partially correct : V - N = 14
178 Partially correct 4 ms 4496 KB Output is partially correct : V - N = 14