Submission #842402

# Submission time Handle Problem Language Result Execution time Memory
842402 2023-09-02T20:02:39 Z SHZhang Closing Time (IOI23_closing) C++17
83 / 100
617 ms 148528 KB
#include "closing.h"

#include <vector>
#include <algorithm>
#include <utility>

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:16: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]
   16 |     for (int i = 0; i < graph[node].size(); i++) {
      |                     ~~^~~~~~~~~~~~~~~~~~~~
# Verdict Execution time Memory Grader output
1 Correct 1 ms 6744 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 124 ms 33732 KB Output is correct
2 Correct 145 ms 38932 KB Output is correct
3 Correct 617 ms 57180 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 6744 KB Output is correct
2 Correct 1 ms 7000 KB Output is correct
3 Correct 1 ms 7004 KB Output is correct
4 Correct 1 ms 7004 KB Output is correct
5 Correct 2 ms 7004 KB Output is correct
6 Correct 1 ms 9052 KB Output is correct
7 Correct 1 ms 9052 KB Output is correct
8 Correct 1 ms 9052 KB Output is correct
9 Correct 1 ms 9052 KB Output is correct
10 Correct 2 ms 9052 KB Output is correct
11 Correct 2 ms 9052 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 6744 KB Output is correct
2 Correct 1 ms 7000 KB Output is correct
3 Correct 1 ms 7004 KB Output is correct
4 Correct 1 ms 7004 KB Output is correct
5 Correct 2 ms 7004 KB Output is correct
6 Correct 1 ms 9052 KB Output is correct
7 Correct 1 ms 9052 KB Output is correct
8 Correct 1 ms 9052 KB Output is correct
9 Correct 1 ms 9052 KB Output is correct
10 Correct 2 ms 9052 KB Output is correct
11 Correct 2 ms 9052 KB Output is correct
12 Correct 2 ms 11096 KB Output is correct
13 Correct 2 ms 11100 KB Output is correct
14 Correct 2 ms 11100 KB Output is correct
15 Correct 2 ms 11100 KB Output is correct
16 Correct 2 ms 11100 KB Output is correct
17 Correct 2 ms 11100 KB Output is correct
18 Correct 1 ms 7004 KB Output is correct
19 Correct 5 ms 29788 KB Output is correct
20 Correct 4 ms 27940 KB Output is correct
21 Correct 4 ms 29788 KB Output is correct
22 Correct 5 ms 29604 KB Output is correct
23 Correct 4 ms 29788 KB Output is correct
24 Correct 4 ms 29788 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 6744 KB Output is correct
2 Correct 1 ms 7000 KB Output is correct
3 Correct 1 ms 7004 KB Output is correct
4 Correct 1 ms 7004 KB Output is correct
5 Correct 2 ms 7004 KB Output is correct
6 Correct 1 ms 9052 KB Output is correct
7 Correct 1 ms 9052 KB Output is correct
8 Correct 1 ms 9052 KB Output is correct
9 Correct 1 ms 9052 KB Output is correct
10 Correct 2 ms 9052 KB Output is correct
11 Correct 2 ms 9052 KB Output is correct
12 Correct 2 ms 11096 KB Output is correct
13 Correct 2 ms 11100 KB Output is correct
14 Correct 2 ms 11100 KB Output is correct
15 Correct 2 ms 11100 KB Output is correct
16 Correct 2 ms 11100 KB Output is correct
17 Correct 2 ms 11100 KB Output is correct
18 Correct 1 ms 7004 KB Output is correct
19 Correct 5 ms 29788 KB Output is correct
20 Correct 4 ms 27940 KB Output is correct
21 Correct 4 ms 29788 KB Output is correct
22 Correct 5 ms 29604 KB Output is correct
23 Correct 4 ms 29788 KB Output is correct
24 Correct 4 ms 29788 KB Output is correct
25 Correct 3 ms 9052 KB Output is correct
26 Correct 43 ms 148460 KB Output is correct
27 Correct 36 ms 139624 KB Output is correct
28 Correct 34 ms 139668 KB Output is correct
29 Correct 36 ms 145756 KB Output is correct
30 Correct 34 ms 139720 KB Output is correct
31 Correct 34 ms 148316 KB Output is correct
32 Correct 37 ms 148528 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 6744 KB Output is correct
2 Correct 1 ms 6744 KB Output is correct
3 Correct 1 ms 7000 KB Output is correct
4 Correct 1 ms 7004 KB Output is correct
5 Correct 1 ms 7004 KB Output is correct
6 Correct 2 ms 7004 KB Output is correct
7 Correct 1 ms 6748 KB Output is correct
8 Correct 1 ms 6748 KB Output is correct
9 Correct 1 ms 6748 KB Output is correct
10 Correct 2 ms 6748 KB Output is correct
11 Correct 1 ms 6748 KB Output is correct
12 Correct 1 ms 6748 KB Output is correct
13 Correct 1 ms 7004 KB Output is correct
14 Correct 2 ms 7004 KB Output is correct
15 Correct 2 ms 7000 KB Output is correct
16 Correct 1 ms 6744 KB Output is correct
17 Correct 1 ms 6748 KB Output is correct
18 Correct 1 ms 7004 KB Output is correct
19 Correct 1 ms 7004 KB Output is correct
20 Correct 1 ms 6748 KB Output is correct
21 Correct 1 ms 6748 KB Output is correct
22 Correct 2 ms 7004 KB Output is correct
23 Correct 1 ms 7004 KB Output is correct
24 Correct 1 ms 6748 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 6744 KB Output is correct
2 Correct 1 ms 6744 KB Output is correct
3 Correct 1 ms 7000 KB Output is correct
4 Correct 1 ms 7004 KB Output is correct
5 Correct 1 ms 7004 KB Output is correct
6 Correct 2 ms 7004 KB Output is correct
7 Correct 1 ms 9052 KB Output is correct
8 Correct 1 ms 9052 KB Output is correct
9 Correct 1 ms 9052 KB Output is correct
10 Correct 1 ms 9052 KB Output is correct
11 Correct 2 ms 9052 KB Output is correct
12 Correct 2 ms 9052 KB Output is correct
13 Correct 2 ms 11096 KB Output is correct
14 Correct 2 ms 11100 KB Output is correct
15 Correct 2 ms 11100 KB Output is correct
16 Correct 2 ms 11100 KB Output is correct
17 Correct 2 ms 11100 KB Output is correct
18 Correct 2 ms 11100 KB Output is correct
19 Correct 1 ms 6748 KB Output is correct
20 Correct 1 ms 6748 KB Output is correct
21 Correct 1 ms 6748 KB Output is correct
22 Correct 2 ms 6748 KB Output is correct
23 Correct 1 ms 6748 KB Output is correct
24 Correct 1 ms 6748 KB Output is correct
25 Correct 1 ms 7004 KB Output is correct
26 Correct 2 ms 7004 KB Output is correct
27 Correct 2 ms 7000 KB Output is correct
28 Correct 1 ms 6744 KB Output is correct
29 Correct 1 ms 6748 KB Output is correct
30 Correct 1 ms 7004 KB Output is correct
31 Correct 1 ms 7004 KB Output is correct
32 Correct 1 ms 6748 KB Output is correct
33 Correct 1 ms 6748 KB Output is correct
34 Correct 2 ms 7004 KB Output is correct
35 Correct 1 ms 7004 KB Output is correct
36 Correct 1 ms 6748 KB Output is correct
37 Correct 2 ms 6744 KB Output is correct
38 Correct 1 ms 9052 KB Output is correct
39 Correct 2 ms 11100 KB Output is correct
40 Correct 2 ms 11100 KB Output is correct
41 Correct 2 ms 11100 KB Output is correct
42 Correct 2 ms 11100 KB Output is correct
43 Correct 2 ms 11096 KB Output is correct
44 Correct 2 ms 11100 KB Output is correct
45 Correct 2 ms 11100 KB Output is correct
46 Correct 2 ms 11100 KB Output is correct
47 Correct 2 ms 11100 KB Output is correct
48 Correct 2 ms 11100 KB Output is correct
49 Correct 2 ms 9052 KB Output is correct
50 Correct 2 ms 9056 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 6744 KB Output is correct
2 Correct 1 ms 6744 KB Output is correct
3 Correct 1 ms 7000 KB Output is correct
4 Correct 1 ms 7004 KB Output is correct
5 Correct 1 ms 7004 KB Output is correct
6 Correct 2 ms 7004 KB Output is correct
7 Correct 1 ms 9052 KB Output is correct
8 Correct 1 ms 9052 KB Output is correct
9 Correct 1 ms 9052 KB Output is correct
10 Correct 1 ms 9052 KB Output is correct
11 Correct 2 ms 9052 KB Output is correct
12 Correct 2 ms 9052 KB Output is correct
13 Correct 2 ms 11096 KB Output is correct
14 Correct 2 ms 11100 KB Output is correct
15 Correct 2 ms 11100 KB Output is correct
16 Correct 2 ms 11100 KB Output is correct
17 Correct 2 ms 11100 KB Output is correct
18 Correct 2 ms 11100 KB Output is correct
19 Correct 1 ms 7004 KB Output is correct
20 Correct 5 ms 29788 KB Output is correct
21 Correct 4 ms 27940 KB Output is correct
22 Correct 4 ms 29788 KB Output is correct
23 Correct 5 ms 29604 KB Output is correct
24 Correct 4 ms 29788 KB Output is correct
25 Correct 4 ms 29788 KB Output is correct
26 Correct 1 ms 6748 KB Output is correct
27 Correct 1 ms 6748 KB Output is correct
28 Correct 1 ms 6748 KB Output is correct
29 Correct 2 ms 6748 KB Output is correct
30 Correct 1 ms 6748 KB Output is correct
31 Correct 1 ms 6748 KB Output is correct
32 Correct 1 ms 7004 KB Output is correct
33 Correct 2 ms 7004 KB Output is correct
34 Correct 2 ms 7000 KB Output is correct
35 Correct 1 ms 6744 KB Output is correct
36 Correct 1 ms 6748 KB Output is correct
37 Correct 1 ms 7004 KB Output is correct
38 Correct 1 ms 7004 KB Output is correct
39 Correct 1 ms 6748 KB Output is correct
40 Correct 1 ms 6748 KB Output is correct
41 Correct 2 ms 7004 KB Output is correct
42 Correct 1 ms 7004 KB Output is correct
43 Correct 1 ms 6748 KB Output is correct
44 Correct 2 ms 6744 KB Output is correct
45 Correct 1 ms 9052 KB Output is correct
46 Correct 2 ms 11100 KB Output is correct
47 Correct 2 ms 11100 KB Output is correct
48 Correct 2 ms 11100 KB Output is correct
49 Correct 2 ms 11100 KB Output is correct
50 Correct 2 ms 11096 KB Output is correct
51 Correct 2 ms 11100 KB Output is correct
52 Correct 2 ms 11100 KB Output is correct
53 Correct 2 ms 11100 KB Output is correct
54 Correct 2 ms 11100 KB Output is correct
55 Correct 2 ms 11100 KB Output is correct
56 Correct 2 ms 9052 KB Output is correct
57 Correct 2 ms 9056 KB Output is correct
58 Correct 2 ms 9052 KB Output is correct
59 Correct 2 ms 11100 KB Output is correct
60 Correct 2 ms 11096 KB Output is correct
61 Correct 2 ms 13148 KB Output is correct
62 Correct 2 ms 13148 KB Output is correct
63 Correct 5 ms 29788 KB Output is correct
64 Correct 4 ms 29532 KB Output is correct
65 Correct 5 ms 27732 KB Output is correct
66 Correct 5 ms 29532 KB Output is correct
67 Correct 4 ms 29788 KB Output is correct
68 Correct 5 ms 27740 KB Output is correct
69 Correct 6 ms 29788 KB Output is correct
70 Correct 5 ms 29788 KB Output is correct
71 Correct 5 ms 29788 KB Output is correct
72 Correct 5 ms 29788 KB Output is correct
73 Correct 4 ms 25640 KB Output is correct
74 Correct 4 ms 25436 KB Output is correct
75 Correct 2 ms 11100 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 6744 KB Output is correct
2 Correct 1 ms 6744 KB Output is correct
3 Correct 1 ms 7000 KB Output is correct
4 Correct 1 ms 7004 KB Output is correct
5 Correct 1 ms 7004 KB Output is correct
6 Correct 2 ms 7004 KB Output is correct
7 Correct 1 ms 9052 KB Output is correct
8 Correct 1 ms 9052 KB Output is correct
9 Correct 1 ms 9052 KB Output is correct
10 Correct 1 ms 9052 KB Output is correct
11 Correct 2 ms 9052 KB Output is correct
12 Correct 2 ms 9052 KB Output is correct
13 Correct 2 ms 11096 KB Output is correct
14 Correct 2 ms 11100 KB Output is correct
15 Correct 2 ms 11100 KB Output is correct
16 Correct 2 ms 11100 KB Output is correct
17 Correct 2 ms 11100 KB Output is correct
18 Correct 2 ms 11100 KB Output is correct
19 Correct 1 ms 7004 KB Output is correct
20 Correct 5 ms 29788 KB Output is correct
21 Correct 4 ms 27940 KB Output is correct
22 Correct 4 ms 29788 KB Output is correct
23 Correct 5 ms 29604 KB Output is correct
24 Correct 4 ms 29788 KB Output is correct
25 Correct 4 ms 29788 KB Output is correct
26 Correct 3 ms 9052 KB Output is correct
27 Correct 43 ms 148460 KB Output is correct
28 Correct 36 ms 139624 KB Output is correct
29 Correct 34 ms 139668 KB Output is correct
30 Correct 36 ms 145756 KB Output is correct
31 Correct 34 ms 139720 KB Output is correct
32 Correct 34 ms 148316 KB Output is correct
33 Correct 37 ms 148528 KB Output is correct
34 Correct 1 ms 6748 KB Output is correct
35 Correct 1 ms 6748 KB Output is correct
36 Correct 1 ms 6748 KB Output is correct
37 Correct 2 ms 6748 KB Output is correct
38 Correct 1 ms 6748 KB Output is correct
39 Correct 1 ms 6748 KB Output is correct
40 Correct 1 ms 7004 KB Output is correct
41 Correct 2 ms 7004 KB Output is correct
42 Correct 2 ms 7000 KB Output is correct
43 Correct 1 ms 6744 KB Output is correct
44 Correct 1 ms 6748 KB Output is correct
45 Correct 1 ms 7004 KB Output is correct
46 Correct 1 ms 7004 KB Output is correct
47 Correct 1 ms 6748 KB Output is correct
48 Correct 1 ms 6748 KB Output is correct
49 Correct 2 ms 7004 KB Output is correct
50 Correct 1 ms 7004 KB Output is correct
51 Correct 1 ms 6748 KB Output is correct
52 Correct 2 ms 6744 KB Output is correct
53 Correct 1 ms 9052 KB Output is correct
54 Correct 2 ms 11100 KB Output is correct
55 Correct 2 ms 11100 KB Output is correct
56 Correct 2 ms 11100 KB Output is correct
57 Correct 2 ms 11100 KB Output is correct
58 Correct 2 ms 11096 KB Output is correct
59 Correct 2 ms 11100 KB Output is correct
60 Correct 2 ms 11100 KB Output is correct
61 Correct 2 ms 11100 KB Output is correct
62 Correct 2 ms 11100 KB Output is correct
63 Correct 2 ms 11100 KB Output is correct
64 Correct 2 ms 9052 KB Output is correct
65 Correct 2 ms 9056 KB Output is correct
66 Correct 2 ms 9052 KB Output is correct
67 Correct 2 ms 11100 KB Output is correct
68 Correct 2 ms 11096 KB Output is correct
69 Correct 2 ms 13148 KB Output is correct
70 Correct 2 ms 13148 KB Output is correct
71 Correct 5 ms 29788 KB Output is correct
72 Correct 4 ms 29532 KB Output is correct
73 Correct 5 ms 27732 KB Output is correct
74 Correct 5 ms 29532 KB Output is correct
75 Correct 4 ms 29788 KB Output is correct
76 Correct 5 ms 27740 KB Output is correct
77 Correct 6 ms 29788 KB Output is correct
78 Correct 5 ms 29788 KB Output is correct
79 Correct 5 ms 29788 KB Output is correct
80 Correct 5 ms 29788 KB Output is correct
81 Correct 4 ms 25640 KB Output is correct
82 Correct 4 ms 25436 KB Output is correct
83 Correct 2 ms 11100 KB Output is correct
84 Correct 3 ms 9048 KB Output is correct
85 Correct 6 ms 19292 KB Output is correct
86 Correct 4 ms 11100 KB Output is correct
87 Correct 4 ms 13148 KB Output is correct
88 Correct 4 ms 13148 KB Output is correct
89 Correct 40 ms 148288 KB Output is correct
90 Correct 35 ms 135260 KB Output is correct
91 Correct 43 ms 147808 KB Output is correct
92 Correct 36 ms 139356 KB Output is correct
93 Correct 36 ms 139344 KB Output is correct
94 Correct 35 ms 141656 KB Output is correct
95 Correct 35 ms 145748 KB Output is correct
96 Correct 33 ms 137564 KB Output is correct
97 Correct 38 ms 145668 KB Output is correct
98 Correct 40 ms 143708 KB Output is correct
99 Correct 48 ms 148392 KB Output is correct
100 Correct 25 ms 106332 KB Output is correct
101 Correct 8 ms 29788 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 6744 KB Output is correct
2 Correct 1 ms 6744 KB Output is correct
3 Correct 1 ms 7000 KB Output is correct
4 Correct 1 ms 7004 KB Output is correct
5 Correct 1 ms 7004 KB Output is correct
6 Correct 2 ms 7004 KB Output is correct
7 Correct 1 ms 9052 KB Output is correct
8 Correct 1 ms 9052 KB Output is correct
9 Correct 1 ms 9052 KB Output is correct
10 Correct 1 ms 9052 KB Output is correct
11 Correct 2 ms 9052 KB Output is correct
12 Correct 2 ms 9052 KB Output is correct
13 Correct 2 ms 11096 KB Output is correct
14 Correct 2 ms 11100 KB Output is correct
15 Correct 2 ms 11100 KB Output is correct
16 Correct 2 ms 11100 KB Output is correct
17 Correct 2 ms 11100 KB Output is correct
18 Correct 2 ms 11100 KB Output is correct
19 Correct 1 ms 7004 KB Output is correct
20 Correct 5 ms 29788 KB Output is correct
21 Correct 4 ms 27940 KB Output is correct
22 Correct 4 ms 29788 KB Output is correct
23 Correct 5 ms 29604 KB Output is correct
24 Correct 4 ms 29788 KB Output is correct
25 Correct 4 ms 29788 KB Output is correct
26 Correct 3 ms 9052 KB Output is correct
27 Correct 43 ms 148460 KB Output is correct
28 Correct 36 ms 139624 KB Output is correct
29 Correct 34 ms 139668 KB Output is correct
30 Correct 36 ms 145756 KB Output is correct
31 Correct 34 ms 139720 KB Output is correct
32 Correct 34 ms 148316 KB Output is correct
33 Correct 37 ms 148528 KB Output is correct
34 Correct 1 ms 6748 KB Output is correct
35 Correct 1 ms 6748 KB Output is correct
36 Correct 1 ms 6748 KB Output is correct
37 Correct 2 ms 6748 KB Output is correct
38 Correct 1 ms 6748 KB Output is correct
39 Correct 1 ms 6748 KB Output is correct
40 Correct 1 ms 7004 KB Output is correct
41 Correct 2 ms 7004 KB Output is correct
42 Correct 2 ms 7000 KB Output is correct
43 Correct 1 ms 6744 KB Output is correct
44 Correct 1 ms 6748 KB Output is correct
45 Correct 1 ms 7004 KB Output is correct
46 Correct 1 ms 7004 KB Output is correct
47 Correct 1 ms 6748 KB Output is correct
48 Correct 1 ms 6748 KB Output is correct
49 Correct 2 ms 7004 KB Output is correct
50 Correct 1 ms 7004 KB Output is correct
51 Correct 1 ms 6748 KB Output is correct
52 Correct 2 ms 6744 KB Output is correct
53 Correct 1 ms 9052 KB Output is correct
54 Correct 2 ms 11100 KB Output is correct
55 Correct 2 ms 11100 KB Output is correct
56 Correct 2 ms 11100 KB Output is correct
57 Correct 2 ms 11100 KB Output is correct
58 Correct 2 ms 11096 KB Output is correct
59 Correct 2 ms 11100 KB Output is correct
60 Correct 2 ms 11100 KB Output is correct
61 Correct 2 ms 11100 KB Output is correct
62 Correct 2 ms 11100 KB Output is correct
63 Correct 2 ms 11100 KB Output is correct
64 Correct 2 ms 9052 KB Output is correct
65 Correct 2 ms 9056 KB Output is correct
66 Correct 2 ms 9052 KB Output is correct
67 Correct 2 ms 11100 KB Output is correct
68 Correct 2 ms 11096 KB Output is correct
69 Correct 2 ms 13148 KB Output is correct
70 Correct 2 ms 13148 KB Output is correct
71 Correct 5 ms 29788 KB Output is correct
72 Correct 4 ms 29532 KB Output is correct
73 Correct 5 ms 27732 KB Output is correct
74 Correct 5 ms 29532 KB Output is correct
75 Correct 4 ms 29788 KB Output is correct
76 Correct 5 ms 27740 KB Output is correct
77 Correct 6 ms 29788 KB Output is correct
78 Correct 5 ms 29788 KB Output is correct
79 Correct 5 ms 29788 KB Output is correct
80 Correct 5 ms 29788 KB Output is correct
81 Correct 4 ms 25640 KB Output is correct
82 Correct 4 ms 25436 KB Output is correct
83 Correct 2 ms 11100 KB Output is correct
84 Correct 3 ms 9048 KB Output is correct
85 Correct 6 ms 19292 KB Output is correct
86 Correct 4 ms 11100 KB Output is correct
87 Correct 4 ms 13148 KB Output is correct
88 Correct 4 ms 13148 KB Output is correct
89 Correct 40 ms 148288 KB Output is correct
90 Correct 35 ms 135260 KB Output is correct
91 Correct 43 ms 147808 KB Output is correct
92 Correct 36 ms 139356 KB Output is correct
93 Correct 36 ms 139344 KB Output is correct
94 Correct 35 ms 141656 KB Output is correct
95 Correct 35 ms 145748 KB Output is correct
96 Correct 33 ms 137564 KB Output is correct
97 Correct 38 ms 145668 KB Output is correct
98 Correct 40 ms 143708 KB Output is correct
99 Correct 48 ms 148392 KB Output is correct
100 Correct 25 ms 106332 KB Output is correct
101 Correct 8 ms 29788 KB Output is correct
102 Correct 103 ms 13776 KB Output is correct
103 Correct 245 ms 28080 KB Output is correct
104 Incorrect 121 ms 37752 KB 1st lines differ - on the 1st token, expected: '333334', found: '269589'
105 Halted 0 ms 0 KB -