#include <bits/stdc++.h>
#define sz(v) ((int)(v).size())
#define all(v) (v).begin(), (v).end()
#define cr(v, n) (v).clear(), (v).resize(n);
using namespace std;
using lint = long long;
using pi = array<lint, 2>;
namespace euler_path {
vector<vector<pi>> gph;
vector<int> ptr, ans, vis;
void dfs(int x) {
while (ptr[x] < sz(gph[x])) {
auto [idx, z] = gph[x][ptr[x]++];
dfs(z);
ans.push_back(idx);
}
}
void dfs2(int x) {
while (ptr[x] < sz(gph[x])) {
auto [idx, z] = gph[x][ptr[x]++];
if (vis[idx >> 1])
continue;
vis[idx >> 1] = 1;
dfs2(z);
ans.push_back(idx);
}
}
vector<int> solve_undirected(int n, vector<pi> edges) {
if (sz(edges) == 0)
return {};
cr(gph, n);
cr(ptr, n);
cr(ans, 0);
cr(vis, 2 * sz(edges));
for (int i = 0; i < sz(edges); i++) {
auto [u, v] = edges[i];
gph[u].push_back({2 * i, v});
gph[v].push_back({2 * i + 1, u});
}
int fixed = -1;
int oddcnt = 0;
for (int i = 0; i < n; i++) {
if (sz(gph[i]) % 2 == 1) {
oddcnt++;
fixed = i;
}
}
if (oddcnt > 2)
return {};
for (int i = 0; i < n; i++) {
if (ptr[i] < sz(gph[i])) {
dfs2(i);
}
}
if (sz(ans) != sz(edges))
ans.clear();
return ans;
}
} // namespace euler_path
vector<vector<int>> adj;
void solve(int l, int r, int t) {
if (r - l == 1)
return;
vector<pi> edges;
vector<int> deg(t);
vector<int> ptr(sz(adj));
for (int i = 0; i < sz(adj); i++) {
for (int j = l; j < r; j += 2) {
edges.push_back({adj[i][j], adj[i][j + 1]});
deg[adj[i][j]]++;
deg[adj[i][j + 1]]++;
}
}
int ecnt = sz(edges);
int uplast = -1;
int m = (l + r) / 2;
for (int i = 0; i < t; i++) {
if (deg[i] % 2 == 1) {
if (uplast == -1)
uplast = i;
else {
edges.push_back({uplast, i});
uplast = -1;
}
}
}
auto ans = euler_path::solve_undirected(t, edges);
assert(sz(ans));
for (auto &ed : ans) {
if (ed >= 2 * ecnt)
continue;
if (ed % 2 == 0) {
auto [u, v] = edges[ed / 2];
int rw = ed / (r - l);
adj[rw][l + ptr[rw]] = u;
adj[rw][m + ptr[rw]] = v;
ptr[rw]++;
}
if (ed % 2 == 1) {
auto [v, u] = edges[ed / 2];
int rw = ed / (r - l);
adj[rw][l + ptr[rw]] = u;
adj[rw][m + ptr[rw]] = v;
ptr[rw]++;
}
}
assert(count(all(ptr), m - l) == sz(ptr));
solve(l, m, t);
solve(m, r, t);
}
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int n, s, t;
cin >> n >> s >> t;
cr(adj, n);
for (auto &x : adj) {
x.resize(s);
for (auto &y : x) {
cin >> y;
y--;
}
}
solve(0, s, t);
for (int i = 0; i < n; i++) {
for (int j = 0; j < s; j++) {
cout << adj[i][j] + 1 << " ";
}
cout << "\n";
}
}
Compilation message
balance.cpp: In function 'std::vector<int> euler_path::solve_undirected(int, std::vector<std::array<long long int, 2> >)':
balance.cpp:42:6: warning: variable 'fixed' set but not used [-Wunused-but-set-variable]
42 | int fixed = -1;
| ^~~~~
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
348 KB |
Correct |
2 |
Correct |
0 ms |
348 KB |
Correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
348 KB |
Correct |
2 |
Correct |
0 ms |
348 KB |
Correct |
3 |
Correct |
0 ms |
348 KB |
Correct |
4 |
Correct |
1 ms |
348 KB |
Correct |
5 |
Correct |
0 ms |
348 KB |
Correct |
6 |
Correct |
0 ms |
348 KB |
Correct |
7 |
Correct |
0 ms |
348 KB |
Correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
52 ms |
28156 KB |
Correct |
2 |
Correct |
49 ms |
28104 KB |
Correct |
3 |
Correct |
40 ms |
23872 KB |
Correct |
4 |
Correct |
33 ms |
24268 KB |
Correct |
5 |
Correct |
50 ms |
27856 KB |
Correct |
6 |
Correct |
55 ms |
28164 KB |
Correct |
7 |
Correct |
45 ms |
19392 KB |
Correct |
8 |
Correct |
51 ms |
28876 KB |
Correct |
9 |
Correct |
48 ms |
29888 KB |
Correct |
10 |
Correct |
70 ms |
29376 KB |
Correct |
11 |
Correct |
38 ms |
29388 KB |
Correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
52 ms |
28156 KB |
Correct |
2 |
Correct |
49 ms |
28104 KB |
Correct |
3 |
Correct |
40 ms |
23872 KB |
Correct |
4 |
Correct |
33 ms |
24268 KB |
Correct |
5 |
Correct |
50 ms |
27856 KB |
Correct |
6 |
Correct |
55 ms |
28164 KB |
Correct |
7 |
Correct |
45 ms |
19392 KB |
Correct |
8 |
Correct |
51 ms |
28876 KB |
Correct |
9 |
Correct |
48 ms |
29888 KB |
Correct |
10 |
Correct |
70 ms |
29376 KB |
Correct |
11 |
Correct |
38 ms |
29388 KB |
Correct |
12 |
Correct |
50 ms |
29388 KB |
Correct |
13 |
Correct |
46 ms |
29128 KB |
Correct |
14 |
Correct |
40 ms |
23812 KB |
Correct |
15 |
Correct |
32 ms |
24852 KB |
Correct |
16 |
Correct |
49 ms |
29128 KB |
Correct |
17 |
Correct |
51 ms |
28612 KB |
Correct |
18 |
Correct |
49 ms |
20416 KB |
Correct |
19 |
Correct |
46 ms |
29380 KB |
Correct |
20 |
Correct |
46 ms |
29888 KB |
Correct |
21 |
Correct |
40 ms |
29384 KB |
Correct |
22 |
Correct |
37 ms |
29012 KB |
Correct |
23 |
Correct |
58 ms |
33728 KB |
Correct |
24 |
Correct |
55 ms |
24440 KB |
Correct |
25 |
Correct |
53 ms |
29380 KB |
Correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
348 KB |
Correct |
2 |
Correct |
0 ms |
348 KB |
Correct |
3 |
Correct |
0 ms |
348 KB |
Correct |
4 |
Correct |
1 ms |
348 KB |
Correct |
5 |
Correct |
0 ms |
348 KB |
Correct |
6 |
Correct |
0 ms |
348 KB |
Correct |
7 |
Correct |
0 ms |
348 KB |
Correct |
8 |
Correct |
52 ms |
28156 KB |
Correct |
9 |
Correct |
49 ms |
28104 KB |
Correct |
10 |
Correct |
40 ms |
23872 KB |
Correct |
11 |
Correct |
33 ms |
24268 KB |
Correct |
12 |
Correct |
50 ms |
27856 KB |
Correct |
13 |
Correct |
55 ms |
28164 KB |
Correct |
14 |
Correct |
45 ms |
19392 KB |
Correct |
15 |
Correct |
51 ms |
28876 KB |
Correct |
16 |
Correct |
48 ms |
29888 KB |
Correct |
17 |
Correct |
70 ms |
29376 KB |
Correct |
18 |
Correct |
38 ms |
29388 KB |
Correct |
19 |
Correct |
50 ms |
29388 KB |
Correct |
20 |
Correct |
46 ms |
29128 KB |
Correct |
21 |
Correct |
40 ms |
23812 KB |
Correct |
22 |
Correct |
32 ms |
24852 KB |
Correct |
23 |
Correct |
49 ms |
29128 KB |
Correct |
24 |
Correct |
51 ms |
28612 KB |
Correct |
25 |
Correct |
49 ms |
20416 KB |
Correct |
26 |
Correct |
46 ms |
29380 KB |
Correct |
27 |
Correct |
46 ms |
29888 KB |
Correct |
28 |
Correct |
40 ms |
29384 KB |
Correct |
29 |
Correct |
37 ms |
29012 KB |
Correct |
30 |
Correct |
58 ms |
33728 KB |
Correct |
31 |
Correct |
55 ms |
24440 KB |
Correct |
32 |
Correct |
53 ms |
29380 KB |
Correct |
33 |
Correct |
0 ms |
348 KB |
Correct |
34 |
Correct |
0 ms |
348 KB |
Correct |
35 |
Correct |
0 ms |
348 KB |
Correct |
36 |
Correct |
0 ms |
348 KB |
Correct |
37 |
Correct |
0 ms |
348 KB |
Correct |
38 |
Correct |
0 ms |
348 KB |
Correct |
39 |
Correct |
0 ms |
348 KB |
Correct |
40 |
Correct |
53 ms |
29264 KB |
Correct |
41 |
Correct |
70 ms |
29388 KB |
Correct |
42 |
Correct |
43 ms |
24772 KB |
Correct |
43 |
Correct |
39 ms |
24896 KB |
Correct |
44 |
Correct |
43 ms |
29116 KB |
Correct |
45 |
Correct |
52 ms |
29380 KB |
Correct |
46 |
Correct |
46 ms |
20472 KB |
Correct |
47 |
Correct |
53 ms |
29068 KB |
Correct |
48 |
Correct |
67 ms |
29888 KB |
Correct |
49 |
Correct |
39 ms |
29376 KB |
Correct |
50 |
Correct |
37 ms |
28864 KB |
Correct |
51 |
Correct |
65 ms |
33988 KB |
Correct |
52 |
Correct |
33 ms |
24516 KB |
Correct |
53 |
Correct |
53 ms |
29124 KB |
Correct |
54 |
Correct |
41 ms |
20424 KB |
Correct |
55 |
Correct |
2 ms |
3536 KB |
Correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Correct |
2 |
Correct |
4 ms |
1372 KB |
Correct |
3 |
Correct |
5 ms |
1372 KB |
Correct |
4 |
Correct |
3 ms |
1628 KB |
Correct |
5 |
Correct |
3 ms |
1628 KB |
Correct |
6 |
Correct |
2 ms |
1884 KB |
Correct |
7 |
Correct |
2 ms |
1628 KB |
Correct |
8 |
Correct |
3 ms |
1372 KB |
Correct |
9 |
Correct |
3 ms |
1096 KB |
Correct |
10 |
Correct |
4 ms |
1628 KB |
Correct |
11 |
Correct |
2 ms |
1372 KB |
Correct |
12 |
Correct |
2 ms |
1888 KB |
Correct |
13 |
Correct |
2 ms |
1884 KB |
Correct |
14 |
Correct |
2 ms |
1884 KB |
Correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Correct |
2 |
Correct |
4 ms |
1372 KB |
Correct |
3 |
Correct |
5 ms |
1372 KB |
Correct |
4 |
Correct |
3 ms |
1628 KB |
Correct |
5 |
Correct |
3 ms |
1628 KB |
Correct |
6 |
Correct |
2 ms |
1884 KB |
Correct |
7 |
Correct |
2 ms |
1628 KB |
Correct |
8 |
Correct |
3 ms |
1372 KB |
Correct |
9 |
Correct |
3 ms |
1096 KB |
Correct |
10 |
Correct |
4 ms |
1628 KB |
Correct |
11 |
Correct |
2 ms |
1372 KB |
Correct |
12 |
Correct |
2 ms |
1888 KB |
Correct |
13 |
Correct |
2 ms |
1884 KB |
Correct |
14 |
Correct |
2 ms |
1884 KB |
Correct |
15 |
Correct |
0 ms |
348 KB |
Correct |
16 |
Correct |
3 ms |
1372 KB |
Correct |
17 |
Correct |
3 ms |
1372 KB |
Correct |
18 |
Correct |
3 ms |
1368 KB |
Correct |
19 |
Correct |
3 ms |
1624 KB |
Correct |
20 |
Correct |
3 ms |
1880 KB |
Correct |
21 |
Correct |
3 ms |
1720 KB |
Correct |
22 |
Correct |
3 ms |
1372 KB |
Correct |
23 |
Correct |
3 ms |
1116 KB |
Correct |
24 |
Correct |
3 ms |
1628 KB |
Correct |
25 |
Correct |
2 ms |
1372 KB |
Correct |
26 |
Correct |
3 ms |
1884 KB |
Correct |
27 |
Correct |
2 ms |
1884 KB |
Correct |
28 |
Correct |
2 ms |
1628 KB |
Correct |
29 |
Correct |
3 ms |
1440 KB |
Correct |
30 |
Correct |
3 ms |
1884 KB |
Correct |
31 |
Correct |
4 ms |
1624 KB |
Correct |
32 |
Correct |
3 ms |
1684 KB |
Correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Correct |
2 |
Correct |
4 ms |
1372 KB |
Correct |
3 |
Correct |
5 ms |
1372 KB |
Correct |
4 |
Correct |
3 ms |
1628 KB |
Correct |
5 |
Correct |
3 ms |
1628 KB |
Correct |
6 |
Correct |
2 ms |
1884 KB |
Correct |
7 |
Correct |
2 ms |
1628 KB |
Correct |
8 |
Correct |
3 ms |
1372 KB |
Correct |
9 |
Correct |
3 ms |
1096 KB |
Correct |
10 |
Correct |
4 ms |
1628 KB |
Correct |
11 |
Correct |
2 ms |
1372 KB |
Correct |
12 |
Correct |
2 ms |
1888 KB |
Correct |
13 |
Correct |
2 ms |
1884 KB |
Correct |
14 |
Correct |
2 ms |
1884 KB |
Correct |
15 |
Correct |
0 ms |
348 KB |
Correct |
16 |
Correct |
3 ms |
1372 KB |
Correct |
17 |
Correct |
3 ms |
1372 KB |
Correct |
18 |
Correct |
3 ms |
1368 KB |
Correct |
19 |
Correct |
3 ms |
1624 KB |
Correct |
20 |
Correct |
3 ms |
1880 KB |
Correct |
21 |
Correct |
3 ms |
1720 KB |
Correct |
22 |
Correct |
3 ms |
1372 KB |
Correct |
23 |
Correct |
3 ms |
1116 KB |
Correct |
24 |
Correct |
3 ms |
1628 KB |
Correct |
25 |
Correct |
2 ms |
1372 KB |
Correct |
26 |
Correct |
3 ms |
1884 KB |
Correct |
27 |
Correct |
2 ms |
1884 KB |
Correct |
28 |
Correct |
2 ms |
1628 KB |
Correct |
29 |
Correct |
3 ms |
1440 KB |
Correct |
30 |
Correct |
3 ms |
1884 KB |
Correct |
31 |
Correct |
4 ms |
1624 KB |
Correct |
32 |
Correct |
3 ms |
1684 KB |
Correct |
33 |
Correct |
0 ms |
348 KB |
Correct |
34 |
Correct |
3 ms |
1372 KB |
Correct |
35 |
Correct |
3 ms |
1372 KB |
Correct |
36 |
Correct |
2 ms |
1372 KB |
Correct |
37 |
Correct |
2 ms |
1624 KB |
Correct |
38 |
Correct |
2 ms |
1884 KB |
Correct |
39 |
Correct |
2 ms |
1628 KB |
Correct |
40 |
Correct |
3 ms |
1368 KB |
Correct |
41 |
Correct |
2 ms |
1216 KB |
Correct |
42 |
Correct |
2 ms |
1580 KB |
Correct |
43 |
Correct |
2 ms |
1372 KB |
Correct |
44 |
Correct |
2 ms |
1884 KB |
Correct |
45 |
Correct |
3 ms |
1840 KB |
Correct |
46 |
Correct |
2 ms |
1884 KB |
Correct |
47 |
Correct |
3 ms |
1372 KB |
Correct |
48 |
Correct |
5 ms |
1884 KB |
Correct |
49 |
Correct |
4 ms |
1628 KB |
Correct |
50 |
Correct |
3 ms |
1628 KB |
Correct |
51 |
Correct |
0 ms |
348 KB |
Correct |
52 |
Correct |
0 ms |
348 KB |
Correct |
53 |
Correct |
0 ms |
348 KB |
Correct |
54 |
Correct |
0 ms |
348 KB |
Correct |
55 |
Correct |
0 ms |
376 KB |
Correct |
56 |
Correct |
0 ms |
348 KB |
Correct |
57 |
Correct |
0 ms |
348 KB |
Correct |
58 |
Correct |
67 ms |
7940 KB |
Correct |
59 |
Correct |
843 ms |
8684 KB |
Correct |
60 |
Correct |
6 ms |
2276 KB |
Correct |
61 |
Correct |
9 ms |
5676 KB |
Correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
52 ms |
28156 KB |
Correct |
2 |
Correct |
49 ms |
28104 KB |
Correct |
3 |
Correct |
40 ms |
23872 KB |
Correct |
4 |
Correct |
33 ms |
24268 KB |
Correct |
5 |
Correct |
50 ms |
27856 KB |
Correct |
6 |
Correct |
55 ms |
28164 KB |
Correct |
7 |
Correct |
45 ms |
19392 KB |
Correct |
8 |
Correct |
51 ms |
28876 KB |
Correct |
9 |
Correct |
48 ms |
29888 KB |
Correct |
10 |
Correct |
70 ms |
29376 KB |
Correct |
11 |
Correct |
38 ms |
29388 KB |
Correct |
12 |
Correct |
0 ms |
344 KB |
Correct |
13 |
Correct |
4 ms |
1372 KB |
Correct |
14 |
Correct |
5 ms |
1372 KB |
Correct |
15 |
Correct |
3 ms |
1628 KB |
Correct |
16 |
Correct |
3 ms |
1628 KB |
Correct |
17 |
Correct |
2 ms |
1884 KB |
Correct |
18 |
Correct |
2 ms |
1628 KB |
Correct |
19 |
Correct |
3 ms |
1372 KB |
Correct |
20 |
Correct |
3 ms |
1096 KB |
Correct |
21 |
Correct |
4 ms |
1628 KB |
Correct |
22 |
Correct |
2 ms |
1372 KB |
Correct |
23 |
Correct |
2 ms |
1888 KB |
Correct |
24 |
Correct |
2 ms |
1884 KB |
Correct |
25 |
Correct |
2 ms |
1884 KB |
Correct |
26 |
Correct |
80 ms |
28864 KB |
Correct |
27 |
Correct |
63 ms |
29260 KB |
Correct |
28 |
Correct |
43 ms |
24880 KB |
Correct |
29 |
Correct |
35 ms |
24772 KB |
Correct |
30 |
Correct |
45 ms |
29132 KB |
Correct |
31 |
Correct |
53 ms |
29192 KB |
Correct |
32 |
Correct |
54 ms |
20164 KB |
Correct |
33 |
Correct |
48 ms |
29432 KB |
Correct |
34 |
Correct |
59 ms |
29124 KB |
Correct |
35 |
Correct |
41 ms |
29380 KB |
Correct |
36 |
Correct |
59 ms |
29328 KB |
Correct |
37 |
Correct |
0 ms |
344 KB |
Correct |
38 |
Correct |
3 ms |
1372 KB |
Correct |
39 |
Correct |
4 ms |
1404 KB |
Correct |
40 |
Correct |
2 ms |
1628 KB |
Correct |
41 |
Correct |
2 ms |
1884 KB |
Correct |
42 |
Correct |
3 ms |
1884 KB |
Correct |
43 |
Correct |
5 ms |
1628 KB |
Correct |
44 |
Correct |
3 ms |
1548 KB |
Correct |
45 |
Correct |
4 ms |
1180 KB |
Correct |
46 |
Correct |
4 ms |
1628 KB |
Correct |
47 |
Correct |
2 ms |
1372 KB |
Correct |
48 |
Correct |
2 ms |
1880 KB |
Correct |
49 |
Correct |
2 ms |
1884 KB |
Correct |
50 |
Correct |
3 ms |
1884 KB |
Correct |
51 |
Correct |
218 ms |
55024 KB |
Correct |
52 |
Correct |
229 ms |
50292 KB |
Correct |
53 |
Correct |
44 ms |
9684 KB |
Correct |
54 |
Correct |
61 ms |
19508 KB |
Correct |
55 |
Correct |
201 ms |
43268 KB |
Correct |
56 |
Correct |
175 ms |
48212 KB |
Correct |
57 |
Correct |
208 ms |
55032 KB |
Correct |
58 |
Correct |
246 ms |
49272 KB |
Correct |
59 |
Correct |
185 ms |
39220 KB |
Correct |
60 |
Correct |
157 ms |
45072 KB |
Correct |
61 |
Correct |
196 ms |
51800 KB |
Correct |
62 |
Correct |
84 ms |
42624 KB |
Correct |
63 |
Correct |
84 ms |
41140 KB |
Correct |
64 |
Correct |
82 ms |
41348 KB |
Correct |
65 |
Correct |
84 ms |
41092 KB |
Correct |
66 |
Correct |
83 ms |
43400 KB |
Correct |
67 |
Correct |
96 ms |
44636 KB |
Correct |
68 |
Correct |
87 ms |
41856 KB |
Correct |
69 |
Correct |
92 ms |
47748 KB |
Correct |
70 |
Correct |
107 ms |
31932 KB |
Correct |
71 |
Correct |
105 ms |
33916 KB |
Correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
52 ms |
28156 KB |
Correct |
2 |
Correct |
49 ms |
28104 KB |
Correct |
3 |
Correct |
40 ms |
23872 KB |
Correct |
4 |
Correct |
33 ms |
24268 KB |
Correct |
5 |
Correct |
50 ms |
27856 KB |
Correct |
6 |
Correct |
55 ms |
28164 KB |
Correct |
7 |
Correct |
45 ms |
19392 KB |
Correct |
8 |
Correct |
51 ms |
28876 KB |
Correct |
9 |
Correct |
48 ms |
29888 KB |
Correct |
10 |
Correct |
70 ms |
29376 KB |
Correct |
11 |
Correct |
38 ms |
29388 KB |
Correct |
12 |
Correct |
50 ms |
29388 KB |
Correct |
13 |
Correct |
46 ms |
29128 KB |
Correct |
14 |
Correct |
40 ms |
23812 KB |
Correct |
15 |
Correct |
32 ms |
24852 KB |
Correct |
16 |
Correct |
49 ms |
29128 KB |
Correct |
17 |
Correct |
51 ms |
28612 KB |
Correct |
18 |
Correct |
49 ms |
20416 KB |
Correct |
19 |
Correct |
46 ms |
29380 KB |
Correct |
20 |
Correct |
46 ms |
29888 KB |
Correct |
21 |
Correct |
40 ms |
29384 KB |
Correct |
22 |
Correct |
37 ms |
29012 KB |
Correct |
23 |
Correct |
58 ms |
33728 KB |
Correct |
24 |
Correct |
55 ms |
24440 KB |
Correct |
25 |
Correct |
53 ms |
29380 KB |
Correct |
26 |
Correct |
0 ms |
344 KB |
Correct |
27 |
Correct |
4 ms |
1372 KB |
Correct |
28 |
Correct |
5 ms |
1372 KB |
Correct |
29 |
Correct |
3 ms |
1628 KB |
Correct |
30 |
Correct |
3 ms |
1628 KB |
Correct |
31 |
Correct |
2 ms |
1884 KB |
Correct |
32 |
Correct |
2 ms |
1628 KB |
Correct |
33 |
Correct |
3 ms |
1372 KB |
Correct |
34 |
Correct |
3 ms |
1096 KB |
Correct |
35 |
Correct |
4 ms |
1628 KB |
Correct |
36 |
Correct |
2 ms |
1372 KB |
Correct |
37 |
Correct |
2 ms |
1888 KB |
Correct |
38 |
Correct |
2 ms |
1884 KB |
Correct |
39 |
Correct |
2 ms |
1884 KB |
Correct |
40 |
Correct |
0 ms |
348 KB |
Correct |
41 |
Correct |
3 ms |
1372 KB |
Correct |
42 |
Correct |
3 ms |
1372 KB |
Correct |
43 |
Correct |
3 ms |
1368 KB |
Correct |
44 |
Correct |
3 ms |
1624 KB |
Correct |
45 |
Correct |
3 ms |
1880 KB |
Correct |
46 |
Correct |
3 ms |
1720 KB |
Correct |
47 |
Correct |
3 ms |
1372 KB |
Correct |
48 |
Correct |
3 ms |
1116 KB |
Correct |
49 |
Correct |
3 ms |
1628 KB |
Correct |
50 |
Correct |
2 ms |
1372 KB |
Correct |
51 |
Correct |
3 ms |
1884 KB |
Correct |
52 |
Correct |
2 ms |
1884 KB |
Correct |
53 |
Correct |
2 ms |
1628 KB |
Correct |
54 |
Correct |
3 ms |
1440 KB |
Correct |
55 |
Correct |
3 ms |
1884 KB |
Correct |
56 |
Correct |
4 ms |
1624 KB |
Correct |
57 |
Correct |
3 ms |
1684 KB |
Correct |
58 |
Correct |
80 ms |
28864 KB |
Correct |
59 |
Correct |
63 ms |
29260 KB |
Correct |
60 |
Correct |
43 ms |
24880 KB |
Correct |
61 |
Correct |
35 ms |
24772 KB |
Correct |
62 |
Correct |
45 ms |
29132 KB |
Correct |
63 |
Correct |
53 ms |
29192 KB |
Correct |
64 |
Correct |
54 ms |
20164 KB |
Correct |
65 |
Correct |
48 ms |
29432 KB |
Correct |
66 |
Correct |
59 ms |
29124 KB |
Correct |
67 |
Correct |
41 ms |
29380 KB |
Correct |
68 |
Correct |
59 ms |
29328 KB |
Correct |
69 |
Correct |
0 ms |
344 KB |
Correct |
70 |
Correct |
3 ms |
1372 KB |
Correct |
71 |
Correct |
4 ms |
1404 KB |
Correct |
72 |
Correct |
2 ms |
1628 KB |
Correct |
73 |
Correct |
2 ms |
1884 KB |
Correct |
74 |
Correct |
3 ms |
1884 KB |
Correct |
75 |
Correct |
5 ms |
1628 KB |
Correct |
76 |
Correct |
3 ms |
1548 KB |
Correct |
77 |
Correct |
4 ms |
1180 KB |
Correct |
78 |
Correct |
4 ms |
1628 KB |
Correct |
79 |
Correct |
2 ms |
1372 KB |
Correct |
80 |
Correct |
2 ms |
1880 KB |
Correct |
81 |
Correct |
2 ms |
1884 KB |
Correct |
82 |
Correct |
3 ms |
1884 KB |
Correct |
83 |
Correct |
218 ms |
55024 KB |
Correct |
84 |
Correct |
229 ms |
50292 KB |
Correct |
85 |
Correct |
44 ms |
9684 KB |
Correct |
86 |
Correct |
61 ms |
19508 KB |
Correct |
87 |
Correct |
201 ms |
43268 KB |
Correct |
88 |
Correct |
175 ms |
48212 KB |
Correct |
89 |
Correct |
208 ms |
55032 KB |
Correct |
90 |
Correct |
246 ms |
49272 KB |
Correct |
91 |
Correct |
185 ms |
39220 KB |
Correct |
92 |
Correct |
157 ms |
45072 KB |
Correct |
93 |
Correct |
196 ms |
51800 KB |
Correct |
94 |
Correct |
84 ms |
42624 KB |
Correct |
95 |
Correct |
84 ms |
41140 KB |
Correct |
96 |
Correct |
82 ms |
41348 KB |
Correct |
97 |
Correct |
84 ms |
41092 KB |
Correct |
98 |
Correct |
83 ms |
43400 KB |
Correct |
99 |
Correct |
96 ms |
44636 KB |
Correct |
100 |
Correct |
87 ms |
41856 KB |
Correct |
101 |
Correct |
92 ms |
47748 KB |
Correct |
102 |
Correct |
107 ms |
31932 KB |
Correct |
103 |
Correct |
105 ms |
33916 KB |
Correct |
104 |
Correct |
51 ms |
28100 KB |
Correct |
105 |
Correct |
51 ms |
28116 KB |
Correct |
106 |
Correct |
66 ms |
24772 KB |
Correct |
107 |
Correct |
31 ms |
24768 KB |
Correct |
108 |
Correct |
41 ms |
27840 KB |
Correct |
109 |
Correct |
66 ms |
29340 KB |
Correct |
110 |
Correct |
47 ms |
20528 KB |
Correct |
111 |
Correct |
46 ms |
29384 KB |
Correct |
112 |
Correct |
45 ms |
28868 KB |
Correct |
113 |
Correct |
37 ms |
28720 KB |
Correct |
114 |
Correct |
38 ms |
29132 KB |
Correct |
115 |
Correct |
0 ms |
348 KB |
Correct |
116 |
Correct |
3 ms |
1500 KB |
Correct |
117 |
Correct |
3 ms |
1368 KB |
Correct |
118 |
Correct |
2 ms |
1492 KB |
Correct |
119 |
Correct |
2 ms |
1744 KB |
Correct |
120 |
Correct |
3 ms |
1732 KB |
Correct |
121 |
Correct |
3 ms |
1628 KB |
Correct |
122 |
Correct |
4 ms |
1548 KB |
Correct |
123 |
Correct |
3 ms |
1116 KB |
Correct |
124 |
Correct |
3 ms |
1640 KB |
Correct |
125 |
Correct |
2 ms |
1372 KB |
Correct |
126 |
Correct |
2 ms |
1884 KB |
Correct |
127 |
Correct |
2 ms |
1884 KB |
Correct |
128 |
Correct |
2 ms |
1700 KB |
Correct |
129 |
Correct |
195 ms |
53652 KB |
Correct |
130 |
Correct |
247 ms |
49936 KB |
Correct |
131 |
Correct |
49 ms |
9732 KB |
Correct |
132 |
Correct |
61 ms |
19548 KB |
Correct |
133 |
Correct |
209 ms |
42980 KB |
Correct |
134 |
Correct |
173 ms |
48940 KB |
Correct |
135 |
Correct |
207 ms |
57300 KB |
Correct |
136 |
Correct |
230 ms |
49348 KB |
Correct |
137 |
Correct |
189 ms |
39472 KB |
Correct |
138 |
Correct |
184 ms |
45584 KB |
Correct |
139 |
Correct |
200 ms |
49056 KB |
Correct |
140 |
Correct |
87 ms |
41348 KB |
Correct |
141 |
Correct |
82 ms |
42112 KB |
Correct |
142 |
Correct |
86 ms |
41652 KB |
Correct |
143 |
Correct |
89 ms |
40256 KB |
Correct |
144 |
Correct |
126 ms |
43128 KB |
Correct |
145 |
Correct |
93 ms |
45932 KB |
Correct |
146 |
Correct |
97 ms |
43760 KB |
Correct |
147 |
Correct |
91 ms |
50312 KB |
Correct |
148 |
Correct |
101 ms |
34656 KB |
Correct |
149 |
Correct |
115 ms |
36816 KB |
Correct |
150 |
Correct |
56 ms |
32796 KB |
Correct |
151 |
Correct |
34 ms |
24036 KB |
Correct |
152 |
Correct |
70 ms |
28972 KB |
Correct |
153 |
Correct |
5 ms |
1368 KB |
Correct |
154 |
Correct |
3 ms |
1884 KB |
Correct |
155 |
Correct |
3 ms |
1628 KB |
Correct |
156 |
Correct |
3 ms |
1628 KB |
Correct |
157 |
Correct |
223 ms |
62784 KB |
Correct |
158 |
Correct |
249 ms |
51060 KB |
Correct |
159 |
Correct |
28 ms |
10452 KB |
Correct |
160 |
Correct |
222 ms |
61312 KB |
Correct |
161 |
Correct |
246 ms |
64180 KB |
Correct |
162 |
Correct |
237 ms |
56124 KB |
Correct |
163 |
Correct |
213 ms |
58292 KB |
Correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
348 KB |
Correct |
2 |
Correct |
0 ms |
348 KB |
Correct |
3 |
Correct |
0 ms |
348 KB |
Correct |
4 |
Correct |
0 ms |
348 KB |
Correct |
5 |
Correct |
0 ms |
348 KB |
Correct |
6 |
Correct |
1 ms |
348 KB |
Correct |
7 |
Correct |
0 ms |
348 KB |
Correct |
8 |
Correct |
0 ms |
348 KB |
Correct |
9 |
Correct |
0 ms |
348 KB |
Correct |
10 |
Correct |
52 ms |
28156 KB |
Correct |
11 |
Correct |
49 ms |
28104 KB |
Correct |
12 |
Correct |
40 ms |
23872 KB |
Correct |
13 |
Correct |
33 ms |
24268 KB |
Correct |
14 |
Correct |
50 ms |
27856 KB |
Correct |
15 |
Correct |
55 ms |
28164 KB |
Correct |
16 |
Correct |
45 ms |
19392 KB |
Correct |
17 |
Correct |
51 ms |
28876 KB |
Correct |
18 |
Correct |
48 ms |
29888 KB |
Correct |
19 |
Correct |
70 ms |
29376 KB |
Correct |
20 |
Correct |
38 ms |
29388 KB |
Correct |
21 |
Correct |
50 ms |
29388 KB |
Correct |
22 |
Correct |
46 ms |
29128 KB |
Correct |
23 |
Correct |
40 ms |
23812 KB |
Correct |
24 |
Correct |
32 ms |
24852 KB |
Correct |
25 |
Correct |
49 ms |
29128 KB |
Correct |
26 |
Correct |
51 ms |
28612 KB |
Correct |
27 |
Correct |
49 ms |
20416 KB |
Correct |
28 |
Correct |
46 ms |
29380 KB |
Correct |
29 |
Correct |
46 ms |
29888 KB |
Correct |
30 |
Correct |
40 ms |
29384 KB |
Correct |
31 |
Correct |
37 ms |
29012 KB |
Correct |
32 |
Correct |
58 ms |
33728 KB |
Correct |
33 |
Correct |
55 ms |
24440 KB |
Correct |
34 |
Correct |
53 ms |
29380 KB |
Correct |
35 |
Correct |
0 ms |
348 KB |
Correct |
36 |
Correct |
0 ms |
348 KB |
Correct |
37 |
Correct |
0 ms |
348 KB |
Correct |
38 |
Correct |
0 ms |
348 KB |
Correct |
39 |
Correct |
0 ms |
348 KB |
Correct |
40 |
Correct |
0 ms |
348 KB |
Correct |
41 |
Correct |
0 ms |
348 KB |
Correct |
42 |
Correct |
53 ms |
29264 KB |
Correct |
43 |
Correct |
70 ms |
29388 KB |
Correct |
44 |
Correct |
43 ms |
24772 KB |
Correct |
45 |
Correct |
39 ms |
24896 KB |
Correct |
46 |
Correct |
43 ms |
29116 KB |
Correct |
47 |
Correct |
52 ms |
29380 KB |
Correct |
48 |
Correct |
46 ms |
20472 KB |
Correct |
49 |
Correct |
53 ms |
29068 KB |
Correct |
50 |
Correct |
67 ms |
29888 KB |
Correct |
51 |
Correct |
39 ms |
29376 KB |
Correct |
52 |
Correct |
37 ms |
28864 KB |
Correct |
53 |
Correct |
65 ms |
33988 KB |
Correct |
54 |
Correct |
33 ms |
24516 KB |
Correct |
55 |
Correct |
53 ms |
29124 KB |
Correct |
56 |
Correct |
41 ms |
20424 KB |
Correct |
57 |
Correct |
2 ms |
3536 KB |
Correct |
58 |
Correct |
0 ms |
344 KB |
Correct |
59 |
Correct |
4 ms |
1372 KB |
Correct |
60 |
Correct |
5 ms |
1372 KB |
Correct |
61 |
Correct |
3 ms |
1628 KB |
Correct |
62 |
Correct |
3 ms |
1628 KB |
Correct |
63 |
Correct |
2 ms |
1884 KB |
Correct |
64 |
Correct |
2 ms |
1628 KB |
Correct |
65 |
Correct |
3 ms |
1372 KB |
Correct |
66 |
Correct |
3 ms |
1096 KB |
Correct |
67 |
Correct |
4 ms |
1628 KB |
Correct |
68 |
Correct |
2 ms |
1372 KB |
Correct |
69 |
Correct |
2 ms |
1888 KB |
Correct |
70 |
Correct |
2 ms |
1884 KB |
Correct |
71 |
Correct |
2 ms |
1884 KB |
Correct |
72 |
Correct |
0 ms |
348 KB |
Correct |
73 |
Correct |
3 ms |
1372 KB |
Correct |
74 |
Correct |
3 ms |
1372 KB |
Correct |
75 |
Correct |
3 ms |
1368 KB |
Correct |
76 |
Correct |
3 ms |
1624 KB |
Correct |
77 |
Correct |
3 ms |
1880 KB |
Correct |
78 |
Correct |
3 ms |
1720 KB |
Correct |
79 |
Correct |
3 ms |
1372 KB |
Correct |
80 |
Correct |
3 ms |
1116 KB |
Correct |
81 |
Correct |
3 ms |
1628 KB |
Correct |
82 |
Correct |
2 ms |
1372 KB |
Correct |
83 |
Correct |
3 ms |
1884 KB |
Correct |
84 |
Correct |
2 ms |
1884 KB |
Correct |
85 |
Correct |
2 ms |
1628 KB |
Correct |
86 |
Correct |
3 ms |
1440 KB |
Correct |
87 |
Correct |
3 ms |
1884 KB |
Correct |
88 |
Correct |
4 ms |
1624 KB |
Correct |
89 |
Correct |
3 ms |
1684 KB |
Correct |
90 |
Correct |
0 ms |
348 KB |
Correct |
91 |
Correct |
3 ms |
1372 KB |
Correct |
92 |
Correct |
3 ms |
1372 KB |
Correct |
93 |
Correct |
2 ms |
1372 KB |
Correct |
94 |
Correct |
2 ms |
1624 KB |
Correct |
95 |
Correct |
2 ms |
1884 KB |
Correct |
96 |
Correct |
2 ms |
1628 KB |
Correct |
97 |
Correct |
3 ms |
1368 KB |
Correct |
98 |
Correct |
2 ms |
1216 KB |
Correct |
99 |
Correct |
2 ms |
1580 KB |
Correct |
100 |
Correct |
2 ms |
1372 KB |
Correct |
101 |
Correct |
2 ms |
1884 KB |
Correct |
102 |
Correct |
3 ms |
1840 KB |
Correct |
103 |
Correct |
2 ms |
1884 KB |
Correct |
104 |
Correct |
3 ms |
1372 KB |
Correct |
105 |
Correct |
5 ms |
1884 KB |
Correct |
106 |
Correct |
4 ms |
1628 KB |
Correct |
107 |
Correct |
3 ms |
1628 KB |
Correct |
108 |
Correct |
0 ms |
348 KB |
Correct |
109 |
Correct |
0 ms |
348 KB |
Correct |
110 |
Correct |
0 ms |
348 KB |
Correct |
111 |
Correct |
0 ms |
348 KB |
Correct |
112 |
Correct |
0 ms |
376 KB |
Correct |
113 |
Correct |
0 ms |
348 KB |
Correct |
114 |
Correct |
0 ms |
348 KB |
Correct |
115 |
Correct |
67 ms |
7940 KB |
Correct |
116 |
Correct |
843 ms |
8684 KB |
Correct |
117 |
Correct |
6 ms |
2276 KB |
Correct |
118 |
Correct |
9 ms |
5676 KB |
Correct |
119 |
Correct |
80 ms |
28864 KB |
Correct |
120 |
Correct |
63 ms |
29260 KB |
Correct |
121 |
Correct |
43 ms |
24880 KB |
Correct |
122 |
Correct |
35 ms |
24772 KB |
Correct |
123 |
Correct |
45 ms |
29132 KB |
Correct |
124 |
Correct |
53 ms |
29192 KB |
Correct |
125 |
Correct |
54 ms |
20164 KB |
Correct |
126 |
Correct |
48 ms |
29432 KB |
Correct |
127 |
Correct |
59 ms |
29124 KB |
Correct |
128 |
Correct |
41 ms |
29380 KB |
Correct |
129 |
Correct |
59 ms |
29328 KB |
Correct |
130 |
Correct |
0 ms |
344 KB |
Correct |
131 |
Correct |
3 ms |
1372 KB |
Correct |
132 |
Correct |
4 ms |
1404 KB |
Correct |
133 |
Correct |
2 ms |
1628 KB |
Correct |
134 |
Correct |
2 ms |
1884 KB |
Correct |
135 |
Correct |
3 ms |
1884 KB |
Correct |
136 |
Correct |
5 ms |
1628 KB |
Correct |
137 |
Correct |
3 ms |
1548 KB |
Correct |
138 |
Correct |
4 ms |
1180 KB |
Correct |
139 |
Correct |
4 ms |
1628 KB |
Correct |
140 |
Correct |
2 ms |
1372 KB |
Correct |
141 |
Correct |
2 ms |
1880 KB |
Correct |
142 |
Correct |
2 ms |
1884 KB |
Correct |
143 |
Correct |
3 ms |
1884 KB |
Correct |
144 |
Correct |
218 ms |
55024 KB |
Correct |
145 |
Correct |
229 ms |
50292 KB |
Correct |
146 |
Correct |
44 ms |
9684 KB |
Correct |
147 |
Correct |
61 ms |
19508 KB |
Correct |
148 |
Correct |
201 ms |
43268 KB |
Correct |
149 |
Correct |
175 ms |
48212 KB |
Correct |
150 |
Correct |
208 ms |
55032 KB |
Correct |
151 |
Correct |
246 ms |
49272 KB |
Correct |
152 |
Correct |
185 ms |
39220 KB |
Correct |
153 |
Correct |
157 ms |
45072 KB |
Correct |
154 |
Correct |
196 ms |
51800 KB |
Correct |
155 |
Correct |
84 ms |
42624 KB |
Correct |
156 |
Correct |
84 ms |
41140 KB |
Correct |
157 |
Correct |
82 ms |
41348 KB |
Correct |
158 |
Correct |
84 ms |
41092 KB |
Correct |
159 |
Correct |
83 ms |
43400 KB |
Correct |
160 |
Correct |
96 ms |
44636 KB |
Correct |
161 |
Correct |
87 ms |
41856 KB |
Correct |
162 |
Correct |
92 ms |
47748 KB |
Correct |
163 |
Correct |
107 ms |
31932 KB |
Correct |
164 |
Correct |
105 ms |
33916 KB |
Correct |
165 |
Correct |
51 ms |
28100 KB |
Correct |
166 |
Correct |
51 ms |
28116 KB |
Correct |
167 |
Correct |
66 ms |
24772 KB |
Correct |
168 |
Correct |
31 ms |
24768 KB |
Correct |
169 |
Correct |
41 ms |
27840 KB |
Correct |
170 |
Correct |
66 ms |
29340 KB |
Correct |
171 |
Correct |
47 ms |
20528 KB |
Correct |
172 |
Correct |
46 ms |
29384 KB |
Correct |
173 |
Correct |
45 ms |
28868 KB |
Correct |
174 |
Correct |
37 ms |
28720 KB |
Correct |
175 |
Correct |
38 ms |
29132 KB |
Correct |
176 |
Correct |
0 ms |
348 KB |
Correct |
177 |
Correct |
3 ms |
1500 KB |
Correct |
178 |
Correct |
3 ms |
1368 KB |
Correct |
179 |
Correct |
2 ms |
1492 KB |
Correct |
180 |
Correct |
2 ms |
1744 KB |
Correct |
181 |
Correct |
3 ms |
1732 KB |
Correct |
182 |
Correct |
3 ms |
1628 KB |
Correct |
183 |
Correct |
4 ms |
1548 KB |
Correct |
184 |
Correct |
3 ms |
1116 KB |
Correct |
185 |
Correct |
3 ms |
1640 KB |
Correct |
186 |
Correct |
2 ms |
1372 KB |
Correct |
187 |
Correct |
2 ms |
1884 KB |
Correct |
188 |
Correct |
2 ms |
1884 KB |
Correct |
189 |
Correct |
2 ms |
1700 KB |
Correct |
190 |
Correct |
195 ms |
53652 KB |
Correct |
191 |
Correct |
247 ms |
49936 KB |
Correct |
192 |
Correct |
49 ms |
9732 KB |
Correct |
193 |
Correct |
61 ms |
19548 KB |
Correct |
194 |
Correct |
209 ms |
42980 KB |
Correct |
195 |
Correct |
173 ms |
48940 KB |
Correct |
196 |
Correct |
207 ms |
57300 KB |
Correct |
197 |
Correct |
230 ms |
49348 KB |
Correct |
198 |
Correct |
189 ms |
39472 KB |
Correct |
199 |
Correct |
184 ms |
45584 KB |
Correct |
200 |
Correct |
200 ms |
49056 KB |
Correct |
201 |
Correct |
87 ms |
41348 KB |
Correct |
202 |
Correct |
82 ms |
42112 KB |
Correct |
203 |
Correct |
86 ms |
41652 KB |
Correct |
204 |
Correct |
89 ms |
40256 KB |
Correct |
205 |
Correct |
126 ms |
43128 KB |
Correct |
206 |
Correct |
93 ms |
45932 KB |
Correct |
207 |
Correct |
97 ms |
43760 KB |
Correct |
208 |
Correct |
91 ms |
50312 KB |
Correct |
209 |
Correct |
101 ms |
34656 KB |
Correct |
210 |
Correct |
115 ms |
36816 KB |
Correct |
211 |
Correct |
56 ms |
32796 KB |
Correct |
212 |
Correct |
34 ms |
24036 KB |
Correct |
213 |
Correct |
70 ms |
28972 KB |
Correct |
214 |
Correct |
5 ms |
1368 KB |
Correct |
215 |
Correct |
3 ms |
1884 KB |
Correct |
216 |
Correct |
3 ms |
1628 KB |
Correct |
217 |
Correct |
3 ms |
1628 KB |
Correct |
218 |
Correct |
223 ms |
62784 KB |
Correct |
219 |
Correct |
249 ms |
51060 KB |
Correct |
220 |
Correct |
28 ms |
10452 KB |
Correct |
221 |
Correct |
222 ms |
61312 KB |
Correct |
222 |
Correct |
246 ms |
64180 KB |
Correct |
223 |
Correct |
237 ms |
56124 KB |
Correct |
224 |
Correct |
213 ms |
58292 KB |
Correct |
225 |
Correct |
51 ms |
29376 KB |
Correct |
226 |
Correct |
50 ms |
29364 KB |
Correct |
227 |
Correct |
50 ms |
24780 KB |
Correct |
228 |
Correct |
30 ms |
24780 KB |
Correct |
229 |
Correct |
43 ms |
29120 KB |
Correct |
230 |
Correct |
52 ms |
29340 KB |
Correct |
231 |
Correct |
45 ms |
20320 KB |
Correct |
232 |
Correct |
54 ms |
28356 KB |
Correct |
233 |
Correct |
57 ms |
29868 KB |
Correct |
234 |
Correct |
39 ms |
29376 KB |
Correct |
235 |
Correct |
63 ms |
29380 KB |
Correct |
236 |
Correct |
0 ms |
348 KB |
Correct |
237 |
Correct |
3 ms |
1496 KB |
Correct |
238 |
Correct |
5 ms |
1372 KB |
Correct |
239 |
Correct |
2 ms |
1628 KB |
Correct |
240 |
Correct |
3 ms |
1628 KB |
Correct |
241 |
Correct |
2 ms |
1884 KB |
Correct |
242 |
Correct |
2 ms |
1628 KB |
Correct |
243 |
Correct |
3 ms |
1548 KB |
Correct |
244 |
Correct |
3 ms |
1116 KB |
Correct |
245 |
Correct |
3 ms |
1564 KB |
Correct |
246 |
Correct |
2 ms |
1372 KB |
Correct |
247 |
Correct |
2 ms |
1884 KB |
Correct |
248 |
Correct |
3 ms |
1884 KB |
Correct |
249 |
Correct |
2 ms |
1884 KB |
Correct |
250 |
Correct |
207 ms |
53944 KB |
Correct |
251 |
Correct |
229 ms |
50292 KB |
Correct |
252 |
Correct |
46 ms |
9612 KB |
Correct |
253 |
Correct |
63 ms |
18660 KB |
Correct |
254 |
Correct |
210 ms |
41440 KB |
Correct |
255 |
Correct |
176 ms |
46284 KB |
Correct |
256 |
Correct |
225 ms |
54652 KB |
Correct |
257 |
Correct |
254 ms |
47788 KB |
Correct |
258 |
Correct |
181 ms |
38484 KB |
Correct |
259 |
Correct |
172 ms |
44248 KB |
Correct |
260 |
Correct |
200 ms |
49324 KB |
Correct |
261 |
Correct |
125 ms |
42084 KB |
Correct |
262 |
Correct |
91 ms |
41032 KB |
Correct |
263 |
Correct |
85 ms |
41140 KB |
Correct |
264 |
Correct |
88 ms |
41092 KB |
Correct |
265 |
Correct |
114 ms |
42376 KB |
Correct |
266 |
Correct |
93 ms |
42924 KB |
Correct |
267 |
Correct |
93 ms |
42880 KB |
Correct |
268 |
Correct |
144 ms |
49536 KB |
Correct |
269 |
Correct |
102 ms |
32272 KB |
Correct |
270 |
Correct |
117 ms |
36264 KB |
Correct |
271 |
Correct |
63 ms |
33824 KB |
Correct |
272 |
Correct |
36 ms |
24576 KB |
Correct |
273 |
Correct |
61 ms |
29132 KB |
Correct |
274 |
Correct |
4 ms |
1368 KB |
Correct |
275 |
Correct |
4 ms |
1868 KB |
Correct |
276 |
Correct |
3 ms |
1628 KB |
Correct |
277 |
Correct |
3 ms |
1628 KB |
Correct |
278 |
Correct |
256 ms |
64596 KB |
Correct |
279 |
Correct |
248 ms |
52868 KB |
Correct |
280 |
Correct |
43 ms |
10740 KB |
Correct |
281 |
Correct |
258 ms |
65068 KB |
Correct |
282 |
Correct |
253 ms |
64492 KB |
Correct |
283 |
Correct |
246 ms |
56436 KB |
Correct |
284 |
Correct |
241 ms |
58292 KB |
Correct |
285 |
Correct |
0 ms |
348 KB |
Correct |
286 |
Correct |
0 ms |
348 KB |
Correct |
287 |
Correct |
0 ms |
348 KB |
Correct |
288 |
Correct |
0 ms |
348 KB |
Correct |
289 |
Correct |
0 ms |
348 KB |
Correct |
290 |
Correct |
0 ms |
348 KB |
Correct |
291 |
Correct |
0 ms |
456 KB |
Correct |
292 |
Correct |
39 ms |
20524 KB |
Correct |
293 |
Correct |
3 ms |
3420 KB |
Correct |
294 |
Correct |
77 ms |
7932 KB |
Correct |
295 |
Correct |
865 ms |
8800 KB |
Correct |
296 |
Correct |
6 ms |
2324 KB |
Correct |
297 |
Correct |
9 ms |
5772 KB |
Correct |
298 |
Correct |
270 ms |
68820 KB |
Correct |
299 |
Correct |
339 ms |
51064 KB |
Correct |
300 |
Correct |
242 ms |
47996 KB |
Correct |
301 |
Correct |
245 ms |
52040 KB |
Correct |
302 |
Correct |
233 ms |
48484 KB |
Correct |
303 |
Correct |
233 ms |
65384 KB |
Correct |
304 |
Correct |
278 ms |
71020 KB |
Correct |
305 |
Correct |
278 ms |
72040 KB |
Correct |
306 |
Correct |
293 ms |
68536 KB |
Correct |
307 |
Correct |
198 ms |
57648 KB |
Correct |