답안 #435621

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
435621 2021-06-23T13:35:50 Z prvocislo 분수 공원 (IOI21_parks) C++17
100 / 100
1632 ms 65476 KB
#include "parks.h"
#include <bits/stdc++.h>
using namespace std;

const int maxn = 2e5 + 5;
vector<vector<int> > g(maxn);
vector<int> sz(maxn, 0);
int dfs(int u)
{
    sz[u] = 1;
    for (int v : g[u]) if (!sz[v]) sz[u] += dfs(v);
    return sz[u];
}
int construct_roads(vector<int> x, vector<int> y)
{
    map<pair<int, int>, int> m;
    int n = x.size();
    for (int i = 0; i < n; i++)
        m[{x[i], y[i]}] = i;
    set<pair<int, int> > s;
    for (int i = 0; i < n; i++)
    {
        if (m.count({x[i], y[i] + 2}))
        {
            int j = m[{x[i], y[i]+2}];
            g[i].push_back(j), g[j].push_back(i);
            s.insert({x[i]+1, y[i]+1}), s.insert({x[i]-1, y[i]+1});
        }
        if (m.count({x[i] + 2, y[i]}))
        {
            int j = m[{x[i]+2, y[i]}];
            g[i].push_back(j), g[j].push_back(i);
            s.insert({x[i]+1, y[i]+1}), s.insert({x[i]+1, y[i]-1});
        }
    }
    vector<int> u, v, a, b;
    if (dfs(0) != n) return 0;
    for (pair<int, int> i : s)
    {
        int x = i.first, y = i.second;
        bool updown = ((x^y)&2);
        pair<int, int> p1, p2, q1, q2;
        if (updown) // horizontalne ciary - y sa nemeni
        {
            p1 = {x-1, y-1}, p2 = {x+1, y-1};
            q1 = {x-1, y+1}, q2 = {x+1, y+1};
        }
        else
        {
            p1 = {x-1, y-1}, p2 = {x-1, y+1};
            q1 = {x+1, y-1}, q2 = {x+1, y+1};
        }
        if (m.count(p1) && m.count(p2))
            u.push_back(m[p1]), v.push_back(m[p2]), a.push_back(x), b.push_back(y);
        else if (m.count(q1) && m.count(q2))
            u.push_back(m[q1]), v.push_back(m[q2]), a.push_back(x), b.push_back(y);
    }
    build(u, v, a, b);
    return 1;
}
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 5708 KB Output is correct
2 Correct 5 ms 5708 KB Output is correct
3 Correct 5 ms 5708 KB Output is correct
4 Correct 5 ms 5708 KB Output is correct
5 Correct 4 ms 5708 KB Output is correct
6 Correct 5 ms 5708 KB Output is correct
7 Correct 4 ms 5708 KB Output is correct
8 Correct 4 ms 5708 KB Output is correct
9 Correct 594 ms 35256 KB Output is correct
10 Correct 28 ms 8976 KB Output is correct
11 Correct 155 ms 21820 KB Output is correct
12 Correct 44 ms 10440 KB Output is correct
13 Correct 71 ms 16284 KB Output is correct
14 Correct 6 ms 5964 KB Output is correct
15 Correct 7 ms 6092 KB Output is correct
16 Correct 545 ms 33364 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 5708 KB Output is correct
2 Correct 5 ms 5708 KB Output is correct
3 Correct 5 ms 5708 KB Output is correct
4 Correct 5 ms 5708 KB Output is correct
5 Correct 4 ms 5708 KB Output is correct
6 Correct 5 ms 5708 KB Output is correct
7 Correct 4 ms 5708 KB Output is correct
8 Correct 4 ms 5708 KB Output is correct
9 Correct 594 ms 35256 KB Output is correct
10 Correct 28 ms 8976 KB Output is correct
11 Correct 155 ms 21820 KB Output is correct
12 Correct 44 ms 10440 KB Output is correct
13 Correct 71 ms 16284 KB Output is correct
14 Correct 6 ms 5964 KB Output is correct
15 Correct 7 ms 6092 KB Output is correct
16 Correct 545 ms 33364 KB Output is correct
17 Correct 5 ms 5704 KB Output is correct
18 Correct 5 ms 5708 KB Output is correct
19 Correct 5 ms 5708 KB Output is correct
20 Correct 4 ms 5684 KB Output is correct
21 Correct 6 ms 5708 KB Output is correct
22 Correct 5 ms 5708 KB Output is correct
23 Correct 1584 ms 57596 KB Output is correct
24 Correct 5 ms 5708 KB Output is correct
25 Correct 9 ms 6092 KB Output is correct
26 Correct 9 ms 6348 KB Output is correct
27 Correct 11 ms 6476 KB Output is correct
28 Correct 456 ms 26852 KB Output is correct
29 Correct 809 ms 38448 KB Output is correct
30 Correct 1147 ms 49560 KB Output is correct
31 Correct 1532 ms 57036 KB Output is correct
32 Correct 5 ms 5708 KB Output is correct
33 Correct 4 ms 5708 KB Output is correct
34 Correct 5 ms 5708 KB Output is correct
35 Correct 5 ms 5708 KB Output is correct
36 Correct 4 ms 5708 KB Output is correct
37 Correct 6 ms 5708 KB Output is correct
38 Correct 5 ms 5708 KB Output is correct
39 Correct 5 ms 5708 KB Output is correct
40 Correct 5 ms 5708 KB Output is correct
41 Correct 5 ms 5708 KB Output is correct
42 Correct 5 ms 5788 KB Output is correct
43 Correct 8 ms 6092 KB Output is correct
44 Correct 9 ms 6220 KB Output is correct
45 Correct 562 ms 30944 KB Output is correct
46 Correct 901 ms 42564 KB Output is correct
47 Correct 1008 ms 42268 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 5708 KB Output is correct
2 Correct 5 ms 5708 KB Output is correct
3 Correct 5 ms 5708 KB Output is correct
4 Correct 5 ms 5708 KB Output is correct
5 Correct 4 ms 5708 KB Output is correct
6 Correct 5 ms 5708 KB Output is correct
7 Correct 4 ms 5708 KB Output is correct
8 Correct 4 ms 5708 KB Output is correct
9 Correct 594 ms 35256 KB Output is correct
10 Correct 28 ms 8976 KB Output is correct
11 Correct 155 ms 21820 KB Output is correct
12 Correct 44 ms 10440 KB Output is correct
13 Correct 71 ms 16284 KB Output is correct
14 Correct 6 ms 5964 KB Output is correct
15 Correct 7 ms 6092 KB Output is correct
16 Correct 545 ms 33364 KB Output is correct
17 Correct 5 ms 5704 KB Output is correct
18 Correct 5 ms 5708 KB Output is correct
19 Correct 5 ms 5708 KB Output is correct
20 Correct 4 ms 5684 KB Output is correct
21 Correct 6 ms 5708 KB Output is correct
22 Correct 5 ms 5708 KB Output is correct
23 Correct 1584 ms 57596 KB Output is correct
24 Correct 5 ms 5708 KB Output is correct
25 Correct 9 ms 6092 KB Output is correct
26 Correct 9 ms 6348 KB Output is correct
27 Correct 11 ms 6476 KB Output is correct
28 Correct 456 ms 26852 KB Output is correct
29 Correct 809 ms 38448 KB Output is correct
30 Correct 1147 ms 49560 KB Output is correct
31 Correct 1532 ms 57036 KB Output is correct
32 Correct 5 ms 5708 KB Output is correct
33 Correct 4 ms 5708 KB Output is correct
34 Correct 5 ms 5708 KB Output is correct
35 Correct 5 ms 5708 KB Output is correct
36 Correct 4 ms 5708 KB Output is correct
37 Correct 6 ms 5708 KB Output is correct
38 Correct 5 ms 5708 KB Output is correct
39 Correct 5 ms 5708 KB Output is correct
40 Correct 5 ms 5708 KB Output is correct
41 Correct 5 ms 5708 KB Output is correct
42 Correct 5 ms 5788 KB Output is correct
43 Correct 8 ms 6092 KB Output is correct
44 Correct 9 ms 6220 KB Output is correct
45 Correct 562 ms 30944 KB Output is correct
46 Correct 901 ms 42564 KB Output is correct
47 Correct 1008 ms 42268 KB Output is correct
48 Correct 4 ms 5744 KB Output is correct
49 Correct 4 ms 5708 KB Output is correct
50 Correct 5 ms 5708 KB Output is correct
51 Correct 4 ms 5708 KB Output is correct
52 Correct 4 ms 5708 KB Output is correct
53 Correct 5 ms 5708 KB Output is correct
54 Correct 4 ms 5708 KB Output is correct
55 Correct 1530 ms 54472 KB Output is correct
56 Correct 4 ms 5708 KB Output is correct
57 Correct 9 ms 6220 KB Output is correct
58 Correct 20 ms 7380 KB Output is correct
59 Correct 24 ms 7496 KB Output is correct
60 Correct 623 ms 31408 KB Output is correct
61 Correct 985 ms 39816 KB Output is correct
62 Correct 1344 ms 46048 KB Output is correct
63 Correct 1565 ms 54936 KB Output is correct
64 Correct 5 ms 5708 KB Output is correct
65 Correct 4 ms 5708 KB Output is correct
66 Correct 5 ms 5708 KB Output is correct
67 Correct 1324 ms 62684 KB Output is correct
68 Correct 1328 ms 62864 KB Output is correct
69 Correct 1361 ms 63624 KB Output is correct
70 Correct 10 ms 6476 KB Output is correct
71 Correct 17 ms 7188 KB Output is correct
72 Correct 607 ms 29324 KB Output is correct
73 Correct 1006 ms 42388 KB Output is correct
74 Correct 1415 ms 53020 KB Output is correct
75 Correct 1632 ms 61520 KB Output is correct
76 Correct 1375 ms 65384 KB Output is correct
77 Correct 13 ms 6604 KB Output is correct
78 Correct 21 ms 7456 KB Output is correct
79 Correct 681 ms 30860 KB Output is correct
80 Correct 1083 ms 43640 KB Output is correct
81 Correct 1413 ms 55996 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 5708 KB Output is correct
2 Correct 5 ms 5708 KB Output is correct
3 Correct 5 ms 5708 KB Output is correct
4 Correct 5 ms 5708 KB Output is correct
5 Correct 4 ms 5708 KB Output is correct
6 Correct 5 ms 5708 KB Output is correct
7 Correct 4 ms 5708 KB Output is correct
8 Correct 4 ms 5708 KB Output is correct
9 Correct 594 ms 35256 KB Output is correct
10 Correct 28 ms 8976 KB Output is correct
11 Correct 155 ms 21820 KB Output is correct
12 Correct 44 ms 10440 KB Output is correct
13 Correct 71 ms 16284 KB Output is correct
14 Correct 6 ms 5964 KB Output is correct
15 Correct 7 ms 6092 KB Output is correct
16 Correct 545 ms 33364 KB Output is correct
17 Correct 4 ms 5708 KB Output is correct
18 Correct 5 ms 5708 KB Output is correct
19 Correct 4 ms 5708 KB Output is correct
20 Correct 1031 ms 55808 KB Output is correct
21 Correct 1242 ms 54016 KB Output is correct
22 Correct 1117 ms 52980 KB Output is correct
23 Correct 1014 ms 53520 KB Output is correct
24 Correct 421 ms 21420 KB Output is correct
25 Correct 1145 ms 46472 KB Output is correct
26 Correct 1080 ms 46568 KB Output is correct
27 Correct 1272 ms 56092 KB Output is correct
28 Correct 1433 ms 56028 KB Output is correct
29 Correct 1402 ms 56044 KB Output is correct
30 Correct 1358 ms 56000 KB Output is correct
31 Correct 4 ms 5708 KB Output is correct
32 Correct 48 ms 9536 KB Output is correct
33 Correct 142 ms 13540 KB Output is correct
34 Correct 1151 ms 54252 KB Output is correct
35 Correct 23 ms 7496 KB Output is correct
36 Correct 142 ms 13992 KB Output is correct
37 Correct 464 ms 22420 KB Output is correct
38 Correct 390 ms 23040 KB Output is correct
39 Correct 596 ms 29484 KB Output is correct
40 Correct 802 ms 35604 KB Output is correct
41 Correct 1093 ms 42124 KB Output is correct
42 Correct 1361 ms 48500 KB Output is correct
43 Correct 5 ms 5832 KB Output is correct
44 Correct 6 ms 5708 KB Output is correct
45 Correct 5 ms 5708 KB Output is correct
46 Correct 5 ms 5708 KB Output is correct
47 Correct 5 ms 5708 KB Output is correct
48 Correct 4 ms 5708 KB Output is correct
49 Correct 5 ms 5752 KB Output is correct
50 Correct 4 ms 5708 KB Output is correct
51 Correct 5 ms 5708 KB Output is correct
52 Correct 4 ms 5708 KB Output is correct
53 Correct 5 ms 5708 KB Output is correct
54 Correct 7 ms 6092 KB Output is correct
55 Correct 9 ms 6220 KB Output is correct
56 Correct 524 ms 30972 KB Output is correct
57 Correct 876 ms 42460 KB Output is correct
58 Correct 948 ms 42144 KB Output is correct
59 Correct 4 ms 5708 KB Output is correct
60 Correct 5 ms 5708 KB Output is correct
61 Correct 4 ms 5708 KB Output is correct
62 Correct 1293 ms 62708 KB Output is correct
63 Correct 1378 ms 62764 KB Output is correct
64 Correct 1359 ms 63524 KB Output is correct
65 Correct 11 ms 6476 KB Output is correct
66 Correct 17 ms 7132 KB Output is correct
67 Correct 539 ms 29304 KB Output is correct
68 Correct 940 ms 42312 KB Output is correct
69 Correct 1384 ms 52984 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 5708 KB Output is correct
2 Correct 5 ms 5708 KB Output is correct
3 Correct 5 ms 5708 KB Output is correct
4 Correct 5 ms 5708 KB Output is correct
5 Correct 4 ms 5708 KB Output is correct
6 Correct 5 ms 5708 KB Output is correct
7 Correct 4 ms 5708 KB Output is correct
8 Correct 4 ms 5708 KB Output is correct
9 Correct 594 ms 35256 KB Output is correct
10 Correct 28 ms 8976 KB Output is correct
11 Correct 155 ms 21820 KB Output is correct
12 Correct 44 ms 10440 KB Output is correct
13 Correct 71 ms 16284 KB Output is correct
14 Correct 6 ms 5964 KB Output is correct
15 Correct 7 ms 6092 KB Output is correct
16 Correct 545 ms 33364 KB Output is correct
17 Correct 1321 ms 65476 KB Output is correct
18 Correct 1332 ms 61724 KB Output is correct
19 Correct 1161 ms 55964 KB Output is correct
20 Correct 1467 ms 55184 KB Output is correct
21 Correct 1244 ms 51188 KB Output is correct
22 Correct 5 ms 5708 KB Output is correct
23 Correct 110 ms 12960 KB Output is correct
24 Correct 46 ms 9272 KB Output is correct
25 Correct 272 ms 17892 KB Output is correct
26 Correct 556 ms 26408 KB Output is correct
27 Correct 586 ms 29664 KB Output is correct
28 Correct 811 ms 36688 KB Output is correct
29 Correct 1053 ms 42108 KB Output is correct
30 Correct 1249 ms 47868 KB Output is correct
31 Correct 1410 ms 54484 KB Output is correct
32 Correct 1522 ms 61556 KB Output is correct
33 Correct 1281 ms 65432 KB Output is correct
34 Correct 13 ms 6604 KB Output is correct
35 Correct 23 ms 7396 KB Output is correct
36 Correct 583 ms 30944 KB Output is correct
37 Correct 981 ms 43640 KB Output is correct
38 Correct 1419 ms 56108 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 5708 KB Output is correct
2 Correct 5 ms 5708 KB Output is correct
3 Correct 5 ms 5708 KB Output is correct
4 Correct 5 ms 5708 KB Output is correct
5 Correct 4 ms 5708 KB Output is correct
6 Correct 5 ms 5708 KB Output is correct
7 Correct 4 ms 5708 KB Output is correct
8 Correct 4 ms 5708 KB Output is correct
9 Correct 594 ms 35256 KB Output is correct
10 Correct 28 ms 8976 KB Output is correct
11 Correct 155 ms 21820 KB Output is correct
12 Correct 44 ms 10440 KB Output is correct
13 Correct 71 ms 16284 KB Output is correct
14 Correct 6 ms 5964 KB Output is correct
15 Correct 7 ms 6092 KB Output is correct
16 Correct 545 ms 33364 KB Output is correct
17 Correct 5 ms 5704 KB Output is correct
18 Correct 5 ms 5708 KB Output is correct
19 Correct 5 ms 5708 KB Output is correct
20 Correct 4 ms 5684 KB Output is correct
21 Correct 6 ms 5708 KB Output is correct
22 Correct 5 ms 5708 KB Output is correct
23 Correct 1584 ms 57596 KB Output is correct
24 Correct 5 ms 5708 KB Output is correct
25 Correct 9 ms 6092 KB Output is correct
26 Correct 9 ms 6348 KB Output is correct
27 Correct 11 ms 6476 KB Output is correct
28 Correct 456 ms 26852 KB Output is correct
29 Correct 809 ms 38448 KB Output is correct
30 Correct 1147 ms 49560 KB Output is correct
31 Correct 1532 ms 57036 KB Output is correct
32 Correct 5 ms 5708 KB Output is correct
33 Correct 4 ms 5708 KB Output is correct
34 Correct 5 ms 5708 KB Output is correct
35 Correct 5 ms 5708 KB Output is correct
36 Correct 4 ms 5708 KB Output is correct
37 Correct 6 ms 5708 KB Output is correct
38 Correct 5 ms 5708 KB Output is correct
39 Correct 5 ms 5708 KB Output is correct
40 Correct 5 ms 5708 KB Output is correct
41 Correct 5 ms 5708 KB Output is correct
42 Correct 5 ms 5788 KB Output is correct
43 Correct 8 ms 6092 KB Output is correct
44 Correct 9 ms 6220 KB Output is correct
45 Correct 562 ms 30944 KB Output is correct
46 Correct 901 ms 42564 KB Output is correct
47 Correct 1008 ms 42268 KB Output is correct
48 Correct 4 ms 5744 KB Output is correct
49 Correct 4 ms 5708 KB Output is correct
50 Correct 5 ms 5708 KB Output is correct
51 Correct 4 ms 5708 KB Output is correct
52 Correct 4 ms 5708 KB Output is correct
53 Correct 5 ms 5708 KB Output is correct
54 Correct 4 ms 5708 KB Output is correct
55 Correct 1530 ms 54472 KB Output is correct
56 Correct 4 ms 5708 KB Output is correct
57 Correct 9 ms 6220 KB Output is correct
58 Correct 20 ms 7380 KB Output is correct
59 Correct 24 ms 7496 KB Output is correct
60 Correct 623 ms 31408 KB Output is correct
61 Correct 985 ms 39816 KB Output is correct
62 Correct 1344 ms 46048 KB Output is correct
63 Correct 1565 ms 54936 KB Output is correct
64 Correct 5 ms 5708 KB Output is correct
65 Correct 4 ms 5708 KB Output is correct
66 Correct 5 ms 5708 KB Output is correct
67 Correct 1324 ms 62684 KB Output is correct
68 Correct 1328 ms 62864 KB Output is correct
69 Correct 1361 ms 63624 KB Output is correct
70 Correct 10 ms 6476 KB Output is correct
71 Correct 17 ms 7188 KB Output is correct
72 Correct 607 ms 29324 KB Output is correct
73 Correct 1006 ms 42388 KB Output is correct
74 Correct 1415 ms 53020 KB Output is correct
75 Correct 1632 ms 61520 KB Output is correct
76 Correct 1375 ms 65384 KB Output is correct
77 Correct 13 ms 6604 KB Output is correct
78 Correct 21 ms 7456 KB Output is correct
79 Correct 681 ms 30860 KB Output is correct
80 Correct 1083 ms 43640 KB Output is correct
81 Correct 1413 ms 55996 KB Output is correct
82 Correct 4 ms 5708 KB Output is correct
83 Correct 5 ms 5708 KB Output is correct
84 Correct 4 ms 5708 KB Output is correct
85 Correct 1031 ms 55808 KB Output is correct
86 Correct 1242 ms 54016 KB Output is correct
87 Correct 1117 ms 52980 KB Output is correct
88 Correct 1014 ms 53520 KB Output is correct
89 Correct 421 ms 21420 KB Output is correct
90 Correct 1145 ms 46472 KB Output is correct
91 Correct 1080 ms 46568 KB Output is correct
92 Correct 1272 ms 56092 KB Output is correct
93 Correct 1433 ms 56028 KB Output is correct
94 Correct 1402 ms 56044 KB Output is correct
95 Correct 1358 ms 56000 KB Output is correct
96 Correct 4 ms 5708 KB Output is correct
97 Correct 48 ms 9536 KB Output is correct
98 Correct 142 ms 13540 KB Output is correct
99 Correct 1151 ms 54252 KB Output is correct
100 Correct 23 ms 7496 KB Output is correct
101 Correct 142 ms 13992 KB Output is correct
102 Correct 464 ms 22420 KB Output is correct
103 Correct 390 ms 23040 KB Output is correct
104 Correct 596 ms 29484 KB Output is correct
105 Correct 802 ms 35604 KB Output is correct
106 Correct 1093 ms 42124 KB Output is correct
107 Correct 1361 ms 48500 KB Output is correct
108 Correct 5 ms 5832 KB Output is correct
109 Correct 6 ms 5708 KB Output is correct
110 Correct 5 ms 5708 KB Output is correct
111 Correct 5 ms 5708 KB Output is correct
112 Correct 5 ms 5708 KB Output is correct
113 Correct 4 ms 5708 KB Output is correct
114 Correct 5 ms 5752 KB Output is correct
115 Correct 4 ms 5708 KB Output is correct
116 Correct 5 ms 5708 KB Output is correct
117 Correct 4 ms 5708 KB Output is correct
118 Correct 5 ms 5708 KB Output is correct
119 Correct 7 ms 6092 KB Output is correct
120 Correct 9 ms 6220 KB Output is correct
121 Correct 524 ms 30972 KB Output is correct
122 Correct 876 ms 42460 KB Output is correct
123 Correct 948 ms 42144 KB Output is correct
124 Correct 4 ms 5708 KB Output is correct
125 Correct 5 ms 5708 KB Output is correct
126 Correct 4 ms 5708 KB Output is correct
127 Correct 1293 ms 62708 KB Output is correct
128 Correct 1378 ms 62764 KB Output is correct
129 Correct 1359 ms 63524 KB Output is correct
130 Correct 11 ms 6476 KB Output is correct
131 Correct 17 ms 7132 KB Output is correct
132 Correct 539 ms 29304 KB Output is correct
133 Correct 940 ms 42312 KB Output is correct
134 Correct 1384 ms 52984 KB Output is correct
135 Correct 1321 ms 65476 KB Output is correct
136 Correct 1332 ms 61724 KB Output is correct
137 Correct 1161 ms 55964 KB Output is correct
138 Correct 1467 ms 55184 KB Output is correct
139 Correct 1244 ms 51188 KB Output is correct
140 Correct 5 ms 5708 KB Output is correct
141 Correct 110 ms 12960 KB Output is correct
142 Correct 46 ms 9272 KB Output is correct
143 Correct 272 ms 17892 KB Output is correct
144 Correct 556 ms 26408 KB Output is correct
145 Correct 586 ms 29664 KB Output is correct
146 Correct 811 ms 36688 KB Output is correct
147 Correct 1053 ms 42108 KB Output is correct
148 Correct 1249 ms 47868 KB Output is correct
149 Correct 1410 ms 54484 KB Output is correct
150 Correct 1522 ms 61556 KB Output is correct
151 Correct 1281 ms 65432 KB Output is correct
152 Correct 13 ms 6604 KB Output is correct
153 Correct 23 ms 7396 KB Output is correct
154 Correct 583 ms 30944 KB Output is correct
155 Correct 981 ms 43640 KB Output is correct
156 Correct 1419 ms 56108 KB Output is correct
157 Correct 4 ms 5708 KB Output is correct
158 Correct 4 ms 5708 KB Output is correct
159 Correct 5 ms 5708 KB Output is correct
160 Correct 4 ms 5708 KB Output is correct
161 Correct 1486 ms 49616 KB Output is correct
162 Correct 1121 ms 52960 KB Output is correct
163 Correct 1179 ms 50512 KB Output is correct
164 Correct 1207 ms 50304 KB Output is correct
165 Correct 1366 ms 50740 KB Output is correct
166 Correct 1509 ms 49388 KB Output is correct
167 Correct 208 ms 16108 KB Output is correct
168 Correct 93 ms 10708 KB Output is correct
169 Correct 356 ms 18612 KB Output is correct
170 Correct 909 ms 29644 KB Output is correct
171 Correct 1242 ms 37500 KB Output is correct
172 Correct 594 ms 27836 KB Output is correct
173 Correct 795 ms 32556 KB Output is correct
174 Correct 987 ms 36224 KB Output is correct
175 Correct 1124 ms 41216 KB Output is correct
176 Correct 1366 ms 45080 KB Output is correct
177 Correct 1498 ms 49868 KB Output is correct