답안 #847508

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
847508 2023-09-09T18:42:33 Z nvmdava 봉쇄 시간 (IOI23_closing) C++17
73 / 100
155 ms 37896 KB
#include "closing.h"
#include <bits/stdc++.h>
using namespace std;
#define ll long long
const int N = 200'005;

vector<pair<int, ll> > adj[N];

ll dx[N];
int px[N];
int py[N];
ll dy[N];

ll d[N];
int p[N];


void dfs(int v, int par) {
    p[v] = par;
    for(auto& u : adj[v]) {
        if(u.first == par) continue;
        d[u.first] = u.second + d[v];
        dfs(u.first, v);
    }
}

multiset<ll> q, w;
// q - solo, w - double

vector<pair<ll, ll> > help;

int max_score(int n, int X, int Y, long long k,
              std::vector<int> U, std::vector<int> V, std::vector<int> W)
{
    q.clear();
    w.clear();
    help.clear();
    for(int i = 0; i < n; ++i){
        d[i] = dx[i] = dy[i] = p[i] = px[i] = py[i] = 0;
        adj[i].clear();
    }
    for(int i = 0; i < n - 1; ++i) {
        adj[U[i]].push_back({V[i], W[i]});   
        adj[V[i]].push_back({U[i], W[i]});
    }
    dfs(X, -1);
    swap(d, dx);
    swap(p, px);

    dfs(Y, -1);
    swap(d, dy);
    swap(p, py);

    int res = 0;

    vector<ll> dd(n);
    for(int i = 0; i < n; ++i) dd[i] = min(dx[i], dy[i]);
    sort(dd.begin(), dd.end());
    ll tmp = k;
    for(int i = 0; i < n; ++i) {
        tmp -= dd[i];
        if(tmp >= 0) res = i + 1;
        else break;
    }
    
    int cur = 0;
    ll sum = 0;

    for(int i = 0; i < n; ++i) {
        if(dx[i] + dy[i] == dx[Y]) {
            sum += min(dx[i], dy[i]);
            ++cur;
            q.insert(abs(dx[i] - dy[i]));
            if(sum > k) return res;
        } else {
            help.push_back({min(dx[i], dy[i]), abs(dx[i] - dy[i])});
            q.insert(min(dx[i], dy[i]));
        }
    }
    sort(help.begin(), help.end(), [](const pair<ll, ll>& lhs, const pair<ll, ll>& rhs) {
        return lhs.second == rhs.second ? lhs.first < rhs.first : lhs.second < rhs.second;
    });

    auto qit = q.begin();
    auto wit = w.begin();

    while(qit != q.end() && sum + *qit <= k) {
        ++cur;
        sum += *qit;
        ++qit;
    }

    res = max(res, cur);

    for(auto& e : help) {
        e.second += e.first;

        if(wit == w.end() || *wit > e.second) {
            cur += 2;
            sum += e.second;   
        }
        w.insert(e.second);

        auto fin = q.find(e.first);
        if(qit == q.end() || *qit >= e.first) {
            cur -= 1;
            sum -= e.first;
        }
        if(qit == fin) {
            cur += 1;
            sum += e.first;
            ++qit;
        }
        q.erase(fin);
        if(sum > k) {
            --wit;
            sum -= *wit;
            cur -= 2;
        }

        bool reb;

        do {
            reb = 0;
            while(wit != w.end() && sum + *wit <= k) {
                sum += *wit;
                cur += 2;
                wit++;
                reb = 1;
            }
            if(wit != w.end() && qit != q.begin()) {
                auto q1 = qit;
                q1--;
                if(q1 != q.begin()){
                    auto q2 = q1;
                    q2--;
                    if(*q1 + *q2 > *wit) {
                        sum += *wit - *q1 - *q2;
                        ++wit;
                        --qit;
                        --qit;
                        reb = 1;
                        continue;
                    }
                }
                if(sum - *q1 + *wit <= k) {
                    sum += *wit - *q1;
                    ++cur;
                    --qit;
                    ++wit;
                    reb = 1;
                    continue;
                }
            }
            while(qit != q.end() && sum + *qit <= k) {
                sum += *qit;
                cur += 1;
                qit++;
                reb = 1;
            }
        } while(reb);
        res = max(res, cur);
    }

    return res;
}
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 12124 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 142 ms 33096 KB Output is correct
2 Correct 113 ms 37896 KB Output is correct
3 Correct 155 ms 14672 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 12124 KB Output is correct
2 Correct 3 ms 12124 KB Output is correct
3 Correct 3 ms 12004 KB Output is correct
4 Correct 3 ms 12176 KB Output is correct
5 Correct 3 ms 12124 KB Output is correct
6 Correct 3 ms 12124 KB Output is correct
7 Correct 3 ms 12124 KB Output is correct
8 Correct 3 ms 12124 KB Output is correct
9 Correct 3 ms 12124 KB Output is correct
10 Correct 3 ms 12124 KB Output is correct
11 Correct 3 ms 12124 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 12124 KB Output is correct
2 Correct 3 ms 12124 KB Output is correct
3 Correct 3 ms 12004 KB Output is correct
4 Correct 3 ms 12176 KB Output is correct
5 Correct 3 ms 12124 KB Output is correct
6 Correct 3 ms 12124 KB Output is correct
7 Correct 3 ms 12124 KB Output is correct
8 Correct 3 ms 12124 KB Output is correct
9 Correct 3 ms 12124 KB Output is correct
10 Correct 3 ms 12124 KB Output is correct
11 Correct 3 ms 12124 KB Output is correct
12 Correct 4 ms 12124 KB Output is correct
13 Correct 4 ms 12124 KB Output is correct
14 Correct 3 ms 12124 KB Output is correct
15 Correct 4 ms 12124 KB Output is correct
16 Correct 4 ms 12124 KB Output is correct
17 Correct 3 ms 12124 KB Output is correct
18 Correct 15 ms 12176 KB Output is correct
19 Correct 3 ms 12124 KB Output is correct
20 Correct 4 ms 12124 KB Output is correct
21 Correct 3 ms 12124 KB Output is correct
22 Correct 3 ms 12124 KB Output is correct
23 Correct 3 ms 12120 KB Output is correct
24 Correct 3 ms 12124 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 12124 KB Output is correct
2 Correct 3 ms 12124 KB Output is correct
3 Correct 3 ms 12004 KB Output is correct
4 Correct 3 ms 12176 KB Output is correct
5 Correct 3 ms 12124 KB Output is correct
6 Correct 3 ms 12124 KB Output is correct
7 Correct 3 ms 12124 KB Output is correct
8 Correct 3 ms 12124 KB Output is correct
9 Correct 3 ms 12124 KB Output is correct
10 Correct 3 ms 12124 KB Output is correct
11 Correct 3 ms 12124 KB Output is correct
12 Correct 4 ms 12124 KB Output is correct
13 Correct 4 ms 12124 KB Output is correct
14 Correct 3 ms 12124 KB Output is correct
15 Correct 4 ms 12124 KB Output is correct
16 Correct 4 ms 12124 KB Output is correct
17 Correct 3 ms 12124 KB Output is correct
18 Correct 15 ms 12176 KB Output is correct
19 Correct 3 ms 12124 KB Output is correct
20 Correct 4 ms 12124 KB Output is correct
21 Correct 3 ms 12124 KB Output is correct
22 Correct 3 ms 12124 KB Output is correct
23 Correct 3 ms 12120 KB Output is correct
24 Correct 3 ms 12124 KB Output is correct
25 Correct 34 ms 12200 KB Output is correct
26 Correct 4 ms 12636 KB Output is correct
27 Correct 4 ms 12636 KB Output is correct
28 Correct 4 ms 12636 KB Output is correct
29 Correct 4 ms 12636 KB Output is correct
30 Correct 4 ms 12380 KB Output is correct
31 Correct 4 ms 12632 KB Output is correct
32 Correct 5 ms 12636 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 12124 KB Output is correct
2 Correct 3 ms 12124 KB Output is correct
3 Correct 3 ms 12124 KB Output is correct
4 Correct 3 ms 12004 KB Output is correct
5 Correct 3 ms 12176 KB Output is correct
6 Correct 3 ms 12124 KB Output is correct
7 Correct 3 ms 12124 KB Output is correct
8 Correct 4 ms 12176 KB Output is correct
9 Correct 4 ms 12124 KB Output is correct
10 Correct 3 ms 12120 KB Output is correct
11 Correct 3 ms 12016 KB Output is correct
12 Correct 3 ms 12124 KB Output is correct
13 Correct 3 ms 12124 KB Output is correct
14 Correct 3 ms 12120 KB Output is correct
15 Correct 4 ms 12124 KB Output is correct
16 Correct 4 ms 12120 KB Output is correct
17 Correct 6 ms 12124 KB Output is correct
18 Correct 4 ms 12124 KB Output is correct
19 Correct 3 ms 12124 KB Output is correct
20 Correct 3 ms 12120 KB Output is correct
21 Correct 3 ms 12124 KB Output is correct
22 Correct 4 ms 12120 KB Output is correct
23 Correct 4 ms 12124 KB Output is correct
24 Correct 3 ms 12120 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 12124 KB Output is correct
2 Correct 3 ms 12124 KB Output is correct
3 Correct 3 ms 12124 KB Output is correct
4 Correct 3 ms 12004 KB Output is correct
5 Correct 3 ms 12176 KB Output is correct
6 Correct 3 ms 12124 KB Output is correct
7 Correct 3 ms 12124 KB Output is correct
8 Correct 3 ms 12124 KB Output is correct
9 Correct 3 ms 12124 KB Output is correct
10 Correct 3 ms 12124 KB Output is correct
11 Correct 3 ms 12124 KB Output is correct
12 Correct 3 ms 12124 KB Output is correct
13 Correct 4 ms 12124 KB Output is correct
14 Correct 4 ms 12124 KB Output is correct
15 Correct 3 ms 12124 KB Output is correct
16 Correct 4 ms 12124 KB Output is correct
17 Correct 4 ms 12124 KB Output is correct
18 Correct 3 ms 12124 KB Output is correct
19 Correct 3 ms 12124 KB Output is correct
20 Correct 4 ms 12176 KB Output is correct
21 Correct 4 ms 12124 KB Output is correct
22 Correct 3 ms 12120 KB Output is correct
23 Correct 3 ms 12016 KB Output is correct
24 Correct 3 ms 12124 KB Output is correct
25 Correct 3 ms 12124 KB Output is correct
26 Correct 3 ms 12120 KB Output is correct
27 Correct 4 ms 12124 KB Output is correct
28 Correct 4 ms 12120 KB Output is correct
29 Correct 6 ms 12124 KB Output is correct
30 Correct 4 ms 12124 KB Output is correct
31 Correct 3 ms 12124 KB Output is correct
32 Correct 3 ms 12120 KB Output is correct
33 Correct 3 ms 12124 KB Output is correct
34 Correct 4 ms 12120 KB Output is correct
35 Correct 4 ms 12124 KB Output is correct
36 Correct 3 ms 12120 KB Output is correct
37 Correct 5 ms 12124 KB Output is correct
38 Correct 3 ms 12124 KB Output is correct
39 Correct 3 ms 12120 KB Output is correct
40 Correct 3 ms 12124 KB Output is correct
41 Correct 3 ms 12120 KB Output is correct
42 Correct 3 ms 12124 KB Output is correct
43 Correct 3 ms 12124 KB Output is correct
44 Correct 4 ms 12176 KB Output is correct
45 Correct 4 ms 12124 KB Output is correct
46 Correct 4 ms 12124 KB Output is correct
47 Correct 3 ms 12124 KB Output is correct
48 Correct 3 ms 12120 KB Output is correct
49 Correct 3 ms 12120 KB Output is correct
50 Correct 5 ms 12124 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 12124 KB Output is correct
2 Correct 3 ms 12124 KB Output is correct
3 Correct 3 ms 12124 KB Output is correct
4 Correct 3 ms 12004 KB Output is correct
5 Correct 3 ms 12176 KB Output is correct
6 Correct 3 ms 12124 KB Output is correct
7 Correct 3 ms 12124 KB Output is correct
8 Correct 3 ms 12124 KB Output is correct
9 Correct 3 ms 12124 KB Output is correct
10 Correct 3 ms 12124 KB Output is correct
11 Correct 3 ms 12124 KB Output is correct
12 Correct 3 ms 12124 KB Output is correct
13 Correct 4 ms 12124 KB Output is correct
14 Correct 4 ms 12124 KB Output is correct
15 Correct 3 ms 12124 KB Output is correct
16 Correct 4 ms 12124 KB Output is correct
17 Correct 4 ms 12124 KB Output is correct
18 Correct 3 ms 12124 KB Output is correct
19 Correct 15 ms 12176 KB Output is correct
20 Correct 3 ms 12124 KB Output is correct
21 Correct 4 ms 12124 KB Output is correct
22 Correct 3 ms 12124 KB Output is correct
23 Correct 3 ms 12124 KB Output is correct
24 Correct 3 ms 12120 KB Output is correct
25 Correct 3 ms 12124 KB Output is correct
26 Correct 3 ms 12124 KB Output is correct
27 Correct 4 ms 12176 KB Output is correct
28 Correct 4 ms 12124 KB Output is correct
29 Correct 3 ms 12120 KB Output is correct
30 Correct 3 ms 12016 KB Output is correct
31 Correct 3 ms 12124 KB Output is correct
32 Correct 3 ms 12124 KB Output is correct
33 Correct 3 ms 12120 KB Output is correct
34 Correct 4 ms 12124 KB Output is correct
35 Correct 4 ms 12120 KB Output is correct
36 Correct 6 ms 12124 KB Output is correct
37 Correct 4 ms 12124 KB Output is correct
38 Correct 3 ms 12124 KB Output is correct
39 Correct 3 ms 12120 KB Output is correct
40 Correct 3 ms 12124 KB Output is correct
41 Correct 4 ms 12120 KB Output is correct
42 Correct 4 ms 12124 KB Output is correct
43 Correct 3 ms 12120 KB Output is correct
44 Correct 5 ms 12124 KB Output is correct
45 Correct 3 ms 12124 KB Output is correct
46 Correct 3 ms 12120 KB Output is correct
47 Correct 3 ms 12124 KB Output is correct
48 Correct 3 ms 12120 KB Output is correct
49 Correct 3 ms 12124 KB Output is correct
50 Correct 3 ms 12124 KB Output is correct
51 Correct 4 ms 12176 KB Output is correct
52 Correct 4 ms 12124 KB Output is correct
53 Correct 4 ms 12124 KB Output is correct
54 Correct 3 ms 12124 KB Output is correct
55 Correct 3 ms 12120 KB Output is correct
56 Correct 3 ms 12120 KB Output is correct
57 Correct 5 ms 12124 KB Output is correct
58 Correct 12 ms 12124 KB Output is correct
59 Correct 6 ms 12124 KB Output is correct
60 Correct 6 ms 12124 KB Output is correct
61 Correct 4 ms 12124 KB Output is correct
62 Correct 4 ms 12124 KB Output is correct
63 Correct 3 ms 12208 KB Output is correct
64 Correct 3 ms 12124 KB Output is correct
65 Correct 3 ms 12124 KB Output is correct
66 Correct 3 ms 12124 KB Output is correct
67 Correct 4 ms 12124 KB Output is correct
68 Correct 4 ms 12124 KB Output is correct
69 Correct 3 ms 12148 KB Output is correct
70 Correct 4 ms 12200 KB Output is correct
71 Correct 3 ms 12124 KB Output is correct
72 Correct 3 ms 12124 KB Output is correct
73 Correct 4 ms 12232 KB Output is correct
74 Correct 4 ms 12124 KB Output is correct
75 Correct 6 ms 12124 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 12124 KB Output is correct
2 Correct 3 ms 12124 KB Output is correct
3 Correct 3 ms 12124 KB Output is correct
4 Correct 3 ms 12004 KB Output is correct
5 Correct 3 ms 12176 KB Output is correct
6 Correct 3 ms 12124 KB Output is correct
7 Correct 3 ms 12124 KB Output is correct
8 Correct 3 ms 12124 KB Output is correct
9 Correct 3 ms 12124 KB Output is correct
10 Correct 3 ms 12124 KB Output is correct
11 Correct 3 ms 12124 KB Output is correct
12 Correct 3 ms 12124 KB Output is correct
13 Correct 4 ms 12124 KB Output is correct
14 Correct 4 ms 12124 KB Output is correct
15 Correct 3 ms 12124 KB Output is correct
16 Correct 4 ms 12124 KB Output is correct
17 Correct 4 ms 12124 KB Output is correct
18 Correct 3 ms 12124 KB Output is correct
19 Correct 15 ms 12176 KB Output is correct
20 Correct 3 ms 12124 KB Output is correct
21 Correct 4 ms 12124 KB Output is correct
22 Correct 3 ms 12124 KB Output is correct
23 Correct 3 ms 12124 KB Output is correct
24 Correct 3 ms 12120 KB Output is correct
25 Correct 3 ms 12124 KB Output is correct
26 Correct 34 ms 12200 KB Output is correct
27 Correct 4 ms 12636 KB Output is correct
28 Correct 4 ms 12636 KB Output is correct
29 Correct 4 ms 12636 KB Output is correct
30 Correct 4 ms 12636 KB Output is correct
31 Correct 4 ms 12380 KB Output is correct
32 Correct 4 ms 12632 KB Output is correct
33 Correct 5 ms 12636 KB Output is correct
34 Correct 3 ms 12124 KB Output is correct
35 Correct 4 ms 12176 KB Output is correct
36 Correct 4 ms 12124 KB Output is correct
37 Correct 3 ms 12120 KB Output is correct
38 Correct 3 ms 12016 KB Output is correct
39 Correct 3 ms 12124 KB Output is correct
40 Correct 3 ms 12124 KB Output is correct
41 Correct 3 ms 12120 KB Output is correct
42 Correct 4 ms 12124 KB Output is correct
43 Correct 4 ms 12120 KB Output is correct
44 Correct 6 ms 12124 KB Output is correct
45 Correct 4 ms 12124 KB Output is correct
46 Correct 3 ms 12124 KB Output is correct
47 Correct 3 ms 12120 KB Output is correct
48 Correct 3 ms 12124 KB Output is correct
49 Correct 4 ms 12120 KB Output is correct
50 Correct 4 ms 12124 KB Output is correct
51 Correct 3 ms 12120 KB Output is correct
52 Correct 5 ms 12124 KB Output is correct
53 Correct 3 ms 12124 KB Output is correct
54 Correct 3 ms 12120 KB Output is correct
55 Correct 3 ms 12124 KB Output is correct
56 Correct 3 ms 12120 KB Output is correct
57 Correct 3 ms 12124 KB Output is correct
58 Correct 3 ms 12124 KB Output is correct
59 Correct 4 ms 12176 KB Output is correct
60 Correct 4 ms 12124 KB Output is correct
61 Correct 4 ms 12124 KB Output is correct
62 Correct 3 ms 12124 KB Output is correct
63 Correct 3 ms 12120 KB Output is correct
64 Correct 3 ms 12120 KB Output is correct
65 Correct 5 ms 12124 KB Output is correct
66 Correct 12 ms 12124 KB Output is correct
67 Correct 6 ms 12124 KB Output is correct
68 Correct 6 ms 12124 KB Output is correct
69 Correct 4 ms 12124 KB Output is correct
70 Correct 4 ms 12124 KB Output is correct
71 Correct 3 ms 12208 KB Output is correct
72 Correct 3 ms 12124 KB Output is correct
73 Correct 3 ms 12124 KB Output is correct
74 Correct 3 ms 12124 KB Output is correct
75 Correct 4 ms 12124 KB Output is correct
76 Correct 4 ms 12124 KB Output is correct
77 Correct 3 ms 12148 KB Output is correct
78 Correct 4 ms 12200 KB Output is correct
79 Correct 3 ms 12124 KB Output is correct
80 Correct 3 ms 12124 KB Output is correct
81 Correct 4 ms 12232 KB Output is correct
82 Correct 4 ms 12124 KB Output is correct
83 Correct 6 ms 12124 KB Output is correct
84 Incorrect 38 ms 12124 KB 61st lines differ - on the 1st token, expected: '67', found: '66'
85 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 12124 KB Output is correct
2 Correct 3 ms 12124 KB Output is correct
3 Correct 3 ms 12124 KB Output is correct
4 Correct 3 ms 12004 KB Output is correct
5 Correct 3 ms 12176 KB Output is correct
6 Correct 3 ms 12124 KB Output is correct
7 Correct 3 ms 12124 KB Output is correct
8 Correct 3 ms 12124 KB Output is correct
9 Correct 3 ms 12124 KB Output is correct
10 Correct 3 ms 12124 KB Output is correct
11 Correct 3 ms 12124 KB Output is correct
12 Correct 3 ms 12124 KB Output is correct
13 Correct 4 ms 12124 KB Output is correct
14 Correct 4 ms 12124 KB Output is correct
15 Correct 3 ms 12124 KB Output is correct
16 Correct 4 ms 12124 KB Output is correct
17 Correct 4 ms 12124 KB Output is correct
18 Correct 3 ms 12124 KB Output is correct
19 Correct 15 ms 12176 KB Output is correct
20 Correct 3 ms 12124 KB Output is correct
21 Correct 4 ms 12124 KB Output is correct
22 Correct 3 ms 12124 KB Output is correct
23 Correct 3 ms 12124 KB Output is correct
24 Correct 3 ms 12120 KB Output is correct
25 Correct 3 ms 12124 KB Output is correct
26 Correct 34 ms 12200 KB Output is correct
27 Correct 4 ms 12636 KB Output is correct
28 Correct 4 ms 12636 KB Output is correct
29 Correct 4 ms 12636 KB Output is correct
30 Correct 4 ms 12636 KB Output is correct
31 Correct 4 ms 12380 KB Output is correct
32 Correct 4 ms 12632 KB Output is correct
33 Correct 5 ms 12636 KB Output is correct
34 Correct 3 ms 12124 KB Output is correct
35 Correct 4 ms 12176 KB Output is correct
36 Correct 4 ms 12124 KB Output is correct
37 Correct 3 ms 12120 KB Output is correct
38 Correct 3 ms 12016 KB Output is correct
39 Correct 3 ms 12124 KB Output is correct
40 Correct 3 ms 12124 KB Output is correct
41 Correct 3 ms 12120 KB Output is correct
42 Correct 4 ms 12124 KB Output is correct
43 Correct 4 ms 12120 KB Output is correct
44 Correct 6 ms 12124 KB Output is correct
45 Correct 4 ms 12124 KB Output is correct
46 Correct 3 ms 12124 KB Output is correct
47 Correct 3 ms 12120 KB Output is correct
48 Correct 3 ms 12124 KB Output is correct
49 Correct 4 ms 12120 KB Output is correct
50 Correct 4 ms 12124 KB Output is correct
51 Correct 3 ms 12120 KB Output is correct
52 Correct 5 ms 12124 KB Output is correct
53 Correct 3 ms 12124 KB Output is correct
54 Correct 3 ms 12120 KB Output is correct
55 Correct 3 ms 12124 KB Output is correct
56 Correct 3 ms 12120 KB Output is correct
57 Correct 3 ms 12124 KB Output is correct
58 Correct 3 ms 12124 KB Output is correct
59 Correct 4 ms 12176 KB Output is correct
60 Correct 4 ms 12124 KB Output is correct
61 Correct 4 ms 12124 KB Output is correct
62 Correct 3 ms 12124 KB Output is correct
63 Correct 3 ms 12120 KB Output is correct
64 Correct 3 ms 12120 KB Output is correct
65 Correct 5 ms 12124 KB Output is correct
66 Correct 12 ms 12124 KB Output is correct
67 Correct 6 ms 12124 KB Output is correct
68 Correct 6 ms 12124 KB Output is correct
69 Correct 4 ms 12124 KB Output is correct
70 Correct 4 ms 12124 KB Output is correct
71 Correct 3 ms 12208 KB Output is correct
72 Correct 3 ms 12124 KB Output is correct
73 Correct 3 ms 12124 KB Output is correct
74 Correct 3 ms 12124 KB Output is correct
75 Correct 4 ms 12124 KB Output is correct
76 Correct 4 ms 12124 KB Output is correct
77 Correct 3 ms 12148 KB Output is correct
78 Correct 4 ms 12200 KB Output is correct
79 Correct 3 ms 12124 KB Output is correct
80 Correct 3 ms 12124 KB Output is correct
81 Correct 4 ms 12232 KB Output is correct
82 Correct 4 ms 12124 KB Output is correct
83 Correct 6 ms 12124 KB Output is correct
84 Incorrect 38 ms 12124 KB 61st lines differ - on the 1st token, expected: '67', found: '66'
85 Halted 0 ms 0 KB -