Submission #941249

# Submission time Handle Problem Language Result Execution time Memory
941249 2024-03-08T11:17:21 Z Trisanu_Das Closing Time (IOI23_closing) C++17
83 / 100
683 ms 147288 KB
#include "closing.h"

#include <bits/stdc++.h>

using namespace std;

#define ll long long

vector<pair<int, ll> > graph[200005];
ll distx[200005], disty[200005];

void dfs(int node, int parent, ll* dist)
{
    for (int i = 0; i < graph[node].size(); i++) {
        int nxt = graph[node][i].first;
        if (nxt == parent) continue;
        dist[nxt] = dist[node] + graph[node][i].second;
        dfs(nxt, node, dist);
    }
}

ll f[3005][6005];
const ll inf = 1000000000000000000LL;

int max_score(int N, int X, int Y, long long K,
              std::vector<int> U, std::vector<int> V, std::vector<int> W)
{
    for (int i = 0; i < N - 1; i++) {
        graph[U[i]].push_back(make_pair(V[i], (ll)W[i]));
        graph[V[i]].push_back(make_pair(U[i], (ll)W[i]));
    }
    dfs(X, -1, distx);
    dfs(Y, -1, disty);
    vector<ll> all_dists;
    for (int i = 0; i < N; i++) {
        all_dists.push_back(distx[i]);
        all_dists.push_back(disty[i]);
    }
    sort(all_dists.begin(), all_dists.end());
    int ans = 0;
    ll curtot = 0;
    for (int i = 0; i < 2*N; i++) {
        curtot += all_dists[i];
        if (curtot <= K) ans = i + 1;
    }
    if (N <= 3000) {
        for (int i = 0; i <= N; i++) for (int j = 0; j <= 2 * N + 3; j++) f[i][j] = inf;
        f[0][0] = 0;
        for (int i = 0; i < N; i++) {
            if (distx[i] + disty[i] == distx[Y]) {
                for (int j = 0; j <= 2 * i; j++) {
                    f[i+1][j+1] = min(f[i+1][j+1], f[i][j] + min(distx[i], disty[i]));
                    f[i+1][j+2] = min(f[i+1][j+2], f[i][j] + max(distx[i], disty[i]));
                }
            } else {
                for (int j = 0; j <= 2 * i; j++) {
                    f[i+1][j] = min(f[i+1][j], f[i][j]);
                    f[i+1][j+1] = min(f[i+1][j+1], f[i][j] + min(distx[i], disty[i]));
                    f[i+1][j+2] = min(f[i+1][j+2], f[i][j] + max(distx[i], disty[i]));
                }
            }
        }
        for (int i = 0; i <= 2 * N; i++) if (f[N][i] <= K) ans = max(ans, i);
    }
    for (int i = 0; i < N; i++) {
        graph[i].clear();
        distx[i] = disty[i] = 0;
    }
    return ans;
}

Compilation message

closing.cpp: In function 'void dfs(int, int, long long int*)':
closing.cpp:14:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   14 |     for (int i = 0; i < graph[node].size(); i++) {
      |                     ~~^~~~~~~~~~~~~~~~~~~~
# Verdict Execution time Memory Grader output
1 Correct 2 ms 7756 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 151 ms 36808 KB Output is correct
2 Correct 132 ms 44224 KB Output is correct
3 Correct 683 ms 58224 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 5724 KB Output is correct
2 Correct 2 ms 7772 KB Output is correct
3 Correct 2 ms 7772 KB Output is correct
4 Correct 2 ms 7772 KB Output is correct
5 Correct 2 ms 7748 KB Output is correct
6 Correct 3 ms 9820 KB Output is correct
7 Correct 2 ms 7772 KB Output is correct
8 Correct 2 ms 7772 KB Output is correct
9 Correct 2 ms 7772 KB Output is correct
10 Correct 2 ms 9820 KB Output is correct
11 Correct 2 ms 9816 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 5724 KB Output is correct
2 Correct 2 ms 7772 KB Output is correct
3 Correct 2 ms 7772 KB Output is correct
4 Correct 2 ms 7772 KB Output is correct
5 Correct 2 ms 7748 KB Output is correct
6 Correct 3 ms 9820 KB Output is correct
7 Correct 2 ms 7772 KB Output is correct
8 Correct 2 ms 7772 KB Output is correct
9 Correct 2 ms 7772 KB Output is correct
10 Correct 2 ms 9820 KB Output is correct
11 Correct 2 ms 9816 KB Output is correct
12 Correct 4 ms 11864 KB Output is correct
13 Correct 3 ms 11868 KB Output is correct
14 Correct 2 ms 12120 KB Output is correct
15 Correct 2 ms 11868 KB Output is correct
16 Correct 2 ms 11868 KB Output is correct
17 Correct 3 ms 11864 KB Output is correct
18 Correct 2 ms 7772 KB Output is correct
19 Correct 6 ms 30480 KB Output is correct
20 Correct 5 ms 28252 KB Output is correct
21 Correct 5 ms 28252 KB Output is correct
22 Correct 6 ms 30284 KB Output is correct
23 Correct 6 ms 30300 KB Output is correct
24 Correct 5 ms 30292 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 5724 KB Output is correct
2 Correct 2 ms 7772 KB Output is correct
3 Correct 2 ms 7772 KB Output is correct
4 Correct 2 ms 7772 KB Output is correct
5 Correct 2 ms 7748 KB Output is correct
6 Correct 3 ms 9820 KB Output is correct
7 Correct 2 ms 7772 KB Output is correct
8 Correct 2 ms 7772 KB Output is correct
9 Correct 2 ms 7772 KB Output is correct
10 Correct 2 ms 9820 KB Output is correct
11 Correct 2 ms 9816 KB Output is correct
12 Correct 4 ms 11864 KB Output is correct
13 Correct 3 ms 11868 KB Output is correct
14 Correct 2 ms 12120 KB Output is correct
15 Correct 2 ms 11868 KB Output is correct
16 Correct 2 ms 11868 KB Output is correct
17 Correct 3 ms 11864 KB Output is correct
18 Correct 2 ms 7772 KB Output is correct
19 Correct 6 ms 30480 KB Output is correct
20 Correct 5 ms 28252 KB Output is correct
21 Correct 5 ms 28252 KB Output is correct
22 Correct 6 ms 30284 KB Output is correct
23 Correct 6 ms 30300 KB Output is correct
24 Correct 5 ms 30292 KB Output is correct
25 Correct 3 ms 9816 KB Output is correct
26 Correct 69 ms 147284 KB Output is correct
27 Correct 39 ms 137564 KB Output is correct
28 Correct 34 ms 139796 KB Output is correct
29 Correct 36 ms 143964 KB Output is correct
30 Correct 39 ms 137688 KB Output is correct
31 Correct 38 ms 147288 KB Output is correct
32 Correct 36 ms 147276 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 7756 KB Output is correct
2 Correct 2 ms 5724 KB Output is correct
3 Correct 2 ms 7772 KB Output is correct
4 Correct 2 ms 7772 KB Output is correct
5 Correct 2 ms 7772 KB Output is correct
6 Correct 2 ms 7748 KB Output is correct
7 Correct 2 ms 7768 KB Output is correct
8 Correct 2 ms 7772 KB Output is correct
9 Correct 2 ms 7772 KB Output is correct
10 Correct 2 ms 7604 KB Output is correct
11 Correct 2 ms 7768 KB Output is correct
12 Correct 2 ms 7772 KB Output is correct
13 Correct 2 ms 7772 KB Output is correct
14 Correct 2 ms 7772 KB Output is correct
15 Correct 2 ms 7772 KB Output is correct
16 Correct 2 ms 7768 KB Output is correct
17 Correct 2 ms 7772 KB Output is correct
18 Correct 2 ms 7772 KB Output is correct
19 Correct 2 ms 7772 KB Output is correct
20 Correct 2 ms 7772 KB Output is correct
21 Correct 2 ms 7772 KB Output is correct
22 Correct 2 ms 8024 KB Output is correct
23 Correct 2 ms 7776 KB Output is correct
24 Correct 2 ms 7776 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 7756 KB Output is correct
2 Correct 2 ms 5724 KB Output is correct
3 Correct 2 ms 7772 KB Output is correct
4 Correct 2 ms 7772 KB Output is correct
5 Correct 2 ms 7772 KB Output is correct
6 Correct 2 ms 7748 KB Output is correct
7 Correct 3 ms 9820 KB Output is correct
8 Correct 2 ms 7772 KB Output is correct
9 Correct 2 ms 7772 KB Output is correct
10 Correct 2 ms 7772 KB Output is correct
11 Correct 2 ms 9820 KB Output is correct
12 Correct 2 ms 9816 KB Output is correct
13 Correct 4 ms 11864 KB Output is correct
14 Correct 3 ms 11868 KB Output is correct
15 Correct 2 ms 12120 KB Output is correct
16 Correct 2 ms 11868 KB Output is correct
17 Correct 2 ms 11868 KB Output is correct
18 Correct 3 ms 11864 KB Output is correct
19 Correct 2 ms 7768 KB Output is correct
20 Correct 2 ms 7772 KB Output is correct
21 Correct 2 ms 7772 KB Output is correct
22 Correct 2 ms 7604 KB Output is correct
23 Correct 2 ms 7768 KB Output is correct
24 Correct 2 ms 7772 KB Output is correct
25 Correct 2 ms 7772 KB Output is correct
26 Correct 2 ms 7772 KB Output is correct
27 Correct 2 ms 7772 KB Output is correct
28 Correct 2 ms 7768 KB Output is correct
29 Correct 2 ms 7772 KB Output is correct
30 Correct 2 ms 7772 KB Output is correct
31 Correct 2 ms 7772 KB Output is correct
32 Correct 2 ms 7772 KB Output is correct
33 Correct 2 ms 7772 KB Output is correct
34 Correct 2 ms 8024 KB Output is correct
35 Correct 2 ms 7776 KB Output is correct
36 Correct 2 ms 7776 KB Output is correct
37 Correct 2 ms 7756 KB Output is correct
38 Correct 2 ms 7772 KB Output is correct
39 Correct 2 ms 11856 KB Output is correct
40 Correct 2 ms 11868 KB Output is correct
41 Correct 3 ms 11876 KB Output is correct
42 Correct 3 ms 12116 KB Output is correct
43 Correct 2 ms 11872 KB Output is correct
44 Correct 2 ms 11868 KB Output is correct
45 Correct 3 ms 11868 KB Output is correct
46 Correct 2 ms 11872 KB Output is correct
47 Correct 3 ms 11868 KB Output is correct
48 Correct 2 ms 9820 KB Output is correct
49 Correct 2 ms 9820 KB Output is correct
50 Correct 2 ms 7772 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 7756 KB Output is correct
2 Correct 2 ms 5724 KB Output is correct
3 Correct 2 ms 7772 KB Output is correct
4 Correct 2 ms 7772 KB Output is correct
5 Correct 2 ms 7772 KB Output is correct
6 Correct 2 ms 7748 KB Output is correct
7 Correct 3 ms 9820 KB Output is correct
8 Correct 2 ms 7772 KB Output is correct
9 Correct 2 ms 7772 KB Output is correct
10 Correct 2 ms 7772 KB Output is correct
11 Correct 2 ms 9820 KB Output is correct
12 Correct 2 ms 9816 KB Output is correct
13 Correct 4 ms 11864 KB Output is correct
14 Correct 3 ms 11868 KB Output is correct
15 Correct 2 ms 12120 KB Output is correct
16 Correct 2 ms 11868 KB Output is correct
17 Correct 2 ms 11868 KB Output is correct
18 Correct 3 ms 11864 KB Output is correct
19 Correct 2 ms 7772 KB Output is correct
20 Correct 6 ms 30480 KB Output is correct
21 Correct 5 ms 28252 KB Output is correct
22 Correct 5 ms 28252 KB Output is correct
23 Correct 6 ms 30284 KB Output is correct
24 Correct 6 ms 30300 KB Output is correct
25 Correct 5 ms 30292 KB Output is correct
26 Correct 2 ms 7768 KB Output is correct
27 Correct 2 ms 7772 KB Output is correct
28 Correct 2 ms 7772 KB Output is correct
29 Correct 2 ms 7604 KB Output is correct
30 Correct 2 ms 7768 KB Output is correct
31 Correct 2 ms 7772 KB Output is correct
32 Correct 2 ms 7772 KB Output is correct
33 Correct 2 ms 7772 KB Output is correct
34 Correct 2 ms 7772 KB Output is correct
35 Correct 2 ms 7768 KB Output is correct
36 Correct 2 ms 7772 KB Output is correct
37 Correct 2 ms 7772 KB Output is correct
38 Correct 2 ms 7772 KB Output is correct
39 Correct 2 ms 7772 KB Output is correct
40 Correct 2 ms 7772 KB Output is correct
41 Correct 2 ms 8024 KB Output is correct
42 Correct 2 ms 7776 KB Output is correct
43 Correct 2 ms 7776 KB Output is correct
44 Correct 2 ms 7756 KB Output is correct
45 Correct 2 ms 7772 KB Output is correct
46 Correct 2 ms 11856 KB Output is correct
47 Correct 2 ms 11868 KB Output is correct
48 Correct 3 ms 11876 KB Output is correct
49 Correct 3 ms 12116 KB Output is correct
50 Correct 2 ms 11872 KB Output is correct
51 Correct 2 ms 11868 KB Output is correct
52 Correct 3 ms 11868 KB Output is correct
53 Correct 2 ms 11872 KB Output is correct
54 Correct 3 ms 11868 KB Output is correct
55 Correct 2 ms 9820 KB Output is correct
56 Correct 2 ms 9820 KB Output is correct
57 Correct 2 ms 7772 KB Output is correct
58 Correct 2 ms 7760 KB Output is correct
59 Correct 3 ms 11868 KB Output is correct
60 Correct 3 ms 11868 KB Output is correct
61 Correct 3 ms 13912 KB Output is correct
62 Correct 3 ms 13916 KB Output is correct
63 Correct 6 ms 30300 KB Output is correct
64 Correct 6 ms 28252 KB Output is correct
65 Correct 5 ms 28252 KB Output is correct
66 Correct 5 ms 28252 KB Output is correct
67 Correct 6 ms 30424 KB Output is correct
68 Correct 5 ms 28252 KB Output is correct
69 Correct 5 ms 30296 KB Output is correct
70 Correct 6 ms 28252 KB Output is correct
71 Correct 5 ms 28380 KB Output is correct
72 Correct 6 ms 30300 KB Output is correct
73 Correct 4 ms 24152 KB Output is correct
74 Correct 5 ms 26552 KB Output is correct
75 Correct 3 ms 12124 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 7756 KB Output is correct
2 Correct 2 ms 5724 KB Output is correct
3 Correct 2 ms 7772 KB Output is correct
4 Correct 2 ms 7772 KB Output is correct
5 Correct 2 ms 7772 KB Output is correct
6 Correct 2 ms 7748 KB Output is correct
7 Correct 3 ms 9820 KB Output is correct
8 Correct 2 ms 7772 KB Output is correct
9 Correct 2 ms 7772 KB Output is correct
10 Correct 2 ms 7772 KB Output is correct
11 Correct 2 ms 9820 KB Output is correct
12 Correct 2 ms 9816 KB Output is correct
13 Correct 4 ms 11864 KB Output is correct
14 Correct 3 ms 11868 KB Output is correct
15 Correct 2 ms 12120 KB Output is correct
16 Correct 2 ms 11868 KB Output is correct
17 Correct 2 ms 11868 KB Output is correct
18 Correct 3 ms 11864 KB Output is correct
19 Correct 2 ms 7772 KB Output is correct
20 Correct 6 ms 30480 KB Output is correct
21 Correct 5 ms 28252 KB Output is correct
22 Correct 5 ms 28252 KB Output is correct
23 Correct 6 ms 30284 KB Output is correct
24 Correct 6 ms 30300 KB Output is correct
25 Correct 5 ms 30292 KB Output is correct
26 Correct 3 ms 9816 KB Output is correct
27 Correct 69 ms 147284 KB Output is correct
28 Correct 39 ms 137564 KB Output is correct
29 Correct 34 ms 139796 KB Output is correct
30 Correct 36 ms 143964 KB Output is correct
31 Correct 39 ms 137688 KB Output is correct
32 Correct 38 ms 147288 KB Output is correct
33 Correct 36 ms 147276 KB Output is correct
34 Correct 2 ms 7768 KB Output is correct
35 Correct 2 ms 7772 KB Output is correct
36 Correct 2 ms 7772 KB Output is correct
37 Correct 2 ms 7604 KB Output is correct
38 Correct 2 ms 7768 KB Output is correct
39 Correct 2 ms 7772 KB Output is correct
40 Correct 2 ms 7772 KB Output is correct
41 Correct 2 ms 7772 KB Output is correct
42 Correct 2 ms 7772 KB Output is correct
43 Correct 2 ms 7768 KB Output is correct
44 Correct 2 ms 7772 KB Output is correct
45 Correct 2 ms 7772 KB Output is correct
46 Correct 2 ms 7772 KB Output is correct
47 Correct 2 ms 7772 KB Output is correct
48 Correct 2 ms 7772 KB Output is correct
49 Correct 2 ms 8024 KB Output is correct
50 Correct 2 ms 7776 KB Output is correct
51 Correct 2 ms 7776 KB Output is correct
52 Correct 2 ms 7756 KB Output is correct
53 Correct 2 ms 7772 KB Output is correct
54 Correct 2 ms 11856 KB Output is correct
55 Correct 2 ms 11868 KB Output is correct
56 Correct 3 ms 11876 KB Output is correct
57 Correct 3 ms 12116 KB Output is correct
58 Correct 2 ms 11872 KB Output is correct
59 Correct 2 ms 11868 KB Output is correct
60 Correct 3 ms 11868 KB Output is correct
61 Correct 2 ms 11872 KB Output is correct
62 Correct 3 ms 11868 KB Output is correct
63 Correct 2 ms 9820 KB Output is correct
64 Correct 2 ms 9820 KB Output is correct
65 Correct 2 ms 7772 KB Output is correct
66 Correct 2 ms 7760 KB Output is correct
67 Correct 3 ms 11868 KB Output is correct
68 Correct 3 ms 11868 KB Output is correct
69 Correct 3 ms 13912 KB Output is correct
70 Correct 3 ms 13916 KB Output is correct
71 Correct 6 ms 30300 KB Output is correct
72 Correct 6 ms 28252 KB Output is correct
73 Correct 5 ms 28252 KB Output is correct
74 Correct 5 ms 28252 KB Output is correct
75 Correct 6 ms 30424 KB Output is correct
76 Correct 5 ms 28252 KB Output is correct
77 Correct 5 ms 30296 KB Output is correct
78 Correct 6 ms 28252 KB Output is correct
79 Correct 5 ms 28380 KB Output is correct
80 Correct 6 ms 30300 KB Output is correct
81 Correct 4 ms 24152 KB Output is correct
82 Correct 5 ms 26552 KB Output is correct
83 Correct 3 ms 12124 KB Output is correct
84 Correct 4 ms 9820 KB Output is correct
85 Correct 7 ms 20060 KB Output is correct
86 Correct 4 ms 11868 KB Output is correct
87 Correct 5 ms 13912 KB Output is correct
88 Correct 5 ms 13912 KB Output is correct
89 Correct 43 ms 147032 KB Output is correct
90 Correct 36 ms 135504 KB Output is correct
91 Correct 41 ms 146524 KB Output is correct
92 Correct 38 ms 137564 KB Output is correct
93 Correct 38 ms 139672 KB Output is correct
94 Correct 37 ms 141796 KB Output is correct
95 Correct 38 ms 143964 KB Output is correct
96 Correct 35 ms 135508 KB Output is correct
97 Correct 39 ms 143704 KB Output is correct
98 Correct 39 ms 141648 KB Output is correct
99 Correct 43 ms 146972 KB Output is correct
100 Correct 26 ms 104536 KB Output is correct
101 Correct 9 ms 30296 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 7756 KB Output is correct
2 Correct 2 ms 5724 KB Output is correct
3 Correct 2 ms 7772 KB Output is correct
4 Correct 2 ms 7772 KB Output is correct
5 Correct 2 ms 7772 KB Output is correct
6 Correct 2 ms 7748 KB Output is correct
7 Correct 3 ms 9820 KB Output is correct
8 Correct 2 ms 7772 KB Output is correct
9 Correct 2 ms 7772 KB Output is correct
10 Correct 2 ms 7772 KB Output is correct
11 Correct 2 ms 9820 KB Output is correct
12 Correct 2 ms 9816 KB Output is correct
13 Correct 4 ms 11864 KB Output is correct
14 Correct 3 ms 11868 KB Output is correct
15 Correct 2 ms 12120 KB Output is correct
16 Correct 2 ms 11868 KB Output is correct
17 Correct 2 ms 11868 KB Output is correct
18 Correct 3 ms 11864 KB Output is correct
19 Correct 2 ms 7772 KB Output is correct
20 Correct 6 ms 30480 KB Output is correct
21 Correct 5 ms 28252 KB Output is correct
22 Correct 5 ms 28252 KB Output is correct
23 Correct 6 ms 30284 KB Output is correct
24 Correct 6 ms 30300 KB Output is correct
25 Correct 5 ms 30292 KB Output is correct
26 Correct 3 ms 9816 KB Output is correct
27 Correct 69 ms 147284 KB Output is correct
28 Correct 39 ms 137564 KB Output is correct
29 Correct 34 ms 139796 KB Output is correct
30 Correct 36 ms 143964 KB Output is correct
31 Correct 39 ms 137688 KB Output is correct
32 Correct 38 ms 147288 KB Output is correct
33 Correct 36 ms 147276 KB Output is correct
34 Correct 2 ms 7768 KB Output is correct
35 Correct 2 ms 7772 KB Output is correct
36 Correct 2 ms 7772 KB Output is correct
37 Correct 2 ms 7604 KB Output is correct
38 Correct 2 ms 7768 KB Output is correct
39 Correct 2 ms 7772 KB Output is correct
40 Correct 2 ms 7772 KB Output is correct
41 Correct 2 ms 7772 KB Output is correct
42 Correct 2 ms 7772 KB Output is correct
43 Correct 2 ms 7768 KB Output is correct
44 Correct 2 ms 7772 KB Output is correct
45 Correct 2 ms 7772 KB Output is correct
46 Correct 2 ms 7772 KB Output is correct
47 Correct 2 ms 7772 KB Output is correct
48 Correct 2 ms 7772 KB Output is correct
49 Correct 2 ms 8024 KB Output is correct
50 Correct 2 ms 7776 KB Output is correct
51 Correct 2 ms 7776 KB Output is correct
52 Correct 2 ms 7756 KB Output is correct
53 Correct 2 ms 7772 KB Output is correct
54 Correct 2 ms 11856 KB Output is correct
55 Correct 2 ms 11868 KB Output is correct
56 Correct 3 ms 11876 KB Output is correct
57 Correct 3 ms 12116 KB Output is correct
58 Correct 2 ms 11872 KB Output is correct
59 Correct 2 ms 11868 KB Output is correct
60 Correct 3 ms 11868 KB Output is correct
61 Correct 2 ms 11872 KB Output is correct
62 Correct 3 ms 11868 KB Output is correct
63 Correct 2 ms 9820 KB Output is correct
64 Correct 2 ms 9820 KB Output is correct
65 Correct 2 ms 7772 KB Output is correct
66 Correct 2 ms 7760 KB Output is correct
67 Correct 3 ms 11868 KB Output is correct
68 Correct 3 ms 11868 KB Output is correct
69 Correct 3 ms 13912 KB Output is correct
70 Correct 3 ms 13916 KB Output is correct
71 Correct 6 ms 30300 KB Output is correct
72 Correct 6 ms 28252 KB Output is correct
73 Correct 5 ms 28252 KB Output is correct
74 Correct 5 ms 28252 KB Output is correct
75 Correct 6 ms 30424 KB Output is correct
76 Correct 5 ms 28252 KB Output is correct
77 Correct 5 ms 30296 KB Output is correct
78 Correct 6 ms 28252 KB Output is correct
79 Correct 5 ms 28380 KB Output is correct
80 Correct 6 ms 30300 KB Output is correct
81 Correct 4 ms 24152 KB Output is correct
82 Correct 5 ms 26552 KB Output is correct
83 Correct 3 ms 12124 KB Output is correct
84 Correct 4 ms 9820 KB Output is correct
85 Correct 7 ms 20060 KB Output is correct
86 Correct 4 ms 11868 KB Output is correct
87 Correct 5 ms 13912 KB Output is correct
88 Correct 5 ms 13912 KB Output is correct
89 Correct 43 ms 147032 KB Output is correct
90 Correct 36 ms 135504 KB Output is correct
91 Correct 41 ms 146524 KB Output is correct
92 Correct 38 ms 137564 KB Output is correct
93 Correct 38 ms 139672 KB Output is correct
94 Correct 37 ms 141796 KB Output is correct
95 Correct 38 ms 143964 KB Output is correct
96 Correct 35 ms 135508 KB Output is correct
97 Correct 39 ms 143704 KB Output is correct
98 Correct 39 ms 141648 KB Output is correct
99 Correct 43 ms 146972 KB Output is correct
100 Correct 26 ms 104536 KB Output is correct
101 Correct 9 ms 30296 KB Output is correct
102 Correct 115 ms 16924 KB Output is correct
103 Correct 256 ms 31316 KB Output is correct
104 Incorrect 137 ms 38632 KB 1st lines differ - on the 1st token, expected: '333334', found: '269589'
105 Halted 0 ms 0 KB -