#include <vector>
#include "incursion.h"
#include <cstdio>
#include <bits/stdc++.h>
#define all(x) (x).begin(),(x).end()
using namespace std;
#define sz(x) ((int)(x).size())
using pii = pair<int, int>;
using tii = tuple<int, int, int>;
const int nmax = 45e3 + 5;
vector<int> g[nmax];
int area[nmax];
int father[nmax];
#define N uhasfuhafs
int N;
void initarea(int node, int f) {
area[node] = 1;
father[node] = f;
for(auto x : g[node]) {
if(x == f) continue;
initarea(x, node);
area[node] += area[x];
}
return;
}
pii findcentr(int node, int f) {
for(auto x : g[node]) {
if(x == f) continue;
if(area[x] * 2 == N) { return pii{node, x}; }
if(area[x] * 2 > N) { return findcentr(x, node); }
}
return pii{node, node};
}
int make_graph(vector<pii> F) {
for(auto &[a, b] : F) --a, --b;
N = sz(F) + 1;
for(int i = 0; i <= N + 1; i++) g[i].clear();
for(auto [a, b] : F) {
g[a].emplace_back(b);
g[b].emplace_back(a);
}
int cnt = 0;
for(int i = 0; i < N; i++) {
if(sz(g[i]) == 2) cnt++;
}
if(cnt == 1) {
for(int i = 0; i < N; i++)
if(sz(g[i]) == 2) return i;
}
initarea(0, 0);
auto [u_, v_] = findcentr(0, 0);
int root;
if(u_ != v_) {
for(int i = 0; i < sz(g[u_]); i++) {
if(g[u_][i] == v_) {
swap(g[u_][i], g[u_].back());
g[u_].pop_back();
break;
}
}
for(int i = 0; i < sz(g[v_]); i++) {
if(g[v_][i] == u_) {
swap(g[v_][i], g[v_].back());
g[v_].pop_back();
break;
}
}
g[u_].emplace_back(N);
g[v_].emplace_back(N);
g[N].emplace_back(u_);
g[N].emplace_back(v_);
N++;
root = N - 1;
}
else { root = u_; }
initarea(root, root);
for(auto x : g[root])
assert(area[x] * 2 < N);
return root;
}
vector<int> known;
bool dfs(int node, int f, int where) {
bool znayu = node == where;
for(auto x : g[node]) {
if(x == f) continue;
znayu |= dfs(x, node, where);
}
known[node] = znayu;
return known[node];
}
std::vector<int> mark(std::vector<std::pair<int, int>> F, int safe) {
--safe;
int root = make_graph(F);
known.resize(N);
dfs(root, root, safe);
//cerr << root + 1 << '\n';
known.resize(sz(F) + 1);
return known;
}
int go(int x) {
return visit(x +1);
}
void locate(std::vector<std::pair<int, int>> F, int curr, int t) {
--curr;
int root = make_graph(F);
known.assign(N, -1);
if(N != sz(F) + 1)
known.back() = 1;
initarea(root, root);
while(1) {
if(t == 0) {
int u = father[curr];
if(u == sz(F) + 1) {
curr = g[u][0] ^ g[u][1] ^ curr;
t = go(curr);
}
else {
curr = father[curr];
t = go(curr);
}
}
else {
int a = -1, b = -1, c = -1;
for(auto x : g[curr]) {
if(x == father[curr]) continue;
if(a == -1) a = x;
else if(b == -1) b = x;
else c = x;
}
//cerr << curr << ": " << a << ' ' << b << '\n';
COAIE:
if(a == -1 && b == -1 && c == -1) return;
if(b == -1) {
int h = go(a);
if(h == 1) {
curr = a;
t = 1;
continue;
}
go(curr);
return;
}
else if (c == -1) {
if(area[a] < area[b]) swap(a, b);
int h = go(a);
if(h == 1) {
curr = a;
t = 1;
continue;
}
go(curr);
h = go(b);
if(h == 1) {
curr = b;
t = 1;
continue;
}
go(curr);
return;
}
else {
if(area[c] < area[b]) swap(c, b);
if(area[c] < area[a]) swap(c, b);
int h = go(c);
if(h == 1) {
curr = c;
t = 1;
continue;
}
go(curr);
c = -1;
goto COAIE;
}
}
}
}
#undef N
Compilation message
interface.cpp: In function 'int main()':
interface.cpp:44:55: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
44 | if(fread(T.data(), sizeof(int), 2 * N - 2, stdin) != 2 * N - 2) exit(0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
interface.cpp:50:33: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
50 | int l = (numbers.size() == N ? N : 0);
| ~~~~~~~~~~~~~~~^~~~
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
2820 KB |
Correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
221 ms |
12824 KB |
Correct |
2 |
Correct |
218 ms |
13212 KB |
Correct |
3 |
Correct |
106 ms |
14116 KB |
Correct |
4 |
Correct |
118 ms |
14744 KB |
Correct |
5 |
Correct |
213 ms |
14308 KB |
Correct |
6 |
Correct |
96 ms |
14768 KB |
Correct |
7 |
Correct |
92 ms |
13032 KB |
Correct |
8 |
Correct |
218 ms |
13388 KB |
Correct |
9 |
Correct |
220 ms |
13736 KB |
Correct |
10 |
Correct |
169 ms |
13184 KB |
Correct |
11 |
Correct |
101 ms |
14884 KB |
Correct |
12 |
Correct |
287 ms |
13336 KB |
Correct |
13 |
Correct |
87 ms |
12860 KB |
Correct |
14 |
Correct |
87 ms |
13216 KB |
Correct |
15 |
Correct |
228 ms |
13984 KB |
Correct |
16 |
Correct |
206 ms |
15164 KB |
Correct |
17 |
Correct |
132 ms |
12304 KB |
Correct |
18 |
Correct |
106 ms |
12960 KB |
Correct |
19 |
Correct |
161 ms |
12188 KB |
Correct |
20 |
Correct |
89 ms |
14452 KB |
Correct |
21 |
Correct |
91 ms |
13488 KB |
Correct |
22 |
Correct |
225 ms |
13484 KB |
Correct |
23 |
Correct |
201 ms |
13508 KB |
Correct |
24 |
Correct |
103 ms |
13216 KB |
Correct |
25 |
Correct |
100 ms |
13908 KB |
Correct |
26 |
Correct |
91 ms |
12704 KB |
Correct |
27 |
Correct |
88 ms |
13116 KB |
Correct |
28 |
Correct |
91 ms |
13736 KB |
Correct |
29 |
Correct |
224 ms |
13628 KB |
Correct |
30 |
Correct |
249 ms |
12604 KB |
Correct |
31 |
Correct |
99 ms |
14724 KB |
Correct |
32 |
Correct |
253 ms |
13712 KB |
Correct |
33 |
Correct |
236 ms |
13780 KB |
Correct |
34 |
Correct |
81 ms |
12704 KB |
Correct |
35 |
Correct |
86 ms |
12444 KB |
Correct |
36 |
Correct |
218 ms |
13548 KB |
Correct |
37 |
Correct |
230 ms |
13628 KB |
Correct |
38 |
Correct |
255 ms |
14356 KB |
Correct |
39 |
Correct |
161 ms |
14788 KB |
Correct |
40 |
Correct |
210 ms |
14056 KB |
Correct |
41 |
Correct |
94 ms |
13980 KB |
Correct |
42 |
Correct |
94 ms |
13728 KB |
Correct |
43 |
Correct |
234 ms |
13584 KB |
Correct |
44 |
Correct |
216 ms |
12348 KB |
Correct |
45 |
Correct |
90 ms |
12860 KB |
Correct |
46 |
Correct |
90 ms |
13120 KB |
Correct |
47 |
Correct |
97 ms |
13860 KB |
Correct |
48 |
Correct |
84 ms |
12420 KB |
Correct |
49 |
Correct |
84 ms |
14240 KB |
Correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
79 ms |
7972 KB |
Correct |
2 |
Correct |
73 ms |
7996 KB |
Correct |
3 |
Correct |
78 ms |
7960 KB |
Correct |
4 |
Correct |
82 ms |
10464 KB |
Correct |
5 |
Correct |
127 ms |
10448 KB |
Correct |
6 |
Correct |
152 ms |
10664 KB |
Correct |
7 |
Correct |
75 ms |
7664 KB |
Correct |
8 |
Correct |
75 ms |
7848 KB |
Correct |
9 |
Correct |
73 ms |
8000 KB |
Correct |
10 |
Correct |
72 ms |
7856 KB |
Correct |
11 |
Correct |
75 ms |
7716 KB |
Correct |
12 |
Correct |
71 ms |
7880 KB |
Correct |
13 |
Correct |
79 ms |
7784 KB |
Correct |
14 |
Correct |
57 ms |
6428 KB |
Correct |
15 |
Correct |
59 ms |
6448 KB |
Correct |
16 |
Correct |
79 ms |
7844 KB |
Correct |
17 |
Correct |
74 ms |
7692 KB |
Correct |
18 |
Correct |
75 ms |
7880 KB |
Correct |
19 |
Correct |
71 ms |
7748 KB |
Correct |
20 |
Correct |
50 ms |
6472 KB |
Correct |
21 |
Correct |
50 ms |
6800 KB |
Correct |
22 |
Correct |
55 ms |
6564 KB |
Correct |
23 |
Correct |
51 ms |
6704 KB |
Correct |
24 |
Correct |
60 ms |
6316 KB |
Correct |
25 |
Correct |
58 ms |
6436 KB |
Correct |
26 |
Correct |
70 ms |
7912 KB |
Correct |
27 |
Correct |
83 ms |
7868 KB |
Correct |
28 |
Correct |
82 ms |
7864 KB |
Correct |
29 |
Correct |
79 ms |
7956 KB |
Correct |
30 |
Correct |
92 ms |
7968 KB |
Correct |
31 |
Correct |
70 ms |
7932 KB |
Correct |
32 |
Correct |
87 ms |
8016 KB |
Correct |
33 |
Correct |
73 ms |
7960 KB |
Correct |
34 |
Correct |
74 ms |
7976 KB |
Correct |
35 |
Correct |
69 ms |
8012 KB |
Correct |
36 |
Correct |
76 ms |
7908 KB |
Correct |
37 |
Correct |
75 ms |
8004 KB |
Correct |
38 |
Correct |
75 ms |
7976 KB |
Correct |
39 |
Correct |
75 ms |
8000 KB |
Correct |
40 |
Correct |
77 ms |
7940 KB |
Correct |
41 |
Correct |
72 ms |
7956 KB |
Correct |
42 |
Correct |
76 ms |
7980 KB |
Correct |
43 |
Correct |
76 ms |
7972 KB |
Correct |
44 |
Correct |
74 ms |
7868 KB |
Correct |
45 |
Correct |
79 ms |
7824 KB |
Correct |
46 |
Correct |
78 ms |
8000 KB |
Correct |
47 |
Correct |
83 ms |
7940 KB |
Correct |
48 |
Correct |
71 ms |
7972 KB |
Correct |
49 |
Correct |
80 ms |
7868 KB |
Correct |
50 |
Correct |
75 ms |
7984 KB |
Correct |
51 |
Correct |
83 ms |
7872 KB |
Correct |
52 |
Correct |
76 ms |
8004 KB |
Correct |
53 |
Correct |
79 ms |
7872 KB |
Correct |
54 |
Correct |
62 ms |
7948 KB |
Correct |
55 |
Correct |
76 ms |
7972 KB |
Correct |
56 |
Correct |
75 ms |
7876 KB |
Correct |
57 |
Correct |
71 ms |
7976 KB |
Correct |
58 |
Correct |
77 ms |
7864 KB |
Correct |
59 |
Correct |
78 ms |
7956 KB |
Correct |
60 |
Correct |
70 ms |
7884 KB |
Correct |
61 |
Correct |
73 ms |
7892 KB |
Correct |
62 |
Correct |
76 ms |
7952 KB |
Correct |
63 |
Correct |
76 ms |
7968 KB |
Correct |
64 |
Correct |
84 ms |
7780 KB |
Correct |
65 |
Correct |
72 ms |
7916 KB |
Correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
2820 KB |
Correct |
2 |
Correct |
221 ms |
12824 KB |
Correct |
3 |
Correct |
218 ms |
13212 KB |
Correct |
4 |
Correct |
106 ms |
14116 KB |
Correct |
5 |
Correct |
118 ms |
14744 KB |
Correct |
6 |
Correct |
213 ms |
14308 KB |
Correct |
7 |
Correct |
96 ms |
14768 KB |
Correct |
8 |
Correct |
92 ms |
13032 KB |
Correct |
9 |
Correct |
218 ms |
13388 KB |
Correct |
10 |
Correct |
220 ms |
13736 KB |
Correct |
11 |
Correct |
169 ms |
13184 KB |
Correct |
12 |
Correct |
101 ms |
14884 KB |
Correct |
13 |
Correct |
287 ms |
13336 KB |
Correct |
14 |
Correct |
87 ms |
12860 KB |
Correct |
15 |
Correct |
87 ms |
13216 KB |
Correct |
16 |
Correct |
228 ms |
13984 KB |
Correct |
17 |
Correct |
206 ms |
15164 KB |
Correct |
18 |
Correct |
132 ms |
12304 KB |
Correct |
19 |
Correct |
106 ms |
12960 KB |
Correct |
20 |
Correct |
161 ms |
12188 KB |
Correct |
21 |
Correct |
89 ms |
14452 KB |
Correct |
22 |
Correct |
91 ms |
13488 KB |
Correct |
23 |
Correct |
225 ms |
13484 KB |
Correct |
24 |
Correct |
201 ms |
13508 KB |
Correct |
25 |
Correct |
103 ms |
13216 KB |
Correct |
26 |
Correct |
100 ms |
13908 KB |
Correct |
27 |
Correct |
91 ms |
12704 KB |
Correct |
28 |
Correct |
88 ms |
13116 KB |
Correct |
29 |
Correct |
91 ms |
13736 KB |
Correct |
30 |
Correct |
224 ms |
13628 KB |
Correct |
31 |
Correct |
249 ms |
12604 KB |
Correct |
32 |
Correct |
99 ms |
14724 KB |
Correct |
33 |
Correct |
253 ms |
13712 KB |
Correct |
34 |
Correct |
236 ms |
13780 KB |
Correct |
35 |
Correct |
81 ms |
12704 KB |
Correct |
36 |
Correct |
86 ms |
12444 KB |
Correct |
37 |
Correct |
218 ms |
13548 KB |
Correct |
38 |
Correct |
230 ms |
13628 KB |
Correct |
39 |
Correct |
255 ms |
14356 KB |
Correct |
40 |
Correct |
161 ms |
14788 KB |
Correct |
41 |
Correct |
210 ms |
14056 KB |
Correct |
42 |
Correct |
94 ms |
13980 KB |
Correct |
43 |
Correct |
94 ms |
13728 KB |
Correct |
44 |
Correct |
234 ms |
13584 KB |
Correct |
45 |
Correct |
216 ms |
12348 KB |
Correct |
46 |
Correct |
90 ms |
12860 KB |
Correct |
47 |
Correct |
90 ms |
13120 KB |
Correct |
48 |
Correct |
97 ms |
13860 KB |
Correct |
49 |
Correct |
84 ms |
12420 KB |
Correct |
50 |
Correct |
84 ms |
14240 KB |
Correct |
51 |
Correct |
79 ms |
7972 KB |
Correct |
52 |
Correct |
73 ms |
7996 KB |
Correct |
53 |
Correct |
78 ms |
7960 KB |
Correct |
54 |
Correct |
82 ms |
10464 KB |
Correct |
55 |
Correct |
127 ms |
10448 KB |
Correct |
56 |
Correct |
152 ms |
10664 KB |
Correct |
57 |
Correct |
75 ms |
7664 KB |
Correct |
58 |
Correct |
75 ms |
7848 KB |
Correct |
59 |
Correct |
73 ms |
8000 KB |
Correct |
60 |
Correct |
72 ms |
7856 KB |
Correct |
61 |
Correct |
75 ms |
7716 KB |
Correct |
62 |
Correct |
71 ms |
7880 KB |
Correct |
63 |
Correct |
79 ms |
7784 KB |
Correct |
64 |
Correct |
57 ms |
6428 KB |
Correct |
65 |
Correct |
59 ms |
6448 KB |
Correct |
66 |
Correct |
79 ms |
7844 KB |
Correct |
67 |
Correct |
74 ms |
7692 KB |
Correct |
68 |
Correct |
75 ms |
7880 KB |
Correct |
69 |
Correct |
71 ms |
7748 KB |
Correct |
70 |
Correct |
50 ms |
6472 KB |
Correct |
71 |
Correct |
50 ms |
6800 KB |
Correct |
72 |
Correct |
55 ms |
6564 KB |
Correct |
73 |
Correct |
51 ms |
6704 KB |
Correct |
74 |
Correct |
60 ms |
6316 KB |
Correct |
75 |
Correct |
58 ms |
6436 KB |
Correct |
76 |
Correct |
70 ms |
7912 KB |
Correct |
77 |
Correct |
83 ms |
7868 KB |
Correct |
78 |
Correct |
82 ms |
7864 KB |
Correct |
79 |
Correct |
79 ms |
7956 KB |
Correct |
80 |
Correct |
92 ms |
7968 KB |
Correct |
81 |
Correct |
70 ms |
7932 KB |
Correct |
82 |
Correct |
87 ms |
8016 KB |
Correct |
83 |
Correct |
73 ms |
7960 KB |
Correct |
84 |
Correct |
74 ms |
7976 KB |
Correct |
85 |
Correct |
69 ms |
8012 KB |
Correct |
86 |
Correct |
76 ms |
7908 KB |
Correct |
87 |
Correct |
75 ms |
8004 KB |
Correct |
88 |
Correct |
75 ms |
7976 KB |
Correct |
89 |
Correct |
75 ms |
8000 KB |
Correct |
90 |
Correct |
77 ms |
7940 KB |
Correct |
91 |
Correct |
72 ms |
7956 KB |
Correct |
92 |
Correct |
76 ms |
7980 KB |
Correct |
93 |
Correct |
76 ms |
7972 KB |
Correct |
94 |
Correct |
74 ms |
7868 KB |
Correct |
95 |
Correct |
79 ms |
7824 KB |
Correct |
96 |
Correct |
78 ms |
8000 KB |
Correct |
97 |
Correct |
83 ms |
7940 KB |
Correct |
98 |
Correct |
71 ms |
7972 KB |
Correct |
99 |
Correct |
80 ms |
7868 KB |
Correct |
100 |
Correct |
75 ms |
7984 KB |
Correct |
101 |
Correct |
83 ms |
7872 KB |
Correct |
102 |
Correct |
76 ms |
8004 KB |
Correct |
103 |
Correct |
79 ms |
7872 KB |
Correct |
104 |
Correct |
62 ms |
7948 KB |
Correct |
105 |
Correct |
76 ms |
7972 KB |
Correct |
106 |
Correct |
75 ms |
7876 KB |
Correct |
107 |
Correct |
71 ms |
7976 KB |
Correct |
108 |
Correct |
77 ms |
7864 KB |
Correct |
109 |
Correct |
78 ms |
7956 KB |
Correct |
110 |
Correct |
70 ms |
7884 KB |
Correct |
111 |
Correct |
73 ms |
7892 KB |
Correct |
112 |
Correct |
76 ms |
7952 KB |
Correct |
113 |
Correct |
76 ms |
7968 KB |
Correct |
114 |
Correct |
84 ms |
7780 KB |
Correct |
115 |
Correct |
72 ms |
7916 KB |
Correct |
116 |
Correct |
82 ms |
8492 KB |
Correct |
117 |
Correct |
86 ms |
8488 KB |
Correct |
118 |
Correct |
94 ms |
8632 KB |
Correct |
119 |
Correct |
88 ms |
8428 KB |
Correct |
120 |
Correct |
81 ms |
7984 KB |
Correct |
121 |
Correct |
77 ms |
7984 KB |
Correct |
122 |
Correct |
78 ms |
7980 KB |
Correct |
123 |
Correct |
95 ms |
10340 KB |
Correct |
124 |
Correct |
146 ms |
10464 KB |
Correct |
125 |
Correct |
153 ms |
10680 KB |
Correct |
126 |
Correct |
81 ms |
7896 KB |
Correct |
127 |
Correct |
70 ms |
7876 KB |
Correct |
128 |
Correct |
70 ms |
7928 KB |
Correct |
129 |
Correct |
74 ms |
7876 KB |
Correct |
130 |
Correct |
76 ms |
7956 KB |
Correct |
131 |
Correct |
73 ms |
7932 KB |
Correct |
132 |
Correct |
72 ms |
7660 KB |
Correct |
133 |
Correct |
57 ms |
6448 KB |
Correct |
134 |
Correct |
59 ms |
6432 KB |
Correct |
135 |
Correct |
78 ms |
7748 KB |
Correct |
136 |
Correct |
71 ms |
7872 KB |
Correct |
137 |
Correct |
75 ms |
7896 KB |
Correct |
138 |
Correct |
74 ms |
7660 KB |
Correct |
139 |
Correct |
50 ms |
6564 KB |
Correct |
140 |
Correct |
59 ms |
6444 KB |
Correct |
141 |
Correct |
59 ms |
6440 KB |
Correct |
142 |
Correct |
55 ms |
6308 KB |
Correct |
143 |
Correct |
57 ms |
6580 KB |
Correct |
144 |
Correct |
58 ms |
6440 KB |
Correct |
145 |
Correct |
81 ms |
7972 KB |
Correct |
146 |
Correct |
78 ms |
7952 KB |
Correct |
147 |
Correct |
74 ms |
7988 KB |
Correct |
148 |
Correct |
73 ms |
7908 KB |
Correct |
149 |
Correct |
78 ms |
7964 KB |
Correct |
150 |
Correct |
68 ms |
7772 KB |
Correct |
151 |
Correct |
75 ms |
7944 KB |
Correct |
152 |
Correct |
77 ms |
7944 KB |
Correct |
153 |
Correct |
76 ms |
7996 KB |
Correct |
154 |
Correct |
68 ms |
7980 KB |
Correct |
155 |
Correct |
66 ms |
7996 KB |
Correct |
156 |
Correct |
94 ms |
7940 KB |
Correct |
157 |
Correct |
74 ms |
8016 KB |
Correct |
158 |
Correct |
69 ms |
7956 KB |
Correct |
159 |
Correct |
71 ms |
7932 KB |
Correct |
160 |
Correct |
81 ms |
7984 KB |
Correct |
161 |
Correct |
74 ms |
8004 KB |
Correct |
162 |
Correct |
77 ms |
7952 KB |
Correct |
163 |
Correct |
66 ms |
7972 KB |
Correct |
164 |
Correct |
80 ms |
7972 KB |
Correct |
165 |
Correct |
76 ms |
7996 KB |
Correct |
166 |
Correct |
86 ms |
7956 KB |
Correct |
167 |
Correct |
81 ms |
7968 KB |
Correct |
168 |
Correct |
74 ms |
7972 KB |
Correct |
169 |
Correct |
76 ms |
8008 KB |
Correct |
170 |
Correct |
75 ms |
7972 KB |
Correct |
171 |
Correct |
81 ms |
7856 KB |
Correct |
172 |
Correct |
84 ms |
7968 KB |
Correct |
173 |
Correct |
75 ms |
7956 KB |
Correct |
174 |
Correct |
76 ms |
8008 KB |
Correct |
175 |
Correct |
76 ms |
7908 KB |
Correct |
176 |
Correct |
79 ms |
7928 KB |
Correct |
177 |
Correct |
75 ms |
7968 KB |
Correct |
178 |
Correct |
78 ms |
7996 KB |
Correct |
179 |
Correct |
76 ms |
7892 KB |
Correct |
180 |
Correct |
77 ms |
7892 KB |
Correct |
181 |
Correct |
76 ms |
7948 KB |
Correct |
182 |
Correct |
80 ms |
7964 KB |
Correct |
183 |
Correct |
77 ms |
7932 KB |
Correct |
184 |
Correct |
74 ms |
7972 KB |
Correct |
185 |
Correct |
225 ms |
13080 KB |
Correct |
186 |
Correct |
220 ms |
13348 KB |
Correct |
187 |
Correct |
113 ms |
14148 KB |
Correct |
188 |
Correct |
102 ms |
14728 KB |
Correct |
189 |
Correct |
230 ms |
14396 KB |
Correct |
190 |
Correct |
80 ms |
14724 KB |
Correct |
191 |
Correct |
84 ms |
13176 KB |
Correct |
192 |
Correct |
207 ms |
13384 KB |
Correct |
193 |
Correct |
216 ms |
13712 KB |
Correct |
194 |
Correct |
157 ms |
13184 KB |
Correct |
195 |
Correct |
113 ms |
14660 KB |
Correct |
196 |
Correct |
285 ms |
13240 KB |
Correct |
197 |
Correct |
87 ms |
12832 KB |
Correct |
198 |
Correct |
89 ms |
13392 KB |
Correct |
199 |
Correct |
235 ms |
14120 KB |
Correct |
200 |
Correct |
222 ms |
15016 KB |
Correct |
201 |
Correct |
124 ms |
12200 KB |
Correct |
202 |
Correct |
100 ms |
12920 KB |
Correct |
203 |
Correct |
169 ms |
12484 KB |
Correct |
204 |
Correct |
93 ms |
14440 KB |
Correct |
205 |
Correct |
95 ms |
13212 KB |
Correct |
206 |
Correct |
199 ms |
13348 KB |
Correct |
207 |
Correct |
241 ms |
13396 KB |
Correct |
208 |
Correct |
106 ms |
13184 KB |
Correct |
209 |
Correct |
99 ms |
13984 KB |
Correct |
210 |
Correct |
91 ms |
12668 KB |
Correct |
211 |
Correct |
84 ms |
13180 KB |
Correct |
212 |
Correct |
98 ms |
13860 KB |
Correct |
213 |
Correct |
202 ms |
13740 KB |
Correct |
214 |
Correct |
209 ms |
12680 KB |
Correct |
215 |
Correct |
94 ms |
14608 KB |
Correct |
216 |
Correct |
247 ms |
13712 KB |
Correct |
217 |
Correct |
263 ms |
13924 KB |
Correct |
218 |
Correct |
94 ms |
12700 KB |
Correct |
219 |
Correct |
95 ms |
12448 KB |
Correct |
220 |
Correct |
212 ms |
13728 KB |
Correct |
221 |
Correct |
212 ms |
13628 KB |
Correct |
222 |
Correct |
273 ms |
14492 KB |
Correct |
223 |
Correct |
140 ms |
14812 KB |
Correct |
224 |
Correct |
193 ms |
14144 KB |
Correct |
225 |
Correct |
88 ms |
13980 KB |
Correct |
226 |
Correct |
95 ms |
13864 KB |
Correct |
227 |
Correct |
231 ms |
13732 KB |
Correct |
228 |
Correct |
216 ms |
12328 KB |
Correct |
229 |
Correct |
102 ms |
12932 KB |
Correct |
230 |
Correct |
90 ms |
13116 KB |
Correct |
231 |
Correct |
107 ms |
14016 KB |
Correct |
232 |
Correct |
101 ms |
12528 KB |
Correct |
233 |
Correct |
87 ms |
14212 KB |
Correct |
234 |
Correct |
90 ms |
11024 KB |
Correct |
235 |
Correct |
109 ms |
11168 KB |
Correct |
236 |
Correct |
62 ms |
6568 KB |
Correct |
237 |
Correct |
51 ms |
6712 KB |
Correct |
238 |
Correct |
60 ms |
6436 KB |
Correct |
239 |
Correct |
46 ms |
5924 KB |
Correct |
240 |
Correct |
81 ms |
8472 KB |
Correct |
241 |
Correct |
108 ms |
8292 KB |
Correct |
242 |
Correct |
100 ms |
8380 KB |
Correct |
243 |
Correct |
102 ms |
8456 KB |
Correct |
244 |
Correct |
82 ms |
8348 KB |
Correct |
245 |
Correct |
84 ms |
8312 KB |
Correct |
246 |
Correct |
88 ms |
8308 KB |
Correct |
247 |
Correct |
84 ms |
8348 KB |
Correct |
248 |
Correct |
93 ms |
8436 KB |
Correct |
249 |
Correct |
98 ms |
8508 KB |
Correct |
250 |
Correct |
76 ms |
8444 KB |
Correct |
251 |
Correct |
82 ms |
8288 KB |
Correct |
252 |
Correct |
91 ms |
8352 KB |
Correct |
253 |
Correct |
79 ms |
8508 KB |
Correct |
254 |
Correct |
83 ms |
8356 KB |
Correct |
255 |
Correct |
88 ms |
8328 KB |
Correct |
256 |
Correct |
84 ms |
8348 KB |
Correct |
257 |
Correct |
90 ms |
8348 KB |
Correct |
258 |
Correct |
84 ms |
8344 KB |
Correct |
259 |
Correct |
80 ms |
8344 KB |
Correct |
260 |
Correct |
77 ms |
8328 KB |
Correct |
261 |
Correct |
84 ms |
8304 KB |
Correct |
262 |
Correct |
81 ms |
8324 KB |
Correct |
263 |
Correct |
96 ms |
8316 KB |
Correct |
264 |
Correct |
91 ms |
8348 KB |
Correct |
265 |
Correct |
63 ms |
6692 KB |
Correct |
266 |
Correct |
58 ms |
6820 KB |
Correct |
267 |
Correct |
67 ms |
6940 KB |
Correct |
268 |
Correct |
65 ms |
6708 KB |
Correct |
269 |
Correct |
61 ms |
6728 KB |
Correct |
270 |
Correct |
67 ms |
6944 KB |
Correct |
271 |
Correct |
64 ms |
6692 KB |
Correct |
272 |
Correct |
62 ms |
6816 KB |
Correct |
273 |
Correct |
66 ms |
7200 KB |
Correct |
274 |
Correct |
52 ms |
7076 KB |
Correct |
275 |
Correct |
54 ms |
6812 KB |
Correct |
276 |
Correct |
64 ms |
6952 KB |
Correct |
277 |
Correct |
57 ms |
7068 KB |
Correct |
278 |
Correct |
57 ms |
6696 KB |
Correct |
279 |
Correct |
60 ms |
6948 KB |
Correct |
280 |
Correct |
86 ms |
8840 KB |
Correct |
281 |
Correct |
92 ms |
8836 KB |
Correct |
282 |
Correct |
83 ms |
8840 KB |
Correct |
283 |
Correct |
77 ms |
8576 KB |
Correct |
284 |
Correct |
89 ms |
8908 KB |
Correct |
285 |
Correct |
83 ms |
8832 KB |
Correct |
286 |
Correct |
83 ms |
8836 KB |
Correct |
287 |
Correct |
80 ms |
8812 KB |
Correct |
288 |
Correct |
77 ms |
8832 KB |
Correct |
289 |
Correct |
80 ms |
8860 KB |
Correct |