Submission #842984

# Submission time Handle Problem Language Result Execution time Memory
842984 2023-09-03T14:10:47 Z I_love_Hoang_Yen Closing Time (IOI23_closing) C++17
83 / 100
612 ms 144756 KB
#include "closing.h"
#include <bits/stdc++.h>
using namespace std;
 
using ll = long long;
using Graph = vector<vector<pair<int,ll>>>;
 
void dfs(int u, int fu, const Graph& g, vector<ll>& dists, vector<int>& trace) {
    for (auto [v, w] : g[u]) {
        if (v == fu) continue;
        assert(dists[v] < 0);
 
        dists[v] = dists[u] + w;
        trace[v] = u;
        dfs(v, u, g, dists, trace);
    }
}
 
pair<vector<ll>, vector<int>> get_dists(int u, const Graph& g) {
    int n = g.size();
    vector<ll> dists(n, -1);
    vector<int> trace(n, -1);
    dists[u] = 0;
 
    dfs(u, -1, g, dists, trace);
    return {dists, trace};
}
 
int no_common(ll k, const vector<ll>& dx, const vector<ll>& dy) {
    vector<ll> all;
    for (auto d : dx) all.push_back(d);
    for (auto d : dy) all.push_back(d);
    sort(all.begin(), all.end());
    int cnt = 0;
    for (auto d : all) {
        if (d <= k) {
            k -= d;
            ++cnt;
        } else break;
    }
    return cnt;
}

ll f[3011][6011];
void upMin(ll& f, ll val) {
    if (val < f) f = val;
}

int sum_n = 0;
// N <= 3000
int sub8(int n, ll k,
        const vector<ll>& dx, const vector<ll>& dy,
        const vector<bool>& on_path) {
    int res = no_common(k, dx, dy);

    sum_n += n;
    if (sum_n <= 3000) {
        memset(f, 0x7f, sizeof f);
        f[0][0] = 0;
        for (int i = 0; i < n; ++i) {
            if (on_path[i]) {
                for (int j = 0; j <= 2*i; ++j) {
                    upMin(f[i+1][j+1], f[i][j] + min(dx[i], dy[i]));
                    upMin(f[i+1][j+2], f[i][j] + max(dx[i], dy[i]));
                }
            } else {
                for (int j = 0; j <= 2*i; ++j) {
                    f[i+1][j] = min(f[i+1][j], f[i][j]);
                    upMin(f[i+1][j+1], f[i][j] + min(dx[i], dy[i]));
                    upMin(f[i+1][j+2], f[i][j] + max(dx[i], dy[i]));
                }
            }
        }
        for (int j = 0; j <= 2*n; ++j) {
            if (f[n][j] <= k) res = max(res, j);
        }
    }
    return res;
}
 
int max_score(int n, int X, int Y, long long K,
              vector<int> U, vector<int> V, vector<int> W) {
    Graph g(n);
    assert(int(U.size()) == n-1);
    assert(int(V.size()) == n-1);
    assert(int(W.size()) == n-1);
    for (int i = 0; i < n - 1; i++) {
        int u = U[i];
        int v = V[i];
        int w = W[i];
        g[u].emplace_back(v, w);
        g[v].emplace_back(u, w);
    }
    if (X > Y) swap(X, Y);
 
    auto [distsX, traceX] = get_dists(X, g);
    auto [distsY, traceY] = get_dists(Y, g);
    vector<bool> on_path(n, false);
    int cur = Y;
    while (cur != X) {
        on_path[cur] = true;
        cur = traceX[cur];
    }
    on_path[X] = true;
    
    return sub8(n, K, distsX, distsY, on_path);
}
# Verdict Execution time Memory Grader output
1 Correct 25 ms 141912 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 161 ms 37812 KB Output is correct
2 Correct 139 ms 43556 KB Output is correct
3 Correct 114 ms 144464 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 18 ms 141912 KB Output is correct
2 Correct 17 ms 141912 KB Output is correct
3 Correct 16 ms 141916 KB Output is correct
4 Correct 16 ms 141912 KB Output is correct
5 Correct 16 ms 141912 KB Output is correct
6 Correct 16 ms 141912 KB Output is correct
7 Correct 16 ms 141912 KB Output is correct
8 Correct 16 ms 141912 KB Output is correct
9 Correct 16 ms 141912 KB Output is correct
10 Correct 16 ms 141912 KB Output is correct
11 Correct 17 ms 142168 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 18 ms 141912 KB Output is correct
2 Correct 17 ms 141912 KB Output is correct
3 Correct 16 ms 141916 KB Output is correct
4 Correct 16 ms 141912 KB Output is correct
5 Correct 16 ms 141912 KB Output is correct
6 Correct 16 ms 141912 KB Output is correct
7 Correct 16 ms 141912 KB Output is correct
8 Correct 16 ms 141912 KB Output is correct
9 Correct 16 ms 141912 KB Output is correct
10 Correct 16 ms 141912 KB Output is correct
11 Correct 17 ms 142168 KB Output is correct
12 Correct 17 ms 141912 KB Output is correct
13 Correct 16 ms 141916 KB Output is correct
14 Correct 16 ms 141912 KB Output is correct
15 Correct 18 ms 141912 KB Output is correct
16 Correct 16 ms 141912 KB Output is correct
17 Correct 16 ms 141908 KB Output is correct
18 Correct 232 ms 142092 KB Output is correct
19 Correct 17 ms 142184 KB Output is correct
20 Correct 17 ms 142168 KB Output is correct
21 Correct 17 ms 142172 KB Output is correct
22 Correct 17 ms 142168 KB Output is correct
23 Correct 17 ms 142168 KB Output is correct
24 Correct 17 ms 142168 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 18 ms 141912 KB Output is correct
2 Correct 17 ms 141912 KB Output is correct
3 Correct 16 ms 141916 KB Output is correct
4 Correct 16 ms 141912 KB Output is correct
5 Correct 16 ms 141912 KB Output is correct
6 Correct 16 ms 141912 KB Output is correct
7 Correct 16 ms 141912 KB Output is correct
8 Correct 16 ms 141912 KB Output is correct
9 Correct 16 ms 141912 KB Output is correct
10 Correct 16 ms 141912 KB Output is correct
11 Correct 17 ms 142168 KB Output is correct
12 Correct 17 ms 141912 KB Output is correct
13 Correct 16 ms 141916 KB Output is correct
14 Correct 16 ms 141912 KB Output is correct
15 Correct 18 ms 141912 KB Output is correct
16 Correct 16 ms 141912 KB Output is correct
17 Correct 16 ms 141908 KB Output is correct
18 Correct 232 ms 142092 KB Output is correct
19 Correct 17 ms 142184 KB Output is correct
20 Correct 17 ms 142168 KB Output is correct
21 Correct 17 ms 142172 KB Output is correct
22 Correct 17 ms 142168 KB Output is correct
23 Correct 17 ms 142168 KB Output is correct
24 Correct 17 ms 142168 KB Output is correct
25 Correct 553 ms 142128 KB Output is correct
26 Correct 34 ms 142680 KB Output is correct
27 Correct 31 ms 142684 KB Output is correct
28 Correct 28 ms 142680 KB Output is correct
29 Correct 31 ms 142680 KB Output is correct
30 Correct 31 ms 142684 KB Output is correct
31 Correct 32 ms 142680 KB Output is correct
32 Correct 31 ms 142784 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 25 ms 141912 KB Output is correct
2 Correct 18 ms 141912 KB Output is correct
3 Correct 17 ms 141912 KB Output is correct
4 Correct 16 ms 141916 KB Output is correct
5 Correct 16 ms 141912 KB Output is correct
6 Correct 16 ms 141912 KB Output is correct
7 Correct 16 ms 141912 KB Output is correct
8 Correct 16 ms 141912 KB Output is correct
9 Correct 16 ms 141912 KB Output is correct
10 Correct 16 ms 141912 KB Output is correct
11 Correct 16 ms 141912 KB Output is correct
12 Correct 17 ms 141912 KB Output is correct
13 Correct 16 ms 141916 KB Output is correct
14 Correct 17 ms 141920 KB Output is correct
15 Correct 16 ms 142112 KB Output is correct
16 Correct 16 ms 141916 KB Output is correct
17 Correct 16 ms 141912 KB Output is correct
18 Correct 16 ms 141912 KB Output is correct
19 Correct 16 ms 141912 KB Output is correct
20 Correct 16 ms 141912 KB Output is correct
21 Correct 16 ms 141912 KB Output is correct
22 Correct 16 ms 142096 KB Output is correct
23 Correct 16 ms 141916 KB Output is correct
24 Correct 16 ms 141912 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 25 ms 141912 KB Output is correct
2 Correct 18 ms 141912 KB Output is correct
3 Correct 17 ms 141912 KB Output is correct
4 Correct 16 ms 141916 KB Output is correct
5 Correct 16 ms 141912 KB Output is correct
6 Correct 16 ms 141912 KB Output is correct
7 Correct 16 ms 141912 KB Output is correct
8 Correct 16 ms 141912 KB Output is correct
9 Correct 16 ms 141912 KB Output is correct
10 Correct 16 ms 141912 KB Output is correct
11 Correct 16 ms 141912 KB Output is correct
12 Correct 17 ms 142168 KB Output is correct
13 Correct 17 ms 141912 KB Output is correct
14 Correct 16 ms 141916 KB Output is correct
15 Correct 16 ms 141912 KB Output is correct
16 Correct 18 ms 141912 KB Output is correct
17 Correct 16 ms 141912 KB Output is correct
18 Correct 16 ms 141908 KB Output is correct
19 Correct 16 ms 141912 KB Output is correct
20 Correct 16 ms 141912 KB Output is correct
21 Correct 16 ms 141912 KB Output is correct
22 Correct 16 ms 141912 KB Output is correct
23 Correct 16 ms 141912 KB Output is correct
24 Correct 17 ms 141912 KB Output is correct
25 Correct 16 ms 141916 KB Output is correct
26 Correct 17 ms 141920 KB Output is correct
27 Correct 16 ms 142112 KB Output is correct
28 Correct 16 ms 141916 KB Output is correct
29 Correct 16 ms 141912 KB Output is correct
30 Correct 16 ms 141912 KB Output is correct
31 Correct 16 ms 141912 KB Output is correct
32 Correct 16 ms 141912 KB Output is correct
33 Correct 16 ms 141912 KB Output is correct
34 Correct 16 ms 142096 KB Output is correct
35 Correct 16 ms 141916 KB Output is correct
36 Correct 16 ms 141912 KB Output is correct
37 Correct 55 ms 142084 KB Output is correct
38 Correct 28 ms 141912 KB Output is correct
39 Correct 16 ms 141912 KB Output is correct
40 Correct 17 ms 141912 KB Output is correct
41 Correct 16 ms 142168 KB Output is correct
42 Correct 16 ms 141912 KB Output is correct
43 Correct 16 ms 141912 KB Output is correct
44 Correct 17 ms 141904 KB Output is correct
45 Correct 17 ms 142096 KB Output is correct
46 Correct 16 ms 141916 KB Output is correct
47 Correct 16 ms 141912 KB Output is correct
48 Correct 16 ms 142084 KB Output is correct
49 Correct 26 ms 142100 KB Output is correct
50 Correct 55 ms 141920 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 25 ms 141912 KB Output is correct
2 Correct 18 ms 141912 KB Output is correct
3 Correct 17 ms 141912 KB Output is correct
4 Correct 16 ms 141916 KB Output is correct
5 Correct 16 ms 141912 KB Output is correct
6 Correct 16 ms 141912 KB Output is correct
7 Correct 16 ms 141912 KB Output is correct
8 Correct 16 ms 141912 KB Output is correct
9 Correct 16 ms 141912 KB Output is correct
10 Correct 16 ms 141912 KB Output is correct
11 Correct 16 ms 141912 KB Output is correct
12 Correct 17 ms 142168 KB Output is correct
13 Correct 17 ms 141912 KB Output is correct
14 Correct 16 ms 141916 KB Output is correct
15 Correct 16 ms 141912 KB Output is correct
16 Correct 18 ms 141912 KB Output is correct
17 Correct 16 ms 141912 KB Output is correct
18 Correct 16 ms 141908 KB Output is correct
19 Correct 232 ms 142092 KB Output is correct
20 Correct 17 ms 142184 KB Output is correct
21 Correct 17 ms 142168 KB Output is correct
22 Correct 17 ms 142172 KB Output is correct
23 Correct 17 ms 142168 KB Output is correct
24 Correct 17 ms 142168 KB Output is correct
25 Correct 17 ms 142168 KB Output is correct
26 Correct 16 ms 141912 KB Output is correct
27 Correct 16 ms 141912 KB Output is correct
28 Correct 16 ms 141912 KB Output is correct
29 Correct 16 ms 141912 KB Output is correct
30 Correct 16 ms 141912 KB Output is correct
31 Correct 17 ms 141912 KB Output is correct
32 Correct 16 ms 141916 KB Output is correct
33 Correct 17 ms 141920 KB Output is correct
34 Correct 16 ms 142112 KB Output is correct
35 Correct 16 ms 141916 KB Output is correct
36 Correct 16 ms 141912 KB Output is correct
37 Correct 16 ms 141912 KB Output is correct
38 Correct 16 ms 141912 KB Output is correct
39 Correct 16 ms 141912 KB Output is correct
40 Correct 16 ms 141912 KB Output is correct
41 Correct 16 ms 142096 KB Output is correct
42 Correct 16 ms 141916 KB Output is correct
43 Correct 16 ms 141912 KB Output is correct
44 Correct 55 ms 142084 KB Output is correct
45 Correct 28 ms 141912 KB Output is correct
46 Correct 16 ms 141912 KB Output is correct
47 Correct 17 ms 141912 KB Output is correct
48 Correct 16 ms 142168 KB Output is correct
49 Correct 16 ms 141912 KB Output is correct
50 Correct 16 ms 141912 KB Output is correct
51 Correct 17 ms 141904 KB Output is correct
52 Correct 17 ms 142096 KB Output is correct
53 Correct 16 ms 141916 KB Output is correct
54 Correct 16 ms 141912 KB Output is correct
55 Correct 16 ms 142084 KB Output is correct
56 Correct 26 ms 142100 KB Output is correct
57 Correct 55 ms 141920 KB Output is correct
58 Correct 173 ms 142100 KB Output is correct
59 Correct 61 ms 142100 KB Output is correct
60 Correct 54 ms 141912 KB Output is correct
61 Correct 37 ms 141916 KB Output is correct
62 Correct 37 ms 142168 KB Output is correct
63 Correct 17 ms 142168 KB Output is correct
64 Correct 17 ms 142168 KB Output is correct
65 Correct 17 ms 142168 KB Output is correct
66 Correct 16 ms 142168 KB Output is correct
67 Correct 17 ms 142168 KB Output is correct
68 Correct 17 ms 142172 KB Output is correct
69 Correct 17 ms 142168 KB Output is correct
70 Correct 18 ms 142168 KB Output is correct
71 Correct 17 ms 142168 KB Output is correct
72 Correct 17 ms 142168 KB Output is correct
73 Correct 35 ms 141916 KB Output is correct
74 Correct 35 ms 142168 KB Output is correct
75 Correct 72 ms 141912 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 25 ms 141912 KB Output is correct
2 Correct 18 ms 141912 KB Output is correct
3 Correct 17 ms 141912 KB Output is correct
4 Correct 16 ms 141916 KB Output is correct
5 Correct 16 ms 141912 KB Output is correct
6 Correct 16 ms 141912 KB Output is correct
7 Correct 16 ms 141912 KB Output is correct
8 Correct 16 ms 141912 KB Output is correct
9 Correct 16 ms 141912 KB Output is correct
10 Correct 16 ms 141912 KB Output is correct
11 Correct 16 ms 141912 KB Output is correct
12 Correct 17 ms 142168 KB Output is correct
13 Correct 17 ms 141912 KB Output is correct
14 Correct 16 ms 141916 KB Output is correct
15 Correct 16 ms 141912 KB Output is correct
16 Correct 18 ms 141912 KB Output is correct
17 Correct 16 ms 141912 KB Output is correct
18 Correct 16 ms 141908 KB Output is correct
19 Correct 232 ms 142092 KB Output is correct
20 Correct 17 ms 142184 KB Output is correct
21 Correct 17 ms 142168 KB Output is correct
22 Correct 17 ms 142172 KB Output is correct
23 Correct 17 ms 142168 KB Output is correct
24 Correct 17 ms 142168 KB Output is correct
25 Correct 17 ms 142168 KB Output is correct
26 Correct 553 ms 142128 KB Output is correct
27 Correct 34 ms 142680 KB Output is correct
28 Correct 31 ms 142684 KB Output is correct
29 Correct 28 ms 142680 KB Output is correct
30 Correct 31 ms 142680 KB Output is correct
31 Correct 31 ms 142684 KB Output is correct
32 Correct 32 ms 142680 KB Output is correct
33 Correct 31 ms 142784 KB Output is correct
34 Correct 16 ms 141912 KB Output is correct
35 Correct 16 ms 141912 KB Output is correct
36 Correct 16 ms 141912 KB Output is correct
37 Correct 16 ms 141912 KB Output is correct
38 Correct 16 ms 141912 KB Output is correct
39 Correct 17 ms 141912 KB Output is correct
40 Correct 16 ms 141916 KB Output is correct
41 Correct 17 ms 141920 KB Output is correct
42 Correct 16 ms 142112 KB Output is correct
43 Correct 16 ms 141916 KB Output is correct
44 Correct 16 ms 141912 KB Output is correct
45 Correct 16 ms 141912 KB Output is correct
46 Correct 16 ms 141912 KB Output is correct
47 Correct 16 ms 141912 KB Output is correct
48 Correct 16 ms 141912 KB Output is correct
49 Correct 16 ms 142096 KB Output is correct
50 Correct 16 ms 141916 KB Output is correct
51 Correct 16 ms 141912 KB Output is correct
52 Correct 55 ms 142084 KB Output is correct
53 Correct 28 ms 141912 KB Output is correct
54 Correct 16 ms 141912 KB Output is correct
55 Correct 17 ms 141912 KB Output is correct
56 Correct 16 ms 142168 KB Output is correct
57 Correct 16 ms 141912 KB Output is correct
58 Correct 16 ms 141912 KB Output is correct
59 Correct 17 ms 141904 KB Output is correct
60 Correct 17 ms 142096 KB Output is correct
61 Correct 16 ms 141916 KB Output is correct
62 Correct 16 ms 141912 KB Output is correct
63 Correct 16 ms 142084 KB Output is correct
64 Correct 26 ms 142100 KB Output is correct
65 Correct 55 ms 141920 KB Output is correct
66 Correct 173 ms 142100 KB Output is correct
67 Correct 61 ms 142100 KB Output is correct
68 Correct 54 ms 141912 KB Output is correct
69 Correct 37 ms 141916 KB Output is correct
70 Correct 37 ms 142168 KB Output is correct
71 Correct 17 ms 142168 KB Output is correct
72 Correct 17 ms 142168 KB Output is correct
73 Correct 17 ms 142168 KB Output is correct
74 Correct 16 ms 142168 KB Output is correct
75 Correct 17 ms 142168 KB Output is correct
76 Correct 17 ms 142172 KB Output is correct
77 Correct 17 ms 142168 KB Output is correct
78 Correct 18 ms 142168 KB Output is correct
79 Correct 17 ms 142168 KB Output is correct
80 Correct 17 ms 142168 KB Output is correct
81 Correct 35 ms 141916 KB Output is correct
82 Correct 35 ms 142168 KB Output is correct
83 Correct 72 ms 141912 KB Output is correct
84 Correct 612 ms 142400 KB Output is correct
85 Correct 110 ms 142168 KB Output is correct
86 Correct 275 ms 142144 KB Output is correct
87 Correct 194 ms 141912 KB Output is correct
88 Correct 195 ms 142060 KB Output is correct
89 Correct 38 ms 142424 KB Output is correct
90 Correct 35 ms 142520 KB Output is correct
91 Correct 35 ms 142424 KB Output is correct
92 Correct 35 ms 142672 KB Output is correct
93 Correct 31 ms 142424 KB Output is correct
94 Correct 33 ms 142684 KB Output is correct
95 Correct 31 ms 142680 KB Output is correct
96 Correct 34 ms 142416 KB Output is correct
97 Correct 36 ms 142680 KB Output is correct
98 Correct 32 ms 142424 KB Output is correct
99 Correct 34 ms 142424 KB Output is correct
100 Correct 62 ms 142424 KB Output is correct
101 Correct 103 ms 142196 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 25 ms 141912 KB Output is correct
2 Correct 18 ms 141912 KB Output is correct
3 Correct 17 ms 141912 KB Output is correct
4 Correct 16 ms 141916 KB Output is correct
5 Correct 16 ms 141912 KB Output is correct
6 Correct 16 ms 141912 KB Output is correct
7 Correct 16 ms 141912 KB Output is correct
8 Correct 16 ms 141912 KB Output is correct
9 Correct 16 ms 141912 KB Output is correct
10 Correct 16 ms 141912 KB Output is correct
11 Correct 16 ms 141912 KB Output is correct
12 Correct 17 ms 142168 KB Output is correct
13 Correct 17 ms 141912 KB Output is correct
14 Correct 16 ms 141916 KB Output is correct
15 Correct 16 ms 141912 KB Output is correct
16 Correct 18 ms 141912 KB Output is correct
17 Correct 16 ms 141912 KB Output is correct
18 Correct 16 ms 141908 KB Output is correct
19 Correct 232 ms 142092 KB Output is correct
20 Correct 17 ms 142184 KB Output is correct
21 Correct 17 ms 142168 KB Output is correct
22 Correct 17 ms 142172 KB Output is correct
23 Correct 17 ms 142168 KB Output is correct
24 Correct 17 ms 142168 KB Output is correct
25 Correct 17 ms 142168 KB Output is correct
26 Correct 553 ms 142128 KB Output is correct
27 Correct 34 ms 142680 KB Output is correct
28 Correct 31 ms 142684 KB Output is correct
29 Correct 28 ms 142680 KB Output is correct
30 Correct 31 ms 142680 KB Output is correct
31 Correct 31 ms 142684 KB Output is correct
32 Correct 32 ms 142680 KB Output is correct
33 Correct 31 ms 142784 KB Output is correct
34 Correct 16 ms 141912 KB Output is correct
35 Correct 16 ms 141912 KB Output is correct
36 Correct 16 ms 141912 KB Output is correct
37 Correct 16 ms 141912 KB Output is correct
38 Correct 16 ms 141912 KB Output is correct
39 Correct 17 ms 141912 KB Output is correct
40 Correct 16 ms 141916 KB Output is correct
41 Correct 17 ms 141920 KB Output is correct
42 Correct 16 ms 142112 KB Output is correct
43 Correct 16 ms 141916 KB Output is correct
44 Correct 16 ms 141912 KB Output is correct
45 Correct 16 ms 141912 KB Output is correct
46 Correct 16 ms 141912 KB Output is correct
47 Correct 16 ms 141912 KB Output is correct
48 Correct 16 ms 141912 KB Output is correct
49 Correct 16 ms 142096 KB Output is correct
50 Correct 16 ms 141916 KB Output is correct
51 Correct 16 ms 141912 KB Output is correct
52 Correct 55 ms 142084 KB Output is correct
53 Correct 28 ms 141912 KB Output is correct
54 Correct 16 ms 141912 KB Output is correct
55 Correct 17 ms 141912 KB Output is correct
56 Correct 16 ms 142168 KB Output is correct
57 Correct 16 ms 141912 KB Output is correct
58 Correct 16 ms 141912 KB Output is correct
59 Correct 17 ms 141904 KB Output is correct
60 Correct 17 ms 142096 KB Output is correct
61 Correct 16 ms 141916 KB Output is correct
62 Correct 16 ms 141912 KB Output is correct
63 Correct 16 ms 142084 KB Output is correct
64 Correct 26 ms 142100 KB Output is correct
65 Correct 55 ms 141920 KB Output is correct
66 Correct 173 ms 142100 KB Output is correct
67 Correct 61 ms 142100 KB Output is correct
68 Correct 54 ms 141912 KB Output is correct
69 Correct 37 ms 141916 KB Output is correct
70 Correct 37 ms 142168 KB Output is correct
71 Correct 17 ms 142168 KB Output is correct
72 Correct 17 ms 142168 KB Output is correct
73 Correct 17 ms 142168 KB Output is correct
74 Correct 16 ms 142168 KB Output is correct
75 Correct 17 ms 142168 KB Output is correct
76 Correct 17 ms 142172 KB Output is correct
77 Correct 17 ms 142168 KB Output is correct
78 Correct 18 ms 142168 KB Output is correct
79 Correct 17 ms 142168 KB Output is correct
80 Correct 17 ms 142168 KB Output is correct
81 Correct 35 ms 141916 KB Output is correct
82 Correct 35 ms 142168 KB Output is correct
83 Correct 72 ms 141912 KB Output is correct
84 Correct 612 ms 142400 KB Output is correct
85 Correct 110 ms 142168 KB Output is correct
86 Correct 275 ms 142144 KB Output is correct
87 Correct 194 ms 141912 KB Output is correct
88 Correct 195 ms 142060 KB Output is correct
89 Correct 38 ms 142424 KB Output is correct
90 Correct 35 ms 142520 KB Output is correct
91 Correct 35 ms 142424 KB Output is correct
92 Correct 35 ms 142672 KB Output is correct
93 Correct 31 ms 142424 KB Output is correct
94 Correct 33 ms 142684 KB Output is correct
95 Correct 31 ms 142680 KB Output is correct
96 Correct 34 ms 142416 KB Output is correct
97 Correct 36 ms 142680 KB Output is correct
98 Correct 32 ms 142424 KB Output is correct
99 Correct 34 ms 142424 KB Output is correct
100 Correct 62 ms 142424 KB Output is correct
101 Correct 103 ms 142196 KB Output is correct
102 Incorrect 365 ms 144756 KB 33rd lines differ - on the 1st token, expected: '134', found: '93'
103 Halted 0 ms 0 KB -