답안 #829763

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
829763 2023-08-18T14:49:44 Z MilosMilutinovic 항공 노선도 (JOI18_airline) C++14
100 / 100
410 ms 29432 KB
#include "Alicelib.h"
#include <bits/stdc++.h>

using namespace std;

void Alice(int n, int m, int a[], int b[]) {
  vector<pair<int, int>> e;
  for (int i = 0; i < m; i++) {
    e.emplace_back(a[i], b[i]);
  }
  const int L = 10;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < L; j++) {
      if ((i + 1) >> j & 1) {
        e.emplace_back(i, n + j);
      }
    }
  }
  int to_all = n + L;
  int to_bits = to_all + 1;
  for (int i = 0; i < to_all; i++) {
    e.emplace_back(i, to_all);
  }
  for (int i = n; i < n + L; i++) {
    e.emplace_back(to_bits, i);
  }

  auto Idx = [&](int x) {
    return n + x;
  };

  e.emplace_back(Idx(0), Idx(1));
  e.emplace_back(Idx(1), Idx(2));
  e.emplace_back(Idx(0), Idx(3));
  e.emplace_back(Idx(3), Idx(4));
  e.emplace_back(Idx(4), Idx(5));
  e.emplace_back(Idx(0), Idx(6));
  e.emplace_back(Idx(6), Idx(7));
  e.emplace_back(Idx(7), Idx(8));
  e.emplace_back(Idx(8), Idx(9));

  InitG(to_bits + 1, e.size());
  for (int i = 0; i < (int) e.size(); i++) {
    MakeG(i, e[i].first, e[i].second);
  }
}

/*
4 3
0 1
0 2
0 3

5 7
0 1
0 2
1 3
1 4
3 4
2 3
2 4
*/

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

using namespace std;

void Bob(int v, int u, int c[], int d[]) {
  const int L = 10;
  int n = v - L - 2;
  vector<vector<int>> g(v);
  for (int i = 0; i < u; i++) {
    g[c[i]].push_back(d[i]);
    g[d[i]].push_back(c[i]);
  }
  vector<int> deg(v);
  for (int i = 0; i < v; i++) {
    deg[i] = (int) g[i].size();
  }
  int to_all = (int) (max_element(deg.begin(), deg.end()) - deg.begin());
  int to_bits = -1;
  for (int i = 0; i < v; i++) {
    if (i == to_all) {
      continue;
    }
    bool ok = true;
    for (int j : g[i]) {
      if (j == to_all) {
        ok = false;
      }
    }
    if (ok) {
      assert(to_bits == -1);
      to_bits = i;
    }
  }
  vector<int> bits;
  for (int i : g[to_bits]) {
    bits.push_back(i);
  }
  vector<int> nodes;
  vector<bool> is_node(v);
  for (int i = 0; i < v; i++) {
    if (i == to_all) {
      continue;
    }
    if (i == to_bits) {
      continue;
    }
    bool is_bit = false;
    for (int j : bits) {
      if (i == j) {
        is_bit = true;
      }
    }
    if (is_bit) {
      continue;
    }
    nodes.push_back(i);
    is_node[i] = true;
  }

  vector<int> val(v, -1);
  {
    vector<bool> is_bit(v);
    for (int i : bits) {
      is_bit[i] = true;
    }
    vector<vector<int>> r(v);
    for (int i = 0; i < u; i++) {
      if (is_bit[c[i]] && is_bit[d[i]]) {
        r[c[i]].push_back(d[i]);
        r[d[i]].push_back(c[i]);
      }
    }
    int cen = -1;
    for (int i : bits) {
      if ((int) r[i].size() == 3) {
        cen = i;
      }
    }
    val[cen] = 0;
    vector<int> ch;
    function<void(int, int)> Dfs = [&](int x, int pr) {
      if (x != cen) {
        ch.push_back(x);
      }
      for (int y : r[x]) {
        if (y == pr) {
          continue;
        }
        Dfs(y, x);
        if (x == cen) {
          if ((int) ch.size() == 2) {
            val[ch[0]] = 1;
            val[ch[1]] = 2;
          } else if ((int) ch.size() == 3) {
            val[ch[0]] = 3;
            val[ch[1]] = 4;
            val[ch[2]] = 5;
          } else if ((int) ch.size() == 4) {
            val[ch[0]] = 6;
            val[ch[1]] = 7;
            val[ch[2]] = 8;
            val[ch[3]] = 9;
          }
          ch.clear();
        }
      }
    };
    Dfs(cen, cen);
  }

  vector<int> idx(v);
  for (int i : nodes) {
    for (int j : g[i]) {
      if (val[j] != -1) {
        idx[i] += (1 << val[j]);
      }
    }
  }
  vector<pair<int, int>> ans;
  for (int i = 0; i < u; i++) {
    if (is_node[c[i]] && is_node[d[i]]) {
      ans.emplace_back(idx[c[i]], idx[d[i]]);
    }
  }
  InitMap(n, (int) ans.size());
  for (int i = 0; i < (int) ans.size(); i++) {
    MakeMap(ans[i].first - 1, ans[i].second - 1);
  }
}

# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 4588 KB Output is correct
2 Correct 2 ms 4552 KB Output is correct
3 Correct 2 ms 4620 KB Output is correct
4 Correct 2 ms 4588 KB Output is correct
5 Correct 1 ms 4612 KB Output is correct
6 Correct 2 ms 4612 KB Output is correct
7 Correct 2 ms 4612 KB Output is correct
8 Correct 3 ms 4612 KB Output is correct
9 Correct 3 ms 4612 KB Output is correct
10 Correct 1 ms 4608 KB Output is correct
11 Correct 1 ms 4592 KB Output is correct
12 Correct 2 ms 4592 KB Output is correct
13 Correct 2 ms 4612 KB Output is correct
14 Correct 2 ms 4588 KB Output is correct
15 Correct 1 ms 4656 KB Output is correct
16 Correct 1 ms 4612 KB Output is correct
17 Correct 2 ms 4588 KB Output is correct
18 Correct 2 ms 4612 KB Output is correct
19 Correct 2 ms 4612 KB Output is correct
20 Correct 3 ms 4612 KB Output is correct
21 Correct 3 ms 4608 KB Output is correct
22 Correct 2 ms 4612 KB Output is correct
23 Correct 1 ms 4612 KB Output is correct
24 Correct 3 ms 4620 KB Output is correct
25 Correct 2 ms 4612 KB Output is correct
26 Correct 1 ms 4620 KB Output is correct
27 Correct 1 ms 4612 KB Output is correct
28 Correct 2 ms 4608 KB Output is correct
29 Correct 2 ms 4660 KB Output is correct
30 Correct 1 ms 4608 KB Output is correct
31 Correct 2 ms 4676 KB Output is correct
32 Correct 2 ms 4608 KB Output is correct
33 Correct 2 ms 4608 KB Output is correct
34 Correct 2 ms 4604 KB Output is correct
35 Correct 2 ms 4616 KB Output is correct
36 Correct 3 ms 4604 KB Output is correct
37 Correct 2 ms 4612 KB Output is correct
38 Correct 2 ms 4608 KB Output is correct
39 Correct 2 ms 4612 KB Output is correct
40 Correct 1 ms 4612 KB Output is correct
41 Correct 2 ms 4516 KB Output is correct
42 Correct 3 ms 4552 KB Output is correct
43 Correct 2 ms 4612 KB Output is correct
44 Correct 1 ms 4608 KB Output is correct
45 Correct 2 ms 4608 KB Output is correct
46 Correct 2 ms 4512 KB Output is correct
47 Correct 2 ms 4608 KB Output is correct
48 Correct 1 ms 4516 KB Output is correct
49 Correct 2 ms 4540 KB Output is correct
50 Correct 1 ms 4608 KB Output is correct
51 Correct 2 ms 4588 KB Output is correct
52 Correct 2 ms 4648 KB Output is correct
53 Correct 2 ms 4536 KB Output is correct
54 Correct 2 ms 4612 KB Output is correct
55 Correct 3 ms 4612 KB Output is correct
56 Correct 2 ms 4612 KB Output is correct
57 Correct 3 ms 4560 KB Output is correct
58 Correct 3 ms 4612 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 4588 KB Output is correct
2 Correct 2 ms 4552 KB Output is correct
3 Correct 2 ms 4620 KB Output is correct
4 Correct 2 ms 4588 KB Output is correct
5 Correct 1 ms 4612 KB Output is correct
6 Correct 2 ms 4612 KB Output is correct
7 Correct 2 ms 4612 KB Output is correct
8 Correct 3 ms 4612 KB Output is correct
9 Correct 3 ms 4612 KB Output is correct
10 Correct 1 ms 4608 KB Output is correct
11 Correct 1 ms 4592 KB Output is correct
12 Correct 2 ms 4592 KB Output is correct
13 Correct 2 ms 4612 KB Output is correct
14 Correct 2 ms 4588 KB Output is correct
15 Correct 1 ms 4656 KB Output is correct
16 Correct 1 ms 4612 KB Output is correct
17 Correct 2 ms 4588 KB Output is correct
18 Correct 2 ms 4612 KB Output is correct
19 Correct 2 ms 4612 KB Output is correct
20 Correct 3 ms 4612 KB Output is correct
21 Correct 3 ms 4608 KB Output is correct
22 Correct 2 ms 4612 KB Output is correct
23 Correct 1 ms 4612 KB Output is correct
24 Correct 3 ms 4620 KB Output is correct
25 Correct 2 ms 4612 KB Output is correct
26 Correct 1 ms 4620 KB Output is correct
27 Correct 1 ms 4612 KB Output is correct
28 Correct 2 ms 4608 KB Output is correct
29 Correct 2 ms 4660 KB Output is correct
30 Correct 1 ms 4608 KB Output is correct
31 Correct 2 ms 4676 KB Output is correct
32 Correct 2 ms 4608 KB Output is correct
33 Correct 2 ms 4608 KB Output is correct
34 Correct 2 ms 4604 KB Output is correct
35 Correct 2 ms 4616 KB Output is correct
36 Correct 3 ms 4604 KB Output is correct
37 Correct 2 ms 4612 KB Output is correct
38 Correct 2 ms 4608 KB Output is correct
39 Correct 2 ms 4612 KB Output is correct
40 Correct 1 ms 4612 KB Output is correct
41 Correct 2 ms 4516 KB Output is correct
42 Correct 3 ms 4552 KB Output is correct
43 Correct 2 ms 4612 KB Output is correct
44 Correct 1 ms 4608 KB Output is correct
45 Correct 2 ms 4608 KB Output is correct
46 Correct 2 ms 4512 KB Output is correct
47 Correct 2 ms 4608 KB Output is correct
48 Correct 1 ms 4516 KB Output is correct
49 Correct 2 ms 4540 KB Output is correct
50 Correct 1 ms 4608 KB Output is correct
51 Correct 2 ms 4588 KB Output is correct
52 Correct 2 ms 4648 KB Output is correct
53 Correct 2 ms 4536 KB Output is correct
54 Correct 2 ms 4612 KB Output is correct
55 Correct 3 ms 4612 KB Output is correct
56 Correct 2 ms 4612 KB Output is correct
57 Correct 3 ms 4560 KB Output is correct
58 Correct 3 ms 4612 KB Output is correct
59 Correct 3 ms 4740 KB Output is correct
60 Correct 2 ms 4612 KB Output is correct
61 Correct 2 ms 4612 KB Output is correct
62 Correct 3 ms 4608 KB Output is correct
63 Correct 2 ms 4612 KB Output is correct
64 Correct 3 ms 4564 KB Output is correct
65 Correct 2 ms 4716 KB Output is correct
66 Correct 2 ms 4748 KB Output is correct
67 Correct 2 ms 4620 KB Output is correct
68 Correct 2 ms 4608 KB Output is correct
69 Correct 2 ms 4600 KB Output is correct
70 Correct 2 ms 4740 KB Output is correct
71 Correct 3 ms 4740 KB Output is correct
72 Correct 3 ms 4640 KB Output is correct
73 Correct 2 ms 4740 KB Output is correct
74 Correct 2 ms 4608 KB Output is correct
75 Correct 2 ms 4612 KB Output is correct
76 Correct 2 ms 4588 KB Output is correct
77 Correct 3 ms 4740 KB Output is correct
78 Correct 2 ms 4760 KB Output is correct
79 Correct 2 ms 4612 KB Output is correct
80 Correct 2 ms 4612 KB Output is correct
81 Correct 2 ms 4612 KB Output is correct
82 Correct 2 ms 4680 KB Output is correct
83 Correct 3 ms 4612 KB Output is correct
84 Correct 2 ms 4612 KB Output is correct
85 Correct 2 ms 4612 KB Output is correct
86 Correct 2 ms 4612 KB Output is correct
87 Correct 2 ms 4612 KB Output is correct
88 Correct 2 ms 4612 KB Output is correct
89 Correct 3 ms 4612 KB Output is correct
90 Correct 3 ms 4608 KB Output is correct
91 Correct 3 ms 4608 KB Output is correct
92 Correct 1 ms 4584 KB Output is correct
93 Correct 2 ms 4620 KB Output is correct
94 Correct 3 ms 4740 KB Output is correct
95 Correct 3 ms 4740 KB Output is correct
96 Correct 3 ms 4740 KB Output is correct
97 Correct 3 ms 4740 KB Output is correct
98 Correct 3 ms 4740 KB Output is correct
99 Correct 2 ms 4716 KB Output is correct
100 Correct 2 ms 4588 KB Output is correct
101 Correct 2 ms 4612 KB Output is correct
102 Correct 2 ms 4616 KB Output is correct
103 Correct 2 ms 4612 KB Output is correct
104 Correct 3 ms 4588 KB Output is correct
105 Correct 2 ms 4748 KB Output is correct
106 Correct 3 ms 4716 KB Output is correct
107 Correct 2 ms 4516 KB Output is correct
108 Correct 2 ms 4620 KB Output is correct
109 Correct 2 ms 4740 KB Output is correct
110 Correct 2 ms 4604 KB Output is correct
111 Correct 2 ms 4620 KB Output is correct
112 Correct 2 ms 4612 KB Output is correct
113 Correct 1 ms 4620 KB Output is correct
114 Correct 2 ms 4604 KB Output is correct
115 Correct 2 ms 4608 KB Output is correct
116 Correct 3 ms 4612 KB Output is correct
117 Correct 2 ms 4612 KB Output is correct
118 Correct 2 ms 4740 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 393 ms 29336 KB Output is correct : V - N = 12
2 Correct 305 ms 25672 KB Output is correct : V - N = 12
3 Correct 123 ms 13888 KB Output is correct : V - N = 12
4 Correct 7 ms 5308 KB Output is correct : V - N = 12
5 Correct 64 ms 9860 KB Output is correct : V - N = 12
6 Correct 249 ms 23576 KB Output is correct : V - N = 12
7 Correct 351 ms 28852 KB Output is correct : V - N = 12
8 Correct 308 ms 27256 KB Output is correct : V - N = 12
9 Correct 153 ms 15984 KB Output is correct : V - N = 12
10 Correct 17 ms 6356 KB Output is correct : V - N = 12
11 Correct 33 ms 7356 KB Output is correct : V - N = 12
12 Correct 193 ms 18192 KB Output is correct : V - N = 12
13 Correct 360 ms 28132 KB Output is correct : V - N = 12
14 Correct 380 ms 28496 KB Output is correct : V - N = 12
15 Correct 241 ms 22552 KB Output is correct : V - N = 12
16 Correct 54 ms 8356 KB Output is correct : V - N = 12
17 Correct 15 ms 5768 KB Output is correct : V - N = 12
18 Correct 154 ms 15080 KB Output is correct : V - N = 12
19 Correct 351 ms 26548 KB Output is correct : V - N = 12
20 Correct 354 ms 29124 KB Output is correct : V - N = 12
21 Correct 115 ms 12324 KB Output is correct : V - N = 12
22 Correct 75 ms 10248 KB Output is correct : V - N = 12
23 Correct 32 ms 7324 KB Output is correct : V - N = 12
24 Correct 4 ms 4808 KB Output is correct : V - N = 12
25 Correct 22 ms 6104 KB Output is correct : V - N = 12
26 Correct 62 ms 9736 KB Output is correct : V - N = 12
27 Correct 111 ms 11264 KB Output is correct : V - N = 12
28 Correct 86 ms 10840 KB Output is correct : V - N = 12
29 Correct 43 ms 7832 KB Output is correct : V - N = 12
30 Correct 6 ms 5396 KB Output is correct : V - N = 12
31 Correct 5 ms 5120 KB Output is correct : V - N = 12
32 Correct 5 ms 5104 KB Output is correct : V - N = 12
33 Correct 5 ms 5120 KB Output is correct : V - N = 12
34 Correct 7 ms 5052 KB Output is correct : V - N = 12
35 Correct 6 ms 5120 KB Output is correct : V - N = 12
36 Correct 359 ms 29204 KB Output is correct : V - N = 12
37 Correct 381 ms 29176 KB Output is correct : V - N = 12
38 Correct 356 ms 29208 KB Output is correct : V - N = 12
39 Correct 410 ms 29432 KB Output is correct : V - N = 12
40 Correct 354 ms 29172 KB Output is correct : V - N = 12
41 Correct 73 ms 9732 KB Output is correct : V - N = 12
42 Correct 52 ms 8576 KB Output is correct : V - N = 12
43 Correct 62 ms 9448 KB Output is correct : V - N = 12
44 Correct 5 ms 5124 KB Output is correct : V - N = 12
45 Correct 37 ms 7484 KB Output is correct : V - N = 12
46 Correct 121 ms 14316 KB Output is correct : V - N = 12
47 Correct 67 ms 9776 KB Output is correct : V - N = 12
48 Correct 161 ms 16148 KB Output is correct : V - N = 12
49 Correct 28 ms 7352 KB Output is correct : V - N = 12
50 Correct 13 ms 5796 KB Output is correct : V - N = 12
51 Correct 305 ms 25576 KB Output is correct : V - N = 12
52 Correct 6 ms 5336 KB Output is correct : V - N = 12
53 Correct 264 ms 23444 KB Output is correct : V - N = 12
54 Correct 338 ms 27012 KB Output is correct : V - N = 12
55 Correct 21 ms 6384 KB Output is correct : V - N = 12
56 Correct 188 ms 17768 KB Output is correct : V - N = 12
57 Correct 306 ms 28148 KB Output is correct : V - N = 12
58 Correct 49 ms 8376 KB Output is correct : V - N = 12
59 Correct 156 ms 14852 KB Output is correct : V - N = 12
60 Correct 370 ms 28600 KB Output is correct : V - N = 12
61 Correct 3 ms 4740 KB Output is correct : V - N = 12
62 Correct 3 ms 4748 KB Output is correct : V - N = 12
63 Correct 2 ms 4612 KB Output is correct : V - N = 12
64 Correct 2 ms 4612 KB Output is correct : V - N = 12
65 Correct 3 ms 4612 KB Output is correct : V - N = 12
66 Correct 3 ms 4740 KB Output is correct : V - N = 12
67 Correct 3 ms 4740 KB Output is correct : V - N = 12
68 Correct 3 ms 4740 KB Output is correct : V - N = 12
69 Correct 2 ms 4740 KB Output is correct : V - N = 12
70 Correct 2 ms 4616 KB Output is correct : V - N = 12
71 Correct 2 ms 4612 KB Output is correct : V - N = 12
72 Correct 2 ms 4668 KB Output is correct : V - N = 12
73 Correct 3 ms 4592 KB Output is correct : V - N = 12
74 Correct 3 ms 4656 KB Output is correct : V - N = 12
75 Correct 3 ms 4748 KB Output is correct : V - N = 12
76 Correct 3 ms 4684 KB Output is correct : V - N = 12
77 Correct 3 ms 4612 KB Output is correct : V - N = 12
78 Correct 2 ms 4620 KB Output is correct : V - N = 12
79 Correct 2 ms 4612 KB Output is correct : V - N = 12
80 Correct 3 ms 4740 KB Output is correct : V - N = 12
81 Correct 2 ms 4740 KB Output is correct : V - N = 12
82 Correct 3 ms 4612 KB Output is correct : V - N = 12
83 Correct 3 ms 4696 KB Output is correct : V - N = 12
84 Correct 2 ms 4588 KB Output is correct : V - N = 12
85 Correct 2 ms 4620 KB Output is correct : V - N = 12
86 Correct 2 ms 4612 KB Output is correct : V - N = 12
87 Correct 2 ms 4716 KB Output is correct : V - N = 12
88 Correct 2 ms 4612 KB Output is correct : V - N = 12
89 Correct 2 ms 4612 KB Output is correct : V - N = 12
90 Correct 3 ms 4612 KB Output is correct : V - N = 12
91 Correct 2 ms 4604 KB Output is correct : V - N = 12
92 Correct 2 ms 4584 KB Output is correct : V - N = 12
93 Correct 2 ms 4608 KB Output is correct : V - N = 12
94 Correct 2 ms 4592 KB Output is correct : V - N = 12
95 Correct 2 ms 4612 KB Output is correct : V - N = 12
96 Correct 2 ms 4740 KB Output is correct : V - N = 12
97 Correct 2 ms 4716 KB Output is correct : V - N = 12
98 Correct 3 ms 4740 KB Output is correct : V - N = 12
99 Correct 3 ms 4740 KB Output is correct : V - N = 12
100 Correct 3 ms 4740 KB Output is correct : V - N = 12
101 Correct 2 ms 4740 KB Output is correct : V - N = 12
102 Correct 2 ms 4516 KB Output is correct : V - N = 12
103 Correct 2 ms 4612 KB Output is correct : V - N = 12
104 Correct 2 ms 4608 KB Output is correct : V - N = 12
105 Correct 1 ms 4540 KB Output is correct : V - N = 12
106 Correct 2 ms 4620 KB Output is correct : V - N = 12
107 Correct 3 ms 4740 KB Output is correct : V - N = 12
108 Correct 2 ms 4612 KB Output is correct : V - N = 12
109 Correct 2 ms 4612 KB Output is correct : V - N = 12
110 Correct 2 ms 4620 KB Output is correct : V - N = 12
111 Correct 2 ms 4748 KB Output is correct : V - N = 12
112 Correct 2 ms 4612 KB Output is correct : V - N = 12
113 Correct 2 ms 4608 KB Output is correct : V - N = 12
114 Correct 1 ms 4512 KB Output is correct : V - N = 12
115 Correct 2 ms 4612 KB Output is correct : V - N = 12
116 Correct 2 ms 4612 KB Output is correct : V - N = 12
117 Correct 2 ms 4680 KB Output is correct : V - N = 12
118 Correct 2 ms 4540 KB Output is correct : V - N = 12
119 Correct 2 ms 4620 KB Output is correct : V - N = 12
120 Correct 3 ms 4740 KB Output is correct : V - N = 12
121 Correct 1 ms 4612 KB Output is correct : V - N = 12
122 Correct 2 ms 4624 KB Output is correct : V - N = 12
123 Correct 2 ms 4584 KB Output is correct : V - N = 12
124 Correct 3 ms 4604 KB Output is correct : V - N = 12
125 Correct 2 ms 4612 KB Output is correct : V - N = 12
126 Correct 2 ms 4592 KB Output is correct : V - N = 12
127 Correct 2 ms 4612 KB Output is correct : V - N = 12
128 Correct 2 ms 4516 KB Output is correct : V - N = 12
129 Correct 2 ms 4612 KB Output is correct : V - N = 12
130 Correct 1 ms 4608 KB Output is correct : V - N = 12
131 Correct 2 ms 4612 KB Output is correct : V - N = 12
132 Correct 2 ms 4612 KB Output is correct : V - N = 12
133 Correct 1 ms 4616 KB Output is correct : V - N = 12
134 Correct 1 ms 4612 KB Output is correct : V - N = 12
135 Correct 2 ms 4600 KB Output is correct : V - N = 12
136 Correct 2 ms 4612 KB Output is correct : V - N = 12
137 Correct 2 ms 4592 KB Output is correct : V - N = 12
138 Correct 2 ms 4620 KB Output is correct : V - N = 12
139 Correct 1 ms 4620 KB Output is correct : V - N = 12
140 Correct 2 ms 4612 KB Output is correct : V - N = 12
141 Correct 1 ms 4612 KB Output is correct : V - N = 12
142 Correct 1 ms 4612 KB Output is correct : V - N = 12
143 Correct 2 ms 4516 KB Output is correct : V - N = 12
144 Correct 2 ms 4608 KB Output is correct : V - N = 12
145 Correct 1 ms 4608 KB Output is correct : V - N = 12
146 Correct 2 ms 4608 KB Output is correct : V - N = 12
147 Correct 2 ms 4612 KB Output is correct : V - N = 12
148 Correct 2 ms 4544 KB Output is correct : V - N = 12
149 Correct 2 ms 4612 KB Output is correct : V - N = 12
150 Correct 3 ms 4608 KB Output is correct : V - N = 12
151 Correct 2 ms 4608 KB Output is correct : V - N = 12
152 Correct 2 ms 4608 KB Output is correct : V - N = 12
153 Correct 3 ms 4612 KB Output is correct : V - N = 12
154 Correct 2 ms 4608 KB Output is correct : V - N = 12
155 Correct 1 ms 4608 KB Output is correct : V - N = 12
156 Correct 2 ms 4612 KB Output is correct : V - N = 12
157 Correct 3 ms 4516 KB Output is correct : V - N = 12
158 Correct 3 ms 4612 KB Output is correct : V - N = 12
159 Correct 2 ms 4612 KB Output is correct : V - N = 12
160 Correct 2 ms 4612 KB Output is correct : V - N = 12
161 Correct 2 ms 4612 KB Output is correct : V - N = 12
162 Correct 1 ms 4612 KB Output is correct : V - N = 12
163 Correct 2 ms 4612 KB Output is correct : V - N = 12
164 Correct 2 ms 4608 KB Output is correct : V - N = 12
165 Correct 1 ms 4608 KB Output is correct : V - N = 12
166 Correct 2 ms 4612 KB Output is correct : V - N = 12
167 Correct 2 ms 4612 KB Output is correct : V - N = 12
168 Correct 2 ms 4588 KB Output is correct : V - N = 12
169 Correct 2 ms 4612 KB Output is correct : V - N = 12
170 Correct 2 ms 4584 KB Output is correct : V - N = 12
171 Correct 2 ms 4616 KB Output is correct : V - N = 12
172 Correct 2 ms 4616 KB Output is correct : V - N = 12
173 Correct 2 ms 4608 KB Output is correct : V - N = 12
174 Correct 3 ms 4608 KB Output is correct : V - N = 12
175 Correct 1 ms 4612 KB Output is correct : V - N = 12
176 Correct 2 ms 4528 KB Output is correct : V - N = 12
177 Correct 2 ms 4612 KB Output is correct : V - N = 12
178 Correct 2 ms 4612 KB Output is correct : V - N = 12