Submission #995019

# Submission time Handle Problem Language Result Execution time Memory
995019 2024-06-08T10:41:31 Z maomao90 Airline Route Map (JOI18_airline) C++17
0 / 100
430 ms 40592 KB
// Hallelujah, praise the one who set me free
// Hallelujah, death has lost its grip on me
// You have broken every chain, There's salvation in your name
// Jesus Christ, my living hope
#include <bits/stdc++.h> 
#include "Alicelib.h"
using namespace std;

#define REP(i, s, e) for (int i = (s); i < (e); i++)
#define RREP(i, s, e) for (int i = (s); i >= (e); i--)
template <class T>
inline bool mnto(T& a, T b) {return b < a ? a = b, 1 : 0;}
template <class T>
inline bool mxto(T& a, T b) {return a < b ? a = b, 1: 0;}

typedef unsigned long long ull;
typedef long long ll;
typedef long double ld;
#define FI first
#define SE second
typedef pair<int, int> ii;
typedef pair<ll, ll> pll;
typedef tuple<int, int, int> iii;
#define ALL(_a) _a.begin(), _a.end()
#define SZ(_a) (int) _a.size()
#define pb push_back
typedef vector<int> vi;
typedef vector<ll> vll;
typedef vector<ii> vii;
typedef vector<iii> viii;

#ifndef DEBUG
#define cerr if (0) cerr
#endif

const int INF = 1000000005;
const ll LINF = 1000000000000000005ll;
const int MAXN = 1100;

namespace {
    int n, m;
    bool g[MAXN][MAXN], h[MAXN][MAXN];

    inline void add(int u, int v) {
        h[u][v] = h[v][u] = 1;
    }
    inline void answer() {
        vii eg;
        REP (i, 0, m) {
            REP (j, i + 1, m) {
                if (h[i][j]) {
                    eg.pb({i, j});
                }
            }
        }
        InitG(m, SZ(eg));
        REP (i, 0, SZ(eg)) {
            MakeG(i, eg[i].FI, eg[i].SE);
        }
    }
}

void Alice(int N, int E, int A[], int B[] ){
    n = N;
    int lg = 32 - __builtin_clz(n - 1);
    m = n + lg + 3;
    REP (i, 0, E) {
        g[A[i]][B[i]] = g[B[i]][A[i]] = 1;
    }
    REP (i, 0, n) {
        REP (j, 0, n) {
            h[i][j] = g[i][j];
        }
    }
    REP (l, 0, lg) {
        REP (i, 0, n) {
            if (i >> l & 1) {
                add(n + l, i);
            }
        }
        if (l) {
            add(n + l, n + l - 1);
        }
    }
    add(n + lg, n + lg - 1);
    REP (i, n, n + lg + 1) {
        add(n + lg + 1, i);
    }
    REP (i, 0, n + lg + 1) {
        add(n + lg + 2, i);
    }
    answer();
}
// Hallelujah, praise the one who set me free
// Hallelujah, death has lost its grip on me
// You have broken every chain, There's salvation in your name
// Jesus Christ, my living hope
#include <bits/stdc++.h> 
#include "Boblib.h"
using namespace std;

#define REP(i, s, e) for (int i = (s); i < (e); i++)
#define RREP(i, s, e) for (int i = (s); i >= (e); i--)
template <class T>
inline bool mnto(T& a, T b) {return b < a ? a = b, 1 : 0;}
template <class T>
inline bool mxto(T& a, T b) {return a < b ? a = b, 1: 0;}

typedef unsigned long long ull;
typedef long long ll;
typedef long double ld;
#define FI first
#define SE second
typedef pair<int, int> ii;
typedef pair<ll, ll> pll;
typedef tuple<int, int, int> iii;
#define ALL(_a) _a.begin(), _a.end()
#define SZ(_a) (int) _a.size()
#define pb push_back
typedef vector<int> vi;
typedef vector<ll> vll;
typedef vector<ii> vii;
typedef vector<iii> viii;

#ifndef DEBUG
#define cerr if (0) cerr
#endif

const int INF = 1000000005;
const ll LINF = 1000000000000000005ll;
const int MAXN = 1100;

namespace {
    int n, m;
    bool g[MAXN][MAXN], h[MAXN][MAXN];

    inline void add(int u, int v) {
        h[u][v] = h[v][u] = 1;
    }

    int deg[MAXN];
    bool isb[MAXN], vis[MAXN];
    int id[MAXN];
    inline bool rmv(int u, int v) {
        if (!g[u][v]) {
            return 0;
        }
        g[u][v] = g[v][u] = 0;
        deg[u]--; deg[v]--;
        return 1;
    }
    inline void answer() {
        vii eg;
        REP (i, 0, m) {
            REP (j, i + 1, m) {
                if (h[i][j]) {
                    eg.pb({i, j});
                }
            }
        }
        InitMap(m, SZ(eg));
        REP (i, 0, SZ(eg)) {
            MakeMap(eg[i].FI, eg[i].SE);
        }
    }
}

void Bob( int V, int U, int C[], int D[] ){
    n = V;
    REP (x, 3, MAXN) {
        int lg = 32 - __builtin_clz(x - 1);
        if (x + lg + 3 == n) {
            m = x;
            break;
        }
    }
    assert(m);
    int lg = abs(n - m) - 3;
    REP (i, 0, U) {
        g[C[i]][D[i]] = g[D[i]][C[i]] = 1;
    }
    ii mx = {0, 0};
    REP (i, 0, n) {
        REP (j, 0, n) {
            deg[i] += g[i][j];
        }
        mxto(mx, {deg[i], i});
    }
    assert(mx.FI == n - 2);
    int r = -1;
    REP (i, 0, n) {
        if (i == mx.SE) {
            continue;
        }
        if (!rmv(mx.SE, i)) {
            assert(r == -1);
            r = i;
        }
    }
    assert(deg[r] == lg + 1);
    REP (i, 0, n) {
        isb[i] = rmv(r, i);
    }
    int e = -1;
    REP (i, 0, n) {
        if (isb[i] && deg[i] == 1) {
            REP (j, 0, n) {
                if (isb[j] && g[i][j]) {
                    e = i;
                    break;
                }
            }
            if (e != -1) {
                break;
            }
        }
    }
    assert(e != -1);
    assert(deg[e] == 1);
    vi bits;
    REP (i, 0, n) {
        if (rmv(e, i)) {
            bits.pb(i);
            vis[i] = 1;
        }
    }
    while (SZ(bits) < lg) {
        REP (i, 0, n) {
            if (vis[i] || !isb[i]) {
                continue;
            }
            if (rmv(bits.back(), i)) {
                vis[i] = 1;
                bits.pb(i);
                break;
            }
        }
    }
    reverse(ALL(bits));
    REP (l, 0, lg) {
        REP (i, 0, n) {
            id[i] |= rmv(bits[l], i) << l;
        }
    }
    REP (i, 0, n) {
        REP (j, 0, n) {
            if (g[i][j]) {
                assert(id[i] < m && id[j] < m);
                add(id[i], id[j]);
            }
        }
    }
    answer();
}
# Verdict Execution time Memory Grader output
1 Correct 3 ms 19716 KB Output is correct
2 Correct 3 ms 19712 KB Output is correct
3 Correct 3 ms 19724 KB Output is correct
4 Correct 3 ms 17668 KB Output is correct
5 Correct 3 ms 19716 KB Output is correct
6 Correct 3 ms 19724 KB Output is correct
7 Correct 3 ms 19712 KB Output is correct
8 Correct 3 ms 19544 KB Output is correct
9 Correct 2 ms 19716 KB Output is correct
10 Correct 2 ms 17676 KB Output is correct
11 Correct 3 ms 19716 KB Output is correct
12 Correct 3 ms 19724 KB Output is correct
13 Correct 2 ms 19712 KB Output is correct
14 Correct 3 ms 19716 KB Output is correct
15 Correct 3 ms 19720 KB Output is correct
16 Correct 3 ms 19724 KB Output is correct
17 Correct 3 ms 19712 KB Output is correct
18 Correct 3 ms 19716 KB Output is correct
19 Correct 3 ms 19716 KB Output is correct
20 Correct 3 ms 19712 KB Output is correct
21 Correct 2 ms 19716 KB Output is correct
22 Correct 3 ms 19712 KB Output is correct
23 Correct 3 ms 19716 KB Output is correct
24 Correct 2 ms 17660 KB Output is correct
25 Correct 2 ms 19716 KB Output is correct
26 Correct 3 ms 19720 KB Output is correct
27 Correct 3 ms 19716 KB Output is correct
28 Correct 3 ms 19712 KB Output is correct
29 Correct 3 ms 19716 KB Output is correct
30 Correct 2 ms 17664 KB Output is correct
31 Correct 3 ms 17664 KB Output is correct
32 Correct 2 ms 17664 KB Output is correct
33 Correct 3 ms 17676 KB Output is correct
34 Correct 2 ms 17676 KB Output is correct
35 Correct 2 ms 17664 KB Output is correct
36 Correct 3 ms 19712 KB Output is correct
37 Correct 2 ms 19716 KB Output is correct
38 Correct 3 ms 19716 KB Output is correct
39 Correct 3 ms 19716 KB Output is correct
40 Correct 4 ms 19712 KB Output is correct
41 Correct 3 ms 19716 KB Output is correct
42 Correct 3 ms 19716 KB Output is correct
43 Correct 2 ms 19716 KB Output is correct
44 Correct 2 ms 17668 KB Output is correct
45 Correct 3 ms 17668 KB Output is correct
46 Correct 3 ms 19636 KB Output is correct
47 Correct 3 ms 19716 KB Output is correct
48 Correct 3 ms 19716 KB Output is correct
49 Correct 3 ms 19712 KB Output is correct
50 Correct 3 ms 17668 KB Output is correct
51 Runtime error 11 ms 24324 KB Execution killed with signal 6
52 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 3 ms 19716 KB Output is correct
2 Correct 3 ms 19712 KB Output is correct
3 Correct 3 ms 19724 KB Output is correct
4 Correct 3 ms 17668 KB Output is correct
5 Correct 3 ms 19716 KB Output is correct
6 Correct 3 ms 19724 KB Output is correct
7 Correct 3 ms 19712 KB Output is correct
8 Correct 3 ms 19544 KB Output is correct
9 Correct 2 ms 19716 KB Output is correct
10 Correct 2 ms 17676 KB Output is correct
11 Correct 3 ms 19716 KB Output is correct
12 Correct 3 ms 19724 KB Output is correct
13 Correct 2 ms 19712 KB Output is correct
14 Correct 3 ms 19716 KB Output is correct
15 Correct 3 ms 19720 KB Output is correct
16 Correct 3 ms 19724 KB Output is correct
17 Correct 3 ms 19712 KB Output is correct
18 Correct 3 ms 19716 KB Output is correct
19 Correct 3 ms 19716 KB Output is correct
20 Correct 3 ms 19712 KB Output is correct
21 Correct 2 ms 19716 KB Output is correct
22 Correct 3 ms 19712 KB Output is correct
23 Correct 3 ms 19716 KB Output is correct
24 Correct 2 ms 17660 KB Output is correct
25 Correct 2 ms 19716 KB Output is correct
26 Correct 3 ms 19720 KB Output is correct
27 Correct 3 ms 19716 KB Output is correct
28 Correct 3 ms 19712 KB Output is correct
29 Correct 3 ms 19716 KB Output is correct
30 Correct 2 ms 17664 KB Output is correct
31 Correct 3 ms 17664 KB Output is correct
32 Correct 2 ms 17664 KB Output is correct
33 Correct 3 ms 17676 KB Output is correct
34 Correct 2 ms 17676 KB Output is correct
35 Correct 2 ms 17664 KB Output is correct
36 Correct 3 ms 19712 KB Output is correct
37 Correct 2 ms 19716 KB Output is correct
38 Correct 3 ms 19716 KB Output is correct
39 Correct 3 ms 19716 KB Output is correct
40 Correct 4 ms 19712 KB Output is correct
41 Correct 3 ms 19716 KB Output is correct
42 Correct 3 ms 19716 KB Output is correct
43 Correct 2 ms 19716 KB Output is correct
44 Correct 2 ms 17668 KB Output is correct
45 Correct 3 ms 17668 KB Output is correct
46 Correct 3 ms 19636 KB Output is correct
47 Correct 3 ms 19716 KB Output is correct
48 Correct 3 ms 19716 KB Output is correct
49 Correct 3 ms 19712 KB Output is correct
50 Correct 3 ms 17668 KB Output is correct
51 Runtime error 11 ms 24324 KB Execution killed with signal 6
52 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Partially correct 350 ms 40060 KB Output is partially correct : V - N = 13
2 Partially correct 293 ms 39060 KB Output is partially correct : V - N = 13
3 Partially correct 129 ms 25984 KB Output is partially correct : V - N = 13
4 Partially correct 9 ms 22800 KB Output is partially correct : V - N = 13
5 Partially correct 82 ms 24720 KB Output is partially correct : V - N = 13
6 Partially correct 283 ms 37752 KB Output is partially correct : V - N = 13
7 Partially correct 354 ms 39552 KB Output is partially correct : V - N = 13
8 Partially correct 347 ms 40340 KB Output is partially correct : V - N = 13
9 Partially correct 153 ms 26504 KB Output is partially correct : V - N = 13
10 Partially correct 20 ms 23160 KB Output is partially correct : V - N = 13
11 Partially correct 37 ms 23784 KB Output is partially correct : V - N = 13
12 Partially correct 188 ms 30864 KB Output is partially correct : V - N = 13
13 Partially correct 351 ms 39048 KB Output is partially correct : V - N = 13
14 Partially correct 393 ms 40316 KB Output is partially correct : V - N = 13
15 Partially correct 214 ms 34436 KB Output is partially correct : V - N = 13
16 Partially correct 48 ms 23700 KB Output is partially correct : V - N = 13
17 Partially correct 14 ms 22956 KB Output is partially correct : V - N = 13
18 Partially correct 144 ms 26260 KB Output is partially correct : V - N = 13
19 Partially correct 296 ms 40100 KB Output is partially correct : V - N = 13
20 Partially correct 376 ms 38772 KB Output is partially correct : V - N = 13
21 Correct 91 ms 22936 KB Output is correct : V - N = 12
22 Correct 84 ms 22672 KB Output is correct : V - N = 12
23 Correct 28 ms 21672 KB Output is correct : V - N = 12
24 Partially correct 5 ms 20740 KB Output is partially correct : V - N = 13
25 Partially correct 20 ms 21492 KB Output is partially correct : V - N = 13
26 Correct 62 ms 22448 KB Output is correct : V - N = 12
27 Correct 94 ms 22928 KB Output is correct : V - N = 12
28 Partially correct 80 ms 22672 KB Output is partially correct : V - N = 13
29 Partially correct 42 ms 21920 KB Output is partially correct : V - N = 13
30 Correct 7 ms 21008 KB Output is correct : V - N = 12
31 Partially correct 9 ms 18948 KB Output is partially correct : V - N = 13
32 Partially correct 7 ms 18948 KB Output is partially correct : V - N = 13
33 Partially correct 8 ms 18948 KB Output is partially correct : V - N = 13
34 Partially correct 8 ms 18948 KB Output is partially correct : V - N = 13
35 Partially correct 8 ms 18952 KB Output is partially correct : V - N = 13
36 Partially correct 430 ms 39812 KB Output is partially correct : V - N = 13
37 Partially correct 371 ms 39052 KB Output is partially correct : V - N = 13
38 Partially correct 360 ms 39236 KB Output is partially correct : V - N = 13
39 Partially correct 426 ms 40592 KB Output is partially correct : V - N = 13
40 Partially correct 355 ms 40580 KB Output is partially correct : V - N = 13
41 Partially correct 65 ms 24464 KB Output is partially correct : V - N = 13
42 Partially correct 57 ms 23700 KB Output is partially correct : V - N = 13
43 Partially correct 61 ms 24208 KB Output is partially correct : V - N = 13
44 Partially correct 8 ms 22788 KB Output is partially correct : V - N = 13
45 Partially correct 45 ms 23452 KB Output is partially correct : V - N = 13
46 Partially correct 123 ms 25992 KB Output is partially correct : V - N = 13
47 Partially correct 63 ms 24464 KB Output is partially correct : V - N = 13
48 Partially correct 157 ms 26496 KB Output is partially correct : V - N = 13
49 Partially correct 31 ms 23520 KB Output is partially correct : V - N = 13
50 Partially correct 11 ms 22876 KB Output is partially correct : V - N = 13
51 Partially correct 296 ms 39832 KB Output is partially correct : V - N = 13
52 Partially correct 11 ms 22796 KB Output is partially correct : V - N = 13
53 Partially correct 261 ms 37780 KB Output is partially correct : V - N = 13
54 Partially correct 377 ms 39300 KB Output is partially correct : V - N = 13
55 Partially correct 20 ms 23084 KB Output is partially correct : V - N = 13
56 Partially correct 198 ms 30624 KB Output is partially correct : V - N = 13
57 Partially correct 343 ms 39800 KB Output is partially correct : V - N = 13
58 Partially correct 49 ms 23704 KB Output is partially correct : V - N = 13
59 Partially correct 170 ms 26244 KB Output is partially correct : V - N = 13
60 Partially correct 353 ms 39560 KB Output is partially correct : V - N = 13
61 Correct 3 ms 19716 KB Output is correct : V - N = 9
62 Correct 3 ms 19724 KB Output is correct : V - N = 9
63 Correct 2 ms 19724 KB Output is correct : V - N = 9
64 Correct 3 ms 19724 KB Output is correct : V - N = 9
65 Correct 3 ms 19712 KB Output is correct : V - N = 9
66 Correct 3 ms 19716 KB Output is correct : V - N = 9
67 Correct 3 ms 19724 KB Output is correct : V - N = 9
68 Correct 3 ms 19716 KB Output is correct : V - N = 9
69 Correct 3 ms 19724 KB Output is correct : V - N = 9
70 Correct 3 ms 19716 KB Output is correct : V - N = 9
71 Correct 3 ms 19716 KB Output is correct : V - N = 9
72 Correct 3 ms 19712 KB Output is correct : V - N = 9
73 Correct 3 ms 19716 KB Output is correct : V - N = 9
74 Correct 2 ms 19724 KB Output is correct : V - N = 9
75 Correct 3 ms 19720 KB Output is correct : V - N = 9
76 Correct 3 ms 19724 KB Output is correct : V - N = 9
77 Correct 3 ms 19716 KB Output is correct : V - N = 9
78 Correct 3 ms 19712 KB Output is correct : V - N = 9
79 Correct 3 ms 19712 KB Output is correct : V - N = 9
80 Correct 3 ms 19716 KB Output is correct : V - N = 9
81 Correct 3 ms 19716 KB Output is correct : V - N = 8
82 Correct 3 ms 19716 KB Output is correct : V - N = 8
83 Correct 2 ms 19724 KB Output is correct : V - N = 9
84 Correct 3 ms 19716 KB Output is correct : V - N = 8
85 Correct 2 ms 19720 KB Output is correct : V - N = 8
86 Correct 3 ms 19712 KB Output is correct : V - N = 9
87 Correct 3 ms 19724 KB Output is correct : V - N = 9
88 Correct 3 ms 19716 KB Output is correct : V - N = 8
89 Correct 2 ms 19720 KB Output is correct : V - N = 8
90 Correct 3 ms 19716 KB Output is correct : V - N = 8
91 Correct 2 ms 17668 KB Output is correct : V - N = 9
92 Correct 2 ms 17668 KB Output is correct : V - N = 9
93 Correct 2 ms 17668 KB Output is correct : V - N = 9
94 Correct 2 ms 17664 KB Output is correct : V - N = 9
95 Correct 2 ms 17668 KB Output is correct : V - N = 9
96 Correct 3 ms 19716 KB Output is correct : V - N = 9
97 Correct 3 ms 19716 KB Output is correct : V - N = 9
98 Correct 3 ms 19720 KB Output is correct : V - N = 9
99 Correct 3 ms 19724 KB Output is correct : V - N = 9
100 Correct 3 ms 19724 KB Output is correct : V - N = 9
101 Correct 3 ms 19712 KB Output is correct : V - N = 9
102 Correct 3 ms 19976 KB Output is correct : V - N = 9
103 Correct 3 ms 19716 KB Output is correct : V - N = 9
104 Correct 2 ms 17660 KB Output is correct : V - N = 9
105 Correct 3 ms 19716 KB Output is correct : V - N = 9
106 Correct 3 ms 19788 KB Output is correct : V - N = 9
107 Correct 3 ms 19716 KB Output is correct : V - N = 9
108 Correct 2 ms 19724 KB Output is correct : V - N = 9
109 Correct 3 ms 19724 KB Output is correct : V - N = 9
110 Correct 2 ms 19708 KB Output is correct : V - N = 9
111 Correct 3 ms 19724 KB Output is correct : V - N = 9
112 Correct 3 ms 19716 KB Output is correct : V - N = 8
113 Correct 3 ms 19964 KB Output is correct : V - N = 8
114 Correct 3 ms 19504 KB Output is correct : V - N = 8
115 Correct 3 ms 19712 KB Output is correct : V - N = 8
116 Correct 3 ms 19716 KB Output is correct : V - N = 8
117 Correct 3 ms 19716 KB Output is correct : V - N = 9
118 Correct 3 ms 19712 KB Output is correct : V - N = 8
119 Correct 3 ms 19716 KB Output is correct : V - N = 9
120 Correct 3 ms 19716 KB Output is correct : V - N = 8
121 Correct 2 ms 19724 KB Output is correct : V - N = 7
122 Correct 3 ms 19716 KB Output is correct : V - N = 7
123 Correct 3 ms 19716 KB Output is correct : V - N = 7
124 Correct 2 ms 17680 KB Output is correct : V - N = 7
125 Correct 3 ms 19712 KB Output is correct : V - N = 7
126 Correct 2 ms 19720 KB Output is correct : V - N = 7
127 Correct 3 ms 19724 KB Output is correct : V - N = 7
128 Correct 3 ms 19728 KB Output is correct : V - N = 7
129 Correct 3 ms 19724 KB Output is correct : V - N = 7
130 Correct 2 ms 17668 KB Output is correct : V - N = 7
131 Correct 3 ms 19716 KB Output is correct : V - N = 7
132 Correct 3 ms 19724 KB Output is correct : V - N = 7
133 Correct 3 ms 19716 KB Output is correct : V - N = 7
134 Correct 3 ms 19716 KB Output is correct : V - N = 7
135 Correct 3 ms 19716 KB Output is correct : V - N = 7
136 Correct 2 ms 19716 KB Output is correct : V - N = 7
137 Correct 2 ms 19724 KB Output is correct : V - N = 7
138 Correct 2 ms 19716 KB Output is correct : V - N = 7
139 Correct 3 ms 19716 KB Output is correct : V - N = 7
140 Correct 3 ms 19712 KB Output is correct : V - N = 7
141 Correct 3 ms 19716 KB Output is correct : V - N = 7
142 Correct 3 ms 19968 KB Output is correct : V - N = 6
143 Correct 2 ms 19712 KB Output is correct : V - N = 7
144 Correct 2 ms 17672 KB Output is correct : V - N = 6
145 Correct 3 ms 19716 KB Output is correct : V - N = 6
146 Correct 2 ms 19724 KB Output is correct : V - N = 6
147 Correct 2 ms 19716 KB Output is correct : V - N = 6
148 Correct 3 ms 19716 KB Output is correct : V - N = 7
149 Correct 3 ms 19724 KB Output is correct : V - N = 6
150 Correct 3 ms 17668 KB Output is correct : V - N = 6
151 Correct 2 ms 17664 KB Output is correct : V - N = 7
152 Correct 2 ms 17668 KB Output is correct : V - N = 7
153 Correct 2 ms 17668 KB Output is correct : V - N = 7
154 Correct 2 ms 17664 KB Output is correct : V - N = 7
155 Correct 2 ms 17668 KB Output is correct : V - N = 7
156 Correct 3 ms 19724 KB Output is correct : V - N = 7
157 Correct 2 ms 19716 KB Output is correct : V - N = 7
158 Correct 2 ms 19716 KB Output is correct : V - N = 7
159 Correct 3 ms 19724 KB Output is correct : V - N = 7
160 Correct 3 ms 19724 KB Output is correct : V - N = 7
161 Correct 2 ms 19716 KB Output is correct : V - N = 7
162 Correct 2 ms 19712 KB Output is correct : V - N = 7
163 Correct 2 ms 19716 KB Output is correct : V - N = 7
164 Correct 2 ms 17676 KB Output is correct : V - N = 7
165 Correct 2 ms 17676 KB Output is correct : V - N = 7
166 Correct 3 ms 19724 KB Output is correct : V - N = 7
167 Correct 3 ms 19716 KB Output is correct : V - N = 7
168 Correct 3 ms 19716 KB Output is correct : V - N = 7
169 Correct 3 ms 19716 KB Output is correct : V - N = 7
170 Correct 2 ms 17668 KB Output is correct : V - N = 7
171 Runtime error 7 ms 24324 KB Execution killed with signal 6
172 Halted 0 ms 0 KB -